commit stringlengths 40 40 | subject stringlengths 4 1.73k | repos stringlengths 5 127k | old_file stringlengths 2 751 | new_file stringlengths 2 751 | new_contents stringlengths 1 8.98k | old_contents stringlengths 0 6.59k | license stringclasses 13
values | lang stringclasses 23
values |
|---|---|---|---|---|---|---|---|---|
8a65eb0dcfb9a696d776bd7f70bfc042baf38281 | Change AssemblyProduct name | kiyoaki/bitflyer-api-dotnet-client | src/BitFlyer.Apis/Properties/AssemblyInfo.cs | src/BitFlyer.Apis/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("BitFlyer.Apis")]
[assembly: AssemblyDescription("bitFlyer APIs Client Library for .NET")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("BitFlyer.Apis")]
[assembly: AssemblyCopyr... | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("BitFlyer.Apis")]
[assembly: AssemblyDescription("bitFlyer APIs Client Library for .NET")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("BitFlyer.Apis.Core")]
[assembly: Assembly... | mit | C# |
f53ee9d52f1a2c1307ed34b91480ae557109fb64 | Make sure the new job's destination is different from the last one | tanuva/planegame | Assets/Scripts/JobGenerator.cs | Assets/Scripts/JobGenerator.cs | using UnityEngine;
using UnityEngine.EventSystems;
using System.Collections.Generic;
/// <summary>
/// Randomly generates jobs for the player.
/// </summary>
public class JobGenerator : MonoBehaviour, IJobIssuerTarget {
GameObject m_Player;
GameObject[] m_Airports;
Dictionary<int, GameObject> m_AvailableJobs;
pu... | using UnityEngine;
using UnityEngine.EventSystems;
using System.Collections.Generic;
/// <summary>
/// Randomly generates jobs for the player.
/// </summary>
public class JobGenerator : MonoBehaviour, IJobIssuerTarget {
GameObject m_Player;
GameObject[] m_Airports;
List<int> m_AvailableJobs;
public void DeliverJ... | mit | C# |
d0546487436677594dfc7ad0218d6b0c845884a8 | Use correct extension for Android x64 folder | Microsoft/MIEngine,orbitcowboy/MIEngine,Microsoft/MIEngine,orbitcowboy/MIEngine,Microsoft/MIEngine,orbitcowboy/MIEngine,orbitcowboy/MIEngine,Microsoft/MIEngine | src/AndroidDebugLauncher/TargetArchitectureExtensions.cs | src/AndroidDebugLauncher/TargetArchitectureExtensions.cs | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Diagnostics;
using MICore;
namespace AndroidDebugLauncher
{
internal static class TargetArchitectureExtensions
{
public sta... | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Diagnostics;
using MICore;
namespace AndroidDebugLauncher
{
internal static class TargetArchitectureExtensions
{
public sta... | mit | C# |
db9c0103d18d69bb1892c048b917e4f2ed17e274 | Add test cover for cancellable async query handling | Vtek/Bartender | test/Bartender.Tests/CancellableAsyncQueryDispatcherTests.cs | test/Bartender.Tests/CancellableAsyncQueryDispatcherTests.cs | using Bartender.Tests.Context;
using Moq;
using Shouldly;
using Xunit;
namespace Bartender.Tests
{
public class CancellableAsyncQueryDispatcherTests : DispatcherTests
{
[Fact]
public async void ShouldHandleQueryOnce_WhenCallDispatchAsyncMethod()
{
await CancellableAsyncQuery... | using Bartender.Tests.Context;
using Moq;
using Xunit;
namespace Bartender.Tests
{
public class CancellableAsyncQueryDispatcherTests : DispatcherTests
{
[Fact]
public async void ShouldHandleQueryOnce_WhenCallDispatchAsyncMethod()
{
await CancellableAsyncQueryDispatcher.Dispa... | mit | C# |
5fb3def2632647fdc336d3af52046d91424ef060 | Fix BFME II definition | feliwir/openSage,feliwir/openSage | src/OpenSage.Mods.BfmeII/BfmeIIDefinition.cs | src/OpenSage.Mods.BfmeII/BfmeIIDefinition.cs | using System;
using System.Collections.Generic;
using OpenSage.Data;
namespace OpenSage.Mods.BfmeII
{
public class BfmeIIDefinition : IGameDefinition
{
public SageGame Game => SageGame.BattleForMiddleEarthII;
public string DisplayName => "The Lord of the Rings (tm): The Battle for Middle-earth... | using System;
using System.Collections.Generic;
using OpenSage.Data;
namespace OpenSage.Mods.BfmeII
{
public class BfmeIIDefinition : IGameDefinition
{
public SageGame Game => SageGame.BattleForMiddleEarth;
public string DisplayName => "The Lord of the Rings (tm): The Battle for Middle-earth (... | mit | C# |
dd90c5a5dd45566f5db68acf2ca08d865ad11ecc | Simplify DelegateCommand constructors | gjulianm/AncoraMVVM | AncoraMVVM.Base/DelegateCommand.cs | AncoraMVVM.Base/DelegateCommand.cs | using System;
using System.ComponentModel;
using System.Linq;
using System.Windows.Input;
namespace AncoraMVVM.Base
{
#pragma warning disable 1998
public class DelegateCommand : ICommand
{
private Action<object> executeAction;
private Func<object, bool> canExecuteAction;
public Dele... | using System;
using System.ComponentModel;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Input;
namespace AncoraMVVM.Base
{
#pragma warning disable 1998
public class DelegateCommand : ICommand
{
private Func<object, Task> executeAction;
private Func<object, bool> canE... | mpl-2.0 | C# |
6c434db21513569b57d95b035501bc5faf880c48 | Add author info | toehead2001/pdn-barcode | Barcode/Properties/AssemblyInfo.cs | Barcode/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("Barcode Effect")]
[assembly: AssemblyDescription("Barcode Generator")]
[assembly: AssemblyConfiguration("Barcode|Code 39|POSTNET|UPC")]
[assembly: AssemblyCompany("Sepcot & toe_head2001")]
[assembly: AssemblyProduct("Barcode Effe... | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("Barcode Effect")]
[assembly: AssemblyDescription("Barcode Generator")]
[assembly: AssemblyConfiguration("Barcode|Code 39|POSTNET|UPC")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("Barcode Effect")]
[assembly: Asse... | mit | C# |
6294babb1572e0dcf9eb3a2f2c29c7aad6894779 | Update version | Yonom/ByteNom | ByteNom/Properties/AssemblyInfo.cs | ByteNom/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("ByteNom")]
[assembly: AssemblyDescriptio... | using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("ByteNom")]
[assembly: AssemblyDescriptio... | mit | C# |
aac97a4aff2526737888c7578e42a2de6baec71d | Remove active transactions metric no longer supplied by Seq 4 | continuousit/seq-api,datalust/seq-api | src/Seq.Api/Api/Model/Diagnostics/ServerMetricsEntity.cs | src/Seq.Api/Api/Model/Diagnostics/ServerMetricsEntity.cs | using System;
using System.Collections.Generic;
namespace Seq.Api.Model.Diagnostics
{
public class ServerMetricsEntity : Entity
{
public ServerMetricsEntity()
{
RunningTasks = new List<RunningTaskPart>();
}
public double EventStoreDaysRecorded { get; set; }
... | using System;
using System.Collections.Generic;
namespace Seq.Api.Model.Diagnostics
{
public class ServerMetricsEntity : Entity
{
public ServerMetricsEntity()
{
RunningTasks = new List<RunningTaskPart>();
}
public double EventStoreDaysRecorded { get; set; }
... | apache-2.0 | C# |
cf1f8c89b2d9ab4ab525b52eec6584ace0f2a174 | add readonly modifier | volkanceylan/Serenity,volkanceylan/Serenity,volkanceylan/Serenity,volkanceylan/Serenity,volkanceylan/Serenity | src/Serenity.Net.Web/Common/DefaultFileWatcherFactory.cs | src/Serenity.Net.Web/Common/DefaultFileWatcherFactory.cs | using System.Collections.Generic;
namespace Serenity.Web
{
public class DefaultFileWatcherFactory : IFileWatcherFactory
{
private readonly List<IFileWatcher> watchers;
public DefaultFileWatcherFactory()
{
watchers = new List<IFileWatcher>();
}
... | using System.Collections.Generic;
namespace Serenity.Web
{
public class DefaultFileWatcherFactory : IFileWatcherFactory
{
private List<IFileWatcher> watchers;
public DefaultFileWatcherFactory()
{
watchers = new List<IFileWatcher>();
}
public v... | mit | C# |
4f92891340bb228f8240268705436629bc2ea514 | Make use of FluentAssertions in sanity unit test. | tiesmaster/DCC,tiesmaster/DCC | Dcc.Test/DccMiddlewareTests.cs | Dcc.Test/DccMiddlewareTests.cs | using FluentAssertions;
using Xunit;
namespace Dcc.Test
{
public class DccMiddlewareTests
{
[Fact]
public void SanityTest()
{
true.Should().BeTrue();
}
}
} | using Xunit;
namespace Dcc.Test
{
public class DccMiddlewareTests
{
[Fact]
public void SanityTest()
{
Assert.True(true);
}
}
} | mit | C# |
846a2f87add6f4d56d4921ac35f30ec52555d516 | Add ForceManaged to CreateFileParameters | hubo0831/NLog,michaeljbaird/NLog,Niklas-Peter/NLog,ArsenShnurkov/NLog,michaeljbaird/NLog,czema/NLog,rajk987/NLog,vladikk/NLog,mikkelxn/NLog,AndreGleichner/NLog,thomkinson/NLog,czema/NLog,babymechanic/NLog,vladikk/NLog,bjornbouetsmith/NLog,FeodorFitsner/NLog,BrandonLegault/NLog,vbfox/NLog,AqlaSolutions/NLog-Unity3D,frin... | src/NLog/Internal/FileAppenders/ICreateFileParameters.cs | src/NLog/Internal/FileAppenders/ICreateFileParameters.cs | //
// Copyright (c) 2004-2011 Jaroslaw Kowalski <jaak@jkowalski.net>
//
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions
// are met:
//
// * Redistributions of source code must retain the above co... | //
// Copyright (c) 2004-2011 Jaroslaw Kowalski <jaak@jkowalski.net>
//
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions
// are met:
//
// * Redistributions of source code must retain the above co... | bsd-3-clause | C# |
d7973ac78635f89e206ece73dcb12534e05e3052 | add the detection service instance | wangkanai/Detection | src/Wangkanai.Detection/DetectionCollectionExtensions.cs | src/Wangkanai.Detection/DetectionCollectionExtensions.cs | // Copyright (c) 2018 Sarin Na Wangkanai, All Rights Reserved.
// The Apache v2. See License.txt in the project root for license information.
using System;
using Wangkanai.Detection;
using Wangkanai.Detection.Builder;
using Microsoft.Extensions.DependencyInjection.Extensions;
namespace Microsoft.Extensions.Dependenc... | // Copyright (c) 2018 Sarin Na Wangkanai, All Rights Reserved.
// The Apache v2. See License.txt in the project root for license information.
using System;
using Wangkanai.Detection;
using Wangkanai.Detection.Builder;
namespace Microsoft.Extensions.DependencyInjection
{
/// <summary>
/// Contains extension m... | apache-2.0 | C# |
825a5f7faedbf0d60204f48969c59996da6f53cd | Correct Administrators Role (set IsAdministrator to false) | mehrandvd/Tralus,mehrandvd/Tralus | Framework/Source/Tralus.Framework.Migration/Migrations/Configuration.cs | Framework/Source/Tralus.Framework.Migration/Migrations/Configuration.cs | using System;
using Tralus.Framework.BusinessModel.Entities;
namespace Tralus.Framework.Migration.Migrations
{
using System.Data.Entity.Migrations;
public sealed class Configuration : TralusDbMigrationConfiguration<Data.FrameworkDbContext>
{
public Configuration()
{
AutomaticM... | using System;
using Tralus.Framework.BusinessModel.Entities;
namespace Tralus.Framework.Migration.Migrations
{
using System.Data.Entity.Migrations;
public sealed class Configuration : TralusDbMigrationConfiguration<Data.FrameworkDbContext>
{
public Configuration()
{
AutomaticM... | apache-2.0 | C# |
d40636e11db876b8c185a471f3c4b11aa1961fcc | discard writelock usage fix | JetBrains/resharper-unity,JetBrains/resharper-unity,JetBrains/resharper-unity | resharper/resharper-unity/src/CSharp/Feature/Services/QuickFixes/CallGraph/BurstCodeAnalysis/AddDiscardAttribute/AddDiscardAttributeBulbAction.cs | resharper/resharper-unity/src/CSharp/Feature/Services/QuickFixes/CallGraph/BurstCodeAnalysis/AddDiscardAttribute/AddDiscardAttributeBulbAction.cs | using JetBrains.Annotations;
using JetBrains.ProjectModel;
using JetBrains.ReSharper.Feature.Services.Bulbs;
using JetBrains.ReSharper.Plugins.Unity.CSharp.Feature.Services.ContextActions;
using JetBrains.ReSharper.Psi.CSharp;
using JetBrains.ReSharper.Psi.CSharp.Tree;
using JetBrains.ReSharper.Resources.Shell;
using J... | using JetBrains.Annotations;
using JetBrains.ProjectModel;
using JetBrains.ReSharper.Feature.Services.Bulbs;
using JetBrains.ReSharper.Plugins.Unity.CSharp.Feature.Services.ContextActions;
using JetBrains.ReSharper.Psi.CSharp;
using JetBrains.ReSharper.Psi.CSharp.Tree;
using JetBrains.TextControl;
namespace JetBrains.... | apache-2.0 | C# |
1a3f68b152f7dede24da2558426ecb3d481c9d26 | Add AddSection() | SendGridJP/sendgridjp-csharp-example | sendgridjp-csharp-example/SendGridCsharpExample.cs | sendgridjp-csharp-example/SendGridCsharpExample.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Configuration;
using System.Net.Mail;
using System.Net;
using SendGridMail;
namespace sendgridjp_csharp_example
{
class SendGridCsharpExample
{
static void Main(string[] arg... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Configuration;
using System.Net.Mail;
using System.Net;
using SendGridMail;
namespace sendgridjp_csharp_example
{
class SendGridCsharpExample
{
static void Main(string[] arg... | mit | C# |
5570c35e2be81d1db1066a079f16b6b8002d9e71 | Add new category - "Communications and media". | LykkeCity/CompetitionPlatform,LykkeCity/CompetitionPlatform,LykkeCity/CompetitionPlatform | src/CompetitionPlatform/Data/ProjectCategory/ProjectCategoriesRepository.cs | src/CompetitionPlatform/Data/ProjectCategory/ProjectCategoriesRepository.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using CompetitionPlatform.Data.ProjectCategory;
namespace CompetitionPlatform.Data.ProjectCategory
{
public class ProjectCategoriesRepository : IProjectCategoriesRepository
{
public List<string> GetCategor... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using CompetitionPlatform.Data.ProjectCategory;
namespace CompetitionPlatform.Data.ProjectCategory
{
public class ProjectCategoriesRepository : IProjectCategoriesRepository
{
public List<string> GetCategor... | mit | C# |
e05baa30bf721a595069c7a9a0309439ed34381e | Delete comments | lecaillon/Evolve | test/Evolve.Test/Driver/MicrosoftDataSqliteDriverTest.cs | test/Evolve.Test/Driver/MicrosoftDataSqliteDriverTest.cs | using Evolve.Driver;
using Xunit;
namespace Evolve.Test.Driver
{
public class MicrosoftDataSqliteDriverTest
{
[Fact(DisplayName = "Load_ConnectionType_from_an_already_loaded_assembly")]
public void Load_ConnectionType_from_an_already_loaded_assembly()
{
var driver = new Mic... | using Evolve.Driver;
using Xunit;
namespace Evolve.Test.Driver
{
public class MicrosoftDataSqliteDriverTest
{
[Fact(DisplayName = "Load_ConnectionType_from_an_already_loaded_assembly")]
public void Load_ConnectionType_from_an_already_loaded_assembly()
{
var driver = new Mic... | mit | C# |
ce7dc55bad11311c39a226c0c15632725790e0e3 | Disable non-relevant warning in sample file | ulrichb/ImplicitNullability,ulrichb/ImplicitNullability,ulrichb/ImplicitNullability | Src/ImplicitNullability.Samples.CodeWithIN/NullabilityAnalysis/NonPublicMembersSample.cs | Src/ImplicitNullability.Samples.CodeWithIN/NullabilityAnalysis/NonPublicMembersSample.cs | using JetBrains.Annotations;
using static ImplicitNullability.Samples.CodeWithIN.ReSharper;
namespace ImplicitNullability.Samples.CodeWithIN.NullabilityAnalysis
{
public class NonPublicMembersSample
{
[UsedImplicitly]
internal void InternalMethod(string internalMethodParameter)
{
... | using JetBrains.Annotations;
using static ImplicitNullability.Samples.CodeWithIN.ReSharper;
namespace ImplicitNullability.Samples.CodeWithIN.NullabilityAnalysis
{
public class NonPublicMembersSample
{
[UsedImplicitly]
internal void InternalMethod(string internalMethodParameter)
{
... | mit | C# |
3761711ebcd3b5ea13079c1affbb23a98dfe2f8b | Add SA1008 tests for ref expressions | DotNetAnalyzers/StyleCopAnalyzers | StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1008CSharp7UnitTests.cs | StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1008CSharp7UnitTests.cs | // Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.
namespace StyleCop.Analyzers.Test.CSharp7.SpacingRules
{
using System.Threading;
using System.Threading.Tasks;
using StyleCop.A... | // Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.
namespace StyleCop.Analyzers.Test.CSharp7.SpacingRules
{
using Test.SpacingRules;
public class SA1008CSharp7UnitTests : SA1008Unit... | mit | C# |
142d9f991d3a3a83bd1b076469eab790e4d3a6ea | Remove Dapper project | xin9le/DeclarativeSql | src/DeclarativeSql/Internals/InternalsVisibleTo.cs | src/DeclarativeSql/Internals/InternalsVisibleTo.cs | using System.Runtime.CompilerServices;
[assembly: InternalsVisibleTo("DeclarativeSql.Tests")]
| using System.Runtime.CompilerServices;
[assembly: InternalsVisibleTo("DeclarativeSql.Dapper")]
[assembly: InternalsVisibleTo("DeclarativeSql.Tests")]
| mit | C# |
625bd22acd9da2292e72bbc80d21881728019cba | hide RichMenuId | masaedw/LineSharp | LineSharp/Messages/RichMenu.cs | LineSharp/Messages/RichMenu.cs | using System.Collections.Generic;
using Newtonsoft.Json;
namespace LineSharp.Messages
{
internal class RichMenuId
{
[JsonProperty("richMenuId")]
public string Id { get; set; }
}
/// <summary>
/// https://developers.line.me/en/docs/messaging-api/reference/#rich-menu-object
/// ... | using System.Collections.Generic;
using Newtonsoft.Json;
namespace LineSharp.Messages
{
public class RichMenuId
{
[JsonProperty("richMenuId")]
public string Id { get; set; }
}
/// <summary>
/// https://developers.line.me/en/docs/messaging-api/reference/#rich-menu-object
/// </... | mit | C# |
c0294adbb6a1728fc114a6cbb92177a7453729db | Update AssemblyInfo for new version | robbihun/NStatsD.Client | NStatsD/Properties/AssemblyInfo.cs | NStatsD/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("NStatsD.Client")]
[assembly: AssemblyDesc... | using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("NStatsD.Client")]
[assembly: AssemblyDesc... | mit | C# |
003bbb4b54a475b6b9916a1ad2d7f3c6f0e47076 | Remove redundant SpeculativeTCompletionProvider. | leppie/roslyn,jaredpar/roslyn,xoofx/roslyn,basoundr/roslyn,MattWindsor91/roslyn,MattWindsor91/roslyn,ljw1004/roslyn,mavasani/roslyn,Giftednewt/roslyn,mgoertz-msft/roslyn,MatthieuMEZIL/roslyn,KevinH-MS/roslyn,agocke/roslyn,OmarTawfik/roslyn,srivatsn/roslyn,xoofx/roslyn,kelltrick/roslyn,MatthieuMEZIL/roslyn,budcribar/ros... | src/Features/CSharp/Portable/Completion/CSharpCompletionService.cs | src/Features/CSharp/Portable/Completion/CSharpCompletionService.cs | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Composition;
using System.Threading;
using System.Threading.Tasks;
using Mi... | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Composition;
using System.Threading;
using System.Threading.Tasks;
using Mi... | apache-2.0 | C# |
90561e8358adf794118bc4b24bbe2adec2f1105f | Add support for providing a relative path to the coffee-script.js file (for cases where developers would perfer using an existing location) | philipproplesch/Web.Optimization,philipproplesch/Web.Optimization | src/Web.Optimization.Bundles.CoffeeScript/CoffeeScriptTransform.cs | src/Web.Optimization.Bundles.CoffeeScript/CoffeeScriptTransform.cs | using System.Globalization;
using System.IO;
using System.Text;
using System.Web;
using System.Web.Optimization;
using Jurassic;
using Web.Optimization.Common;
namespace Web.Optimization.Bundles.CoffeeScript
{
/// <summary>
/// Transforms CoffeeScript into JavaScript.
/// </summary>
publi... | using System.Globalization;
using System.IO;
using System.Text;
using System.Web;
using System.Web.Optimization;
using Jurassic;
using Web.Optimization.Common;
namespace Web.Optimization.Bundles.CoffeeScript
{
/// <summary>
/// Transforms CoffeeScript into JavaScript.
/// </summary>
publi... | mit | C# |
d47ef6372bad798749b0bf2340a071a79140d339 | Build fix | pushrbx/squidex,pushrbx/squidex,Squidex/squidex,Squidex/squidex,pushrbx/squidex,pushrbx/squidex,Squidex/squidex,pushrbx/squidex,Squidex/squidex,Squidex/squidex | tests/Squidex.Domain.Apps.Core.Tests/Schemas/FieldRegistryTests.cs | tests/Squidex.Domain.Apps.Core.Tests/Schemas/FieldRegistryTests.cs | // ==========================================================================
// FieldRegistryTests.cs
// Squidex Headless CMS
// ==========================================================================
// Copyright (c) Squidex Group
// All rights reserved.
// ====================================================... | // ==========================================================================
// FieldRegistryTests.cs
// Squidex Headless CMS
// ==========================================================================
// Copyright (c) Squidex Group
// All rights reserved.
// ====================================================... | mit | C# |
067beeb2bce379dd9eac2f3b0f101c50203ce5ed | Update TecSupportService1 with the new parameter list. | eky0151/SchProject,eky0151/SchProject,eky0151/SchProject | TechSupportService/Service1.svc.cs | TechSupportService/Service1.svc.cs | using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Data.Entity.Infrastructure;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.ServiceModel.Web;
using System.Text;
using DbAndRepository;
using DbAndRepository.IRepositories;
using DbAndR... | using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Data.Entity.Infrastructure;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.ServiceModel.Web;
using System.Text;
using DbAndRepository;
using DbAndRepository.IRepositories;
using DbAndR... | mit | C# |
40fbb0198ad3a245aa8499cfdf5d2b00761ef039 | Allow PSHostRawUserInterface to be used as base class. | sburnicki/Pash,mrward/Pash,WimObiwan/Pash,WimObiwan/Pash,ForNeVeR/Pash,sillvan/Pash,mrward/Pash,Jaykul/Pash,mrward/Pash,mrward/Pash,Jaykul/Pash,Jaykul/Pash,sburnicki/Pash,WimObiwan/Pash,WimObiwan/Pash,sillvan/Pash,ForNeVeR/Pash,Jaykul/Pash,sburnicki/Pash,sillvan/Pash,sillvan/Pash,ForNeVeR/Pash,ForNeVeR/Pash,sburnicki/P... | Source/System.Management/Automation/Host/PSHostRawUserInterface.cs | Source/System.Management/Automation/Host/PSHostRawUserInterface.cs | // Copyright (C) Pash Contributors. License: GPL/BSD. See https://github.com/Pash-Project/Pash/
using System;
namespace System.Management.Automation.Host
{
public abstract class PSHostRawUserInterface
{
protected PSHostRawUserInterface() { }
public abstract ConsoleColor BackgroundColor { get;... | // Copyright (C) Pash Contributors. License: GPL/BSD. See https://github.com/Pash-Project/Pash/
using System;
namespace System.Management.Automation.Host
{
public abstract class PSHostRawUserInterface
{
protected PSHostRawUserInterface() { throw new NotImplementedException(); }
public abstrac... | bsd-3-clause | C# |
fd6d79f3a624522f87f597d62590c3410f20179f | Fix public key | sharpdx/Toolkit,tomba/Toolkit,sharpdx/Toolkit | Source/Toolkit/SharpDX.Toolkit.Graphics/Properties/AssemblyInfo.cs | Source/Toolkit/SharpDX.Toolkit.Graphics/Properties/AssemblyInfo.cs | // Copyright (c) 2010-2013 SharpDX - Alexandre Mutel
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modi... | // Copyright (c) 2010-2013 SharpDX - Alexandre Mutel
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modi... | mit | C# |
12385e5117b0678a779a2afe00fbf12a43ac108a | Fix error when turning visual debugging on/off in Unity 5.4 or newer | sschmid/Entitas-CSharp,sschmid/Entitas-CSharp | Entitas.Unity/Assets/Entitas/Unity/Editor/ScriptingDefineSymbols.cs | Entitas.Unity/Assets/Entitas/Unity/Editor/ScriptingDefineSymbols.cs | using System;
using System.Collections.Generic;
using System.Linq;
using UnityEditor;
namespace Entitas.Unity {
public class ScriptingDefineSymbols {
public Dictionary<BuildTargetGroup, string> buildTargetToDefSymbol { get { return _buildTargetToDefSymbol; } }
readonly Dictionary<BuildTargetGrou... | using System;
using System.Collections.Generic;
using System.Linq;
using UnityEditor;
namespace Entitas.Unity {
public class ScriptingDefineSymbols {
public Dictionary<BuildTargetGroup, string> buildTargetToDefSymbol { get { return _buildTargetToDefSymbol; } }
readonly Dictionary<BuildTargetGrou... | mit | C# |
6dd20584dbf1797176fe0d9ffb7fbfc7378456a2 | Support multiple service models for a component. WindsorServiceHostFactory will pick the best match. Did some renaming to improve consistency. This is a breaking change. WcfServiceModel => DefaultServiceModel WcfClientModel => DefaultClientModel WindsorServiceHostFactory => Default/DefaultServiceHostFactory | castleproject/castle-READONLY-SVN-dump,castleproject/castle-READONLY-SVN-dump,castleproject/Castle.Transactions,codereflection/Castle.Components.Scheduler,castleproject/Castle.Facilities.Wcf-READONLY,castleproject/castle-READONLY-SVN-dump,castleproject/Castle.Transactions,castleproject/Castle.Transactions,castleproject... | Facilities/Wcf/Castle.Facilities.WcfIntegration.Demo/Global.asax.cs | Facilities/Wcf/Castle.Facilities.WcfIntegration.Demo/Global.asax.cs | // Copyright 2004-2008 Castle Project - http://www.castleproject.org/
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
/... | // Copyright 2004-2008 Castle Project - http://www.castleproject.org/
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
/... | apache-2.0 | C# |
c7c16af7bf2e047eebe6e4d11253a887209f907e | test context deleted from homeController | GalinStoychev/household-manager,GalinStoychev/household-manager,GalinStoychev/household-manager | HouseholdManager/HouseholdManager.Web/Controllers/HomeController.cs | HouseholdManager/HouseholdManager.Web/Controllers/HomeController.cs | using HouseholdManager.Data;
using HouseholdManager.Data.Models;
using HouseholdManager.Data.Repositories;
using HouseholdManager.Domain.Contracts.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace HouseholdManager.Web.Controllers
{
public ... | using HouseholdManager.Data;
using HouseholdManager.Data.Models;
using HouseholdManager.Data.Repositories;
using HouseholdManager.Domain.Contracts.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace HouseholdManager.Web.Controllers
{
public ... | mit | C# |
1df422e59135964b243ac168ba15bf8fd843a722 | Hide taiko swell ticks | smoogipoo/osu,ppy/osu,ppy/osu,UselessToucan/osu,UselessToucan/osu,smoogipoo/osu,ZLima12/osu,2yangk23/osu,EVAST9919/osu,NeoAdonis/osu,EVAST9919/osu,NeoAdonis/osu,ZLima12/osu,smoogipooo/osu,peppy/osu,NeoAdonis/osu,johnneijzen/osu,peppy/osu-new,johnneijzen/osu,UselessToucan/osu,peppy/osu,2yangk23/osu,peppy/osu,ppy/osu,smo... | osu.Game.Rulesets.Taiko/Objects/Drawables/DrawableSwellTick.cs | osu.Game.Rulesets.Taiko/Objects/Drawables/DrawableSwellTick.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Graphics;
using osu.Game.Rulesets.Scoring;
namespace osu.Game.Rulesets.Taiko.Objects.Drawables
{
public class DrawableSwellTick : DrawableTaikoHi... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Game.Rulesets.Scoring;
namespace osu.Game.Rulesets.Taiko.Objects.Drawables
{
public class DrawableSwellTick : DrawableTaikoHitObject<SwellTick>
{
... | mit | C# |
2fa453e91acdc243d91838188e64f4ec47d40cf0 | Update SaveAsMultipageTiff.cs | aspose-words/Aspose.Words-for-.NET,aspose-words/Aspose.Words-for-.NET,aspose-words/Aspose.Words-for-.NET,aspose-words/Aspose.Words-for-.NET,asposewords/Aspose_Words_NET,asposewords/Aspose_Words_NET,asposewords/Aspose_Words_NET,asposewords/Aspose_Words_NET | Examples/CSharp/Rendering-Printing/SaveAsMultipageTiff.cs | Examples/CSharp/Rendering-Printing/SaveAsMultipageTiff.cs |
using System;
using System.IO;
using System.Reflection;
using Aspose.Words;
using Aspose.Words.Saving;
namespace Aspose.Words.Examples.CSharp.Rendering_and_Printing
{
class SaveAsMultipageTiff
{
public static void Run()
{
// ExStart:SaveAsMultipageTiff
// The path to ... |
using System;
using System.IO;
using System.Reflection;
using Aspose.Words;
using Aspose.Words.Saving;
namespace Aspose.Words.Examples.CSharp.Rendering_and_Printing
{
class SaveAsMultipageTiff
{
public static void Run()
{
// ExStart:SaveAsMultipageTiff
// The path to ... | mit | C# |
824416c444b48852aa148f943bb8d0edb8c004c6 | Remove duplicates from sorted array II | Gerula/interviews,Gerula/interviews,Gerula/interviews,Gerula/interviews,Gerula/interviews | LeetCode/remote/remove_duplicates_from_sorted_array_II.cs | LeetCode/remote/remove_duplicates_from_sorted_array_II.cs | // https://leetcode.com/problems/remove-duplicates-from-sorted-array-ii/
//
// Follow up for "Remove Duplicates":
// What if duplicates are allowed at most twice?
//
// For example,
// Given sorted array nums = [1,1,1,2,2,3],
//
// Your function should return length = 5,
// with the first five elements of ... | // https://leetcode.com/problems/remove-duplicates-from-sorted-array-ii/
//
// Follow up for "Remove Duplicates":
// What if duplicates are allowed at most twice?
//
// For example,
// Given sorted array nums = [1,1,1,2,2,3],
//
// Your function should return length = 5,
// with the first five elements of ... | mit | C# |
82b55bd7c008004f69d8310411e4350e2046e492 | clean up | dkataskin/bstrkr | bstrkr.mobile/bstrkr.core/Services/Resources/ResourceManagerBase.cs | bstrkr.mobile/bstrkr.core/Services/Resources/ResourceManagerBase.cs | using System;
using System.Collections.Generic;
namespace bstrkr.core.services.resources
{
public abstract class ResourceManagerBase : IResourceManager
{
private readonly Lazy<object> _busIcon;
private readonly Lazy<object> _shuttleIcon;
private readonly Lazy<object> _trollIcon;
public ResourceManagerBase(... | using System;
using System.Collections.Generic;
namespace bstrkr.core.services.resources
{
public abstract class ResourceManagerBase : IResourceManager
{
private readonly IDictionary<int, float> _coefficients = new Dictionary<int, float>();
private readonly Lazy<object> _busIcon;
private readonly Lazy<object... | bsd-2-clause | C# |
b3b322fd146c256dbb2c5c63c8aee91fdf7c7387 | increment patch version, | jwChung/Experimentalism,jwChung/Experimentalism | build/CommonAssemblyInfo.cs | build/CommonAssemblyInfo.cs | using System.Reflection;
using System.Resources;
using System.Runtime.InteropServices;
[assembly: AssemblyCompany("Jin-Wook Chung")]
[assembly: AssemblyCopyright("Copyright (c) 2014, Jin-Wook Chung")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: Co... | using System.Reflection;
using System.Resources;
using System.Runtime.InteropServices;
[assembly: AssemblyCompany("Jin-Wook Chung")]
[assembly: AssemblyCopyright("Copyright (c) 2014, Jin-Wook Chung")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: Co... | mit | C# |
20c5791ddd7ed31e4eebf282a733598bc700aef7 | Remove import related logic from Message | KirillOsenkov/MSBuildStructuredLog,KirillOsenkov/MSBuildStructuredLog | src/StructuredLogger/ObjectModel/Message.cs | src/StructuredLogger/ObjectModel/Message.cs | using System;
using System.Text.RegularExpressions;
namespace Microsoft.Build.Logging.StructuredLogger
{
public class Message : TextNode, IHasRelevance, IHasSourceFile, IHasLineNumber
{
/// <summary>
/// Let's see if we even need timestamp, it's just eating memory for now
/// ... | using System;
using System.Text.RegularExpressions;
namespace Microsoft.Build.Logging.StructuredLogger
{
public class Message : TextNode, IHasRelevance, IHasSourceFile, IHasLineNumber
{
/// <summary>
/// Let's see if we even need timestamp, it's just eating memory for now
/// ... | mit | C# |
d2337e046838bb8a10618205ab462f7b9676e960 | Fix Sample6_HelloWorldLinkedService sample (#17974) | jackmagic313/azure-sdk-for-net,ayeletshpigelman/azure-sdk-for-net,AsrOneSdk/azure-sdk-for-net,brjohnstmsft/azure-sdk-for-net,brjohnstmsft/azure-sdk-for-net,yugangw-msft/azure-sdk-for-net,AsrOneSdk/azure-sdk-for-net,brjohnstmsft/azure-sdk-for-net,jackmagic313/azure-sdk-for-net,yugangw-msft/azure-sdk-for-net,jackmagic313... | sdk/synapse/Azure.Analytics.Synapse.Artifacts/tests/samples/Sample6_HelloWorldLinkedService.cs | sdk/synapse/Azure.Analytics.Synapse.Artifacts/tests/samples/Sample6_HelloWorldLinkedService.cs | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.Threading.Tasks;
using Azure.Analytics.Synapse.Samples;
using Azure.Identity;
using NUnit.Framework;
using Azure.Analytics.Synapse.Artifacts.Models;
namespace Azure.Analytics.Synapse.Artifacts.S... | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.Threading.Tasks;
using Azure.Analytics.Synapse.Samples;
using Azure.Identity;
using NUnit.Framework;
using Azure.Analytics.Synapse.Artifacts.Models;
namespace Azure.Analytics.Synapse.Artifacts.S... | mit | C# |
31cd97d3a9d53ec39ddb32a3bf484c0504f79d29 | test renamed | Softlr/Selenium.WebDriver.Extensions,Softlr/selenium-webdriver-extensions,Softlr/selenium-webdriver-extensions,RaYell/selenium-webdriver-extensions | test/Selenium.WebDriver.Extensions.Tests/Extensions/StringExtensionsTests.cs | test/Selenium.WebDriver.Extensions.Tests/Extensions/StringExtensionsTests.cs | namespace OpenQA.Selenium.Tests.Extensions
{
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using OpenQA.Selenium.Extensions;
using Xunit;
[Trait("Category", "Unit")]
[ExcludeFromCodeCoverage]
public class StringExtensionsTests
{
public static IEnumera... | namespace OpenQA.Selenium.Tests.Extensions
{
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using OpenQA.Selenium.Extensions;
using Xunit;
[Trait("Category", "Unit")]
[ExcludeFromCodeCoverage]
public class StringExtensionsTests
{
public static IEnumera... | apache-2.0 | C# |
ee689b36e244b6e7cf90a9256fceb9131c18924e | Remove Debug statement from MoveIEnumerator | jmeas/simple-tower | Assets/Scripts/MoveIEnumerator.cs | Assets/Scripts/MoveIEnumerator.cs | public class MoveIEnumerator : System.Collections.IEnumerator {
UnityEngine.GameObject target;
float destination;
float speed;
public MoveIEnumerator(UnityEngine.GameObject obj, float dest, float velocity) {
target = obj;
destination = dest;
speed = velocity;
}
public bool MoveNext() {
Un... | public class MoveIEnumerator : System.Collections.IEnumerator {
UnityEngine.GameObject target;
float destination;
float speed;
public MoveIEnumerator(UnityEngine.GameObject obj, float dest, float velocity) {
target = obj;
destination = dest;
speed = velocity;
}
public bool MoveNext() {
Un... | mit | C# |
fdaf5f2570a4abc34af37d18c6f39fd072c9e7bd | Bump to 1.3 | github/GitPad | Properties/AssemblyInfo.cs | Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Gi... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Gi... | mit | C# |
e05c7aa375e0060d06c12c691373bf3553c07d0a | update assembly info to 3.1.4 | kenny-evitt/AttributeRouting,mccalltd/AttributeRouting,kenny-evitt/AttributeRouting,modulexcite/AttributeRouting,mccalltd/AttributeRouting,modulexcite/AttributeRouting,yonglehou/AttributeRouting,yonglehou/AttributeRouting | src/SharedAssemblyInfo.cs | src/SharedAssemblyInfo.cs | using System;
using System.Reflection;
using System.Runtime.InteropServices;
[assembly: ComVisible(false)]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("AttributeRouting")]
[assembly: AssemblyCopyright("Copyright 2010-2012 Tim McCall")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyVersio... | using System;
using System.Reflection;
using System.Runtime.InteropServices;
[assembly: ComVisible(false)]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("AttributeRouting")]
[assembly: AssemblyCopyright("Copyright 2010-2012 Tim McCall")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyVersio... | mit | C# |
3045a7c4af791bab688c610c5e4115dabdeebc09 | Use OneTimeSetUp instead of TestFixtureSetUp. | jcheng31/ForecastPCL,jcheng31/DarkSkyApi | ForecastPCL.Test/LanguageTests.cs | ForecastPCL.Test/LanguageTests.cs | namespace ForecastPCL.Test
{
using System;
using System.Configuration;
using System.Threading.Tasks;
using DarkSkyApi;
using NUnit.Framework;
[TestFixture]
public class LanguageTests
{
// These coordinates came from the Forecast API documentation,
// and should return... | namespace ForecastPCL.Test
{
using System;
using System.Configuration;
using System.Threading.Tasks;
using DarkSkyApi;
using NUnit.Framework;
[TestFixture]
public class LanguageTests
{
// These coordinates came from the Forecast API documentation,
// and should return... | mit | C# |
bad10a07da4e12ef6abed214775644dcae19a29d | fix format specification for primitive parameter types | khellang/Nancy.Swagger,yahehe/Nancy.Swagger | src/Nancy.Swagger.Annotations/SwaggerObjects/AnnotatedParameter.cs | src/Nancy.Swagger.Annotations/SwaggerObjects/AnnotatedParameter.cs | using System;
using Nancy.Swagger.Annotations.Attributes;
using Swagger.ObjectModel;
namespace Nancy.Swagger.Annotations.SwaggerObjects
{
public class AnnotatedParameter : Parameter
{
public AnnotatedParameter(string name, Type paramType, RouteParamAttribute attr)
{
Name = attr.Nam... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
using Nancy.Swagger.Annotations.Attributes;
using Swagger.ObjectModel;
namespace Nancy.Swagger.Annotations.SwaggerObjects
{
public class AnnotatedParameter : Parameter
{
public Ann... | mit | C# |
af08c04761aad1f8075ed150dace820cc1efdef5 | Disable user interaction for iOS SKViews in Xamarin.Forms so we can add gestures | mono/SkiaSharp,mono/SkiaSharp,mono/SkiaSharp,mono/SkiaSharp,mono/SkiaSharp,mono/SkiaSharp,mono/SkiaSharp | source/SkiaSharp.Views.Forms/SkiaSharp.Views.Forms.iOS/SKViewRenderer.cs | source/SkiaSharp.Views.Forms/SkiaSharp.Views.Forms.iOS/SKViewRenderer.cs | using System;
using Xamarin.Forms;
using Xamarin.Forms.Platform.iOS;
using SKFormsView = SkiaSharp.Views.Forms.SKView;
using SKNativeView = SkiaSharp.Views.SKView;
[assembly: ExportRenderer(typeof(SKFormsView), typeof(SkiaSharp.Views.Forms.SKViewRenderer))]
namespace SkiaSharp.Views.Forms
{
internal class SKViewRe... | using System;
using Xamarin.Forms;
using Xamarin.Forms.Platform.iOS;
using SKFormsView = SkiaSharp.Views.Forms.SKView;
using SKNativeView = SkiaSharp.Views.SKView;
[assembly: ExportRenderer(typeof(SKFormsView), typeof(SkiaSharp.Views.Forms.SKViewRenderer))]
namespace SkiaSharp.Views.Forms
{
internal class SKViewRe... | mit | C# |
3070c9daab25154643704b815127d7f2c3680e0a | Fix build for versions without Assembly.Location | axelheer/corefx,krk/corefx,parjong/corefx,MaggieTsang/corefx,cydhaselton/corefx,tijoytom/corefx,JosephTremoulet/corefx,axelheer/corefx,ravimeda/corefx,nchikanov/corefx,ravimeda/corefx,cydhaselton/corefx,dotnet-bot/corefx,mmitche/corefx,jlin177/corefx,MaggieTsang/corefx,lggomez/corefx,Ermiar/corefx,stone-li/corefx,marks... | src/System.Net.NameResolution/tests/FunctionalTests/LoggingTest.cs | src/System.Net.NameResolution/tests/FunctionalTests/LoggingTest.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Diagnostics.Tracing;
using System.Reflection;
using Xunit;
namespace System.Net.NameResolution.Tests
{... | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Diagnostics.Tracing;
using System.Reflection;
using Xunit;
namespace System.Net.NameResolution.Tests
{... | mit | C# |
7cd0f366f20783d557eab1bb823d526e2fb7a683 | Fix ordered insertion | wqferr/GMTK-GameJam | Assets/Scripts/ScoreManager.cs | Assets/Scripts/ScoreManager.cs | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ScoreManager : MonoBehaviour
{
public class Score {
public int maxCombo;
public int enemiesKilled;
public float dist;
}
public static int MAX_N = 10;
public int combo;
public int maxCombo;
public int enemiesKill... | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ScoreManager : MonoBehaviour
{
public class Score {
public int maxCombo;
public int enemiesKilled;
public float dist;
}
public static int MAX_N = 10;
public int combo;
public int maxCombo;
public int enemiesKill... | mit | C# |
73a88494432c269f0d3d98d5d2f60e7e40254acb | Fix #11: List seperator not visible anymore in EventListPage | IrvingtonProgramming/InteractApp,IrvingtonProgramming/InteractApp,IrvingtonProgramming/InteractApp | InteractApp/EventListPage.xaml.cs | InteractApp/EventListPage.xaml.cs | using System;
using System.Diagnostics;
using Xamarin.Forms;
using InteractApp;
namespace InteractApp
{
public class EventListPageBase : ViewPage<EventListPageViewModel>
{
}
public partial class EventListPage : EventListPageBase
{
public EventListPage ()
{
InitializeComponent ();
this.Title = "Eve... | using System;
using System.Diagnostics;
using Xamarin.Forms;
using InteractApp;
namespace InteractApp
{
public class EventListPageBase : ViewPage<EventListPageViewModel>
{
}
public partial class EventListPage : EventListPageBase
{
public EventListPage ()
{
InitializeComponent ();
this.Title = "Eve... | mit | C# |
9c0745a9d18fee39ce81991145d521e0ece7202f | Bump version 0.1.4 | celeron533/KeepOn | KeepOn/Properties/AssemblyInfo.cs | KeepOn/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTi... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTi... | mit | C# |
18c3965d7798eca06221b24a6ca1e9186d2cf823 | Update remove route to correct value | SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice | src/SFA.DAS.EmployerAccounts.Web/Authorization/AuthorizationConstants.cs | src/SFA.DAS.EmployerAccounts.Web/Authorization/AuthorizationConstants.cs | namespace SFA.DAS.EmployerAccounts.Web.Authorization
{
public static class AuthorizationConstants
{
public const string Tier2User = "Tier2User";
public const string TeamViewRoute = "accounts/{hashedaccountid}/teams/view";
public const string TeamRoute = "accounts/{hashedaccountid}/teams... | namespace SFA.DAS.EmployerAccounts.Web.Authorization
{
public static class AuthorizationConstants
{
public const string Tier2User = "Tier2User";
public const string TeamViewRoute = "accounts/{hashedaccountid}/teams/view";
public const string TeamRoute = "accounts/{hashedaccountid}/teams... | mit | C# |
249cdd0082b33998455a177bf44354e99b392713 | allow Bob to go in the red | ericrrichards/ai | trunk/WestWorld1/Miner.cs | trunk/WestWorld1/Miner.cs | using System.Diagnostics;
namespace WestWorld1 {
using System;
using WestWorld1.MinerStates;
public class Miner : BaseGameEntity {
public const int ComfortLevel = 5;
private const int MaxNuggets = 3;
private const int ThirstLevel = 5;
private const int TirednessThreshold =... | using System.Diagnostics;
namespace WestWorld1 {
using System;
using WestWorld1.MinerStates;
public class Miner : BaseGameEntity {
public const int ComfortLevel = 5;
private const int MaxNuggets = 3;
private const int ThirstLevel = 5;
private const int TirednessThreshold =... | mit | C# |
e364b313c39906ae206b53d050c9064e0e9e5bba | Set version 1.0.20 | vdemydiuk/mtapi,vdemydiuk/mtapi,vdemydiuk/mtapi | MtApi5/Properties/AssemblyInfo.cs | MtApi5/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTi... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTi... | mit | C# |
0c9ac7fa45140e06bfb74865ed651f4cff35ba79 | Make Log4NetLevel enricher internal - no need for it to be public | tcmorris/Umbraco-CMS,mattbrailsford/Umbraco-CMS,hfloyd/Umbraco-CMS,KevinJump/Umbraco-CMS,rasmuseeg/Umbraco-CMS,lars-erik/Umbraco-CMS,abjerner/Umbraco-CMS,KevinJump/Umbraco-CMS,marcemarc/Umbraco-CMS,tcmorris/Umbraco-CMS,bjarnef/Umbraco-CMS,robertjf/Umbraco-CMS,tompipe/Umbraco-CMS,NikRimington/Umbraco-CMS,umbraco/Umbraco... | src/Umbraco.Core/Logging/SerilogExtensions/Log4NetLevelMapperEnricher.cs | src/Umbraco.Core/Logging/SerilogExtensions/Log4NetLevelMapperEnricher.cs | using Serilog.Core;
using Serilog.Events;
namespace Umbraco.Core.Logging.SerilogExtensions
{
/// <summary>
/// This is used to create a new property in Logs called 'Log4NetLevel'
/// So that we can map Serilog levels to Log4Net levels - so log files stay consistent
/// </summary>
internal class Lo... | using Serilog.Core;
using Serilog.Events;
namespace Umbraco.Core.Logging.SerilogExtensions
{
/// <summary>
/// This is used to create a new property in Logs called 'Log4NetLevel'
/// So that we can map Serilog levels to Log4Net levels - so log files stay consistent
/// </summary>
public class Log4... | mit | C# |
4c5490683e1288d35ae97f5fcc8f0bf81ebf838e | Add if doesn't exist | mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander | Battery-Commander.Web/Services/DTMSService.cs | Battery-Commander.Web/Services/DTMSService.cs | using BatteryCommander.Web.Models;
using Microsoft.AspNetCore.Http;
using Microsoft.EntityFrameworkCore;
using OfficeOpenXml;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace BatteryCommander.Web.Services
{
public class DTMSService
{
public sta... | using BatteryCommander.Web.Models;
using Microsoft.AspNetCore.Http;
using OfficeOpenXml;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace BatteryCommander.Web.Services
{
public class DTMSService
{
public static async Task<IEnumerable<Soldier>> ... | mit | C# |
940dd747aea0e3e26e536de0bdc4110ce049850d | Make simplifier work | jeremyabbott/codeformatter,BradBarnich/codeformatter,shiftkey/codeformatter,weltkante/codeformatter,twsouthwick/codeformatter,shiftkey/Octokit.CodeFormatter,mmitche/codeformatter,rainersigwald/codeformatter,hickford/codeformatter,BertTank/codeformatter,cbjugstad/codeformatter,rollie42/codeformatter,mmitche/codeformatte... | scripts/CodeFormatter/CodeFormatter/Rules/IsSimplifiedFormattingRule.cs | scripts/CodeFormatter/CodeFormatter/Rules/IsSimplifiedFormattingRule.cs | using System;
using System.Threading;
using System.Threading.Tasks;
using CodeFormatter.Engine;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.Simplification;
namespace CodeFormatter.Rules
{
[ExportFormattingRule(Int32.MaxValue / 2)]
internal sealed class IsSi... | using System;
using System.Threading;
using System.Threading.Tasks;
using CodeFormatter.Engine;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.Simplification;
namespace CodeFormatter.Rules
{
[ExportFormattingRule(Int32.MaxValue / 2)]
internal sealed class IsSimplifiedFormattingRule : IFormattingR... | mit | C# |
6c2d65373a53d54276f531af33d659fdd130a108 | Increase assembly version | valdisiljuconoks/ImageResizer.Plugins.EPiServerBlobReader | src/ImageResizer.Plugins.EPiServerBlobReader/Properties/AssemblyInfo.cs | src/ImageResizer.Plugins.EPiServerBlobReader/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("ImageResizer.Plugins.EPiServerBlobReader")]
[assembly: AssemblyDescription("ImageResizer library plugins for your Episerver site")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Valdis Iljuconoks (Tech Fellow ... | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("ImageResizer.Plugins.EPiServerBlobReader")]
[assembly: AssemblyDescription("ImageResizer library plugins for your Episerver site")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Valdis Iljuconoks (Tech Fellow ... | mit | C# |
1ba8f97a8bc840cec409c96d9ec711e74042ca91 | Update comments in BasicInitializationProgram. | eylvisaker/AgateLib | Examples/Initialization/BasicInitialization/BasicInitializationProgram.cs | Examples/Initialization/BasicInitialization/BasicInitializationProgram.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using AgateLib;
using AgateLib.DisplayLib;
using AgateLib.Geometry;
using AgateLib.InputLib;
namespace Examples.Initialization.BasicInitialization
{
static class BasicInitializationProgram
{
/// <summary>
/// The ma... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using AgateLib;
using AgateLib.DisplayLib;
using AgateLib.Geometry;
using AgateLib.InputLib;
namespace Examples.Initialization.BasicInitialization
{
static class BasicInitializationProgram
{
/// <summary>
/// The ma... | mit | C# |
71500e795058a3add358d5de6049e53964b7d95e | Use ReactiveUI Events for Data Context Changed | ApplETS/ETSMobile-WindowsPlatforms,ApplETS/ETSMobile-WindowsPlatforms | Ets.Mobile/Ets.Mobile.WindowsPhone/Content/Settings/Options.xaml.cs | Ets.Mobile/Ets.Mobile.WindowsPhone/Content/Settings/Options.xaml.cs | using Ets.Mobile.ViewModel.Contracts.Settings;
using System;
using System.Reactive.Linq;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
namespace Ets.Mobile.Content.Settings
{
public sealed partial class Options : UserControl
{
public Options()
{
InitializeComponent();
... | using Ets.Mobile.ViewModel.Contracts.Settings;
using System;
using System.Reactive.Linq;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using ReactiveUI;
using System.Reactive.Concurrency;
namespace Ets.Mobile.Content.Settings
{
public sealed partial class Options : UserControl
{
public Option... | apache-2.0 | C# |
d5096f4386e815dbb6621a4b87a8066c08bb7686 | Remove failing asserts (why? IDK) [TGSDeploy] | tgstation/tgstation-server,tgstation/tgstation-server,tgstation/tgstation-server-tools | tests/Tgstation.Server.Host.Service.Tests/TestServerService.cs | tests/Tgstation.Server.Host.Service.Tests/TestServerService.cs | using Microsoft.Extensions.Logging;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moq;
using System;
using System.Reflection;
using System.Threading;
using System.Threading.Tasks;
using Tgstation.Server.Host.Watchdog;
namespace Tgstation.Server.Host.Service.Tests
{
/// <summary>
/// Tests for <see cref=... | using Microsoft.Extensions.Logging;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moq;
using System;
using System.Reflection;
using System.Threading;
using System.Threading.Tasks;
using Tgstation.Server.Host.Watchdog;
namespace Tgstation.Server.Host.Service.Tests
{
/// <summary>
/// Tests for <see cref=... | agpl-3.0 | C# |
597ab7baef8d894a27214b60886a37d7e94ef0dc | Reformat comments | inputfalken/Sharpy | Sharpy/src/GeneratorExtensions.cs | Sharpy/src/GeneratorExtensions.cs | using GeneratorAPI;
using Sharpy.Enums;
using Sharpy.Implementation;
using Sharpy.IProviders;
namespace Sharpy {
/// <summary>
/// </summary>
public static class GeneratorExtensions {
/// <summary>
/// <para>
/// <see cref="Sharpy.Provider"/> contains various methods for... | using GeneratorAPI;
using Sharpy.Enums;
using Sharpy.Implementation;
using Sharpy.IProviders;
namespace Sharpy {
/// <summary>
/// </summary>
public static class GeneratorExtensions {
/// <summary>
/// <para>
/// Provider Contains various methods for generating common da... | mit | C# |
a23e28683cd0403e556c3fcd27acd90cf257af94 | Add scripts that make HTML5, CSS and JavaScript work in Internet Explorer 8 and lower | erooijak/oogstplanner,erooijak/oogstplanner,erooijak/oogstplanner,erooijak/oogstplanner | Zk/Views/Shared/_Layout.cshtml | Zk/Views/Shared/_Layout.cshtml | <!DOCTYPE html>
<html>
<head>
<title>Zaaikalender | @ViewBag.Title</title>
<link rel="stylesheet" href="/Content/Stylesheets/responsive-square-elements.css">
<!--[if lte IE 8]>
<script src="//cdnjs.cloudflare.com/ajax/libs/es5-shim/4.0.3/es5-shim.min.js"></script>
<script src="//cdnjs.c... | <!DOCTYPE html>
<html>
<head>
<title>Zaaikalender | @ViewBag.Title</title>
<link rel="stylesheet" href="/Content/Stylesheets/responsive-square-elements.css">
<script src="https://code.jquery.com/jquery-2.1.1.min.js"></script>
<script src="/Scripts/flowtype.js"></script>
<script src="/Scripts/font-sett... | mit | C# |
ff3faeaf40ad073ef930b393c9f9bb7ae61bc82e | Fix silly spelling mistake. | naoey/osu,NeoAdonis/osu,johnneijzen/osu,Frontear/osuKyzer,ZLima12/osu,peppy/osu,ppy/osu,peppy/osu-new,tacchinotacchi/osu,EVAST9919/osu,UselessToucan/osu,Drezi126/osu,2yangk23/osu,UselessToucan/osu,ZLima12/osu,RedNesto/osu,DrabWeb/osu,ppy/osu,ppy/osu,DrabWeb/osu,naoey/osu,DrabWeb/osu,Nabile-Rahmani/osu,smoogipoo/osu,nao... | osu.Game/Modes/UI/StandardHealthDisplay.cs | osu.Game/Modes/UI/StandardHealthDisplay.cs | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using OpenTK;
using OpenTK.Graphics;
using osu.Framework.Allocation;
using osu.Framework.Extensions.Color4Extensions;
using osu.Framework.Graphics;
using osu.... | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using OpenTK;
using OpenTK.Graphics;
using osu.Framework.Allocation;
using osu.Framework.Extensions.Color4Extensions;
using osu.Framework.Graphics;
using osu.... | mit | C# |
fcbcd0033be1d6561ac475b87d9f2d661662491d | Fix xml doc | castleproject/Castle.Transactions,castleproject/Castle.Facilities.Wcf-READONLY,castleproject/castle-READONLY-SVN-dump,castleproject/castle-READONLY-SVN-dump,carcer/Castle.Components.Validator,castleproject/Castle.Transactions,castleproject/Castle.Transactions,castleproject/castle-READONLY-SVN-dump,castleproject/Castle.... | ActiveRecord/Castle.ActiveRecord/Attributes/HasManyAttribute.cs | ActiveRecord/Castle.ActiveRecord/Attributes/HasManyAttribute.cs | // Copyright 2004-2007 Castle Project - http://www.castleproject.org/
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless ... | // Copyright 2004-2007 Castle Project - http://www.castleproject.org/
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless ... | apache-2.0 | C# |
4fe78cbe4e2cb46f85301eca6c2ba4b6a62138d0 | handle the merge conflict | twoThirds/MDF24HourGame | 24hGame/24hGame/24hGame/Drawable/Smart/Destructable/Controlled/Player.cs | 24hGame/24hGame/24hGame/Drawable/Smart/Destructable/Controlled/Player.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using _24hGame.BaseTypes;
using _24hGame.Graphics;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
namespace _24hGame.Drawable.Smart.Destructable.Controlled
{
public class... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using _24hGame.BaseTypes;
using _24hGame.Graphics;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
namespace _24hGame.Drawable.Smart.Destructable.Controlled
{
public class... | apache-2.0 | C# |
5277ab7944425d8e45fbf11dc12a5493b473a13a | Revert pragma suppression | dotnet/roslyn,dotnet/roslyn,heejaechang/roslyn,wvdd007/roslyn,bartdesmet/roslyn,panopticoncentral/roslyn,KirillOsenkov/roslyn,sharwell/roslyn,eriawan/roslyn,AlekseyTs/roslyn,tannergooding/roslyn,CyrusNajmabadi/roslyn,AmadeusW/roslyn,panopticoncentral/roslyn,AlekseyTs/roslyn,heejaechang/roslyn,mavasani/roslyn,weltkante/... | src/Features/Core/Portable/Structure/BlockStructureService.cs | src/Features/Core/Portable/Structure/BlockStructureService.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullable disable
using System.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.Host;
using M... | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullable disable
using System.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.Host;
using M... | mit | C# |
4bcee1df711bad2208d9840cd17f0ffa691c8c35 | Change property to maximum | mittonp/Umbraco-CMS,JimBobSquarePants/Umbraco-CMS,robertjf/Umbraco-CMS,umbraco/Umbraco-CMS,gavinfaux/Umbraco-CMS,rasmuseeg/Umbraco-CMS,leekelleher/Umbraco-CMS,leekelleher/Umbraco-CMS,JeffreyPerplex/Umbraco-CMS,base33/Umbraco-CMS,rasmusfjord/Umbraco-CMS,rustyswayne/Umbraco-CMS,rasmusfjord/Umbraco-CMS,rasmusfjord/Umbraco... | src/Umbraco.Web/PropertyEditors/RelatedLinksPropertyEditor.cs | src/Umbraco.Web/PropertyEditors/RelatedLinksPropertyEditor.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Umbraco.Core;
using Umbraco.Core.PropertyEditors;
namespace Umbraco.Web.PropertyEditors
{
[PropertyEditor(Constants.PropertyEditors.RelatedLinksAlias, "Related links", "relatedlinks"... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Umbraco.Core;
using Umbraco.Core.PropertyEditors;
namespace Umbraco.Web.PropertyEditors
{
[PropertyEditor(Constants.PropertyEditors.RelatedLinksAlias, "Related links", "relatedlinks"... | mit | C# |
02f96555631cfaae5181aba5a2e6639c4c4db600 | Update database.cs | fomalsd/unitystation,MrLeebo/unitystation,fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation,MrLeebo/unitystation,Necromunger/unitystation,fomalsd/unitystation,fomalsd/unitystation,Necromunger/unitystation,Necromunger/unitystation,MrLeebo/unitystation,Necromunger/unitystation,Necromunger/unitystation,MrLeeb... | database.cs | database.cs | private SQLiteConnection sql_con;
private SQLiteCommand sql_cmd;
private SQLiteDataAdapter DB;
private DataSet DS = new DataSet();
private DataTable DT = new DataTable();
//To use:
private void SetConnectionUsers()
{
sql_con = new SQLiteConnection
("Data Source=users.db;Version=3;New=False;Compress=True;");
}
pr... | private SQLiteConnection sql_con;
private SQLiteCommand sql_cmd;
private SQLiteDataAdapter DB;
private DataSet DS = new DataSet();
private DataTable DT = new DataTable();
private void SetConnection()
{
sql_con = new SQLiteConnection
("Data Source=Users.db;Version=3;New=False;Compress=True;");
}
private void Exec... | agpl-3.0 | C# |
0ba16c1eeb84b872fcf8b69bb888d8339dd163ac | Update Grid.cshtml | CarmelSchvartzman/MVC_WebGrid,CarmelSoftware/MVC_WebGrid | Views/Posts/Grid.cshtml | Views/Posts/Grid.cshtml | @model IEnumerable<AdvancedMVC.Models.Blog>
@{
ViewBag.Title = "Grid";
}
<h2>CarmelSoft Ajax WebGrid</h2>
<p>
@Html.ActionLink("Create New", "Create")
</p>
@{ var grid = new WebGrid(Model, new[] { "Title", "DatePosted", "MainPicture" }, rowsPerPage: 3, ajaxUpdateContainerId: "gridDIV"); }
<link href="~/Con... | @model IEnumerable<AdvancedMVC.Models.Blog>
@{
ViewBag.Title = "Grid";
}
<h2>CarmelSoft Ajax WebGrid</h2>
<p>
@Html.ActionLink("Create New", "Create")
</p>
@{ var grid = new WebGrid(Model, new[] { "Title", "DatePosted", "MainPicture" }, rowsPerPage: 3, ajaxUpdateContainerId: "gridDIV"); }
<link href="~/Con... | mit | C# |
ddc3621512eb8010b13daea8e36a216e1b0ba31e | Tweak Stylesheet Link writing in XMlDomExtenstions | darcywong00/libpalaso,tombogle/libpalaso,darcywong00/libpalaso,sillsdev/libpalaso,hatton/libpalaso,ddaspit/libpalaso,tombogle/libpalaso,gtryus/libpalaso,marksvc/libpalaso,tombogle/libpalaso,glasseyes/libpalaso,gmartin7/libpalaso,JohnThomson/libpalaso,gmartin7/libpalaso,marksvc/libpalaso,andrew-polk/libpalaso,ddaspit/li... | Palaso/Xml/XmlDomExtensions.cs | Palaso/Xml/XmlDomExtensions.cs | using System;
using System.IO;
using System.Xml;
namespace Palaso.Xml
{
public static class XmlDomExtensions
{
public static XmlDocument StripXHtmlNameSpace(this XmlDocument node)
{
XmlDocument x = new XmlDocument();
x.LoadXml(node.OuterXml.Replace("xmlns", "xmlnsNeutered"));
return x;
}
public st... | using System.Xml;
namespace Palaso.Xml
{
public static class XmlDomExtensions
{
public static XmlDocument StripXHtmlNameSpace(this XmlDocument node)
{
XmlDocument x = new XmlDocument();
x.LoadXml(node.OuterXml.Replace("xmlns", "xmlnsNeutered"));
return x;
}
public static void AddStyleSheet(this Xm... | mit | C# |
cd2a9c7bd2968860c54aecebd2a690dae35672f8 | Reduce state machine in AuthorizationMiddlewareResultHandler (#43200) | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore | src/Security/Authorization/Policy/src/AuthorizationMiddlewareResultHandler.cs | src/Security/Authorization/Policy/src/AuthorizationMiddlewareResultHandler.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using Microsoft.AspNetCore.Authentication;
using Microsoft.AspNetCore.Http;
namespace Microsoft.AspNetCore.Authorization.Policy;
/// <summary>
/// Default implementation for <see c... | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using Microsoft.AspNetCore.Authentication;
using Microsoft.AspNetCore.Http;
namespace Microsoft.AspNetCore.Authorization.Policy;
/// <summary>
/// Default implementation for <see c... | apache-2.0 | C# |
2f778a21070be6e3fed5e7e965ff827dab39e4e7 | update version file | bestwpw/IdentityServer3,Agrando/IdentityServer3,uoko-J-Go/IdentityServer,jonathankarsh/IdentityServer3,feanz/Thinktecture.IdentityServer.v3,SonOfSam/IdentityServer3,roflkins/IdentityServer3,johnkors/Thinktecture.IdentityServer.v3,delRyan/IdentityServer3,IdentityServer/IdentityServer3,remunda/IdentityServer3,faithword/I... | source/VersionAssemblyInfo.cs | source/VersionAssemblyInfo.cs | u s i n g S y s t e m . R e f l e c t i o n ;
[ a s s e m b l y : A s s e m b l y V e r s i o n ( " 1 . 0 . 0 . 0 " ) ]
[ a s s e m b l y : A s s e m b l y F i l e V e r s i o n ( " 1 . 0 . 0 . 0 " ) ]
| / *
* C o p y r i g h t 2 0 1 4 D o m i n i c k B a i e r , B r o c k A l l e n
*
* L i c e n s e d u n d e r t h e A p a c h e L i c e n s e , V e r s i o n 2 . 0 ( t h e " L i c e n s e " ) ;
* y o u m a y n o t u s e t h i s f i l e e x c e p t i ... | apache-2.0 | C# |
f4533db6c2eb955d5433cf52e85d32a223a7bba8 | Remove RandomTrace stuff from main | lou1306/CIV,lou1306/CIV | CIV/Program.cs | CIV/Program.cs | using static System.Console;
using System.Linq;
using CIV.Ccs;
using CIV.Hml;
namespace CIV
{
class Program
{
static void Main(string[] args)
{
var text = System.IO.File.ReadAllText(args[0]);
var processes = CcsFacade.ParseAll(text);
var hmlText = "[[ack]][[ack]][[ack... | using static System.Console;
using CIV.Ccs;
using CIV.Interfaces;
namespace CIV
{
class Program
{
static void Main(string[] args)
{
var text = System.IO.File.ReadAllText(args[0]);
var processes = CcsFacade.ParseAll(text);
var trace = CcsFacade.RandomTrace(processes["... | mit | C# |
d398907c14ec124eac55289f9b416b3bcf874e8d | Update RemovingWorksheetsUsingSheetIndex.cs | asposecells/Aspose_Cells_NET,asposecells/Aspose_Cells_NET,asposecells/Aspose_Cells_NET,aspose-cells/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,aspose-cells/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,maria-shahid-aspose/As... | Examples/CSharp/Worksheets/Management/RemovingWorksheetsUsingSheetIndex.cs | Examples/CSharp/Worksheets/Management/RemovingWorksheetsUsingSheetIndex.cs | using System.IO;
using Aspose.Cells;
namespace Aspose.Cells.Examples.Worksheets.Management
{
public class RemovingWorksheetsUsingSheetIndex
{
public static void Main(string[] args)
{
//ExStart:1
// The path to the documents directory.
string dataDir = Aspose... | using System.IO;
using Aspose.Cells;
namespace Aspose.Cells.Examples.Worksheets.Management
{
public class RemovingWorksheetsUsingSheetIndex
{
public static void Main(string[] args)
{
// The path to the documents directory.
string dataDir = Aspose.Cells.Examples.Utils.Ge... | mit | C# |
dd084c18992ad04d9af89d63cc79c776db40cbce | allow query logged requests | 0xFireball/KQAnalytics3,0xFireball/KQAnalytics3,0xFireball/KQAnalytics3 | KQAnalytics3/src/KQAnalytics3/Services/DataCollection/DataLoggerService.cs | KQAnalytics3/src/KQAnalytics3/Services/DataCollection/DataLoggerService.cs | using KQAnalytics3.Models.Data;
using KQAnalytics3.Services.Database;
using LiteDB;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace KQAnalytics3.Services.DataCollection
{
/// <summary>
/// A static instance of a logger service that can be used to log data to the database
/// </su... | using KQAnalytics3.Models.Data;
using KQAnalytics3.Services.Database;
using System.Threading.Tasks;
namespace KQAnalytics3.Services.DataCollection
{
/// <summary>
/// A static instance of a logger service that can be used to log data to the database
/// </summary>
public static class DataLoggerService... | agpl-3.0 | C# |
b347f33b644209eea47a43f7e57d8da678a46895 | Fix NRE in CCMusicPlayer Mac and iOS. If music is null we just return from methods. | hig-ag/CocosSharp,MSylvia/CocosSharp,TukekeSoft/CocosSharp,haithemaraissia/CocosSharp,netonjm/CocosSharp,mono/CocosSharp,zmaruo/CocosSharp,haithemaraissia/CocosSharp,hig-ag/CocosSharp,netonjm/CocosSharp,mono/CocosSharp,zmaruo/CocosSharp,TukekeSoft/CocosSharp,MSylvia/CocosSharp | src/denshion/CCMusicPlayer.AVFoundation.cs | src/denshion/CCMusicPlayer.AVFoundation.cs | using System;
using System.IO;
using CocosSharp;
#if MACOS
using MonoMac.AVFoundation;
using MonoMac.Foundation;
#elif IOS
using MonoTouch.AVFoundation;
using MonoTouch.Foundation;
#endif
namespace CocosDenshion
{
public partial class CCMusicPlayer
{
static readonly string[] allowedTypes = { "m4a", "aac", "mp3" ... | using System;
using System.IO;
using CocosSharp;
#if MACOS
using MonoMac.AVFoundation;
using MonoMac.Foundation;
#elif IOS
using MonoTouch.AVFoundation;
using MonoTouch.Foundation;
#endif
namespace CocosDenshion
{
public partial class CCMusicPlayer
{
static readonly string[] allowedTypes = { "m4a", "aac", "mp3" ... | mit | C# |
d92d4381d432dbb3f1cb6cda7b7e2a4d91374a2e | Adjust XMLDoc | EVAST9919/osu-framework,ZLima12/osu-framework,ppy/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,ppy/osu-framework,ZLima12/osu-framework | osu.Framework/Input/StateChanges/Events/TouchPositionChangeEvent.cs | osu.Framework/Input/StateChanges/Events/TouchPositionChangeEvent.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using osu.Framework.Input.States;
using osuTK;
using osuTK.Input;
namespace osu.Framework.Input.StateChanges.Events
{
public class TouchPositionChange... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Input.States;
using osuTK;
using osuTK.Input;
namespace osu.Framework.Input.StateChanges.Events
{
public class TouchPositionChangeEvent : InputS... | mit | C# |
8e088140b2c7709a8e5a49aa1efcec8c19815db9 | Reword comment since `IRequireHighFrequencyMousePosition` isn't the issue | peppy/osu,ppy/osu,peppy/osu,ppy/osu,ppy/osu,peppy/osu | osu.Game/Screens/Utility/SampleComponents/LatencyCursorContainer.cs | osu.Game/Screens/Utility/SampleComponents/LatencyCursorContainer.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
#nullable enable
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.Cursor;
using osu.Framework.Graphics.Shapes;
using o... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
#nullable enable
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.Cursor;
using osu.Framework.Graphics.Shapes;
using o... | mit | C# |
d1a2b79ff01ae16990f727562ba6659e210094b3 | use NRT | AmadeusW/roslyn,jasonmalinowski/roslyn,KevinRansom/roslyn,physhi/roslyn,weltkante/roslyn,mavasani/roslyn,dotnet/roslyn,wvdd007/roslyn,CyrusNajmabadi/roslyn,shyamnamboodiripad/roslyn,AmadeusW/roslyn,eriawan/roslyn,diryboy/roslyn,weltkante/roslyn,dotnet/roslyn,wvdd007/roslyn,KevinRansom/roslyn,mavasani/roslyn,bartdesmet/... | src/Features/Core/Portable/CommentSelection/CommentSelectionInfo.cs | src/Features/Core/Portable/CommentSelection/CommentSelectionInfo.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
namespace Microsoft.CodeAnalysis.CommentSelection
{
internal readonly struct CommentSelectionInfo
{
... | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullable disable
namespace Microsoft.CodeAnalysis.CommentSelection
{
internal readonly struct CommentSelectio... | mit | C# |
37e56ebe5371b2474df26379b6e082c80102806b | Fix command line error display | anthonylangsworth/Meraki | src/Meraki.Console/Program.cs | src/Meraki.Console/Program.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using CommandLine;
using Meraki;
namespace Meraki.Console
{
class Program
{
static void Main(string[] args)
{
try
{
Parser.Default.ParseArguments<LabOptions,... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using CommandLine;
using Meraki;
namespace Meraki.Console
{
class Program
{
static void Main(string[] args)
{
try
{
Parser.Default.ParseArguments<LabOptions,... | mit | C# |
ed4605db85c8e3a7df16f5d88d1bb275be6977e4 | Move the additional styles after | ucdavis/Commencement,ucdavis/Commencement,ucdavis/Commencement | Commencement.Mvc/Views/Shared/_StudentLayout.cshtml | Commencement.Mvc/Views/Shared/_StudentLayout.cshtml | @using Commencement.Core.Domain
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>@ViewBag.Title - Commencement</title>
<script src="https://use.typekit.net/vqy0brq.js"></script>
<script>try{Typekit.load();}c... | @using Commencement.Core.Domain
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>@ViewBag.Title - Commencement</title>
<script src="https://use.typekit.net/vqy0brq.js"></script>
<script>try{Typekit.load();}c... | mit | C# |
bf7c5097fac88c7e9d7a8bdef5cf30d4b4cd2554 | Modify to display timeline slider full of sideways. | effekseer/Effekseer,effekseer/Effekseer,effekseer/Effekseer,effekseer/Effekseer,effekseer/Effekseer,effekseer/Effekseer,effekseer/Effekseer | Dev/Editor/EffekseerMP/GUI/Dock/ViewerController.cs | Dev/Editor/EffekseerMP/GUI/Dock/ViewerController.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Effekseer.GUI.Dock
{
class ViewerController : DockPanel
{
public ViewerController()
{
Label = Resources.GetString("ViewerControls");
}
protected override void UpdateInternal()
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Effekseer.GUI.Dock
{
class ViewerController : DockPanel
{
public ViewerController()
{
Label = Resources.GetString("ViewerControls");
}
protected override void UpdateInternal()
... | mit | C# |
55ed440c9ab366ef863fb79d74065407fa28e67a | Improve error message | Brightspace/D2L.Security.OAuth2 | D2L.Security.OAuth2.WebApi/Authorization/DefaultAuthorizationAttribute.cs | D2L.Security.OAuth2.WebApi/Authorization/DefaultAuthorizationAttribute.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web.Http;
using System.Web.Http.Controllers;
using D2L.Security.OAuth2.Principal;
namespace D2L.Security.OAuth2.Authorization {
[AttributeUsage( AttributeTargets.All, AllowMultiple = false )]
public sealed class DefaultAuthoriz... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web.Http;
using System.Web.Http.Controllers;
using D2L.Security.OAuth2.Principal;
namespace D2L.Security.OAuth2.Authorization {
[AttributeUsage( AttributeTargets.All, AllowMultiple = false )]
public sealed class DefaultAuthoriz... | apache-2.0 | C# |
1490297e8dac42c6e79be5f1f6c68bab079a5d32 | Bump version to 0.1.1 | Lochnair/MCServer-World-Converter | MCServer-World-Converter/Properties/AssemblyInfo.cs | MCServer-World-Converter/Properties/AssemblyInfo.cs | /*
* The MIT License (MIT)
*
* Copyright (c) 2015 Nils Andreas Svee
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* t... | /*
* The MIT License (MIT)
*
* Copyright (c) 2015 Nils Andreas Svee
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* t... | mit | C# |
07c3f31b68fe8abebb2f83efff389f27cb3c6c1f | bump 0.5.2 | yonglehou/NsqSharp,judwhite/NsqSharp | NsqSharp/Properties/AssemblyInfo.cs | NsqSharp/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("NsqSharp")]
[assembly: AssemblyDescriptio... | using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("NsqSharp")]
[assembly: AssemblyDescriptio... | mit | C# |
76f46268aee26cf6741bd7164a4699e63da8e855 | Fix Paket Dependencies folder not shown after running paket init. | mrward/monodevelop-paket-addin | src/MonoDevelop.Paket/MonoDevelop.Paket.Commands/PaketInitSearchCommand.cs | src/MonoDevelop.Paket/MonoDevelop.Paket.Commands/PaketInitSearchCommand.cs | //
// PaketInitSearchCommand.cs
//
// Author:
// Matt Ward <ward.matt@gmail.com>
//
// Copyright (c) 2015 Matthew Ward
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without res... | //
// PaketInitSearchCommand.cs
//
// Author:
// Matt Ward <ward.matt@gmail.com>
//
// Copyright (c) 2015 Matthew Ward
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without res... | mit | C# |
dd442e8ea5c4cccfdcbb2bfd8a89675e4ae9409f | Update TeacherCreateViewModel to restrict the size of the Grade input. | Programazing/Open-School-Library,Programazing/Open-School-Library | src/Open-School-Library/Models/TeacherViewModels/TeacherCreateViewModel.cs | src/Open-School-Library/Models/TeacherViewModels/TeacherCreateViewModel.cs | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
namespace Open_School_Library.Models.TeacherViewModels
{
public class TeacherCreateViewModel
{
public int TeacherID { get; set; }
[Display(Name = "First... | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
namespace Open_School_Library.Models.TeacherViewModels
{
public class TeacherCreateViewModel
{
public int TeacherID { get; set; }
[Display(Name = "First... | mit | C# |
a8e319a320a1aae74a29432b0794a16ce869330a | Remove min/max from test scene to fix weirdness when switching test sizings | peppy/osu,UselessToucan/osu,peppy/osu,smoogipoo/osu,ppy/osu,smoogipoo/osu,peppy/osu-new,NeoAdonis/osu,ppy/osu,ppy/osu,smoogipooo/osu,UselessToucan/osu,UselessToucan/osu,smoogipoo/osu,peppy/osu,NeoAdonis/osu,NeoAdonis/osu | osu.Game.Tests/Visual/Settings/TestSceneTabletSettings.cs | osu.Game.Tests/Visual/Settings/TestSceneTabletSettings.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System.Drawing;
using NUnit.Framework;
using osu.Framework.Allocation;
using osu.Framework.Bindables;
using osu.Framework.Graphics;
using osu.Framework.Input.Handle... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System.Drawing;
using NUnit.Framework;
using osu.Framework.Allocation;
using osu.Framework.Bindables;
using osu.Framework.Graphics;
using osu.Framework.Input.Handle... | mit | C# |
64f698fc9018e04f798a5a6fb37c9752f4ea88af | Fix - Pulizia codice Set Mezzo Prenotato | vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf | src/backend/SO115App.Persistence.MongoDB/GestioneMezzi/SetMezzoPrenotato.cs | src/backend/SO115App.Persistence.MongoDB/GestioneMezzi/SetMezzoPrenotato.cs | using MongoDB.Driver;
using Persistence.MongoDB;
using SO115App.Models.Classi.Condivise;
using SO115App.Models.Servizi.CQRS.Commands.GestioneSoccorso.GestionePartenza.SetMezzoPrenotato;
using SO115App.Models.Servizi.Infrastruttura.Composizione;
using SO115App.Models.Servizi.Infrastruttura.SistemiEsterni.Gac;
using Sys... | using MongoDB.Driver;
using Persistence.MongoDB;
using SO115App.Models.Classi.Condivise;
using SO115App.Models.Servizi.CQRS.Commands.GestioneSoccorso.GestionePartenza.SetMezzoPrenotato;
using SO115App.Models.Servizi.Infrastruttura.Composizione;
using SO115App.Models.Servizi.Infrastruttura.SistemiEsterni.Gac;
using Sys... | agpl-3.0 | C# |
ad99a7b63f554b717ec55f36a8c16f39d23485d7 | Add links | jasonmalinowski/roslyn,KevinRansom/roslyn,brettfo/roslyn,weltkante/roslyn,tannergooding/roslyn,physhi/roslyn,aelij/roslyn,agocke/roslyn,shyamnamboodiripad/roslyn,KirillOsenkov/roslyn,KirillOsenkov/roslyn,CyrusNajmabadi/roslyn,davkean/roslyn,eriawan/roslyn,abock/roslyn,mavasani/roslyn,dotnet/roslyn,mgoertz-msft/roslyn,s... | src/EditorFeatures/Core/Implementation/SmartIndent/IIndentationService.cs | src/EditorFeatures/Core/Implementation/SmartIndent/IIndentationService.cs | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.Host;
namespace Microsoft.CodeAnalysis.Editor
{
/// <su... | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.Host;
namespace Microsoft.CodeAnalysis.Editor
{
/// <su... | mit | C# |
022f078d8dd57f8e82b47b4f6d89287211b55641 | strengthen tests around fqdn parsing on the sniffresponse (#2478) | CSGOpenSource/elasticsearch-net,CSGOpenSource/elasticsearch-net,elastic/elasticsearch-net,CSGOpenSource/elasticsearch-net,adam-mccoy/elasticsearch-net,elastic/elasticsearch-net,adam-mccoy/elasticsearch-net,adam-mccoy/elasticsearch-net | src/Tests/ClientConcepts/ConnectionPooling/Sniffing/AddressParsing.doc.cs | src/Tests/ClientConcepts/ConnectionPooling/Sniffing/AddressParsing.doc.cs | using Elasticsearch.Net;
using FluentAssertions;
using Tests.Framework;
namespace Tests.ClientConcepts.ConnectionPooling.Sniffing
{
public class AddressParsing
{
[U] public void IsMatched()
{
//based on examples from http://www.ietf.org/rfc/rfc2732.txt
var testcases = new[,]
{
{"[::1]:9200", "[::1]... | using Elasticsearch.Net;
using FluentAssertions;
using Tests.Framework;
namespace Tests.ClientConcepts.ConnectionPooling.Sniffing
{
public class AddressParsing
{
[U]
public void IsMatched()
{
//based on examples from http://www.ietf.org/rfc/rfc2732.txt
var testcases = new[,]
{
{"[::1]:9200", "[::... | apache-2.0 | C# |
3d6c0781c196bfe7c34266fb1c9ace6911a6b085 | Add comment | jasonmalinowski/roslyn,KevinRansom/roslyn,weltkante/roslyn,weltkante/roslyn,mavasani/roslyn,CyrusNajmabadi/roslyn,jasonmalinowski/roslyn,KevinRansom/roslyn,shyamnamboodiripad/roslyn,jasonmalinowski/roslyn,dotnet/roslyn,CyrusNajmabadi/roslyn,weltkante/roslyn,bartdesmet/roslyn,dotnet/roslyn,bartdesmet/roslyn,mavasani/ros... | src/Analyzers/CSharp/CodeFixes/UseObjectInitializer/UseInitializerHelpers.cs | src/Analyzers/CSharp/CodeFixes/UseObjectInitializer/UseInitializerHelpers.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.PooledObjects;
namespace Microsoft.CodeAn... | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.PooledObjects;
namespace Microsoft.CodeAn... | mit | C# |
8803dfdd36ecde0a357e23665f1c3f86707464ca | Package Update #CHANGE: Pushed AdamsLair.WinForms 1.1.4 | AdamsLair/winforms | WinForms/Properties/AssemblyInfo.cs | WinForms/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// Allgemeine Informationen über eine Assembly werden über die folgenden
// Attribute gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern,
// die mit einer Assembly verknüpft sind.
[assembly: A... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// Allgemeine Informationen über eine Assembly werden über die folgenden
// Attribute gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern,
// die mit einer Assembly verknüpft sind.
[assembly: A... | mit | C# |
25f13eed2dedccb1a8d8ae838f96f25e8862e693 | Add exception handling to Log.OnEntryAdded | rmcardle/LazerTagHost,rmcardle/LazerTagHost | LazerTagHostLibrary/Log.cs | LazerTagHostLibrary/Log.cs | using System;
using System.ComponentModel;
using System.Diagnostics;
namespace LazerTagHostLibrary
{
public class Log
{
#region Public methods
public static void Add(Severity severity, string format, params object[] arguments)
{
try
{
var time = DateTime.Now;
var message = string.Format(format,... | using System;
using System.ComponentModel;
using System.Diagnostics;
namespace LazerTagHostLibrary
{
public class Log
{
#region Public methods
public static void Add(Severity severity, string format, params object[] arguments)
{
try
{
var time = DateTime.Now;
var message = string.Format(format,... | mit | C# |
51a3447a25bbd3e0945e55cfb6f05de4e2e41dc3 | Introduce NetCore 1.0 compat hack for GetTypeInfo() (#4711) | shrah/corert,shrah/corert,gregkalapos/corert,shrah/corert,gregkalapos/corert,shrah/corert,gregkalapos/corert,gregkalapos/corert | src/System.Private.CoreLib/shared/System/Reflection/IntrospectionExtensions.cs | src/System.Private.CoreLib/shared/System/Reflection/IntrospectionExtensions.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Diagnostics;
namespace System.Reflection
{
public static class IntrospectionExtensions
{
... | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Diagnostics;
namespace System.Reflection
{
public static class IntrospectionExtensions
{
... | mit | C# |
40e086d2f3fffc773d0edc38dde558df7fdb8946 | Add heading to report result class | Kentico/KInspector,Kentico/KInspector,ChristopherJennings/KInspector,Kentico/KInspector,ChristopherJennings/KInspector,ChristopherJennings/KInspector,Kentico/KInspector,ChristopherJennings/KInspector | KenticoInspector.Core/Models/ReportResults.cs | KenticoInspector.Core/Models/ReportResults.cs | using System.Dynamic;
namespace KenticoInspector.Core.Models
{
public class ReportResults
{
public ReportResults()
{
Data = new ExpandoObject();
}
public dynamic Data { get; set; }
public string Heading { get; set; }
public string Status { get; set;... | using System.Dynamic;
namespace KenticoInspector.Core.Models
{
public class ReportResults
{
public ReportResults()
{
Data = new ExpandoObject();
}
public dynamic Data { get; set; }
public string Status { get; set; }
public string Summary { get; set;... | mit | C# |
e37e0e30fbbf7681b7ed6c70b031d11bffe263ea | Remove unused PortingInfo.ToString() | mavasani/roslyn-analyzers,srivatsn/roslyn-analyzers,mavasani/roslyn-analyzers,mattwar/roslyn-analyzers,Anniepoh/roslyn-analyzers,dotnet/roslyn-analyzers,bkoelman/roslyn-analyzers,pakdev/roslyn-analyzers,heejaechang/roslyn-analyzers,genlu/roslyn-analyzers,dotnet/roslyn-analyzers,qinxgit/roslyn-analyzers,jasonmalinowski/... | PortFxCop/src/Tools/FileIssues/PortingInfo.cs | PortFxCop/src/Tools/FileIssues/PortingInfo.cs | namespace FileIssues
{
public class PortingInfo
{
public string Id { get; set; }
public string Name { get; set; }
public string Title { get; set; }
public string Description { get; set; }
public string Notes { get; set; }
public Disposition Disposition { get... | namespace FileIssues
{
public class PortingInfo
{
public string Id { get; set; }
public string Name { get; set; }
public string Title { get; set; }
public string Description { get; set; }
public string Notes { get; set; }
public Disposition Disposition { get... | mit | C# |
af5ace110878f5c3d4564d69759f740b2921ff4c | Update BasicCompFactory.cs | RapidScada/scada,RapidScada/scada,RapidScada/scada,RapidScada/scada | ScadaWeb/ScadaScheme/PlgSchBasicComp/AppCode/SchBasicComp/BasicCompFactory.cs | ScadaWeb/ScadaScheme/PlgSchBasicComp/AppCode/SchBasicComp/BasicCompFactory.cs | /*
* Copyright 2018 Mikhail Shiryaev
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or a... | /*
* Copyright 2018 Mikhail Shiryaev
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or a... | apache-2.0 | C# |
73ee7adef95a89e27edbb46df47094de29eef20a | Add namespace brackets - because of teamcity | arkivverket/arkade5,arkivverket/arkade5,arkivverket/arkade5 | src/Arkivverket.Arkade.Core/Util/FileFormatIdentification/IFileFormatInfoFilesGenerator.cs | src/Arkivverket.Arkade.Core/Util/FileFormatIdentification/IFileFormatInfoFilesGenerator.cs | using System.Collections.Generic;
namespace Arkivverket.Arkade.Core.Util.FileFormatIdentification
{
public interface IFileFormatInfoFilesGenerator
{
void Generate(IEnumerable<IFileFormatInfo> fileFormatInfoSet, string relativePathRoot,
string resultFileFullPath);
}
} | using System.Collections.Generic;
namespace Arkivverket.Arkade.Core.Util.FileFormatIdentification;
public interface IFileFormatInfoFilesGenerator
{
void Generate(IEnumerable<IFileFormatInfo> fileFormatInfoSet, string relativePathRoot, string resultFileFullPath);
} | agpl-3.0 | C# |
c77f24fa747dc7aa8ea6296970e7af3c2c852b91 | Fix bad merge | unity3d-jp/AlembicImporter,unity3d-jp/AlembicImporter,unity3d-jp/AlembicImporter | com.unity.formats.alembic/Runtime/Scripts/Importer/AlembicStreamDescriptor.cs | com.unity.formats.alembic/Runtime/Scripts/Importer/AlembicStreamDescriptor.cs | using UnityEngine;
namespace UnityEngine.Formats.Alembic.Importer
{
internal class AlembicStreamDescriptor : ScriptableObject
{
[SerializeField]
private string pathToAbc;
public string PathToAbc
{
// For standalone builds, the path should be relative to the Streaming... | using UnityEngine;
namespace UnityEngine.Formats.Alembic.Importer
{
internal class AlembicStreamDescriptor : ScriptableObject
{
[SerializeField]
private string pathToAbc;
public string PathToAbc
{
// For standalone builds, the path should be relative to the Streaming... | mit | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.