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
898fc0c669b840df753922494c6726c3a1237f73
add look ahead cancel test
ArsenShnurkov/BitSharp
BitSharp.Common.Test/LookAheadTest.cs
BitSharp.Common.Test/LookAheadTest.cs
using Microsoft.VisualStudio.TestTools.UnitTesting; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; namespace BitSharp.Common.Test { [TestClass] public class LookAheadTest { [TestMethod] ...
using Microsoft.VisualStudio.TestTools.UnitTesting; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; namespace BitSharp.Common.Test { [TestClass] public class LookAheadTest { [TestMethod] ...
unlicense
C#
58faf7ccac1e401983734afe4052e4211e135f9a
Update VBlock to use AVBlock as a parent
BenVlodgi/VMFParser
VMFParser/VBlock.cs
VMFParser/VBlock.cs
using System.Collections.Generic; using System.Linq; namespace VMFParser { /// <summary>Represents a block containing other IVNodes in a VMF</summary> public class VBlock : AVBlock, IVNode, IDeepCloneable<VBlock> { public string Name { get; private set; } //public IList<IVNode> Body { get;...
using System.Collections.Generic; using System.Linq; namespace VMFParser { /// <summary>Represents a block containing other IVNodes in a VMF</summary> public class VBlock : IVNode, IDeepCloneable<VBlock> { public string Name { get; private set; } public IList<IVNode> Body { get; protected ...
mit
C#
388d75e0c492f780f873f976e241948162617856
remove ET handling for unimplemented expressions
maul-esel/CobaltAHK,maul-esel/CobaltAHK
CobaltAHK/ExpressionTree/Generator.cs
CobaltAHK/ExpressionTree/Generator.cs
using System; using System.Collections.Generic; using DLR = System.Linq.Expressions; using CobaltAHK.Expressions; namespace CobaltAHK.ExpressionTree { public static class Generator { public static DLR.Expression Generate(Expression expr, Scope scope, ScriptSettings settings) { if (expr is FunctionCallExpressi...
using System; using System.Collections.Generic; using DLR = System.Linq.Expressions; using CobaltAHK.Expressions; namespace CobaltAHK.ExpressionTree { public static class Generator { public static DLR.Expression Generate(Expression expr, Scope scope, ScriptSettings settings) { if (expr is DirectiveExpression)...
mit
C#
5feeb9ecdebb2dc82f64d6fa416701ee39f49f82
Bump prefetch count to 1000
bording/Angora
samples/Consumer/Program.cs
samples/Consumer/Program.cs
using System; using System.Threading.Tasks; using Angora; namespace Consumer { class Program { static void Main(string[] args) { MainAsync().GetAwaiter().GetResult(); } static async Task MainAsync() { var factory = new ConnectionFactory ...
using System; using System.Threading.Tasks; using Angora; namespace Consumer { class Program { static void Main(string[] args) { MainAsync().GetAwaiter().GetResult(); } static async Task MainAsync() { var factory = new ConnectionFactory ...
mit
C#
f9f611598f3f51ce094e188d35714c1db567a96b
Update code
sakapon/Samples-2016,sakapon/Samples-2016
BindingSample/DynamicBindingWpf/AppModel.cs
BindingSample/DynamicBindingWpf/AppModel.cs
using System; namespace DynamicBindingWpf { public class AppModel { public dynamic TextModel { get; } = new TextModel().ToDynamicNotifiable(300); } public class TextModel { string _Input; public string Input { get { return _Input; } ...
using System; namespace DynamicBindingWpf { public class AppModel { public dynamic TextModel { get; } = new TextModel().ToDynamicNotifiable(); } public class TextModel { string input; public string Input { get { return input; } ...
mit
C#
3061e634e5d328b14b4fea9c4a66b90bf81f7233
Add XML doc comments.
WSDOT-GIS/GTFS-Service,WSDOT-GIS/GTFS-Service
GtfsService/Feed.cs
GtfsService/Feed.cs
using ServiceStack.ServiceHost; using ServiceStack.ServiceInterface; using System; using System.Configuration; using System.Net; using Wsdot.Gtfs.Contract; using Wsdot.Gtfs.IO; namespace GtfsService { /// <summary> /// Request for an agencies GTFS feed. /// </summary> [Route("/feed/{agency}")] public class Feed ...
using ServiceStack.ServiceHost; using ServiceStack.ServiceInterface; using System; using System.Configuration; using System.Net; using Wsdot.Gtfs.Contract; using Wsdot.Gtfs.IO; namespace GtfsService { [Route("/feed/{agency}")] public class Feed { public string agency { get; set; } } public class FeedService :...
unlicense
C#
8e4e41740440c97b28a183fdb8d0f54c377c6ddd
change the role of oauth manager’s
CloudBreadProject/CloudBread-Unity-SDK
Assets/CloudBread/API/OAuth/OAuthManager.cs
Assets/CloudBread/API/OAuth/OAuthManager.cs
using UnityEngine; using System.Collections; namespace CloudBread.OAuth { public class OAuthManager { public static BaseOAuth2Services OAuthService; public enum OAuthServices { facebook, google } public static BaseOAuth2Services GetServices(OAuthServices services){ switch (services) { ...
using UnityEngine; using System.Collections; namespace CloudBread.OAuth { public class OAuthManager { public BaseConnector Connector; private bool isUseOAuth = true; public OAuthManager() { } public OAuthManager(BaseConnector _connector) { ...
mit
C#
664e16bd928efe3faefffec91e141e03b709282f
clean up
taka-oyama/UniHttp
Assets/UniHttp/Support/File/IFileHandler.cs
Assets/UniHttp/Support/File/IFileHandler.cs
using System.IO; namespace UniHttp { public interface IFileHandler { bool Exists(string path); void Write(string path, byte[] data); byte[] Read(string path); FileStream OpenWriteStream(string path); FileStream OpenReadStream(string path); void WriteObject<T>(string path, T obj) where T : class; ...
using System.IO; namespace UniHttp { public interface IFileHandler { bool Exists(string path); void Write(string path, byte[] data); void WriteObject<T>(string path, T obj) where T : class; FileStream OpenWriteStream(string path); byte[] Read(string path); FileStream OpenReadStream(string path); ...
mit
C#
84609972d7589865750b90dc2c562d3f8f61755b
Improve reporting of a scenario (problem with false-failures)
csf-dev/CSF.Screenplay,csf-dev/CSF.Screenplay,csf-dev/CSF.Screenplay
CSF.Screenplay.Reporting/Models/Scenario.cs
CSF.Screenplay.Reporting/Models/Scenario.cs
using System; using System.Collections.Generic; using System.Linq; namespace CSF.Screenplay.Reporting.Models { /// <summary> /// Represents a single scenrio within a report (equivalent to a single test case, if not using Cucumber terminology). /// </summary> public class Scenario { readonly string name;...
using System; using System.Collections.Generic; using System.Linq; namespace CSF.Screenplay.Reporting.Models { /// <summary> /// Represents a single scenrio within a report (equivalent to a single test case, if not using Cucumber terminology). /// </summary> public class Scenario { readonly static Outco...
mit
C#
6521e46bcc04aa9fbd512a432ed0f21aa6304cb7
fix check
Soluto/tweek,Soluto/tweek,Soluto/tweek,Soluto/tweek,Soluto/tweek,Soluto/tweek
core/Engine/Engine.Core/Engine.cs
core/Engine/Engine.Core/Engine.cs
using System.Collections.Generic; using System.Linq; using Engine.Core.Context; using Engine.Core.Rules; using LanguageExt; using Engine.Core.Utils; using Engine.DataTypes; using FSharpUtils.Newtonsoft; namespace Engine.Core { public delegate Option<IRule> RulesRepository(ConfigurationPath path); public sta...
using System.Collections.Generic; using System.Linq; using Engine.Core.Context; using Engine.Core.Rules; using LanguageExt; using Engine.Core.Utils; using Engine.DataTypes; using FSharpUtils.Newtonsoft; namespace Engine.Core { public delegate Option<IRule> RulesRepository(ConfigurationPath path); public sta...
mit
C#
9349ef218bfd4a67a64d3d0f350018662b8ac6d5
Add Trim() call
tigrouind/LifeDISA,tigrouind/LifeDISA
Shared/VarParser.cs
Shared/VarParser.cs
using System; using System.Collections.Generic; using System.IO; using System.Text.RegularExpressions; namespace Shared { public class VarParser { readonly Dictionary<string, Dictionary<int, string>> sections = new Dictionary<string, Dictionary<int, string>>(); public virtual string GetText(string sectionNa...
using System; using System.Collections.Generic; using System.IO; using System.Text.RegularExpressions; namespace Shared { public class VarParser { readonly Dictionary<string, Dictionary<int, string>> sections = new Dictionary<string, Dictionary<int, string>>(); public virtual string GetText(string sectionNa...
mit
C#
052772cce7423d3b67bbcd7ebb2e0ef6cd8ae842
add test case
EVAST9919/osu,smoogipoo/osu,ppy/osu,smoogipoo/osu,NeoAdonis/osu,smoogipoo/osu,UselessToucan/osu,smoogipooo/osu,NeoAdonis/osu,ppy/osu,peppy/osu,johnneijzen/osu,EVAST9919/osu,peppy/osu-new,ppy/osu,2yangk23/osu,NeoAdonis/osu,2yangk23/osu,UselessToucan/osu,UselessToucan/osu,peppy/osu,johnneijzen/osu,peppy/osu
osu.Game.Tests/Visual/UserInterface/TestSceneModButton.cs
osu.Game.Tests/Visual/UserInterface/TestSceneModButton.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 NUnit.Framework; using osu.Framework.Graphics; using osu.Framework.Graphics.Sprites; using osu.Game.Overlays.Mods; using osu.Game.Rulesets.Mods; namespace osu.Game...
// 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 System.Collections.Generic; using System.Linq; using NUnit.Framework; using osu.Framework.Allocation; using osu.Framework.Bindables; using osu.Framewo...
mit
C#
d1fd14e287eb7ff00e36d87e3b76f53df2207912
Add missing `nullable`
ppy/osu,ppy/osu,peppy/osu,ppy/osu,peppy/osu,NeoAdonis/osu,NeoAdonis/osu,NeoAdonis/osu,peppy/osu
osu.Game/Overlays/Chat/ChannelControl/ControlItemClose.cs
osu.Game/Overlays/Chat/ChannelControl/ControlItemClose.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.Allocation; using osu.Framework.Graphics; using osu.Framework.Graphics.Sprites; using osu.Framework.Input.Events; using osu.Game.Gr...
// 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.Allocation; using osu.Framework.Graphics; using osu.Framework.Graphics.Sprites; using osu.Framework.Input.Events; using osu.Game.Graphics; using osu....
mit
C#
d2650fc1a05e012a58a2283a59ce4dfdc6e634e3
Add count to deletion dialog
NeoAdonis/osu,UselessToucan/osu,peppy/osu,smoogipoo/osu,peppy/osu-new,smoogipoo/osu,NeoAdonis/osu,ppy/osu,UselessToucan/osu,peppy/osu,smoogipooo/osu,ppy/osu,UselessToucan/osu,smoogipoo/osu,NeoAdonis/osu,ppy/osu,peppy/osu
osu.Game/Collections/DeleteCollectionDialog.cs
osu.Game/Collections/DeleteCollectionDialog.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 Humanizer; using osu.Framework.Graphics.Sprites; using osu.Game.Overlays.Dialog; namespace osu.Game.Collections { public class DeleteCollectionDi...
// 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.Graphics.Sprites; using osu.Game.Overlays.Dialog; namespace osu.Game.Collections { public class DeleteCollectionDialog : PopupDialo...
mit
C#
ccf3323c78b1c9b789b5f3695f3f1b514113f473
Update XFileImporterWindow.cs
mmd-for-unity-proj/mmd-for-unity
Editor/XFileImporter/XFileImporterWindow.cs
Editor/XFileImporter/XFileImporterWindow.cs
using UnityEngine; using UnityEditor; using System.Collections; public class XFileImporterWindow : EditorWindow { Object xFile = null; [MenuItem ("MMD for Unity/XFile Importer")] static void Init() { var window = (XFileImporterWindow)EditorWindow.GetWindow<XFileImporterWindow>(true, "XFile Importer"); window....
using UnityEngine; using UnityEditor; using System.Collections; public class XFileImporterWindow : EditorWindow { Object xFile = null; [MenuItem ("Plugins/XFile Importer")] static void Init() { var window = (XFileImporterWindow)EditorWindow.GetWindow<XFileImporterWindow>(true, "XFile Importer"); window.Show()...
bsd-3-clause
C#
df6175124240ed6d9d7f277462d4d704ef2b9dcb
Update AssemblyInfo.cs
NimaAra/Easy.Compression
Easy.Compression/Properties/AssemblyInfo.cs
Easy.Compression/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; [assembly: AssemblyTitle("Easy.Compression")] [assembly: AssemblyCopyright("Copyright © 2016")] [assembly: AssemblyVersion("1.1.0.0")] [assembly: AssemblyFileVersion("1.1.0.0")] [assembly: InternalsVisibleTo("Easy.Compression.Tests.Unit")]
using System.Reflection; using System.Runtime.CompilerServices; [assembly: AssemblyTitle("Easy.Compression")] [assembly: AssemblyCopyright("Copyright © 2016")] [assembly: AssemblyVersion("1.0.0.0")] [assembly: AssemblyFileVersion("1.0.0.0")] [assembly: InternalsVisibleTo("Easy.Compression.Tests.Unit")]
mit
C#
dfee2a663d58a4202c9c77e2497f5a5f06f8af79
update test data
Stelmashenko-A/GameOfLife,Stelmashenko-A/GameOfLife,Stelmashenko-A/GameOfLife
GameOfLife.Services.Tests/GameOfLifeTest.cs
GameOfLife.Services.Tests/GameOfLifeTest.cs
using System; using LifeHost.Controllers; using LifeHost.Storage; using NUnit.Framework; namespace GameOfLife.Services.Tests { public class GameOfLifeTest { [Test] public void TestGame() { LifeHost.Controllers.GameOfLife gol = new LifeHost.Controllers.GameOfLife(); ...
using System; using LifeHost.Controllers; using LifeHost.Storage; using NUnit.Framework; namespace GameOfLife.Services.Tests { public class GameOfLifeTest { [Test] public void TestGame() { LifeHost.Controllers.GameOfLife gol = new LifeHost.Controllers.GameOfLife(); ...
mit
C#
871a1a213c62a987898adaf40b86465e0afe3685
Bump version to 1.0.0-alpha2
andyshao/Hangfire.Ninject,HangfireIO/Hangfire.Ninject
HangFire.Ninject/Properties/AssemblyInfo.cs
HangFire.Ninject/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("HangFire.Ninject")] [assembly: AssemblyDe...
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("HangFire.Ninject")] [assembly: AssemblyDe...
mit
C#
38aa65e2f8a822ee1fb7c40754a8b2a33bdbf6bb
add input field for task
jgraber/ForgetTheMilk,jgraber/ForgetTheMilk,jgraber/ForgetTheMilk
ForgetTheMilk/ForgetTheMilk/Views/Task/Index.cshtml
ForgetTheMilk/ForgetTheMilk/Views/Task/Index.cshtml
@{ ViewBag.Title = "Home Page"; } <div class="jumbotron"> <p>Add a task:</p> <form> <input type="text" class="input-lg" name="task"/> </form> </div>
@{ ViewBag.Title = "Home Page"; } <div class="jumbotron"> <h1>ASP.NET</h1> <p class="lead">ASP.NET is a free web framework for building great Web sites and Web applications using HTML, CSS and JavaScript.</p> <p><a href="http://asp.net" class="btn btn-primary btn-lg">Learn more &raquo;</a></p> </div> ...
apache-2.0
C#
43c650a9430280ea48266333614b79754a5e8d2d
Change orbit angles to degree
dirty-casuals/LD38-A-Small-World
Assets/Scripts/Planet.cs
Assets/Scripts/Planet.cs
using UnityEngine; public class Planet : MonoBehaviour { [SerializeField] private float _radius; public float Radius { get { return _radius; } set { _radius = value; } } public float Permieter { get { return 2 * Mathf.PI * Radius; } } public void SampleOrbit2D( f...
using UnityEngine; public class Planet : MonoBehaviour { [SerializeField] private float _radius; public float Radius { get { return _radius; } set { _radius = value; } } public float Permieter { get { return 2 * Mathf.PI * Radius; } } public void SampleOrbit2D( f...
mit
C#
e856a9efaea19fdb92c96469da7fc8502c524714
Update SingleDatabaseFixture.cs
unosquare/tenantcore
Unosquare.TenantCore.Tests/SingleDatabaseFixture.cs
Unosquare.TenantCore.Tests/SingleDatabaseFixture.cs
using Effort; using Microsoft.Owin.Testing; using NUnit.Framework; using Owin; using System.Threading.Tasks; using System.Collections.Generic; using System.Linq; using Unosquare.TenantCore.SampleDatabase; namespace Unosquare.TenantCore.Tests { [TestFixture] public class SingleDatabaseFixture { pri...
using Effort; using Microsoft.Owin.Testing; using NUnit.Framework; using Owin; using System.Collections.Generic; using System.Linq; using Unosquare.TenantCore.SampleDatabase; namespace Unosquare.TenantCore.Tests { [TestFixture] public class SingleDatabaseFixture { private ApplicationDbContext _con...
mit
C#
3c439c66c6ce21bf6b1a6bd7f6a85314163a019c
Fix CodeFactor issue
nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet
WalletWasabi.Fluent/ViewModels/HomePageViewModel.cs
WalletWasabi.Fluent/ViewModels/HomePageViewModel.cs
using ReactiveUI; using System.Collections.ObjectModel; using System.Reactive.Linq; using DynamicData; using DynamicData.Binding; using System.Reactive; using System.IO; namespace WalletWasabi.Fluent.ViewModels { public class HomePageViewModel : NavBarItemViewModel { private readonly ReadOnlyObservableCollection<N...
using ReactiveUI; using System.Collections.ObjectModel; using System.Reactive.Linq; using DynamicData; using DynamicData.Binding; using System.Reactive; using System.IO; namespace WalletWasabi.Fluent.ViewModels { public class HomePageViewModel : NavBarItemViewModel { private readonly ReadOnlyObservableCollection<N...
mit
C#
fde47de2a44c9becfc6ef45b56f475b0d77930b0
Add the defaults for GeneratorOptions
mrahhal/ExternalTemplates
src/ExternalTemplates.AspNet/IGeneratorOptions.Default.cs
src/ExternalTemplates.AspNet/IGeneratorOptions.Default.cs
using System; namespace ExternalTemplates { /// <summary> /// Default generator options. /// </summary> public class GeneratorOptions : IGeneratorOptions { /// <summary> /// Gets the path relative to the web root where the templates are stored. /// Default is "/Content/templates". /// </summary> public...
using System; namespace ExternalTemplates { /// <summary> /// Default generator options. /// </summary> public class GeneratorOptions : IGeneratorOptions { /// <summary> /// Gets the path relative to the web root where the templates are stored. /// Default is "/Content/templates". /// </summary> public...
mit
C#
7515dfefa45a889d7a6626cdae3ac3123b19c300
Fix MySql do not support Milliseconds
barser/fluentmigrator,schambers/fluentmigrator,lcharlebois/fluentmigrator,amroel/fluentmigrator,mstancombe/fluentmig,mstancombe/fluentmigrator,tommarien/fluentmigrator,alphamc/fluentmigrator,amroel/fluentmigrator,KaraokeStu/fluentmigrator,bluefalcon/fluentmigrator,istaheev/fluentmigrator,lcharlebois/fluentmigrator,IRly...
src/FluentMigrator.Runner/Generators/MySql/MySqlQuoter.cs
src/FluentMigrator.Runner/Generators/MySql/MySqlQuoter.cs
using FluentMigrator.Runner.Generators.Generic; namespace FluentMigrator.Runner.Generators.MySql { public class MySqlQuoter : GenericQuoter { public override string OpenQuote { get { return "`"; } } public override string CloseQuote { get { return "`"; } } public override string Quot...
using FluentMigrator.Runner.Generators.Generic; namespace FluentMigrator.Runner.Generators.MySql { public class MySqlQuoter : GenericQuoter { public override string OpenQuote { get { return "`"; } } public override string CloseQuote { get { return "`"; } } public override string Quot...
apache-2.0
C#
553cd985d093eacb4fc335074683ad715b459e17
Fix namespace mistake.
dolkensp/node.net,oliver-feng/nuget,xoofx/NuGet,pratikkagda/nuget,mrward/nuget,mrward/NuGet.V2,indsoft/NuGet2,RichiCoder1/nuget-chocolatey,mrward/NuGet.V2,antiufo/NuGet2,ctaggart/nuget,ctaggart/nuget,indsoft/NuGet2,antiufo/NuGet2,RichiCoder1/nuget-chocolatey,dolkensp/node.net,GearedToWar/NuGet2,zskullz/nuget,oliver-fen...
src/VisualStudio/ProductUpdate/VsProductUpdateSettings.cs
src/VisualStudio/ProductUpdate/VsProductUpdateSettings.cs
using System; using System.ComponentModel.Composition; namespace NuGet.VisualStudio { [Export(typeof(IProductUpdateSettings))] public class VsProductUpdateSettings : SettingsManagerBase, IProductUpdateSettings { private const string SettingsRoot = "NuGet"; private const string Che...
using System; using System.ComponentModel.Composition; namespace NuGet.VisualStudio.ProductUpdate { [Export(typeof(IProductUpdateSettings))] public class VsProductUpdateSettings : SettingsManagerBase, IProductUpdateSettings { private const string SettingsRoot = "NuGet"; private ...
apache-2.0
C#
a2839acd1680be52f57587aea524976fc74d9088
Stop chancellor from prompting the player when they have no cards in their deck.
paulbatum/Dominion,paulbatum/Dominion
Dominion.Cards/Actions/Chancellor.cs
Dominion.Cards/Actions/Chancellor.cs
using System; using Dominion.Rules; using Dominion.Rules.Activities; using Dominion.Rules.CardTypes; namespace Dominion.Cards.Actions { public class Chancellor : Card, IActionCard { public Chancellor() : base(3) { } public void Play(TurnContext context) { ...
using System; using Dominion.Rules; using Dominion.Rules.Activities; using Dominion.Rules.CardTypes; namespace Dominion.Cards.Actions { public class Chancellor : Card, IActionCard { public Chancellor() : base(3) { } public void Play(TurnContext context) { ...
mit
C#
befc9c595172262ec6a809ebbfcc032d3340cd9c
Update ClientSerializationTest.cs
fortesinformatica/IuguClient
src/IuguClient.Tests/Serealization/ClientSerializationTest.cs
src/IuguClient.Tests/Serealization/ClientSerializationTest.cs
using IuguClientAPI.Models; using Newtonsoft.Json; using NUnit.Framework; namespace IuguClientAPI.Tests.Serealization { [TestFixture] public class ClientSerializationTest { [Test] public void SerializeClient() { var iuguClient = new IuguClient("email@email.com", "Client...
using IuguClientAPI.Models; using Newtonsoft.Json; using NUnit.Framework; namespace IuguClientAPI.Tests.Serealization { [TestFixture] public class ClientSerializationTest { [Test] public void IuguSubitemSerialization() { var iuguClient = new IuguClient("email@email.com"...
mit
C#
b1704a4c06c581a5b18126740dbe92bb018b35f2
Add support for custom key delimiter
gusztavvargadr/aspnet-Configuration.Contrib
tests/Core.UnitTests/AppSettingsConfigurationProviderTests.cs
tests/Core.UnitTests/AppSettingsConfigurationProviderTests.cs
using System; using System.Collections.Specialized; using Microsoft.Extensions.Configuration; using Xunit; namespace GV.AspNet.Configuration.ConfigurationManager.UnitTests { public class AppSettingsConfigurationProviderTests { public class Load { [Theory] [InlineData("", "Value")] [InlineD...
using System; using System.Collections.Specialized; using Xunit; namespace GV.AspNet.Configuration.ConfigurationManager.UnitTests { public class AppSettingsConfigurationProviderTests { [Theory] [InlineData("Key1", "Value1")] [InlineData("Key2", "Value2")] public void LoadsKeyValuePairsFromAppSett...
mit
C#
82b1710b1c2d3f39153303f9f3ef4f582b88abd6
Fix addTemplate reference
andrewdavey/reference-application,andrewdavey/reference-application
App/Infrastructure/Cassette/ConvertAllHtmlTemplatesToScript.cs
App/Infrastructure/Cassette/ConvertAllHtmlTemplatesToScript.cs
using Cassette.BundleProcessing; using Cassette.Scripts; namespace App.Infrastructure.Cassette { class ConvertAllHtmlTemplatesToScript : IBundleProcessor<ScriptBundle> { public void Process(ScriptBundle bundle) { foreach (var asset in bundle.Assets) { ...
using Cassette.BundleProcessing; using Cassette.Scripts; namespace App.Infrastructure.Cassette { class ConvertAllHtmlTemplatesToScript : IBundleProcessor<ScriptBundle> { public void Process(ScriptBundle bundle) { bundle.AddReference("~/Infrastructure/Scripts/App"); ...
apache-2.0
C#
821402b14d3eb62a6394d58a3a32227e0a314da6
Update home page with helpful links
alsafonov/gitresources,alsafonov/gitresources,ethomson/gitresources,ethomson/gitresources
GitResources/Views/Home/_Home.cshtml
GitResources/Views/Home/_Home.cshtml
<!-- ko with: home --> <div class="jumbotron"> <h1>Git Resources</h1> <p class="lead"> Git is a powerful distributed version control system that provides fast, lightweight source control management including offline editing support, lightweight branching and merging and amazing ...
<!-- ko with: home --> <div class="jumbotron"> <h1>ASP.NET</h1> <p class="lead">ASP.NET is a free web framework for building great Web sites and Web applications using HTML, CSS, and JavaScript.</p> <p><a href="http://asp.net" class="btn btn-primary btn-lg">Learn more &raquo;</a></p> </div> <div class="row...
mit
C#
c8d64d8e007d2af189ab3e148b1d2699ab2510d3
add UnityLogHandler
yb199478/catlib,CatLib/Framework
CatLib.VS/CatLib/Debugger/LogHandler/UnityConsoleLogHandler.cs
CatLib.VS/CatLib/Debugger/LogHandler/UnityConsoleLogHandler.cs
/* * This file is part of the CatLib package. * * (c) Yu Bin <support@catlib.io> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. * * Document: http://catlib.io/ */ using System; using System.Collections.Generic; using CatLib.API.D...
/* * This file is part of the CatLib package. * * (c) Yu Bin <support@catlib.io> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. * * Document: http://catlib.io/ */ using CatLib.API.Debugger; namespace CatLib.Debugger.LogHandler {...
unknown
C#
386e7ff0c9106537be5696acba206351f09c5943
add to collection customers
camiloandresok/SubwayNFCT,camiloandresok/SubwayNFCT,camiloandresok/SubwayNFCT
SubWay/SubWay/Controllers/HomeController.cs
SubWay/SubWay/Controllers/HomeController.cs
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using SubWay.DAL; namespace SubWay.Controllers { public class HomeController : Controller { public ActionResult Index() { return View(); } public ActionResult...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using SubWay.DAL; namespace SubWay.Controllers { public class HomeController : Controller { public ActionResult Index() { return View(); } public ActionResult...
mit
C#
ae4cce6a13e9ef377c9d0cf5441626377a85aab2
Update to version 1.3.2.0
Ulterius/server
RemoteTaskServer/Properties/AssemblyInfo.cs
RemoteTaskServer/Properties/AssemblyInfo.cs
#region using System.Reflection; using System.Runtime.InteropServices; #endregion // 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("Ulterius™ Server")]...
#region using System.Reflection; using System.Runtime.InteropServices; #endregion // 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("Ulterius™ Server")]...
mpl-2.0
C#
cfc8873ff4adf209dc26b5927561e633c229613c
Test for aggregate exception handling
bugsnag/bugsnag-dotnet,bugsnag/bugsnag-dotnet
tests/Bugsnag.Tests/Payload/ExceptionTests.cs
tests/Bugsnag.Tests/Payload/ExceptionTests.cs
using System.Linq; using System.Threading.Tasks; using Bugsnag.Payload; using Xunit; namespace Bugsnag.Tests.Payload { public class ExceptionTests { [Fact] public void CorrectNumberOfExceptions() { var exception = new System.Exception("oh noes!"); var exceptions = new Exceptions(exception,...
using System.Linq; using Bugsnag.Payload; using Xunit; namespace Bugsnag.Tests.Payload { public class ExceptionTests { [Fact] public void CorrectNumberOfExceptions() { var exception = new System.Exception("oh noes!"); var exceptions = new Exceptions(exception, 5); Assert.Single(exce...
mit
C#
be881ba9ca7261d9a4a85a95338406025f5682e5
Fix the redirect tracking composer
hfloyd/Umbraco-CMS,abryukhov/Umbraco-CMS,abjerner/Umbraco-CMS,leekelleher/Umbraco-CMS,hfloyd/Umbraco-CMS,KevinJump/Umbraco-CMS,abryukhov/Umbraco-CMS,robertjf/Umbraco-CMS,leekelleher/Umbraco-CMS,umbraco/Umbraco-CMS,mattbrailsford/Umbraco-CMS,JimBobSquarePants/Umbraco-CMS,madsoulswe/Umbraco-CMS,marcemarc/Umbraco-CMS,tcmo...
src/Umbraco.Web/Routing/RedirectTrackingComposer.cs
src/Umbraco.Web/Routing/RedirectTrackingComposer.cs
using Umbraco.Core; using Umbraco.Core.Components; namespace Umbraco.Web.Routing { /// <summary> /// Implements an Application Event Handler for managing redirect urls tracking. /// </summary> /// <remarks> /// <para>when content is renamed or moved, we want to create a permanent 301 redirect from...
using Umbraco.Core; using Umbraco.Core.Components; namespace Umbraco.Web.Routing { /// <summary> /// Implements an Application Event Handler for managing redirect urls tracking. /// </summary> /// <remarks> /// <para>when content is renamed or moved, we want to create a permanent 301 redirect from...
mit
C#
755d941851e5e7b40ad087738b3bde61d06c8ef2
Fix - Added Tag's albums.
Kratos-TA/pSher,Kratos-TA/pSher,Kratos-TA/pSher
Data/pSher.Models/Tag.cs
Data/pSher.Models/Tag.cs
namespace PSher.Models { using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using PSher.Common.Constants; public class Tag { private ICollection<Image> images; private ICollection<Album> albums; public Tag() { this.images = ...
namespace PSher.Models { using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using PSher.Common.Constants; public class Tag { private ICollection<Image> images; public Tag() { this.images = new HashSet<Image>(); } [K...
mit
C#
047a2b289fcedd5cb481f1583be7ddafa5c9bc97
Use var declaration. Fix ArgumentNullException parameter name.
gheeres/PDFSharp.Extensions
Pdf/PdfPageExtensions.cs
Pdf/PdfPageExtensions.cs
using System; using System.Collections.Generic; using System.Drawing; using PdfSharp.Pdf.Advanced; // ReSharper disable once CheckNamespace namespace PdfSharp.Pdf { /// <summary> /// Extension methods for the PdfSharp library PdfItem object. /// </summary> public static class PdfPageExtensions { /// <su...
using System; using System.Collections.Generic; using System.Drawing; using PdfSharp.Pdf.Advanced; // ReSharper disable once CheckNamespace namespace PdfSharp.Pdf { /// <summary> /// Extension methods for the PdfSharp library PdfItem object. /// </summary> public static class PdfPageExtensions { /// <su...
mit
C#
c94db0af6b58712c6deb2f9f1249e8345b60688b
Bring Attention to the Quick Access Panel On Page Load
tommcclean/PortalCMS,tommcclean/PortalCMS,tommcclean/PortalCMS
Portal.CMS.Web/Areas/Admin/Views/Dashboard/_QuickAccess.cshtml
Portal.CMS.Web/Areas/Admin/Views/Dashboard/_QuickAccess.cshtml
@model Portal.CMS.Web.Areas.Admin.ViewModels.Dashboard.QuickAccessViewModel <div class="page-admin-wrapper admin-wrapper animated zoomInUp"> @foreach (var category in Model.Categories) { <a href="@category.Link" class="button @category.CssClass @(category.LaunchModal ? "launch-modal" : "")" data-toggl...
@model Portal.CMS.Web.Areas.Admin.ViewModels.Dashboard.QuickAccessViewModel <div class="page-admin-wrapper admin-wrapper"> @foreach (var category in Model.Categories) { <a href="@category.Link" class="button @category.CssClass @(category.LaunchModal ? "launch-modal" : "")" data-toggle="popover" data-p...
mit
C#
45ff0924a71287acb5860084e4ffd578d9759641
Make sure we order by sequence
Azure-Samples/MyDriving,Azure-Samples/MyDriving,Azure-Samples/MyDriving
XamarinApp/MyTrips/MyTrips.DataStore.Azure/Stores/TripStore.cs
XamarinApp/MyTrips/MyTrips.DataStore.Azure/Stores/TripStore.cs
using System; using MyTrips.DataObjects; using MyTrips.DataStore.Abstractions; using System.Threading.Tasks; using MyTrips.Utils; using System.Collections.Generic; using System.Linq; namespace MyTrips.DataStore.Azure.Stores { public class TripStore : BaseStore<Trip>, ITripStore { IPhotoStore photoStor...
using System; using MyTrips.DataObjects; using MyTrips.DataStore.Abstractions; using System.Threading.Tasks; using MyTrips.Utils; using System.Collections.Generic; namespace MyTrips.DataStore.Azure.Stores { public class TripStore : BaseStore<Trip>, ITripStore { IPhotoStore photoStore; public T...
mit
C#
6ad8a9a0b6a39be5986fe5abe41e93dae50bcf4a
Disable transparent sync during a reserialize so it's not a tautology
PetersonDave/Unicorn,MacDennis76/Unicorn,MacDennis76/Unicorn,bllue78/Unicorn,PetersonDave/Unicorn,rmwatson5/Unicorn,kamsar/Unicorn,rmwatson5/Unicorn,kamsar/Unicorn,GuitarRich/Unicorn,bllue78/Unicorn,GuitarRich/Unicorn
src/Unicorn/ControlPanel/ReserializeConsole.cs
src/Unicorn/ControlPanel/ReserializeConsole.cs
using System; using System.Linq; using System.Web; using Kamsar.WebConsole; using Unicorn.Configuration; using Unicorn.ControlPanel.Headings; using Unicorn.Logging; using Unicorn.Predicates; namespace Unicorn.ControlPanel { /// <summary> /// Renders a WebConsole that handles reserialize - or initial serialize - for...
using System; using System.Linq; using System.Web; using Kamsar.WebConsole; using Unicorn.Configuration; using Unicorn.ControlPanel.Headings; using Unicorn.Logging; using Unicorn.Predicates; namespace Unicorn.ControlPanel { /// <summary> /// Renders a WebConsole that handles reserialize - or initial serialize - for...
mit
C#
d6bde992130f29046bc7688022808a30a7044727
Fix handling of inter-assembly reference
jbeshir/ConfuserEx,arpitpanwar/ConfuserEx,engdata/ConfuserEx,yeaicc/ConfuserEx,Immortal-/ConfuserEx,modulexcite/ConfuserEx,AgileJoshua/ConfuserEx,KKKas/ConfuserEx,Desolath/ConfuserEx3,fretelweb/ConfuserEx,manojdjoshi/ConfuserEx,Desolath/Confuserex,farmaair/ConfuserEx,timnboys/ConfuserEx,apexrichard/ConfuserEx
Confuser.Renamer/Analyzers/InterReferenceAnalyzer.cs
Confuser.Renamer/Analyzers/InterReferenceAnalyzer.cs
using System; using Confuser.Core; using Confuser.Renamer.References; using dnlib.DotNet; using dnlib.DotNet.MD; namespace Confuser.Renamer.Analyzers { internal class InterReferenceAnalyzer : IRenamer { // i.e. Inter-Assembly References, e.g. InternalVisibleToAttributes public void Analyze(ConfuserContext conte...
using System; using Confuser.Core; using Confuser.Renamer.References; using dnlib.DotNet; using dnlib.DotNet.MD; namespace Confuser.Renamer.Analyzers { internal class InterReferenceAnalyzer : IRenamer { // i.e. Inter-Assembly References, e.g. InternalVisibleToAttributes public void Analyze(ConfuserContext conte...
mit
C#
8bc1c46163ce8a3ad8a1e1ff043fac072280ae95
fix keypath to internal
dgarage/NBXplorer,dgarage/NBXplorer
NBXplorer.Client/NBXplorerNetworkProvider.Althash.cs
NBXplorer.Client/NBXplorerNetworkProvider.Althash.cs
using NBitcoin; using System; using System.Collections.Generic; using System.Text; namespace NBXplorer { public partial class NBXplorerNetworkProvider { private void InitAlthash(ChainName networkType) { Add(new NBXplorerNetwork(NBitcoin.Altcoins.Althash.Instance, networkType) { MinRPCVersion = 16...
using NBitcoin; using System; using System.Collections.Generic; using System.Text; namespace NBXplorer { public partial class NBXplorerNetworkProvider { private void InitAlthash(ChainName networkType) { Add(new NBXplorerNetwork(NBitcoin.Altcoins.Althash.Instance, networkType) { MinRPCVersion = 16...
mit
C#
c1f1aad1daae09325037b09d4fd821fbaa919bf6
Update Program.cs
MartinChavez/CSharp
SchoolOfCSharp/ValueTypes/Program.cs
SchoolOfCSharp/ValueTypes/Program.cs
 using System; namespace ValueTypes { class Program { static void Main(string[] args) { /*Value Types*/ //No pointers or references //No object allocated on the heap int valueTypeInt = 4; //No need to use the 'new' keyword int valueT...
 using System; namespace ValueTypes { class Program { static void Main(string[] args) { /*Value Types*/ //No pointers or references //No object allocated on the heap int valueTypeInt = 4; //No need to use the 'new' keyboard int value...
mit
C#
7f569f737c779f08a5a3790806a322229620be26
Change message.
LykkeCity/CompetitionPlatform,LykkeCity/CompetitionPlatform,LykkeCity/CompetitionPlatform
src/CompetitionPlatform/Views/Shared/CreateClosed.cshtml
src/CompetitionPlatform/Views/Shared/CreateClosed.cshtml
@{ ViewData["Title"] = "Access Denied"; } <div class="container"> <h2 class="text-danger">Creating projects is temporarily unavailable.</h2> <p> The Function "сreating project" is only available for lykke community members with an approved KYC Status. </p> </div>
@{ ViewData["Title"] = "Access Denied"; } <div class="container"> <h2 class="text-danger">Creating projects is temporarily unavailable.</h2> <p> The Function "сreating project" will be available for lykke community members very soon. Thank you for your patience. </p> </div>
mit
C#
a9ac30e48cc5b9ce22932f5ec2d8f0d36d307547
Update JpegSkiaSharpExporter.cs
wieslawsoltes/Core2D,wieslawsoltes/Core2D,Core2D/Core2D,Core2D/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D
src/Core2D/FileWriter/SkiaSharp/JpegSkiaSharpExporter.cs
src/Core2D/FileWriter/SkiaSharp/JpegSkiaSharpExporter.cs
using System; using System.IO; using Core2D.Containers; using Core2D.Interfaces; using Core2D.Renderer; using SkiaSharp; namespace Core2D.FileWriter.SkiaSharpJpeg { /// <summary> /// SkiaSharp jpeg <see cref="IProjectExporter"/> implementation. /// </summary> public sealed class JpegSkiaSharpExporter ...
using System; using System.IO; using Core2D.Containers; using Core2D.Interfaces; using Core2D.Renderer; using SkiaSharp; namespace Core2D.FileWriter.SkiaSharpJpeg { /// <summary> /// SkiaSharp jpeg <see cref="IProjectExporter"/> implementation. /// </summary> public sealed class JpegSkiaSharpExporter ...
mit
C#
1658f800214b297beb53cfd33b8c0257515c317a
test success
wallymathieu/isop
ConsoleHelpers/ArgumentParser.cs
ConsoleHelpers/ArgumentParser.cs
using System; using NUnit.Framework; using NUnit.Framework.SyntaxHelpers; using System.Linq; using System.Collections.Generic; namespace ConsoleHelpers { delegate void ActionDelegate(); public class Argument { public string Longname{get;private set;} public Argument (string longname) { Longname=longname; ...
using System; using NUnit.Framework; using NUnit.Framework.SyntaxHelpers; using System.Linq; using System.Collections.Generic; namespace ConsoleHelpers { delegate void ActionDelegate(); public class Argument { public string Longname{get;private set;} public Argument (string longname) { Longname=longname; ...
mit
C#
b07274ba83e1d2eca3b6e470118efdc6b5d836b4
Delete commented code
paganini24/UnityArduinoLED
Assets/Scripts/Network/ArduinoNetworkPlayer.cs
Assets/Scripts/Network/ArduinoNetworkPlayer.cs
using ArduinoUnity; using UnityEngine; using UnityEngine.Networking; /* <copyright company=""> Copyright (c) 2017 All Rights Reserved </copyright> <author>Nevzat Arman</author>*/ namespace Assets.Scripts.Network { public class ArduinoNetworkPlayer : NetworkBehaviour { [SerializeField] private G...
using ArduinoUnity; using UnityEngine; using UnityEngine.Networking; /* <copyright company=""> Copyright (c) 2017 All Rights Reserved </copyright> <author>Nevzat Arman</author>*/ namespace Assets.Scripts.Network { public class ArduinoNetworkPlayer : NetworkBehaviour { [SerializeField] private G...
mit
C#
6b749b7dbc856bff97563b9e63019d17d974ea1c
Fix chat bots list performing the wrong HTTP action
Cyberboss/tgstation-server,tgstation/tgstation-server,tgstation/tgstation-server-tools,Cyberboss/tgstation-server,tgstation/tgstation-server
src/Tgstation.Server.Client/Components/ChatBotsClient.cs
src/Tgstation.Server.Client/Components/ChatBotsClient.cs
using System; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; using Tgstation.Server.Api; using Tgstation.Server.Api.Models; namespace Tgstation.Server.Client.Components { /// <inheritdoc /> sealed class ChatBotsClient : IChatBotsClient { /// <summary> /// The <see cref=...
using System; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; using Tgstation.Server.Api; using Tgstation.Server.Api.Models; namespace Tgstation.Server.Client.Components { /// <inheritdoc /> sealed class ChatBotsClient : IChatBotsClient { /// <summary> /// The <see cref=...
agpl-3.0
C#
a72aa1fdecb7ad4ffcbed2346ae6f7aa6c9df59d
Replace Enumerable.Repeat call with an one-element array.
mdavid/nuget,mdavid/nuget
src/VisualStudio/PackageSource/AggregatePackageSource.cs
src/VisualStudio/PackageSource/AggregatePackageSource.cs
using System.Collections.Generic; using System.Linq; namespace NuGet.VisualStudio { public static class AggregatePackageSource { public static readonly PackageSource Instance = new PackageSource("(Aggregate source)", Resources.VsResources.AggregateSourceName); public static bool IsAggregat...
using System.Collections.Generic; using System.Linq; namespace NuGet.VisualStudio { public static class AggregatePackageSource { public static readonly PackageSource Instance = new PackageSource("(Aggregate source)", Resources.VsResources.AggregateSourceName); public static bool IsAggregat...
apache-2.0
C#
05252609a1ce9d73d61d69c0622158a28dc46be9
Increment version
Solybum/Libraries
ByteArray/ByteArray/Properties/AssemblyInfo.cs
ByteArray/ByteArray/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("ByteArray")] [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("ByteArray")] [assembly: AssemblyDescriptio...
mit
C#
4225bd915edf85c576c0eb0b5091a1df0a716159
adjust C# indentation
moszinet/BKKCrypt,moszinet/BKKCrypt,moszinet/BKKCrypt,moszinet/BKKCrypt,moszinet/BKKCrypt,moszinet/BKKCrypt,moszinet/BKKCrypt,moszinet/BKKCrypt,moszinet/BKKCrypt,moszinet/BKKCrypt,moszinet/BKKCrypt,moszinet/BKKCrypt,moszinet/BKKCrypt,moszinet/BKKCrypt,moszinet/BKKCrypt,moszinet/BKKCrypt,moszinet/BKKCrypt,moszinet/BKKCr...
C#/bkkcrypt.cs
C#/bkkcrypt.cs
using System; namespace BKK { public interface ICrypt { string Encrypt(string input); } public class BKKCrypt : ICrypt { public string Encrypt(string input) { return input; } } }
using System; namespace BKK { public interface ICrypt { string Encrypt(string input); } public class BKKCrypt : ICrypt { public string Encrypt(string input) { return input; } } }
mit
C#
cf645e2bf87dc941dacb5b82dbe61f96802e1295
Revert "Remove RandomTrace stuff from main"
lou1306/CIV,lou1306/CIV
CIV/Program.cs
CIV/Program.cs
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["...
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...
mit
C#
22dc23111e1431b801f744ce780cf4166ea1fec9
Remove unused field.
jonathanpeppers/Embeddinator-4000,jonathanpeppers/Embeddinator-4000,jonathanpeppers/Embeddinator-4000,mono/Embeddinator-4000,mono/Embeddinator-4000,mono/Embeddinator-4000,mono/Embeddinator-4000,mono/Embeddinator-4000,mono/Embeddinator-4000,jonathanpeppers/Embeddinator-4000,jonathanpeppers/Embeddinator-4000,jonathanpepp...
binder/Generators/Template.cs
binder/Generators/Template.cs
using IKVM.Reflection; using CppSharp; using CppSharp.Generators; namespace MonoEmbeddinator4000.Generators { public abstract class Template : BlockGenerator { public BindingContext Context { get; private set; } public Options Options { get; private set; } protected Templat...
using IKVM.Reflection; using CppSharp; using CppSharp.Generators; namespace MonoEmbeddinator4000.Generators { public abstract class Template : BlockGenerator { public BindingContext Context { get; private set; } public Options Options { get; private set; } public Assembly...
mit
C#
5a81898cc05e6b00d0f35e8d49417b448732c209
Allow statements to end with EOF instead of forcing a newline for every evaluated statement
ethanmoffat/EndlessClient
EOBot/Interpreter/States/StatementEvaluator.cs
EOBot/Interpreter/States/StatementEvaluator.cs
using EOBot.Interpreter.Extensions; using System.Collections.Generic; using System.Linq; namespace EOBot.Interpreter.States { public class StatementEvaluator : IScriptEvaluator { private readonly IEnumerable<IScriptEvaluator> _evaluators; public StatementEvaluator(IEnumerable<IScriptEvaluator...
using EOBot.Interpreter.Extensions; using System.Collections.Generic; using System.Linq; namespace EOBot.Interpreter.States { public class StatementEvaluator : IScriptEvaluator { private readonly IEnumerable<IScriptEvaluator> _evaluators; public StatementEvaluator(IEnumerable<IScriptEvaluator...
mit
C#
3b9c0b08678fecc131452840702823bedc1d1e61
重写 Parent 虚拟属性。
Zongsoft/Zongsoft.Web
src/Controls/DataItemContainer.cs
src/Controls/DataItemContainer.cs
using System; using System.Collections.Generic; using System.Web.UI; namespace Zongsoft.Web.Controls { public class DataItemContainer<TOwner> : Literal, IDataItemContainer where TOwner : CompositeDataBoundControl { #region 成员字段 private TOwner _owner; private object _dataItem; private int _index; private i...
using System; using System.Collections.Generic; using System.Web.UI; namespace Zongsoft.Web.Controls { public class DataItemContainer<TOwner> : Literal, IDataItemContainer where TOwner : CompositeDataBoundControl { #region 成员字段 private TOwner _owner; private object _dataItem; private int _index; private i...
lgpl-2.1
C#
a8f95ffc9778bb0f609f1eb9231af443640725ac
Use colors
wieslawsoltes/Draw2D,wieslawsoltes/Draw2D,wieslawsoltes/Draw2D
src/Core2D.Avalonia/Editor/Log.cs
src/Core2D.Avalonia/Editor/Log.cs
// Copyright (c) Wiesław Šoltés. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; namespace Core2D.Editor { public static class Log { public static bool Enabled { get; set; } public static void Info(string...
// Copyright (c) Wiesław Šoltés. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; namespace Core2D.Editor { public static class Log { public static bool Enabled { get; set; } public static void Info(string...
mit
C#
2260b1e1a10dfcf131f63a55f1ff6828ce46a36e
Choose just one
vbatrla/PowerManager
VB.PowerManager/View/MenuComposer.cs
VB.PowerManager/View/MenuComposer.cs
namespace VB.PowerManager.View { using System; using System.Windows.Forms; using Interfaces; public class MenuComposer : IMenuComposer { private readonly MenuItemsNotifier itemsNotifier = new MenuItemsNotifier(); private readonly ContextMenu contextMenu = new ContextMenu(); ...
namespace VB.PowerManager.View { using System; using System.Windows.Forms; using Interfaces; public class MenuComposer : IMenuComposer { private readonly MenuItemsNotifier itemsNotifier = new MenuItemsNotifier(); private readonly ContextMenu contextMenu = new ContextMenu(); ...
mit
C#
50f8d5c6d819af00166e61fb7db0024b497eada5
Remove new keyword from interface
inputfalken/Sharpy
src/Sharpy.Core/src/IGenerator.cs
src/Sharpy.Core/src/IGenerator.cs
namespace Sharpy.Core { /// <summary> /// <para>Represent a generator which can generate any amount of elements by invoking method <see cref="Generate" />.</para> /// </summary> /// <typeparam name="T"></typeparam> public interface IGenerator<out T> { /// <summary> /// <para...
namespace Sharpy.Core { /// <summary> /// <para>Represent a generator which can generate any amount of elements by invoking method <see cref="Generate" />.</para> /// </summary> /// <typeparam name="T"></typeparam> public interface IGenerator<out T> { /// <summary> /// <par...
mit
C#
ac2b21fb3110086382fe19d0e9a93772a8f30b0a
Remove BlackHole coloring
iridinite/shiftdrive
Client/BlackHole.cs
Client/BlackHole.cs
/* ** Project ShiftDrive ** (C) Mika Molenkamp, 2016. */ using Microsoft.Xna.Framework; namespace ShiftDrive { /// <summary> /// A <seealso cref="NamedObject"/> representing a gravitational singularity. /// </summary> internal sealed class BlackHole : NamedObject { public BlackHole() { ...
/* ** Project ShiftDrive ** (C) Mika Molenkamp, 2016. */ using Microsoft.Xna.Framework; namespace ShiftDrive { /// <summary> /// A <seealso cref="NamedObject"/> representing a gravitational singularity. /// </summary> internal sealed class BlackHole : NamedObject { public BlackHole() { ...
bsd-3-clause
C#
5fcdc899a289d281c06a1f80727ffa0658408bbd
Change BlackHole to ignore non-physics objects
iridinite/shiftdrive
Client/BlackHole.cs
Client/BlackHole.cs
/* ** Project ShiftDrive ** (C) Mika Molenkamp, 2016. */ using System.Collections.Generic; using System.Linq; using Microsoft.Xna.Framework; namespace ShiftDrive { /// <summary> /// A <seealso cref="NamedObject"/> representing a gravitational singularity. /// </summary> internal sealed class BlackHo...
/* ** Project ShiftDrive ** (C) Mika Molenkamp, 2016. */ using System.Collections.Generic; using System.Linq; using Microsoft.Xna.Framework; namespace ShiftDrive { /// <summary> /// A <seealso cref="NamedObject"/> representing a gravitational singularity. /// </summary> internal sealed class BlackHo...
bsd-3-clause
C#
cc43d0156b140a3910b9b567f4d2f226f61cd532
add alias Readd for Unarchive;
ceee/PocketSharp
PocketSharp/Components/Modify.cs
PocketSharp/Components/Modify.cs
using PocketSharp.Models; using System.Collections.Generic; namespace PocketSharp { public partial class PocketClient { /// <summary> /// Archives the specified item ID. /// </summary> /// <param name="itemID">The item ID.</param> /// <returns></returns> public bool Archive(int itemID) ...
using PocketSharp.Models; using System.Collections.Generic; namespace PocketSharp { public partial class PocketClient { /// <summary> /// Archives the specified item ID. /// </summary> /// <param name="itemID">The item ID.</param> /// <returns></returns> public bool Archive(int itemID) ...
mit
C#
c1b4aaaa03334995f4a96f223b3ce446a8ffb0dc
Add doc comment
ppy/osu,peppy/osu,peppy/osu-new,NeoAdonis/osu,smoogipoo/osu,peppy/osu,smoogipooo/osu,NeoAdonis/osu,UselessToucan/osu,peppy/osu,ppy/osu,smoogipoo/osu,NeoAdonis/osu,UselessToucan/osu,UselessToucan/osu,smoogipoo/osu,ppy/osu
osu.Game/Rulesets/Objects/UnmanagedHitObjectEntry.cs
osu.Game/Rulesets/Objects/UnmanagedHitObjectEntry.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.Game.Rulesets.Objects.Drawables; namespace osu.Game.Rulesets.Objects { /// <summary> /// Created for a <see cref="DrawableHitObject"/> when only <see c...
// 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.Objects.Drawables; namespace osu.Game.Rulesets.Objects { internal class UnmanagedHitObjectEntry : HitObjectLifetimeEntry { public...
mit
C#
6e4127a5113b415cf20ce06287c5bd0a01f95469
Fix DockerClient dependency
ashmind/SharpLab,ashmind/SharpLab,ashmind/SharpLab,ashmind/SharpLab,ashmind/SharpLab,ashmind/SharpLab
source/Container.Manager/Azure/ContainerCountMetricReporter.cs
source/Container.Manager/Azure/ContainerCountMetricReporter.cs
using System; using System.Threading; using System.Threading.Tasks; using Docker.DotNet; using Docker.DotNet.Models; using Microsoft.ApplicationInsights; using Microsoft.ApplicationInsights.Metrics; using Microsoft.Extensions.Hosting; using Microsoft.Extensions.Logging; namespace SharpLab.Container.Manager.A...
using System; using System.Threading; using System.Threading.Tasks; using Docker.DotNet; using Docker.DotNet.Models; using Microsoft.ApplicationInsights; using Microsoft.ApplicationInsights.Metrics; using Microsoft.Extensions.Hosting; using Microsoft.Extensions.Logging; namespace SharpLab.Container.Manager.A...
bsd-2-clause
C#
847c1a434d91cf8be94f618d527aaa30348016f0
Set the StatusCode
jmptrader/manos,jmptrader/manos,jmptrader/manos,jacksonh/manos,mdavid/manos-spdy,mdavid/manos-spdy,jacksonh/manos,mdavid/manos-spdy,mdavid/manos-spdy,mdavid/manos-spdy,jacksonh/manos,jmptrader/manos,jacksonh/manos,jmptrader/manos,jacksonh/manos,jmptrader/manos,mdavid/manos-spdy,jmptrader/manos,jacksonh/manos,jacksonh/m...
server/Mango.Server/mango.cs
server/Mango.Server/mango.cs
using System; using System.IO; using System.Text; using Mango.Server; public class T { public static void Main () { HttpServer server = new HttpServer (HandleRequest); server.Bind (8080); server.Start (); server.IOLoop.Start (); } public static void HandleRequest (HttpConnection con) { string me...
using System; using System.IO; using System.Text; using Mango.Server; public class T { public static void Main () { HttpServer server = new HttpServer (HandleRequest); server.Bind (8080); server.Start (); server.IOLoop.Start (); } public static void HandleRequest (HttpConnection con) { string me...
mit
C#
8c68d0d1b7fbc4bcc4c9c3407ba1fc666b4ca237
Remove using statements
ppy/osu-framework,EVAST9919/osu-framework,naoey/osu-framework,default0/osu-framework,smoogipooo/osu-framework,Nabile-Rahmani/osu-framework,DrabWeb/osu-framework,Tom94/osu-framework,paparony03/osu-framework,ZLima12/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,peppy/osu-framework,Tom94/osu-...
osu.Framework/Audio/Track/TrackManager.cs
osu.Framework/Audio/Track/TrackManager.cs
// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE using osu.Framework.IO.Stores; namespace osu.Framework.Audio.Track { public class TrackManager : AudioCollectionManager<Track> { pri...
// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE using System.Linq; using osu.Framework.IO.Stores; using System; namespace osu.Framework.Audio.Track { public class TrackManager : AudioCollectio...
mit
C#
f3dccf1283a334100360be1e09737b21e65a0962
Make TrackManager implement IResourceStore (#2452)
ppy/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,smoogipooo/osu-framework,ZLima12/osu-framework,smoogipooo/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,peppy/osu-framework,ppy/osu-framework,ZLima12/osu-framework
osu.Framework/Audio/Track/TrackManager.cs
osu.Framework/Audio/Track/TrackManager.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.IO; using System.Threading.Tasks; using osu.Framework.IO.Stores; namespace osu.Framework.Audio.Track { public class TrackManager : AudioCollectionManag...
// 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.IO.Stores; namespace osu.Framework.Audio.Track { public class TrackManager : AudioCollectionManager<Track> { private readonly IResou...
mit
C#
22b9ede5c02f348d717046ab7bfaf720159e7d76
clear TaskCompletionSource after we finish to use it
kerryjiang/WebSocket4Net,kerryjiang/WebSocket4Net,kerryjiang/WebSocket4Net
WebSocket4Net/WebSocket.Await.cs
WebSocket4Net/WebSocket.Await.cs
using System; using System.Net; using System.Text; using System.Threading; using System.Threading.Tasks; namespace WebSocket4Net { public partial class WebSocket { private TaskCompletionSource<bool> m_OpenTaskSrc; public async Task<bool> OpenAsync() { if (m_OpenTa...
using System; using System.Net; using System.Text; using System.Threading; using System.Threading.Tasks; namespace WebSocket4Net { public partial class WebSocket { private TaskCompletionSource<bool> m_OpenTaskSrc; public async Task<bool> OpenAsync() { if (m_OpenTa...
apache-2.0
C#
d724df25d2d5d891a3baa1a6850c1c95e2536dd9
Document the GameBoy class
izik1/JAGBE
JAGBE/GB/GameBoy.cs
JAGBE/GB/GameBoy.cs
using System.IO; using JAGBE.GB.Computation; namespace JAGBE.GB { /// <summary> /// A UI level Wrapper for accessing running a <see cref="Cpu"/> /// </summary> internal sealed class GameBoy { /// <summary> /// The cpu /// </summary> internal Cpu cpu; /// <s...
using System.IO; using JAGBE.GB.Computation; namespace JAGBE.GB { internal sealed class GameBoy { internal Cpu cpu; internal GameBoy(string romPath, string BootromPath, Input.IInputHandler inputHandler) => this.cpu = new Cpu(File.ReadAllBytes(BootromPath), File.ReadAllBytes(romPat...
mit
C#
f054289a5e479b3b4c1be0f453c8adcbf6a6ce2c
Remove unused usings
dirkrombauts/AppVeyor-Light
AppVeyorServices.IntegrationTests/AppVeyorGatewayTests.cs
AppVeyorServices.IntegrationTests/AppVeyorGatewayTests.cs
using System; using NFluent; using NUnit.Framework; namespace AppVeyorLight.AppVeyorServices.IntegrationTests { [TestFixture] public class AppVeyorGatewayTests { [Test] public void GetProjects_Always_ReturnsListOfProjects() { var apiToken = System.Configuration.Config...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using NFluent; using NUnit.Framework; namespace AppVeyorLight.AppVeyorServices.IntegrationTests { [TestFixture] public class AppVeyorGatewayTests { [Test] public void GetPr...
mit
C#
fd9b1c6b8a38c8cfe0e31ac8cbf8f2785434ee91
Update UWPCapabilityUtility.cs
killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity,DDReaper/MixedRealityToolkit-Unity
Assets/MRTK/Core/Utilities/Editor/UWPCapabilityUtility.cs
Assets/MRTK/Core/Utilities/Editor/UWPCapabilityUtility.cs
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using Microsoft.MixedReality.Toolkit.Editor; using System; using UnityEngine; using UnityEditor; namespace Microsoft.MixedReality.Toolkit.Utilities.Editor { /// <summary> /// Utility to check and configure UWP capability request from ...
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using Microsoft.MixedReality.Toolkit.Editor; using System; using UnityEngine; using UnityEditor; namespace Microsoft.MixedReality.Toolkit.Utilities.Editor { /// <summary> /// Utility to check and configure UWP capability request from ...
mit
C#
2b3b2d8f76f36474521951e2d9c83f37bbfbf622
Fix #3713 - System.InvalidOperationException : Collection was modified; enumeration operation may not execute.
peppy/osu-framework,ppy/osu-framework,peppy/osu-framework,ZLima12/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,ZLima12/osu-framework,ppy/osu-framework
osu.Framework/Audio/AudioCollectionManager.cs
osu.Framework/Audio/AudioCollectionManager.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.Collections.Generic; using System.Linq; namespace osu.Framework.Audio { /// <summary> /// A collection of audio components which need central prope...
// 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.Collections.Generic; using System.Linq; namespace osu.Framework.Audio { /// <summary> /// A collection of audio components which need central prope...
mit
C#
19c663da110cf62ceda4cf4df8f608c7f1917e41
Remove scale effect on editor screen switches
peppy/osu,UselessToucan/osu,UselessToucan/osu,NeoAdonis/osu,2yangk23/osu,EVAST9919/osu,smoogipoo/osu,DrabWeb/osu,NeoAdonis/osu,ZLima12/osu,smoogipoo/osu,naoey/osu,smoogipooo/osu,johnneijzen/osu,Frontear/osuKyzer,peppy/osu,Drezi126/osu,Nabile-Rahmani/osu,peppy/osu,2yangk23/osu,peppy/osu-new,ZLima12/osu,naoey/osu,johnnei...
osu.Game/Screens/Edit/Screens/EditorScreen.cs
osu.Game/Screens/Edit/Screens/EditorScreen.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 osu.Framework.Configuration; using osu.Framework.Graphics; using osu.Framework.Graphics.Containers; using osu.Game.Beatmaps; namespace osu.Game.Screens.Ed...
// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using osu.Framework.Configuration; using osu.Framework.Graphics; using osu.Framework.Graphics.Containers; using osu.Game.Beatmaps; namespace osu.Game.Screens.Ed...
mit
C#
eb93706c26baec129a0f33d5833e30611ac636aa
Remove useless usings
EVAST9919/osu,NeoAdonis/osu,ZLima12/osu,ppy/osu,johnneijzen/osu,naoey/osu,ZLima12/osu,NeoAdonis/osu,naoey/osu,naoey/osu,johnneijzen/osu,smoogipoo/osu,UselessToucan/osu,DrabWeb/osu,peppy/osu-new,UselessToucan/osu,EVAST9919/osu,DrabWeb/osu,NeoAdonis/osu,Frontear/osuKyzer,2yangk23/osu,Nabile-Rahmani/osu,Drezi126/osu,peppy...
osu.Game/Tests/Visual/TestCaseBreakOverlay.cs
osu.Game/Tests/Visual/TestCaseBreakOverlay.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 osu.Framework.Timing; using osu.Game.Beatmaps.Timing; using osu.Game.Screens.Play; using System.Collections.Generic; namespace osu.Game.Tests.Visual { ...
// 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.Graphics; using osu.Framework.Graphics; using osu.Framework.Graphics.Shapes; using osu.Framework.Timing; using osu.Game.Beatmaps.Timing; using osu....
mit
C#
8d5bf646a6da114a3dfbfa70e6bbdf6bcf8aadba
Update System Programming Lab2 AutomatonBuilder.cs
pugachAG/univ,pugachAG/univ,pugachAG/univ
SystemProgramming/Lab2/Lab2/Automaton/AutomatonBuilder.cs
SystemProgramming/Lab2/Lab2/Automaton/AutomatonBuilder.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Lab2.Automaton { public class AutomatonBuilder : IIOAutomatonBuilder { private FiniteStateAutomaton automaton = new FiniteStateAutomaton(); public void AddSta...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Lab2.Automaton { public class AutomatonBuilder : IIOAutomatonBuilder { private FiniteStateAutomaton automaton = new FiniteStateAutomaton(); public void AddSta...
mit
C#
da4c9228147b008f94601c5b8d0b41b7f9e8155e
Mark MoveType with FlagsAttribute
ProgramFOX/Chess.NET
ChessDotNet/MoveType.cs
ChessDotNet/MoveType.cs
namespace ChessDotNet { [System.Flags] public enum MoveType { Invalid = 1, Move = 2, Capture = 4, Castling = 8, Promotion = 16 } }
namespace ChessDotNet { public enum MoveType { Move, Capture, Castling, Promotion, Invalid } }
mit
C#
999afb559fa8d45bc53d2c87aad560464c405d2a
Update sign-message.cs
klabarge/qz-print,gillg/qz-print,tresf/qz-print,tresf/qz-print,tresf/qz-print,gillg/qz-print,qzind/qz-print,klabarge/qz-print,gillg/qz-print,tresf/qz-print,klabarge/qz-print,klabarge/qz-print,tresf/qz-print,gillg/qz-print,tresf/qz-print,qzind/qz-print,klabarge/qz-print,klabarge/qz-print,qzind/qz-print,gillg/qz-print,qz...
assets/signing/sign-message.cs
assets/signing/sign-message.cs
/** * Echoes the signed message and exits */ public void SignMessage(String message) { // ######################################################### // # WARNING WARNING WARNING # // ######################################################### // # ...
/** * Echoes the signed message and exits */ public void SignMessage(String message) { // ######################################################### // # WARNING WARNING WARNING # // ######################################################### // # ...
lgpl-2.1
C#
bce576864407ea3507f87fee8b3e79f0d830060c
Read environment variables for test settings.
keith-hall/schemazen,Zocdoc/schemazen,sethreno/schemazen,sethreno/schemazen
test/ConfigHelper.cs
test/ConfigHelper.cs
using System; using System.Configuration; namespace SchemaZen.test { public class ConfigHelper { public static string TestDB { get { return GetSetting("testdb"); } } public static string TestSchemaDir { get { return GetSetting("test_schema_dir"); } } public static string SqlDbDiffPath { get { re...
using System.Configuration; namespace SchemaZen.test { public class ConfigHelper { public static string TestDB { get { return ConfigurationManager.AppSettings["testdb"]; } } public static string TestSchemaDir { get { return ConfigurationManager.AppSettings["test_schema_dir"]; } } public static stri...
mit
C#
23e1cacc9bdfa74e774bf01a5639eea66a01a60f
introduce httpResponseMessage field
zhangyuan/UFO-API,zhangyuan/UFO-API,zhangyuan/UFO-API
test/ProductFacts.cs
test/ProductFacts.cs
using System.Linq; using System.Net; using System.Net.Http; using Newtonsoft.Json; using Xunit; namespace test { public class ProductFacts : TestBase { private HttpResponseMessage httpResponseMessage; [Fact] public void ShouldReturnOk() { var httpResponseMessage = ...
using System.Linq; using System.Net; using System.Net.Http; using Newtonsoft.Json; using Xunit; namespace test { public class ProductFacts : TestBase { [Fact] public void ShouldReturnOk() { var httpResponseMessage = Server.CreateRequest("api/products").GetAsync().Result; ...
mit
C#
258856ae9e79f3ba4dedcfaef5cbf3204ace9516
Bump version to v0.1
nicolaiarocci/Eve.NET
Eve.Client/Properties/AssemblyInfo.cs
Eve.Client/Properties/AssemblyInfo.cs
using System.Resources; 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. [ass...
using System.Resources; 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. [ass...
bsd-3-clause
C#
71d8740b7d80a8fb545c7e58304ac940bc09c780
Check instance if attribute doesn't support section
SparkViewEngine/spark,RobertTheGrey/spark,SparkViewEngine/spark,SparkViewEngine/spark,SparkViewEngine/spark,SparkViewEngine/spark,SparkViewEngine/spark,RobertTheGrey/spark,RobertTheGrey/spark,RobertTheGrey/spark,RobertTheGrey/spark,RobertTheGrey/spark,SparkViewEngine/spark,RobertTheGrey/spark
src/Castle.MonoRail.Views.Spark/ViewComponentInfo.cs
src/Castle.MonoRail.Views.Spark/ViewComponentInfo.cs
// Copyright 2008-2009 Louis DeJardin - http://whereslou.com // // 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 r...
// Copyright 2008-2009 Louis DeJardin - http://whereslou.com // // 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 r...
apache-2.0
C#
26018a7b84686fb17a0aa2fca592783793f981fd
update version
jefking/King.Azure
King.Azure/Properties/AssemblyInfo.cs
King.Azure/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyTitle("King.Azure")] [assembly: AssemblyDescription("Azure Library")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProduct("King.Azure")] [assembly: AssemblyCopyright("Copyright © Jef King 201...
using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyTitle("King.Azure")] [assembly: AssemblyDescription("Azure Library")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProduct("King.Azure")] [assembly: AssemblyCopyright("Copyright © Jef King 201...
apache-2.0
C#
8904ebd42216529a76bf2b959dc4834d1a3634ce
Update KeyGenerator/Program.cs
appharbor/AppHarbor.Web.Security
KeyGenerator/Program.cs
KeyGenerator/Program.cs
using System; using System.Runtime.Remoting.Metadata.W3cXsd2001; using System.Security.Cryptography; class Program { static void Main(string[] args) { using (var rijndael = new RijndaelManaged()) using (var hmacsha256 = new HMACSHA256()) { rijndael.GenerateKey(); hmacsha256.Initialize(); Console.Writ...
using System; using System.Runtime.Remoting.Metadata.W3cXsd2001; using System.Security.Cryptography; class Program { static void Main(string[] args) { using (var rijndael = new RijndaelManaged()) using (var hmacsha256 = new HMACSHA256()) { rijndael.GenerateKey(); hmacsha256.Initialize(); Console.Writ...
mit
C#
cf111ad7b6543b121b1e5a4aa4315b6ac4d7464a
Add missing null check to NestedLoops.cs.
ddpruitt/morelinq,smzinovyev/MoreLINQ,fsateler/MoreLINQ,ddpruitt/morelinq,fsateler/MoreLINQ,morelinq/MoreLINQ,morelinq/MoreLINQ
MoreLinq/NestedLoops.cs
MoreLinq/NestedLoops.cs
#region License and Terms // MoreLINQ - Extensions to LINQ to Objects // Copyright (c) 2008 Jonathan Skeet. All rights reserved. // // 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 // // ...
#region License and Terms // MoreLINQ - Extensions to LINQ to Objects // Copyright (c) 2008 Jonathan Skeet. All rights reserved. // // 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 // // ...
apache-2.0
C#
d09522d955564ebe2ac4c6d0ccf2e0b781f8ca5b
Update NTask.cs
demigor/nreact
NReact/Classes/NTask.cs
NReact/Classes/NTask.cs
using System; using System.Diagnostics; using System.Threading; #if NETFX_CORE using Windows.System.Threading; #endif namespace NReact { public class NDispatcher { public static readonly NDispatcher Default = new NDispatcher(); #if !NETFX_CORE Thread _taskProcessor; #endif AutoResetEvent _signal = ne...
using System; using System.Diagnostics; using System.Threading; #if NETFX_CORE using Windows.System.Threading; #endif namespace NReact { class NDispatcher { public static readonly NDispatcher Default = new NDispatcher(); #if !NETFX_CORE Thread _taskProcessor; #endif AutoResetEvent _signal = new AutoR...
mit
C#
c4eecf2480fa0cb1924df562024c4a3d580333de
Add extra property to use new long Id's
MiXTelematics/MiX.Integrate.Api.Client
MiX.Integrate.Shared/Entities/Messages/SendJobMessageCarrier.cs
MiX.Integrate.Shared/Entities/Messages/SendJobMessageCarrier.cs
using System; using System.Collections.Generic; using System.Text; using MiX.Integrate.Shared.Entities.Communications; namespace MiX.Integrate.Shared.Entities.Messages { public class SendJobMessageCarrier { public SendJobMessageCarrier() { } public short VehicleId { get; set; } public string Description { ge...
using System; using System.Collections.Generic; using System.Text; using MiX.Integrate.Shared.Entities.Communications; namespace MiX.Integrate.Shared.Entities.Messages { public class SendJobMessageCarrier { public SendJobMessageCarrier() { } public short VehicleId { get; set; } public string Description { ge...
mit
C#
1a83413e06761b402a39e9fa22155fe7c20c6c19
refactor and integrate Trie and Patricia Trie
gawronsk/triedictive-text
TrieExperimentPlatform/TrieExperimentPlatform/TrieExperiment.cs
TrieExperimentPlatform/TrieExperimentPlatform/TrieExperiment.cs
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Text; using System.Threading.Tasks; using Gma.DataStructures.StringSearch; namespace TrieExperimentPlatform { class TrieExperiment { static void Main(string[] args) { ...
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Text; using System.Threading.Tasks; using Gma.DataStructures.StringSearch; namespace TrieExperimentPlatform { class TrieExperiment { static void Main(string[] args) { ...
unlicense
C#
3efaeaa4fad3d365582b0575e430682e5e0ed0e1
Fix DeviceIdentifier to return sensible values.
ValentinMinder/pocketcampus,ValentinMinder/pocketcampus,ValentinMinder/pocketcampus,ValentinMinder/pocketcampus,ValentinMinder/pocketcampus,ValentinMinder/pocketcampus,ValentinMinder/pocketcampus,ValentinMinder/pocketcampus,ValentinMinder/pocketcampus
Windows/Source/Main.WindowsRuntime/Services/DeviceIdentifier.cs
Windows/Source/Main.WindowsRuntime/Services/DeviceIdentifier.cs
// Copyright (c) PocketCampus.Org 2014-15 // See LICENSE file for more details // File author: Solal Pirelli using System; using System.Runtime.InteropServices.WindowsRuntime; using PocketCampus.Common.Services; using Windows.System.Profile; namespace PocketCampus.Main.Services { public sealed class D...
// Copyright (c) PocketCampus.Org 2014-15 // See LICENSE file for more details // File author: Solal Pirelli using System.Runtime.InteropServices.WindowsRuntime; using System.Text; using PocketCampus.Common.Services; using Windows.System.Profile; namespace PocketCampus.Main.Services { public sealed cl...
bsd-3-clause
C#
fc9d0e55c9df3374fe36cfef30f2bd97ecb859f7
remove unused field
LayoutFarm/PixelFarm
a_mini/projects/PixelFarm/MiniAgg/04_Scanline/0_ScanlineSpan.cs
a_mini/projects/PixelFarm/MiniAgg/04_Scanline/0_ScanlineSpan.cs
//BSD, 2014-2016, WinterDev //---------------------------------------------------------------------------- // Anti-Grain Geometry - Version 2.4 // Copyright (C) 2002-2005 Maxim Shemanarev (http://www.antigrain.com) // // C# Port port by: Lars Brubaker // larsbrubaker@gmail.com // Copyright (C) 2007 //...
//BSD, 2014-2016, WinterDev //---------------------------------------------------------------------------- // Anti-Grain Geometry - Version 2.4 // Copyright (C) 2002-2005 Maxim Shemanarev (http://www.antigrain.com) // // C# Port port by: Lars Brubaker // larsbrubaker@gmail.com // Copyright (C) 2007 //...
bsd-2-clause
C#
4b5da9b3ffcc4d5a94691dab767f8961d7c52a51
Edit it
jogibear9988/websocket-sharp,sta/websocket-sharp,2Toad/websocket-sharp,sta/websocket-sharp,2Toad/websocket-sharp,jogibear9988/websocket-sharp,2Toad/websocket-sharp,sta/websocket-sharp,jogibear9988/websocket-sharp,jogibear9988/websocket-sharp,sta/websocket-sharp,2Toad/websocket-sharp
websocket-sharp/Server/HttpRequestEventArgs.cs
websocket-sharp/Server/HttpRequestEventArgs.cs
#region License /* * HttpRequestEventArgs.cs * * The MIT License * * Copyright (c) 2012-2015 sta.blockhead * * 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, incl...
#region License /* * HttpRequestEventArgs.cs * * The MIT License * * Copyright (c) 2012-2015 sta.blockhead * * 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, incl...
mit
C#
039bd52b4399e5cb39d568905cddf6dfe8916bd7
add a link to older logs
codingteam/codingteam.org.ru,codingteam/codingteam.org.ru
Views/Home/Index.cshtml
Views/Home/Index.cshtml
<p>Welcome! Codingteam is an open community of engineers and programmers.</p> <p>And here're today's conference logs:</p> <iframe class="logs" src="@ViewData["LogUrl"]"></iframe> <a href="/old-logs/codingteam@conference.jabber.ru/">Older logs (mostly actual in period 2008-08-22 — 2016-12-09)</a>
<p>Welcome! Codingteam is an open community of engineers and programmers.</p> <p>And here're today's conference logs:</p> <iframe class="logs" src="@ViewData["LogUrl"]"></iframe>
mit
C#
0d4576e599e7ffd22c41716c903afc0ac121bd8f
Bump version
thesmallbang/EverquestOpenParser
OpenParser/Properties/AssemblyInfo.cs
OpenParser/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("Op...
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("Op...
mit
C#
9f28c4c033264d8b7a8701c5b326a73abf65125b
Adjust test values
ppy/osu,ppy/osu,peppy/osu,peppy/osu,peppy/osu,ppy/osu
osu.Game.Rulesets.Osu.Tests/OsuDifficultyCalculatorTest.cs
osu.Game.Rulesets.Osu.Tests/OsuDifficultyCalculatorTest.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 disable using NUnit.Framework; using osu.Game.Beatmaps; using osu.Game.Rulesets.Difficulty; using osu.Game.Rulesets.Osu.Difficulty; using osu.Game.Rulesets.Osu...
// 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 disable using NUnit.Framework; using osu.Game.Beatmaps; using osu.Game.Rulesets.Difficulty; using osu.Game.Rulesets.Osu.Difficulty; using osu.Game.Rulesets.Osu...
mit
C#
775c4bad973c3f9afba809851b0b63add97929a1
Remove unneeded lifetime assignment
smoogipoo/osu,peppy/osu,smoogipoo/osu,UselessToucan/osu,NeoAdonis/osu,ppy/osu,peppy/osu-new,ppy/osu,smoogipoo/osu,NeoAdonis/osu,smoogipooo/osu,ppy/osu,NeoAdonis/osu,peppy/osu,UselessToucan/osu,UselessToucan/osu,peppy/osu
osu.Game.Rulesets.Catch/Objects/Drawables/CaughtObject.cs
osu.Game.Rulesets.Catch/Objects/Drawables/CaughtObject.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.Allocation; using osu.Framework.Bindables; using osu.Framework.Graphics; using osu.Game.Skinning; using osuTK; using osuTK.Graphics; na...
// 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.Allocation; using osu.Framework.Bindables; using osu.Framework.Graphics; using osu.Game.Skinning; using osuTK; using osuTK.Graphics; na...
mit
C#
f5c12cf18b616a76961062361dd1932f2c17d853
Remove unused property from Track model
gusper/Peekify,gusper/SpotiPeek
SpotiPeek/SpotiPeek.App/TrackModel.cs
SpotiPeek/SpotiPeek.App/TrackModel.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SpotiPeek.App { class TrackModel { public string SongTitle; public string ArtistName; public string AlbumTitle; } }
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SpotiPeek.App { class TrackModel { public string SongTitle; public string ArtistName; public string AlbumTitle; public string AlbumYear; } }
mit
C#
791779913e6c554cef7e34e07ee01854e3c73966
add DefaultFileSystems
CosmosOS/Cosmos,zarlo/Cosmos,CosmosOS/Cosmos,zarlo/Cosmos,zarlo/Cosmos,zarlo/Cosmos,CosmosOS/Cosmos,CosmosOS/Cosmos
source/Cosmos.System2/FileSystem/VFS/FileSystemManager.cs
source/Cosmos.System2/FileSystem/VFS/FileSystemManager.cs
using System; using System.Collections.Generic; namespace Cosmos.System.FileSystem.VFS { public static class FileSystemManager { private static List<FileSystemFactory> registeredFileSystems = DefaultFileSystems; public static List<FileSystemFactory> DefaultFileSystems { get { ...
using System; using System.Collections.Generic; namespace Cosmos.System.FileSystem.VFS { public static class FileSystemManager { private static List<FileSystemFactory> registeredFileSystems = new List<FileSystemFactory>() { new FAT.FatFileSystemFactory(), ...
bsd-3-clause
C#
76fa2d1734e38c28d99ffc73c8d73b682e2b19b6
Fix Empty
yufeih/Common
src/CommonTasks.cs
src/CommonTasks.cs
namespace System.Threading.Tasks { using System.Collections.Generic; using System.IO; using System.Linq; static class CommonTasks { public static readonly Task Completed = Task.FromResult(true); public static readonly Task<bool> True = Task.FromResult(true); pub...
namespace System.Threading.Tasks { using System.Collections.Generic; using System.IO; using System.Linq; static class CommonTasks { public static readonly Task Completed = Task.FromResult(true); public static readonly Task<bool> True = Task.FromResult(true); pub...
mit
C#
c2d4672b8deadc8ddfc471b31cada648cbf837ed
Add osu! prefix to mode descriptions.
EVAST9919/osu,peppy/osu-new,smoogipoo/osu,naoey/osu,NeoAdonis/osu,EVAST9919/osu,DrabWeb/osu,smoogipooo/osu,UselessToucan/osu,NeoAdonis/osu,peppy/osu,ppy/osu,peppy/osu,smoogipoo/osu,DrabWeb/osu,theguii/osu,naoey/osu,UselessToucan/osu,NeoAdonis/osu,tacchinotacchi/osu,Drezi126/osu,smoogipoo/osu,2yangk23/osu,johnneijzen/os...
osu.Game/GameModes/Play/PlayMode.cs
osu.Game/GameModes/Play/PlayMode.cs
//Copyright (c) 2007-2016 ppy Pty Ltd <contact@ppy.sh>. //Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using System.ComponentModel; namespace osu.Game.GameModes.Play { public enum PlayMode { [Description(@"osu!")] Osu = 0, [Des...
//Copyright (c) 2007-2016 ppy Pty Ltd <contact@ppy.sh>. //Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using System.ComponentModel; namespace osu.Game.GameModes.Play { public enum PlayMode { [Description(@"osu!")] Osu = 0, [Des...
mit
C#
8216aabbf8eb3e73352988dd97cbe1681c16807d
Remove empty line.
Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW
src/MitternachtBot/Modules/Games/Services/GamesService.cs
src/MitternachtBot/Modules/Games/Services/GamesService.cs
using System; using System.Collections.Concurrent; using System.Linq; using System.Threading; using Mitternacht.Modules.Games.Common; using Mitternacht.Services; namespace Mitternacht.Modules.Games.Services { public class GamesService : IMService { private readonly IBotConfigProvider _bcp; public readonly Concur...
using System; using System.Collections.Concurrent; using System.Linq; using System.Threading; using Mitternacht.Modules.Games.Common; using Mitternacht.Services; namespace Mitternacht.Modules.Games.Services { public class GamesService : IMService { private readonly IBotConfigProvider _bcp; public readonly Concur...
mit
C#
d43f6582c79663c0d59942f998221eb2aa6ce6c8
Update application version.
RadishSystems/choiceview-webapitester-csharp
ApiTester/Properties/AssemblyInfo.cs
ApiTester/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("ApiTester")] [assembly: AssemblyDe...
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("ApiTester")] [assembly: AssemblyDe...
mit
C#
8a6c86c0feca37a837e7b5be60ab9f5ea172725e
Fix unresolved cref
benjamin-hodgson/Pidgin
Pidgin/Unit.cs
Pidgin/Unit.cs
namespace Pidgin { /// <summary> /// An uninteresting type with only one value (<see cref="Unit.Value"/>) and no fields. /// Like <c>void</c>, but valid as a type parameter /// </summary> public sealed class Unit { private Unit() {} /// <summary> /// The single unique <se...
namespace Pidgin { /// <summary> /// An uninteresting type with only one value (<see cref="Unit.Value"/>) and no fields. /// Like <see cref="System.Void"/>, but valid as a type parameter /// </summary> public sealed class Unit { private Unit() {} /// <summary> /// The sin...
mit
C#