commit
stringlengths
40
40
old_file
stringlengths
4
264
new_file
stringlengths
4
264
old_contents
stringlengths
0
4.24k
new_contents
stringlengths
1
5.44k
subject
stringlengths
14
778
message
stringlengths
15
9.92k
lang
stringclasses
277 values
license
stringclasses
13 values
repos
stringlengths
5
127k
c7e473e2203e9c5ecea6d12c8e272f34cf93f07b
NavigationMvc/RouteConfig.cs
NavigationMvc/RouteConfig.cs
using System.Web.Mvc; using System.Web.Routing; namespace Navigation.Mvc { public class RouteConfig { public static void AddStateRoutes() { if (StateInfoConfig.Dialogs == null) return; string controller, action; Route route; using (RouteTable.Routes.GetWriteLock()) { foreac...
using System.Web.Mvc; using System.Web.Routing; namespace Navigation.Mvc { public class RouteConfig { public static void AddStateRoutes() { if (StateInfoConfig.Dialogs == null) return; string controller, action; Route route; using (RouteTable.Routes.GetWriteLock()) { foreac...
Set StateId in DataTokens so ShieldDecode works because StateId was in the data when ShieldEncode was called
Set StateId in DataTokens so ShieldDecode works because StateId was in the data when ShieldEncode was called
C#
apache-2.0
grahammendick/navigation,grahammendick/navigation,grahammendick/navigation,grahammendick/navigation,grahammendick/navigation,grahammendick/navigation,grahammendick/navigation
7526f217510a2d141528f74279b49ea4dd4f191e
Source/Shared/GlobalAssemblyInfo.cs
Source/Shared/GlobalAssemblyInfo.cs
using System.Reflection; [assembly: AssemblyCompany("Picoe Software Solutions Inc.")] [assembly: AssemblyProduct("")] [assembly: AssemblyCopyright("(c) 2010-2014 by Curtis Wensley, 2012-2014 by Vivek Jhaveri and contributors")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] [assembly: AssemblyVersi...
using System.Reflection; [assembly: AssemblyCompany("Picoe Software Solutions Inc.")] [assembly: AssemblyProduct("")] [assembly: AssemblyCopyright("(c) 2010-2014 by Curtis Wensley, 2012-2014 by Vivek Jhaveri and contributors")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] [assembly: AssemblyVersi...
Use auto-version for AssemblyFileVersion in develop builds to facilitate installers
Use auto-version for AssemblyFileVersion in develop builds to facilitate installers
C#
bsd-3-clause
l8s/Eto,l8s/Eto,bbqchickenrobot/Eto-1,bbqchickenrobot/Eto-1,PowerOfCode/Eto,bbqchickenrobot/Eto-1,PowerOfCode/Eto,l8s/Eto,PowerOfCode/Eto
b338f40249e45d89c4134cc61fb076b487de75db
Middleware/StripWhitespaceMiddleware.cs
Middleware/StripWhitespaceMiddleware.cs
using System.IO; using System.Text; using System.Text.RegularExpressions; using System.Threading.Tasks; using Microsoft.AspNet.Builder; using Microsoft.AspNet.Http; namespace PersonalWebApp.Middleware { public class StripWhitespaceMiddleware { private readonly RequestDelegate _next; public StripWhite...
using System.IO; using System.Text; using System.Text.RegularExpressions; using System.Threading.Tasks; using Microsoft.AspNet.Builder; using Microsoft.AspNet.Http; namespace PersonalWebApp.Middleware { public class StripWhitespaceMiddleware { private readonly RequestDelegate _next; public StripWhite...
Fix bug with non-HTML responses
Fix bug with non-HTML responses
C#
mit
OlsonDev/PersonalWebApp,OlsonDev/PersonalWebApp
5ce17caa0ad3fe82a10cc003f4d5e481816d37bd
Source/SvNaum.Web/App_Start/FilterConfig.cs
Source/SvNaum.Web/App_Start/FilterConfig.cs
using System.Web; using System.Web.Mvc; namespace SvNaum.Web { public class FilterConfig { public static void RegisterGlobalFilters(GlobalFilterCollection filters) { //filters.Add(new HandleErrorAttribute()); } } }
using System.Web; using System.Web.Mvc; namespace SvNaum.Web { public class FilterConfig { public static void RegisterGlobalFilters(GlobalFilterCollection filters) { filters.Add(new HandleErrorAttribute()); } } }
Include missing views AddNews and EditNews in project.
Include missing views AddNews and EditNews in project.
C#
mit
razsilev/Sv_Naum,razsilev/Sv_Naum,razsilev/Sv_Naum
6b424ac2137e95dc793517e2e0b085744564e7a7
CAB42/Program.cs
CAB42/Program.cs
namespace C42A { using System; using System.Collections.Generic; using System.Linq; using System.Windows.Forms; using System.Xml.Serialization; internal static class Program { /// <summary> /// The main entry point for the application. /// </summary> ...
namespace C42A { using System; using System.Collections.Generic; using System.Linq; using System.Windows.Forms; using System.Xml.Serialization; using C42A.CAB42; internal static class Program { /// <summary> /// The main entry point for the application. ...
Add support for building from the command line.
Add support for building from the command line.
C#
apache-2.0
adbre/cab42,adbre/cab42
5c2628db64769abd78ff135bd2d9140a5beeefcb
compiler/Program/Program.cs
compiler/Program/Program.cs
using System; using compiler.frontend; namespace Program { class Program { //TODO: adjust main to use the parser when it is complete static void Main(string[] args) { using (Lexer l = new Lexer(@"../../testdata/big.txt")) { Token t; ...
using System; using compiler.frontend; namespace Program { class Program { //TODO: adjust main to use the parser when it is complete static void Main(string[] args) { // using (Lexer l = new Lexer(@"../../testdata/big.txt")) // { // Token t; // ...
Update Main to print the graph
Update Main to print the graph
C#
mit
ilovepi/Compiler,ilovepi/Compiler
a1ff4d32c20eb75a1f94548f40e210c55238b788
src/HttpHelper.cs
src/HttpHelper.cs
namespace System.Net.Http { using System.Collections.Generic; using System.Diagnostics; using System.Linq; static class HttpHelper { public static string ValidatePath(string path) { if (path == null) throw new ArgumentNullException(nameof(path)); ...
namespace System.Net.Http { using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Threading.Tasks; static class HttpHelper { public static string ValidatePath(string path) { if (path == null) throw new ArgumentNullExc...
Add HttpResponseMessage.EnsureSuccess that include response content in the exception.
Add HttpResponseMessage.EnsureSuccess that include response content in the exception.
C#
mit
yufeih/Common
8b457315bf4ab36b18f7282c2609735a213e1760
Orchard.Source.1.8.1/src/Orchard.Web/Modules/LccNetwork/Migrations/NavigationMigrations.cs
Orchard.Source.1.8.1/src/Orchard.Web/Modules/LccNetwork/Migrations/NavigationMigrations.cs
using System; using System.Collections.Generic; using System.Data; using Orchard.ContentManagement.Drivers; using Orchard.ContentManagement.MetaData; using Orchard.ContentManagement.MetaData.Builders; using Orchard.Core.Contents.Extensions; using Orchard.Data.Migration; using Orchard.Environment.Extensions; namespace...
using System; using System.Collections.Generic; using System.Data; using Orchard.ContentManagement.Drivers; using Orchard.ContentManagement.MetaData; using Orchard.ContentManagement.MetaData.Builders; using Orchard.Core.Contents.Extensions; using Orchard.Data.Migration; using Orchard.Environment.Extensions; namespace...
Add a footer navigation widget.
Add a footer navigation widget.
C#
bsd-3-clause
bigfont/orchard-cms-modules-and-themes,bigfont/orchard-cms-modules-and-themes,bigfont/orchard-cms-modules-and-themes,bigfont/orchard-cms-modules-and-themes,bigfont/orchard-cms-modules-and-themes
1dffd91f1e868e437e514e58bf4f4498fbe531f9
src/NodaTime.Benchmarks/Framework/BenchmarkResult.cs
src/NodaTime.Benchmarks/Framework/BenchmarkResult.cs
// Copyright 2009 The Noda Time Authors. All rights reserved. // Use of this source code is governed by the Apache License 2.0, // as found in the LICENSE.txt file. using System.Reflection; namespace NodaTime.Benchmarks.Framework { /// <summary> /// The results of running a single test. /// </su...
// Copyright 2009 The Noda Time Authors. All rights reserved. // Use of this source code is governed by the Apache License 2.0, // as found in the LICENSE.txt file. using System.Reflection; namespace NodaTime.Benchmarks.Framework { /// <summary> /// The results of running a single test. /// </su...
Tweak to use the fact that we now have nanosecond precision in Duration.
Tweak to use the fact that we now have nanosecond precision in Duration.
C#
apache-2.0
malcolmr/nodatime,zaccharles/nodatime,malcolmr/nodatime,malcolmr/nodatime,zaccharles/nodatime,zaccharles/nodatime,zaccharles/nodatime,jskeet/nodatime,nodatime/nodatime,BenJenkinson/nodatime,nodatime/nodatime,BenJenkinson/nodatime,zaccharles/nodatime,malcolmr/nodatime,zaccharles/nodatime,jskeet/nodatime
a14aac881ff7022060759f3fd39d73639b76690a
src/Nest/Mapping/MetaFields/Ttl/TtlField.cs
src/Nest/Mapping/MetaFields/Ttl/TtlField.cs
using Newtonsoft.Json; namespace Nest { [JsonConverter(typeof(ReadAsTypeJsonConverter<TtlField>))] public interface ITtlField : IFieldMapping { [JsonProperty("enabled")] bool? Enabled { get; set; } [JsonProperty("default")] Time Default { get; set; } } public class TtlField : ITtlField { public bool...
using Newtonsoft.Json; namespace Nest { [JsonConverter(typeof(ReadAsTypeJsonConverter<TtlField>))] public interface ITtlField : IFieldMapping { [JsonProperty("enabled")] bool? Enabled { get; set; } [JsonProperty("default")] Time Default { get; set; } } public class TtlField : ITtlField { public bool...
Make enable method name consistent on TTL field
Make enable method name consistent on TTL field
C#
apache-2.0
elastic/elasticsearch-net,adam-mccoy/elasticsearch-net,elastic/elasticsearch-net,TheFireCookie/elasticsearch-net,adam-mccoy/elasticsearch-net,CSGOpenSource/elasticsearch-net,CSGOpenSource/elasticsearch-net,adam-mccoy/elasticsearch-net,CSGOpenSource/elasticsearch-net,TheFireCookie/elasticsearch-net,TheFireCookie/elastic...
22969db75afd809f78952eafd8b1b089416ea4f8
UnitTests/PlayerTests.cs
UnitTests/PlayerTests.cs
using Xunit; namespace PlayerRank.UnitTests { public class PlayerTests { [Fact] public void CanIncreasePlayersScore() { var player = new PlayerScore("Foo"); player.AddPoints(new Points(100)); Assert.Equal(new Points(100), player.Points); ...
using Xunit; namespace PlayerRank.UnitTests { public class PlayerTests { [Fact] public void CanIncreasePlayersScore() { var player = new PlayerScore("Foo"); player.AddPoints(new Points(100)); Assert.Equal(new Points(100), player.Points); ...
Change test to use new subtract method
Change test to use new subtract method
C#
mit
TheEadie/PlayerRank,TheEadie/PlayerRank
204a19d2c245ff8aa300dc33df5ea094cde48981
LanguageExt.Process/ActorDispatchNotExist.cs
LanguageExt.Process/ActorDispatchNotExist.cs
using System; using System.Reactive.Linq; using static LanguageExt.Prelude; using static LanguageExt.Process; namespace LanguageExt { internal class ActorDispatchNotExist : IActorDispatch { public readonly ProcessId ProcessId; public ActorDispatchNotExist(ProcessId pid) { ...
using System; using System.Reactive.Linq; using static LanguageExt.Prelude; using static LanguageExt.Process; namespace LanguageExt { internal class ActorDispatchNotExist : IActorDispatch { public readonly ProcessId ProcessId; public ActorDispatchNotExist(ProcessId pid) { ...
Stop unwatch from failing on shutdown
Stop unwatch from failing on shutdown
C#
mit
StefanBertels/language-ext,StanJav/language-ext,louthy/language-ext
99634a60113eb8128959c48bcd03ba5e7b8dbe91
source/Signatory/Settings.cs
source/Signatory/Settings.cs
using System.Configuration; namespace Signatory { public static class Settings { public static string Authority = ConfigurationManager.AppSettings["Authority"]; public static string GitHubKey = ConfigurationManager.AppSettings["GitHubKey"]; public static string GitHubSecret = Configura...
using System.Configuration; namespace Signatory { public static class Settings { public static readonly string Authority = ConfigurationManager.AppSettings["Authority"]; public static readonly string GitHubKey = ConfigurationManager.AppSettings["GitHubKey"]; public static readonly stri...
Mark settings as read only
Mark settings as read only
C#
apache-2.0
nikmd23/signatory,nikmd23/signatory
ebe63b46d1a59adb12099c53899132336be88c3e
src/ExprBuilderTests/ConstantFoldingBuilderTests/ConstantFoldingExprBuilderTests.cs
src/ExprBuilderTests/ConstantFoldingBuilderTests/ConstantFoldingExprBuilderTests.cs
using NUnit.Framework; using System; using System.Collections; using Symbooglix; using Microsoft.Boogie; using Microsoft.Basetypes; namespace ExprBuilderTests { [TestFixture()] public class ConstantFoldingExprBuilderTests : SimpleExprBuilderTestBase { protected Tuple<SimpleExprBuilder, ConstantFol...
using NUnit.Framework; using System; using System.Collections; using Symbooglix; using Microsoft.Boogie; using Microsoft.Basetypes; namespace ExprBuilderTests { public class ConstantFoldingExprBuilderTests : SimpleExprBuilderTestBase { protected Tuple<SimpleExprBuilder, ConstantFoldingExprBuilder> Get...
Remove NUnit attribute accidently left on a class. The attribute is pointless because the class has no tests.
Remove NUnit attribute accidently left on a class. The attribute is pointless because the class has no tests.
C#
bsd-2-clause
symbooglix/symbooglix,symbooglix/symbooglix,symbooglix/symbooglix
1f092c4f4824d7da5f06256bb088efeb8e318d07
ffmpeg-farm-server/Contract/Models/FfmpegJobModel.cs
ffmpeg-farm-server/Contract/Models/FfmpegJobModel.cs
using System; using System.Collections.Generic; using System.Linq; namespace Contract.Models { public class FfmpegJobModel { public FfmpegJobModel() { Tasks = new List<FfmpegTaskModel>(); } public Guid JobCorrelationId { get; set; } public TranscodingJobSta...
using System; using System.Collections.Generic; using System.Linq; namespace Contract.Models { public class FfmpegJobModel { public FfmpegJobModel() { Tasks = new List<FfmpegTaskModel>(); } public Guid JobCorrelationId { get; set; } public TranscodingJobSta...
Fix job cancelled showing up as State = Unknown
Fix job cancelled showing up as State = Unknown
C#
bsd-3-clause
drdk/ffmpeg-farm,ongobongo/ffmpeg-farm
d6ac677a79d6b5ce3c099114f6af380129f17a8e
HoneySelectVR/HoneyInterpreter.cs
HoneySelectVR/HoneyInterpreter.cs
using System; using System.Collections; using System.Collections.Generic; using System.Reflection; using UnityEngine; using VRGIN.Core; using VRGIN.Helpers; namespace HoneySelectVR { internal class HoneyInterpreter : GameInterpreter { public HScene Scene; private IList<IActor> _Actors = new Li...
using Manager; using System; using System.Collections; using System.Collections.Generic; using System.Reflection; using UnityEngine; using VRGIN.Core; using VRGIN.Helpers; using System.Linq; namespace HoneySelectVR { internal class HoneyInterpreter : GameInterpreter { public HScene Scene; priv...
Change the way characters are recognized.
Change the way characters are recognized.
C#
mit
Eusth/HoneySelectVR
29d49ab51f94852d3b91705df375c1d2713750f8
Properties/VersionAssemblyInfo.cs
Properties/VersionAssemblyInfo.cs
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.18033 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generate...
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.18033 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generate...
Build script now creates individual zip file packages to align with the NuGet packages and semantic versioning.
Build script now creates individual zip file packages to align with the NuGet packages and semantic versioning.
C#
mit
autofac/Autofac.Extras.EnterpriseLibraryConfigurator
a717c4821cda51c48a677f2834576dc034bb8683
XamarinApp/MyTrips/MyTrips.UITests/Tests.cs
XamarinApp/MyTrips/MyTrips.UITests/Tests.cs
using System; using System.IO; using System.Linq; using NUnit.Framework; using Xamarin.UITest; using Xamarin.UITest.Queries; namespace MyTrips.UITests { [TestFixture(Platform.iOS)] public class Tests { IApp app; Platform platform; public Tests(Platform platform) { ...
using System; using System.IO; using System.Linq; using NUnit.Framework; using Xamarin.UITest; using Xamarin.UITest.Queries; namespace MyTrips.UITests { [TestFixture(Platform.iOS)] public class Tests { IApp app; Platform platform; public Tests(Platform platform) { ...
Add instructions for using UITest REPL.
[Test] Add instructions for using UITest REPL.
C#
mit
Azure-Samples/MyDriving,Azure-Samples/MyDriving,Azure-Samples/MyDriving
eee83ed357009b028d6c697bb547066189ee1a4a
src/Arkivverket.Arkade/Core/ArchiveMetadata.cs
src/Arkivverket.Arkade/Core/ArchiveMetadata.cs
using System; using System.Collections.Generic; namespace Arkivverket.Arkade.Core { public class ArchiveMetadata { public string ArchiveDescription { get; set; } public string AgreementNumber { get; set; } public List<MetadataEntityInformationUnit> ArchiveCreators { get; } = new List<M...
using System; using System.Collections.Generic; namespace Arkivverket.Arkade.Core { public class ArchiveMetadata { public string ArchiveDescription { get; set; } public string AgreementNumber { get; set; } public List<MetadataEntityInformationUnit> ArchiveCreators { get; set; } ...
Enable setters and initialize lists from constructor (again)
Enable setters and initialize lists from constructor (again)
C#
agpl-3.0
arkivverket/arkade5,arkivverket/arkade5,arkivverket/arkade5
a677fe5105a60fa79a3c28af78f39f8f110de4cc
src/AppHarbor/AppHarborInstaller.cs
src/AppHarbor/AppHarborInstaller.cs
using System; using Castle.MicroKernel.Registration; using Castle.MicroKernel.SubSystems.Configuration; using Castle.Windsor; namespace AppHarbor { public class AppHarborInstaller : IWindsorInstaller { public void Install(IWindsorContainer container, IConfigurationStore store) { container.Register(Component ...
using System; using Castle.MicroKernel.Registration; using Castle.MicroKernel.SubSystems.Configuration; using Castle.Windsor; using Castle.MicroKernel.Resolvers.SpecializedResolvers; namespace AppHarbor { public class AppHarborInstaller : IWindsorInstaller { public void Install(IWindsorContainer container, IConfi...
Add collection resolver to container
Add collection resolver to container
C#
mit
appharbor/appharbor-cli
e98b747ae6465492638589f8eb02b45bcb4cdfb5
src/Conreign.Host.Azure/SiloRole.cs
src/Conreign.Host.Azure/SiloRole.cs
using System; using Conreign.Cluster; using Microsoft.WindowsAzure.ServiceRuntime; using Orleans.Runtime.Configuration; using Orleans.Runtime.Host; namespace Conreign.Host.Azure { public class SiloRole : RoleEntryPoint { private AzureSilo _silo; public override void Run() { ...
using System; using Conreign.Cluster; using Microsoft.WindowsAzure.ServiceRuntime; using Orleans.Runtime.Configuration; using Orleans.Runtime.Host; namespace Conreign.Host.Azure { public class SiloRole : RoleEntryPoint { private AzureSilo _silo; public override void Run() { ...
Fix Azure host silo startup
Fix Azure host silo startup
C#
mit
smolyakoff/conreign,smolyakoff/conreign,smolyakoff/conreign
e2547bf67be535fbb28cb252c17e46acb5e02030
Sandra.UI.WF/Storage/CompactSettingWriter.cs
Sandra.UI.WF/Storage/CompactSettingWriter.cs
#region License /********************************************************************************* * CompactSettingWriter.cs * * Copyright (c) 2004-2018 Henk Nicolai * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * ...
#region License /********************************************************************************* * CompactSettingWriter.cs * * Copyright (c) 2004-2018 Henk Nicolai * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * ...
Write PBoolean and PInteger values.
Write PBoolean and PInteger values.
C#
apache-2.0
PenguinF/sandra-three
9ef63f97170cae97ce20c2fc2e3cc3ff3c57cf0a
src/SonarProjectPropertiesGenerator/Program.cs
src/SonarProjectPropertiesGenerator/Program.cs
//----------------------------------------------------------------------- // <copyright file="Program.cs" company="SonarSource SA and Microsoft Corporation"> // (c) SonarSource SA and Microsoft Corporation. All rights reserved. // </copyright> //----------------------------------------------------------------------...
//----------------------------------------------------------------------- // <copyright file="Program.cs" company="SonarSource SA and Microsoft Corporation"> // (c) SonarSource SA and Microsoft Corporation. All rights reserved. // </copyright> //----------------------------------------------------------------------...
Include timestamp in generated logs
Include timestamp in generated logs
C#
mit
HSAR/sonar-msbuild-runner,jango2015/sonar-msbuild-runner,SonarSource-VisualStudio/sonar-msbuild-runner,duncanpMS/sonar-msbuild-runner,LunicLynx/sonar-msbuild-runner,LunicLynx/sonar-msbuild-runner,jessehouwing/sonar-msbuild-runner,SonarSource-DotNet/sonar-msbuild-runner,dbolkensteyn/sonar-msbuild-runner,jessehouwing/son...
74f964a2f8cae96f3895d1480f32b1972f7ea9f5
src/Stratis.Bitcoin/Properties/AssemblyInfo.cs
src/Stratis.Bitcoin/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("Str...
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("Str...
Increase node agent version in preperation for the release
Increase node agent version in preperation for the release
C#
mit
Aprogiena/StratisBitcoinFullNode,bokobza/StratisBitcoinFullNode,bokobza/StratisBitcoinFullNode,bokobza/StratisBitcoinFullNode,stratisproject/StratisBitcoinFullNode,mikedennis/StratisBitcoinFullNode,mikedennis/StratisBitcoinFullNode,stratisproject/StratisBitcoinFullNode,bokobza/StratisBitcoinFullNode,fassadlr/StratisBit...
4ca1e823d994f29e25f13f928d953ba3cd9795bc
EditorControllerTests/TemplateTests.cs
EditorControllerTests/TemplateTests.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Microsoft.VisualStudio.TestTools.UnitTesting; using AxeSoftware.Quest; namespace EditorControllerTests { [TestClass] public class TemplateTests { [TestMethod] public void TestTemplates(...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Microsoft.VisualStudio.TestTools.UnitTesting; using AxeSoftware.Quest; namespace EditorControllerTests { [TestClass] public class TemplateTests { [TestMethod] public void TestTemplates(...
Fix unit tests, not sure why file paths have changed?
Fix unit tests, not sure why file paths have changed?
C#
mit
siege918/quest,siege918/quest,textadventures/quest,textadventures/quest,F2Andy/quest,F2Andy/quest,F2Andy/quest,siege918/quest,siege918/quest,textadventures/quest,textadventures/quest
747a262147ff8b270d441b2ad696980dceefd270
TestCaseAutomator.TeamFoundation/TfsFile.cs
TestCaseAutomator.TeamFoundation/TfsFile.cs
using System.IO; using System.Threading.Tasks; namespace TestCaseAutomator.TeamFoundation { /// <summary> /// Represents a TFS source controlled file. /// </summary> public class TfsFile : TfsSourceControlledItem { /// <summary> /// Initializes a new <see cref="TfsFile"/>. /// </summary> /// <param name="...
using System.IO; using System.Threading.Tasks; namespace TestCaseAutomator.TeamFoundation { /// <summary> /// Represents a TFS source controlled file. /// </summary> public class TfsFile : TfsSourceControlledItem { /// <summary> /// Initializes a new <see cref="TfsFile"/>. /// </summary> /// <param name="...
Put download stream in using statement (doesn't seem to have any effect though).
Put download stream in using statement (doesn't seem to have any effect though).
C#
apache-2.0
mthamil/TFSTestCaseAutomator
65b98db2d05dd97adc83b7b1124bfbbeb0d8f03a
MakerFarm/Models/MakerfarmDBContext.cs
MakerFarm/Models/MakerfarmDBContext.cs
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Data.Entity; namespace MakerFarm.Models { public class MakerfarmDBContext : DbContext { public MakerfarmDBContext() : base("DefaultConnection") { //Database.SetInitializer<MakerfarmDBC...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Data.Entity; namespace MakerFarm.Models { public class MakerfarmDBContext : DbContext { public MakerfarmDBContext() : base("DefaultConnection") { Database.SetInitializer<MakerfarmDBCon...
Set the DB Context to rebuild database when a model change is detected. Dangerous times for data =O
Set the DB Context to rebuild database when a model change is detected. Dangerous times for data =O
C#
unlicense
wildbillcat/MakerFarm,wildbillcat/MakerFarm
58183ad3d5b01a9bf49bfa11c43186ad19644424
osu.Game.Tests/Visual/Menus/TestSceneIntroSequence.cs
osu.Game.Tests/Visual/Menus/TestSceneIntroSequence.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 System.Collections.Generic; using NUnit.Framework; using osu.Framework.Graphics; using osu.Framework.Graphics.Containers; using osu.Framework.Graphic...
// 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 NUnit.Framework; using osu.Framework.Allocation; using osu.Framework.Graphics; using osu.Framework.Graphics.Contain...
Change intro test to test full intro screen
Change intro test to test full intro screen
C#
mit
smoogipoo/osu,ppy/osu,UselessToucan/osu,ppy/osu,UselessToucan/osu,smoogipoo/osu,johnneijzen/osu,ZLima12/osu,smoogipoo/osu,peppy/osu-new,EVAST9919/osu,johnneijzen/osu,NeoAdonis/osu,smoogipooo/osu,NeoAdonis/osu,peppy/osu,peppy/osu,2yangk23/osu,EVAST9919/osu,UselessToucan/osu,ppy/osu,peppy/osu,ZLima12/osu,NeoAdonis/osu,2y...
5db4fe863166575ed8f6d19ee60acca4df4c3fe5
borkedLabs.CrestScribe/ScribeQueryWorker.cs
borkedLabs.CrestScribe/ScribeQueryWorker.cs
using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; namespace borkedLabs.CrestScribe { public class ScribeQueryWorker { private BlockingCollection<SsoCharacter> _queryQueue; ...
using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; namespace borkedLabs.CrestScribe { public class ScribeQueryWorker { private BlockingCollection<SsoCharacter> _queryQueue; ...
Use cancellationToken properly in task wait.
Use cancellationToken properly in task wait.
C#
mit
borkedLabs/borkedLabs.CrestScribe
f7961024d7dcff62a881e36f9e6bed0295d32ee9
Core/Handling/General/LifeSpanHandler.cs
Core/Handling/General/LifeSpanHandler.cs
using CefSharp; using TweetDuck.Core.Controls; using TweetDuck.Core.Utils; namespace TweetDuck.Core.Handling.General{ sealed class LifeSpanHandler : ILifeSpanHandler{ public static bool HandleLinkClick(IWebBrowser browserControl, WindowOpenDisposition targetDisposition, string targetUrl){ swit...
using CefSharp; using TweetDuck.Core.Controls; using TweetDuck.Core.Utils; namespace TweetDuck.Core.Handling.General{ sealed class LifeSpanHandler : ILifeSpanHandler{ private static bool IsPopupAllowed(string url){ return url.StartsWith("https://twitter.com/teams/authorize?"); } ...
Enable popup for linking another account
Enable popup for linking another account Closes #269
C#
mit
chylex/TweetDuck,chylex/TweetDuck,chylex/TweetDuck,chylex/TweetDuck
ecfc693ffca17cd4bf48d85cd5fc798fcc53ce2c
csharp/bob/Bob.cs
csharp/bob/Bob.cs
using System; using System.Linq; public class Bob { public string Hey(string input) { if (IsSilence(input)) { return "Fine. Be that way!"; } else if (IsShouting(input)) { return "Whoa, chill out!"; } else if (IsQuestion(input)) ...
using System.Linq; public class Bob { public string Hey(string input) { if (IsSilence(input)) { return "Fine. Be that way!"; } else if (IsShouting(input)) { return "Whoa, chill out!"; } else if (IsQuestion(input)) { ...
Use EndsWith - nicer than LastIndexOf...
Use EndsWith - nicer than LastIndexOf...
C#
mit
leoshaw/exercism-solutions
944d5ab52ade00af486d8502b003d0df48527cb5
SPMin/SPMinLoggingService.cs
SPMin/SPMinLoggingService.cs
using Microsoft.SharePoint.Administration; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace SPMin { public class SPMinLoggingService : SPDiagnosticsServiceBase { private static string AreaName = "Mavention"; private static SPMinLoggingService _ins...
using Microsoft.SharePoint.Administration; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace SPMin { public class SPMinLoggingService : SPDiagnosticsServiceBase { private static string AreaName = "SPMin"; private static SPMinLoggingService _instanc...
Update logging service area name
Update logging service area name
C#
apache-2.0
ghsehn/SPMin,guisehn/SPMin,spmin/spmin
ab2516ae6bfb3d31f4b03f145ebcce6b1d4fc89e
Source/GlobalAssemblyInfo.cs
Source/GlobalAssemblyInfo.cs
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="GlobalAssemblyInfo.cs" company="OxyPlot"> // Copyright (c) 2014 OxyPlot contributors // </copyright> // -------------------------------------------------------------------------...
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="GlobalAssemblyInfo.cs" company="OxyPlot"> // Copyright (c) 2014 OxyPlot contributors // </copyright> // -------------------------------------------------------------------------...
Fix CA1016: Mark assemblies with AssemblyVersionAttribute
Fix CA1016: Mark assemblies with AssemblyVersionAttribute Code Analysis says that "0.0.0" is not a valid version number so pick a different default to get rid of the warning.
C#
mit
Mitch-Connor/oxyplot,shoelzer/oxyplot,svendu/oxyplot,HermanEldering/oxyplot,ze-pequeno/oxyplot,as-zhuravlev/oxyplot_wpf_fork,objorke/oxyplot,DotNetDoctor/oxyplot,H2ONaCl/oxyplot,bbqchickenrobot/oxyplot,Sbosanquet/oxyplot,freudenthal/oxyplot,NilesDavis/oxyplot,svendu/oxyplot,objorke/oxyplot,as-zhuravlev/oxyplot_wpf_fork...
8cd591c6816e5d8ce13418dae0393f82d534315c
Assets/Scripts/PointSource/ObjectPointSource.cs
Assets/Scripts/PointSource/ObjectPointSource.cs
using System.Collections; using UnityEngine; namespace TrailAdvanced.PointSource { public class ObjectPointSource : AbstractPointSource { public Transform objectToFollow; protected override void Update() { base.Update(); points.AddToBack(objectToFollow.position); } } }
using System.Collections; using UnityEngine; namespace TrailAdvanced.PointSource { public class ObjectPointSource : AbstractPointSource { public Transform objectToFollow; private Vector3 _lastPosition; protected override void Start() { base.Start(); _lastPosition = objectToFollow.position; } prote...
Add points to front and only add if moved a little bit
Add points to front and only add if moved a little bit
C#
mit
petereichinger/unity-trail-advanced
0fcf9c17e323bbc0c5147564b37f19315f96aae9
src/SourceBrowser.Search/ViewModels/TokenViewModel.cs
src/SourceBrowser.Search/ViewModels/TokenViewModel.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SourceBrowser.Search.ViewModels { public struct TokenViewModel { public string Id { get; } public string Path { get; } public string Username { get; } ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SourceBrowser.Search.ViewModels { public struct TokenViewModel { public string Id { get; } public string Path { get; } public string Username { get; } ...
Handle parenthese in method name.
Handle parenthese in method name.
C#
mit
AmadeusW/SourceBrowser,AmadeusW/SourceBrowser,CodeConnect/SourceBrowser,CodeConnect/SourceBrowser,AmadeusW/SourceBrowser
10e59c03784218d47f093587babe681e90df679f
LanguageExt.Benchmarks/Program.cs
LanguageExt.Benchmarks/Program.cs
using System; using BenchmarkDotNet.Running; namespace LanguageExt.Benchmarks { class Program { static void Main(string[] args) { var summary1 = BenchmarkRunner.Run<HashMapAddBenchmark>(); Console.Write(summary1); var summary2 = BenchmarkRunner.Run<HashMapR...
using BenchmarkDotNet.Running; namespace LanguageExt.Benchmarks { class Program { static void Main(string[] args) => BenchmarkSwitcher .FromAssembly(typeof(Program).Assembly) .Run(args); } }
Change way how benchmarks are discovered/executed
Change way how benchmarks are discovered/executed
C#
mit
louthy/language-ext,StefanBertels/language-ext,StanJav/language-ext
42c54eadcd4f945ad8d4c81dc9f7b823f264495f
src/Dictator/Dictator/Schema/Rule.cs
src/Dictator/Dictator/Schema/Rule.cs
using System.Collections.Generic; namespace Dictator { public class Rule { public string FieldPath { get; set; } public Constraint Constraint { get; set; } public List<object> Parameters { get; set; } public bool IsViolated { get; set; } public string Message { get; set...
using System.Collections.Generic; namespace Dictator { public class Rule { string _message = null; public string FieldPath { get; set; } public Constraint Constraint { get; set; } public List<object> Parameters { get; set; } public bool IsViolated { get; set; }...
Fix default schema rule message.
Fix default schema rule message.
C#
mit
yojimbo87/dictator
45c280b5eb4e981818a6400286269866129becf9
Abc.NCrafts.Quizz/Performance/Questions/021/Answer2.cs
Abc.NCrafts.Quizz/Performance/Questions/021/Answer2.cs
using System.Collections.Concurrent; using System.Linq; using System.Threading; using System.Threading.Tasks; namespace Abc.NCrafts.Quizz.Performance.Questions._021 { public class Answer2 { public static void Run() { var queue = new ConcurrentStack<int>(); // begin ...
using System.Collections.Concurrent; using System.Linq; using System.Threading; using System.Threading.Tasks; namespace Abc.NCrafts.Quizz.Performance.Questions._021 { public class Answer2 { public static void Run() { var stack = new ConcurrentStack<int>(); // begin ...
Rename queue to stack to reflect its actual type
Rename queue to stack to reflect its actual type
C#
mit
Abc-Arbitrage/Abc.NCrafts.AllocationQuiz
a419c27ad8712f32ff5c0b8210bcbfc52e3d10c3
Nancy.AttributeRouting/AttributeRoutingRegistration.cs
Nancy.AttributeRouting/AttributeRoutingRegistration.cs
namespace Nancy.AttributeRouting { using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using Nancy.Bootstrapper; using Nancy.TinyIoc; /// <inheritdoc/> public class AttributeRoutingRegistration : IRegistrations { static AttributeRouti...
namespace Nancy.AttributeRouting { using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using Nancy.Bootstrapper; using Nancy.TinyIoc; /// <inheritdoc/> public class AttributeRoutingRegistration : IRegistrations { static AttributeRouti...
Modify routing initialization logic to pass test case.
Modify routing initialization logic to pass test case.
C#
mit
lijunle/Nancy.AttributeRouting,lijunle/Nancy.AttributeRouting
3fe073cfa2b9f29d471bc535878cd62eafa722f7
Assets/Scripts/Water/SpriteShadow.cs
Assets/Scripts/Water/SpriteShadow.cs
using System; using System.Collections.Generic; using System.Linq; using UnityEngine; [RequireComponent(typeof(SpriteRenderer))] public class SpriteShadow : MonoBehaviour { public Sprite ShadowSprite; public float ShadowDist = 0.1f; public bool UseParentSpr = true; public Transform MyTr { get; private set; } ...
using System; using System.Collections.Generic; using System.Linq; using UnityEngine; [RequireComponent(typeof(SpriteRenderer))] public class SpriteShadow : MonoBehaviour { public Sprite ShadowSprite; public float ShadowDist = 0.1f; public bool UseParentSpr = true; public Transform MyTr { get; private set; } ...
Fix shadow bug with mines exploding
Fix shadow bug with mines exploding
C#
mit
heyx3/rubber-duck-love
f2fda3d1259863eea3a3f72a4442eb6254d8a4bb
src/Pulsar/Cron/IntegerIndex.cs
src/Pulsar/Cron/IntegerIndex.cs
namespace Codestellation.Pulsar.Cron { public struct IntegerIndex { public const int NotFound = -1; private readonly int[] _indexArray; public IntegerIndex(SimpleCronField field) { _indexArray = new int[field.Settings.MaxValue + 1]; for (int i = 0; i < ...
namespace Codestellation.Pulsar.Cron { public struct IntegerIndex { public const sbyte NotFound = -1; private readonly sbyte[] _indexArray; public IntegerIndex(SimpleCronField field) { _indexArray = new sbyte[field.Settings.MaxValue + 1]; for (int i = 0...
Use sbyte in integer index
Use sbyte in integer index
C#
mit
Codestellation/Pulsar
cc4b068b7d138fe5421ce52eba94b95378d71fe1
src/Stripe.net/Services/SubscriptionItems/SubscriptionItemUpdateOptions.cs
src/Stripe.net/Services/SubscriptionItems/SubscriptionItemUpdateOptions.cs
namespace Stripe { using System.Collections.Generic; using Newtonsoft.Json; public class SubscriptionItemUpdateOptions : SubscriptionItemSharedOptions { /// <summary> /// A set of key/value pairs that you can attach to a subscription object. It can be useful for storing additional infor...
namespace Stripe { using System.Collections.Generic; using Newtonsoft.Json; public class SubscriptionItemUpdateOptions : SubscriptionItemSharedOptions { /// <summary> /// A set of key/value pairs that you can attach to a subscription object. It can be useful for storing additional infor...
Add OffSession on SubscriptionItem update
Add OffSession on SubscriptionItem update
C#
apache-2.0
stripe/stripe-dotnet
e74f3d1a03d434409883145737c333a188c864e1
src/formulate.meta/Constants.cs
src/formulate.meta/Constants.cs
namespace formulate.meta { /// <summary> /// Constants relating to Formulate itself (i.e., does not /// include constants used by Formulate). /// </summary> public class Constants { /// <summary> /// This is the version of Formulate. It is used on /// assemblies and du...
namespace formulate.meta { /// <summary> /// Constants relating to Formulate itself (i.e., does not /// include constants used by Formulate). /// </summary> public class Constants { /// <summary> /// This is the version of Formulate. It is used on /// assemblies and du...
Increment version number to 1.3.5.1
Increment version number to 1.3.5.1
C#
mit
rhythmagency/formulate,rhythmagency/formulate,rhythmagency/formulate
5c6f70cc0a6243e982454bbffdb52d85c61ef792
Opserver/Views/Shared/TopTabs.cshtml
Opserver/Views/Shared/TopTabs.cshtml
@using StackExchange.Opserver.Models @using StackExchange.Profiling @{ Layout = null; } @helper RenderTab(TopTab tab) { if (tab.IsEnabled) { // Optimism! using (MiniProfiler.Current.Step("Render Tab: " + tab.Name)) { var status = tab.GetMonitorStatus?.Invoke() ?? Monitor...
@using StackExchange.Opserver.Models @using StackExchange.Profiling @{ Layout = null; } @helper RenderTab(TopTab tab) { if (tab.IsEnabled) { // Optimism! using (MiniProfiler.Current.Step("Render Tab: " + tab.Name)) { var status = tab.GetMonitorStatus?.Invoke() ?? Monitor...
Make tab colors work and stuff
Make tab colors work and stuff
C#
mit
manesiotise/Opserver,opserver/Opserver,VictoriaD/Opserver,GABeech/Opserver,mqbk/Opserver,manesiotise/Opserver,jeddytier4/Opserver,maurobennici/Opserver,rducom/Opserver,geffzhang/Opserver,geffzhang/Opserver,opserver/Opserver,GABeech/Opserver,rducom/Opserver,mqbk/Opserver,jeddytier4/Opserver,maurobennici/Opserver,manesio...
053b0a3d7663ec9237ced70e66e300559c66b994
MuffinFramework/LayerBase.cs
MuffinFramework/LayerBase.cs
using System; using System.Collections.Generic; namespace MuffinFramework { public abstract class LayerBase<TArgs> : ILayerBase<TArgs> { private readonly object _lockObj = new object(); private readonly List<ILayerBase<TArgs>> _parts = new List<ILayerBase<TArgs>>(); private TArgs _arg...
using System; using System.Collections.Generic; namespace MuffinFramework { public abstract class LayerBase<TArgs> : ILayerBase<TArgs> { private readonly object _lockObj = new object(); private readonly List<ILayerBase<TArgs>> _parts = new List<ILayerBase<TArgs>>(); private TArgs _arg...
Fix EnablePart is not threadsafe
Fix EnablePart is not threadsafe
C#
mit
Yonom/MuffinFramework
6b31c0ca559aa3ac6324c23f969c66875144441c
CrossPlatformTintedImage/CrossPlatformTintedImage/CrossPlatformTintedImage.iOS/TintedImageRenderer.cs
CrossPlatformTintedImage/CrossPlatformTintedImage/CrossPlatformTintedImage.iOS/TintedImageRenderer.cs
using CrossPlatformTintedImage; using CrossPlatformTintedImage.iOS; using Xamarin.Forms; using Xamarin.Forms.Platform.iOS; [assembly:ExportRendererAttribute(typeof(TintedImage), typeof(TintedImageRenderer))] namespace CrossPlatformTintedImage.iOS { public class TintedImageRenderer : ImageRenderer { p...
using CrossPlatformTintedImage; using CrossPlatformTintedImage.iOS; using Xamarin.Forms; using Xamarin.Forms.Platform.iOS; [assembly:ExportRendererAttribute(typeof(TintedImage), typeof(TintedImageRenderer))] namespace CrossPlatformTintedImage.iOS { public class TintedImageRenderer : ImageRenderer { p...
Disable tinting option on iOS
Disable tinting option on iOS
C#
mit
shrutinambiar/xamarin-forms-tinted-image
0c241dcc7fdf09ae3dd57fa2c0065e49c6cc5a06
qtwebkit/src/QtWebKit.cs
qtwebkit/src/QtWebKit.cs
namespace QtWebKit { using Qyoto; using System; using System.Runtime.InteropServices; public class InitQtWebKit { [DllImport("libqtwebkit-sharp", CharSet=CharSet.Ansi)] static extern void Init_qtwebkit(); public static void InitSmoke() { Init_qtwebkit(); } } }
namespace QtWebKit { using Qyoto; using System; using System.Runtime.InteropServices; public class InitQtWebKit { [DllImport("qtwebkit-sharp", CharSet=CharSet.Ansi)] static extern void Init_qtwebkit(); public static void InitSmoke() { Init_qtwebkit(); } } }
Remove the 'lib' prefix for the native lib.
Remove the 'lib' prefix for the native lib. svn path=/trunk/KDE/kdebindings/csharp/; revision=1047227
C#
lgpl-2.1
KDE/qyoto,KDE/qyoto
48af4d4eb4fc3ef8abf757ab512211defddee949
osu.Game.Rulesets.Taiko/Skinning/LegacyHitExplosion.cs
osu.Game.Rulesets.Taiko/Skinning/LegacyHitExplosion.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.Framework.Graphics.Containers; namespace osu.Game.Rulesets.Taiko.Skinning { public class LegacyHitExplosion : CompositeDrawab...
// 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.Framework.Graphics.Containers; namespace osu.Game.Rulesets.Taiko.Skinning { public class LegacyHitExplosion : CompositeDrawab...
Fix skinned taiko hit explosions not being removed on rewind
Fix skinned taiko hit explosions not being removed on rewind
C#
mit
peppy/osu,ppy/osu,smoogipoo/osu,UselessToucan/osu,NeoAdonis/osu,peppy/osu,NeoAdonis/osu,smoogipoo/osu,peppy/osu-new,smoogipoo/osu,ppy/osu,smoogipooo/osu,UselessToucan/osu,NeoAdonis/osu,ppy/osu,peppy/osu,UselessToucan/osu
c7bc5266d043627f24d102754affbbc8d38db395
EarTrumpet/UI/Behaviors/TextBoxEx.cs
EarTrumpet/UI/Behaviors/TextBoxEx.cs
using EarTrumpet.Extensions; using System; using System.Windows; using System.Windows.Controls; namespace EarTrumpet.UI.Behaviors { public class TextBoxEx { // ClearText: Clear TextBox or the parent ComboBox. public static bool GetClearText(DependencyObject obj) => (bool)obj.GetValue(ClearText...
using EarTrumpet.Extensions; using System; using System.Windows; using System.Windows.Controls; namespace EarTrumpet.UI.Behaviors { public class TextBoxEx { // ClearText: Clear TextBox or the parent ComboBox. public static bool GetClearText(DependencyObject obj) => (bool)obj.GetValue(ClearText...
Fix (from SearchBox): Hotkeys are cleared constantly
Fix (from SearchBox): Hotkeys are cleared constantly
C#
mit
File-New-Project/EarTrumpet
69f064937952a64a4dfdae586fd3603994d009f7
src/MicroNetCore.Rest.Models/ViewModels/Extensions/ConfigurationExtensions.cs
src/MicroNetCore.Rest.Models/ViewModels/Extensions/ConfigurationExtensions.cs
using Microsoft.Extensions.DependencyInjection; namespace MicroNetCore.Rest.Models.ViewModels.Extensions { public static class ConfigurationExtensions { public static IServiceCollection AddViewModels(this IServiceCollection services) { services.AddSingleton<IViewModelTypeProvider, ...
using Microsoft.Extensions.DependencyInjection; namespace MicroNetCore.Rest.Models.ViewModels.Extensions { public static class ConfigurationExtensions { public static IServiceCollection AddViewModels(this IServiceCollection services) { services.AddSingleton<IViewModelTypeProvider, ...
Change IViewModelGenerator implementation registration type from Transient to Singleton.
Change IViewModelGenerator implementation registration type from Transient to Singleton.
C#
mit
davidorbelian/MicroNetCore.Rest
0a26c2d80049962862e37e292972c9dc3ec57988
osu.Framework/Logging/LoadingComponentsLogger.cs
osu.Framework/Logging/LoadingComponentsLogger.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.Development; using osu.Framework.Extensions.TypeExtensions; using osu.Framework.Graphics; using osu.Framework.Lists; namespace osu.Framework.Logging ...
// 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.Linq; using osu.Framework.Development; using osu.Framework.Extensions.TypeExtensions; using osu.Framework.Graphics; using osu.Framework.Lists; namespace osu...
Add count to loading components logging
Add count to loading components logging When there's no components loading, it looked a bit weird. This gives context and avoids the potential case where log output is truncated and there may have actually been components.
C#
mit
peppy/osu-framework,ppy/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,ppy/osu-framework,ppy/osu-framework,smoogipooo/osu-framework
dd6fb8cee65647994e870a96d8af4c4926140ee6
Hosting/BootStrapper.cs
Hosting/BootStrapper.cs
using System.Web.Routing; using SignalR; [assembly: WebActivator.PostApplicationStartMethod(typeof(ConsolR.Hosting.Bootstrapper), "PreApplicationStart")] namespace ConsolR.Hosting { public static class Bootstrapper { public static void PreApplicationStart() { var routes = RouteTable.Routes; routes.MapHt...
using System.Web.Routing; using SignalR; [assembly: WebActivator.PreApplicationStartMethod(typeof(ConsolR.Hosting.Bootstrapper), "PreApplicationStart")] namespace ConsolR.Hosting { public static class Bootstrapper { public static void PreApplicationStart() { var routes = RouteTable.Routes; routes.MapHtt...
Make sure bootstrapper runs pre application start
Make sure bootstrapper runs pre application start
C#
mit
appharbor/ConsolR,appharbor/ConsolR
b56f3508179ae5657930c8af42d0acf83e6ab2f9
SurveyMonkey/RequestSettings/CreateCollectorSettings.cs
SurveyMonkey/RequestSettings/CreateCollectorSettings.cs
namespace SurveyMonkey.RequestSettings { public class CreateCollectorSettings { public enum TypeOption { Weblink, Email } public TypeOption Type { get; set; } public string Name { get; set; } } }
using System; using SurveyMonkey.Containers; namespace SurveyMonkey.RequestSettings { public class CreateCollectorSettings { public Collector.CollectorType Type { get; set; } public string Name { get; set; } public string ThankYouMessage { get; set; } public string Disqualifica...
Implement all properties for collector settings
Implement all properties for collector settings
C#
mit
bcemmett/SurveyMonkeyApi-v3,davek17/SurveyMonkeyApi-v3
f79edd6174a4b4ec58f0b292cb7b4f75c14b1c81
Homeworks/C#1/IntroductionТоProgramming/15.AgeAfter10Years/AgeAfter10Years.cs
Homeworks/C#1/IntroductionТоProgramming/15.AgeAfter10Years/AgeAfter10Years.cs
using System; //Problem 15.* Age after 10 Years //Write a program to read your birthday from the console and print how old you are now and how old you will be after 10 years. class AgeAfter10Years { public static int yearsNow; static void Main(string[] args) { Console.Write("Enter birtday year:"...
using System; //Problem 15.* Age after 10 Years //Write a program to read your birthday from the console and print how old you are now and how old you will be after 10 years. class AgeAfter10Years { public static int yearsNow; static void Main(string[] args) { Console.Write("Enter birtday year:"...
Make some changes by the solution
Make some changes by the solution
C#
mit
KaloyanIT/SoftwareAcademy2016,KaloyanIT/SoftwareAcademy2016,KaloyanIT/SoftwareAcademy2016
b5019ecab7db65152b4a678d3e1bcc80cd65be68
TTMouseclickSimulator/Core/ToontownRewritten/Environment/TTRWindowsEnvironment.cs
TTMouseclickSimulator/Core/ToontownRewritten/Environment/TTRWindowsEnvironment.cs
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Text; using System.Threading.Tasks; using TTMouseclickSimulator.Core.Environment; namespace TTMouseclickSimulator.Core.ToontownRewritten.Environment { /// <summary> /// Environment interface for Toontow...
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Text; using System.Threading.Tasks; using TTMouseclickSimulator.Core.Environment; namespace TTMouseclickSimulator.Core.ToontownRewritten.Environment { /// <summary> /// Environment interface for Toontow...
Fix the singleton instance field.
Fix the singleton instance field.
C#
mit
TTExtensions/MouseClickSimulator
9a11014c8f0045a2edcf9c3e17e8553f7e0ae083
Xamarin.Forms.GoogleMaps/Xamarin.Forms.GoogleMaps/Internals/ProductInformation.cs
Xamarin.Forms.GoogleMaps/Xamarin.Forms.GoogleMaps/Internals/ProductInformation.cs
using System; namespace Xamarin.Forms.GoogleMaps.Internals { internal class ProductInformation { public const string Author = "amay077"; public const string Name = "Xamarin.Forms.GoogleMaps"; public const string Copyright = "Copyright © amay077. 2016 - 2017"; public const string...
using System; namespace Xamarin.Forms.GoogleMaps.Internals { internal class ProductInformation { public const string Author = "amay077"; public const string Name = "Xamarin.Forms.GoogleMaps"; public const string Copyright = "Copyright © amay077. 2016 - 2017"; public const string...
Update file version to 2.2.1.6
Update file version to 2.2.1.6
C#
mit
JKennedy24/Xamarin.Forms.GoogleMaps,amay077/Xamarin.Forms.GoogleMaps,JKennedy24/Xamarin.Forms.GoogleMaps
e58bac7486c8d6db830737dd52e80e902735027e
core/IncrementalCompiler/Settings.cs
core/IncrementalCompiler/Settings.cs
using System.IO; using System.Reflection; using System.Xml.Serialization; namespace IncrementalCompiler { public class Settings { public DebugSymbolFileType DebugSymbolFile; public PrebuiltOutputReuseType PrebuiltOutputReuse; public static Settings Default = new Settings { ...
using System; using System.IO; using System.Reflection; using System.Xml.Linq; namespace IncrementalCompiler { public class Settings { public DebugSymbolFileType DebugSymbolFile; public PrebuiltOutputReuseType PrebuiltOutputReuse; public static Settings Default = new Settings ...
Use manual xml parsing for fast start-up
Use manual xml parsing for fast start-up
C#
mit
SaladLab/Unity3D.IncrementalCompiler,SaladbowlCreative/Unity3D.IncrementalCompiler
26cd5a8a236277ad860ee48e8778c7b644723fcf
src/Glimpse.Agent.Web/AgentProfiler.cs
src/Glimpse.Agent.Web/AgentProfiler.cs
using Glimpse.Web; using Microsoft.Framework.Logging; using System; using System.Threading.Tasks; namespace Glimpse.Agent.Web { public class AgentProfiler : IRequestProfiler { private readonly string _requestIdKey = "RequestId"; private readonly IAgentBroker _messageBus; public AgentP...
using Glimpse.Web; using Microsoft.Framework.Logging; using System; using System.Threading.Tasks; namespace Glimpse.Agent.Web { public class AgentProfiler : IRequestProfiler { private readonly string _requestIdKey = "RequestId"; private readonly IAgentBroker _messageBus; public AgentP...
Remove comment no longer needed.
Remove comment no longer needed.
C#
mit
Glimpse/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,zanetdev/Glimpse.Prototype,pranavkm/Glimpse.Prototype,pranavkm/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,zanetdev/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,zanetdev/Glimpse.Prototype,peterblazejewicz/Glimpse.Protot...
856cfc0c24298093a765e556bb00c3717cdb3683
src/Nancy.Demo.Hosting.Self/Program.cs
src/Nancy.Demo.Hosting.Self/Program.cs
namespace Nancy.Demo.Hosting.Self { using System; using System.Diagnostics; using Nancy.Hosting.Self; class Program { static void Main() { using (var nancyHost = new NancyHost(new Uri("http://localhost:8888/nancy/"), new Uri("http://127.0.0.1:8888/nancy/"), ...
namespace Nancy.Demo.Hosting.Self { using System; using System.Diagnostics; using Nancy.Hosting.Self; class Program { static void Main() { using (var nancyHost = new NancyHost(new Uri("http://localhost:8888/nancy/"), new Uri("http://127.0.0.1:8898/nancy/"), ...
Change port number 8888 to 8898
Change port number 8888 to 8898 In linux platform, self hosting demo throws an error: "System.Net.Sockets.SocketException: Address already in use"
C#
mit
AlexPuiu/Nancy,VQComms/Nancy,sloncho/Nancy,EIrwin/Nancy,jonathanfoster/Nancy,charleypeng/Nancy,phillip-haydon/Nancy,NancyFx/Nancy,fly19890211/Nancy,tareq-s/Nancy,MetSystem/Nancy,malikdiarra/Nancy,davidallyoung/Nancy,albertjan/Nancy,daniellor/Nancy,jonathanfoster/Nancy,horsdal/Nancy,jongleur1983/Nancy,rudygt/Nancy,fly19...
b9e0b9ecebaa04c7be262517546941fa2f99482e
src/PerfIt/InstrumentationEventSource.cs
src/PerfIt/InstrumentationEventSource.cs
using System; using System.Collections.Generic; using System.Diagnostics.Tracing; using System.Linq; using System.Text; using System.Threading.Tasks; namespace PerfIt { [EventSource(Name = "PerIt!Instrumentation", Guid = "{010380F8-40A7-45C3-B87B-FD4C6CC8700A}")] public class InstrumentationEventSource : Even...
using System; using System.Collections.Generic; using System.Diagnostics.Tracing; using System.Linq; using System.Text; using System.Threading.Tasks; namespace PerfIt { [EventSource(Name = "PerfIt-Instrumentation")] public class InstrumentationEventSource : EventSource { public static readonly Ins...
Remove Guid, fix typo and change to allowed seperator character
Remove Guid, fix typo and change to allowed seperator character Remove EventSource guid and unsupported characters from Name
C#
mit
aliostad/PerfIt,aliostad/PerfIt
63fd62235d1af364baeaa1b2679157a626c898ce
src/Tipage.Web/Views/Shifts/Index.cshtml
src/Tipage.Web/Views/Shifts/Index.cshtml
@model Tipage.Web.Models.ViewModels.ShiftListViewModel @{ ViewData["Title"] = "Shifts"; } <h2>Shifts</h2> <h3 class="total-tip">@Html.DisplayNameFor(model => model.TotalTips) @Html.DisplayFor(model => model.TotalTips)</h3> <h3 class="total-tip">@Html.DisplayNameFor(model => model.AverageHourlyWage) @Html.DisplayF...
@model Tipage.Web.Models.ViewModels.ShiftListViewModel @{ ViewData["Title"] = "Shifts"; } <h2>Shifts</h2> <h3 class="total-tip">@Html.DisplayNameFor(model => model.TotalTips) @Html.DisplayFor(model => model.TotalTips)</h3> <h3 class="total-tip">@Html.DisplayNameFor(model => model.AverageHourlyWage) @Html.DisplayF...
Rename "Total Tips" to "Tips"
Rename "Total Tips" to "Tips"
C#
mit
BillChirico/Tipage,BillChirico/Tipage
0cba81cec23c793d3fe4ff84b7def01d51054aa8
Shippo/Batch.cs
Shippo/Batch.cs
using System; using Newtonsoft.Json; namespace Shippo { [JsonObject (MemberSerialization.OptIn)] public class Batch : ShippoId { [JsonProperty (PropertyName = "object_status")] public string ObjectStatus { get; set; } [JsonProperty (PropertyName = "object_created")] public stri...
using System; using System.Collections.Generic; using Newtonsoft.Json; namespace Shippo { [JsonObject (MemberSerialization.OptIn)] public class Batch : ShippoId { [JsonProperty (PropertyName = "object_status")] public string ObjectStatus { get; set; } [JsonProperty (PropertyName = "obj...
Change LabelUrl property from string to List<String>
Change LabelUrl property from string to List<String>
C#
apache-2.0
goshippo/shippo-csharp-client
196b81e43f88295ffffcc16ac8de9a47b81fcabb
src/Eff.Core/LogTypes.cs
src/Eff.Core/LogTypes.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Eff.Core { public struct ExceptionLog { public string CallerMemberName; public string CallerFilePath; public int CallerLineNumber; public Exception Exce...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Eff.Core { public class ExceptionLog { public string CallerMemberName { get; set; } public string CallerFilePath { get; set; } public int CallerLineNumber { get...
Refactor Log objects to class DTOs.
Refactor Log objects to class DTOs.
C#
mit
nessos/Eff
97fcf92f7ae968969f079a5a6dae975486d07c34
osu.Framework/Graphics/Containers/AsyncLoadContainer.cs
osu.Framework/Graphics/Containers/AsyncLoadContainer.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 System; using System.Threading.Tasks; using osu.Framework.Allocation; namespace osu.Framework.Graphics.Containers { /// <summary> /// ...
// 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; using System.Threading.Tasks; using osu.Framework.Allocation; namespace osu.Framework.Graphics.Containers { /// <summary> /// ...
Remove FadeInFromZero from base class.
Remove FadeInFromZero from base class.
C#
mit
ppy/osu-framework,naoey/osu-framework,paparony03/osu-framework,default0/osu-framework,ppy/osu-framework,peppy/osu-framework,paparony03/osu-framework,Tom94/osu-framework,EVAST9919/osu-framework,naoey/osu-framework,DrabWeb/osu-framework,smoogipooo/osu-framework,EVAST9919/osu-framework,RedNesto/osu-framework,default0/osu-...
9f85b36577d97b810074f5acc82cbf1a7fff62ae
TriDevs.TriCraftClassic/Program.cs
TriDevs.TriCraftClassic/Program.cs
using System; using System.Drawing; namespace TriDevs.TriCraftClassic { class Program { [STAThread] public static void Main(string[] args) { Window window = new Window(1280, 720); window.Run(60.0); } } }
using System; using System.Drawing; namespace TriDevs.TriCraftClassic { class Program { public static void Main(string[] args) { Window window = new Window(1280, 720); window.Run(60.0); } } }
Remove STAThread from main function
Remove STAThread from main function
C#
mit
TriDevs/TriCraftClassic
8366eb5d15986a14662402fcc7ca41ae9f1a2ef4
KenticoInspector.Core/AbstractReport.cs
KenticoInspector.Core/AbstractReport.cs
using KenticoInspector.Core.Models; using KenticoInspector.Core.Services.Interfaces; using System; using System.Collections.Generic; namespace KenticoInspector.Core { public abstract class AbstractReport<T> : IReport, IWithMetadata<T> where T : new() { protected readonly IReportMetadataService reportM...
using KenticoInspector.Core.Models; using KenticoInspector.Core.Services.Interfaces; using System; using System.Collections.Generic; namespace KenticoInspector.Core { public abstract class AbstractReport<T> : IReport, IWithMetadata<T> where T : new() { private ReportMetadata<T> metadata; prote...
Use field for metadata to prevent reloading every time a term is read
Use field for metadata to prevent reloading every time a term is read
C#
mit
ChristopherJennings/KInspector,Kentico/KInspector,ChristopherJennings/KInspector,Kentico/KInspector,Kentico/KInspector,Kentico/KInspector,ChristopherJennings/KInspector,ChristopherJennings/KInspector
17294b1b09719724a8694b38aa374b15ebbc6501
osu.Game/Rulesets/Mods/ModWindDown.cs
osu.Game/Rulesets/Mods/ModWindDown.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 System.Linq; using osu.Framework.Bindables; using osu.Framework.Graphics.Sprites; using osu.Game.Configuration; namespace osu.Game.Rulesets.Mods { ...
// 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.Linq; using osu.Framework.Bindables; using osu.Framework.Graphics.Sprites; using osu.Game.Configuration; namespace osu.Game.Rulesets.Mods { ...
Make wind down max value 200%
Make wind down max value 200%
C#
mit
UselessToucan/osu,EVAST9919/osu,peppy/osu,smoogipooo/osu,ppy/osu,NeoAdonis/osu,2yangk23/osu,UselessToucan/osu,EVAST9919/osu,NeoAdonis/osu,NeoAdonis/osu,smoogipoo/osu,smoogipoo/osu,smoogipoo/osu,peppy/osu,johnneijzen/osu,UselessToucan/osu,peppy/osu-new,ppy/osu,2yangk23/osu,ppy/osu,peppy/osu,johnneijzen/osu
fc085f43e2ff66fb101457d642fa1c04eafd2baa
src/Bakery.Time/IntegerExtensions.cs
src/Bakery.Time/IntegerExtensions.cs
using System; public static class IntegerExtensions { public static TimeSpan Days(this Int32 integer) { return TimeSpan.FromDays(integer); } public static TimeSpan Hours(this Int32 integer) { return TimeSpan.FromHours(integer); } public static TimeSpan Milliseconds(this Int32 integer) { ...
using System; public static class IntegerExtensions { private static readonly DateTime UNIX_EPOCH = new DateTime(1970, 1, 1, 0, 0, 0, DateTimeKind.Utc); public static TimeSpan Days(this Int32 integer) { return TimeSpan.FromDays(integer); } public static TimeSpan Hours(this Int32 integer) { re...
Allow converting integers (UNIX timestamps) to DateTime instances.
Allow converting integers (UNIX timestamps) to DateTime instances.
C#
mit
brendanjbaker/Bakery
383b937a7e44b2eac1f20ba7b1b1a6cfce0bfae2
osu.Game/Scoring/ScoreRank.cs
osu.Game/Scoring/ScoreRank.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.ComponentModel; namespace osu.Game.Scoring { public enum ScoreRank { [Description(@"F")] F, [Description(@"F")] D,...
// 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.ComponentModel; namespace osu.Game.Scoring { public enum ScoreRank { [Description(@"D")] F, [Description(@"D")] D,...
Rename F grade to D
Rename F grade to D
C#
mit
smoogipoo/osu,EVAST9919/osu,smoogipoo/osu,2yangk23/osu,ppy/osu,ZLima12/osu,UselessToucan/osu,peppy/osu-new,peppy/osu,smoogipoo/osu,NeoAdonis/osu,ppy/osu,2yangk23/osu,johnneijzen/osu,peppy/osu,UselessToucan/osu,ZLima12/osu,smoogipooo/osu,UselessToucan/osu,johnneijzen/osu,EVAST9919/osu,NeoAdonis/osu,ppy/osu,peppy/osu,Neo...
d50212d62bc7dc269601dc8e4251f6874a03c60a
src/GlobalAssemblyVersion.cs
src/GlobalAssemblyVersion.cs
using System.Reflection; [assembly: AssemblyVersion("1.0.0.0")] [assembly: AssemblyInformationalVersion("1.0.0")]
using System.Reflection; [assembly: AssemblyVersion("0.0.0.*")] [assembly: AssemblyInformationalVersion("0.0.0.*")]
Correct version, managed by build script
Correct version, managed by build script
C#
mit
danielwertheim/mynatsclient,danielwertheim/mynatsclient
f6675189a516aeb8d00496c78244b2b49ac7f2fa
src/NHibernate/Sql/Delete.cs
src/NHibernate/Sql/Delete.cs
using System; using System.Text; using NHibernate.Util; namespace NHibernate.Sql { /// <summary> /// An SQL <c>DELETE</c> statement /// </summary> public class Delete { private string tableName; private string[] primaryKeyColumnNames; private string versionColumnName; private string where; public Delet...
using System; using System.Text; using NHibernate.Util; namespace NHibernate.Sql { /// <summary> /// An SQL <c>DELETE</c> statement /// </summary> public class Delete { private string tableName; private string[] primaryKeyColumnNames; private string versionColumnName; private string where; public Delet...
Fix bug in "where" if-statement
Fix bug in "where" if-statement SVN: 488784591515bd4cdaa016be4ec9b172dc4e7caf@159
C#
lgpl-2.1
lnu/nhibernate-core,alobakov/nhibernate-core,ManufacturingIntelligence/nhibernate-core,gliljas/nhibernate-core,ngbrown/nhibernate-core,nkreipke/nhibernate-core,RogerKratz/nhibernate-core,gliljas/nhibernate-core,gliljas/nhibernate-core,gliljas/nhibernate-core,nhibernate/nhibernate-core,hazzik/nhibernate-core,livioc/nhib...
c3e3d1b7f3cf8654dd1fc47762a011b319bbc2fc
ForumScorer/index.cshtml
ForumScorer/index.cshtml
@using Newtonsoft.Json; @{ string dataFile = Server.MapPath("~/App_Data/data.json"); string json = File.ReadAllText(dataFile); var data = (IEnumerable<dynamic>)JsonConvert.DeserializeObject(json); } <!DOCTYPE html> <html> <head> <meta name="viewport" content="width=device-width" /> <title>Forum ...
@using Newtonsoft.Json; @{ string dataFile = Server.MapPath("~/App_Data/data.json"); string json = File.ReadAllText(dataFile); var data = (IEnumerable<dynamic>)JsonConvert.DeserializeObject(json); } <!DOCTYPE html> <html> <head> <meta name="viewport" content="width=device-width" /> <title>Forum ...
Add links and more info
Add links and more info
C#
apache-2.0
davidebbo/ForumScorer
d632aa678e2b4b2743b8925068ec9593d8f7ff83
build/templates/UmbracoProject/Views/_ViewImports.cshtml
build/templates/UmbracoProject/Views/_ViewImports.cshtml
@using Umbraco.Web.UI.NetCore @using Umbraco.Extensions @using Umbraco.Web.PublishedModels @using Umbraco.Cms.Core.Models.PublishedContent @using Microsoft.AspNetCore.Html @addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
@using Umbraco.Web.UI.NetCore @using Umbraco.Extensions @using Umbraco.Web.PublishedModels @using Umbraco.Cms.Core.Models.PublishedContent @using Microsoft.AspNetCore.Html @addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers @addTagHelper *, Smidge @inject Smidge.SmidgeHelper SmidgeHelper
Add the same to the _viewimports file for the dotnet new template
Add the same to the _viewimports file for the dotnet new template
C#
mit
dawoe/Umbraco-CMS,KevinJump/Umbraco-CMS,marcemarc/Umbraco-CMS,abryukhov/Umbraco-CMS,marcemarc/Umbraco-CMS,JimBobSquarePants/Umbraco-CMS,arknu/Umbraco-CMS,dawoe/Umbraco-CMS,dawoe/Umbraco-CMS,umbraco/Umbraco-CMS,marcemarc/Umbraco-CMS,abryukhov/Umbraco-CMS,abjerner/Umbraco-CMS,dawoe/Umbraco-CMS,robertjf/Umbraco-CMS,robert...
b9cf92af55e8c9058e20cd840418af8e945689a8
src/Dolstagis.Web/Lifecycle/LoginHandler.cs
src/Dolstagis.Web/Lifecycle/LoginHandler.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Dolstagis.Web.Lifecycle { public class LoginHandler : ILoginHandler { public object GetLogin(IHttpContext context) { return new RedirectResult("...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Dolstagis.Web.Lifecycle { public class LoginHandler : ILoginHandler { public string LoginUrl { get; set; } public LoginHandler() { Lo...
Make the login URL configurable.
Make the login URL configurable. --HG-- extra : amend_source : da22b9dee6b940c9b977e5732cbf5313991273b4
C#
mit
jammycakes/dolstagis.web,jammycakes/dolstagis.web,jammycakes/dolstagis.web
7d05ca8d07d9e7dd768b5c9f20054f1e9eb6f2d4
hase/hase.DevLib/Service/ServiceDispatcher.cs
hase/hase.DevLib/Service/ServiceDispatcher.cs
using hase.DevLib.Contract.FileSystemQuery; using hase.DevLib.Service.FileSystemQuery; using ProtoBuf; using System; using System.IO.Pipes; namespace hase.DevLib.Service { public class ServiceDispatcher { private static readonly string pipeName = nameof(FileSystemQueryService); private NamedPi...
using hase.DevLib.Contract.FileSystemQuery; using hase.DevLib.Service.FileSystemQuery; using ProtoBuf; using System; using System.IO.Pipes; namespace hase.DevLib.Service { public class ServiceDispatcher { private static readonly string pipeName = nameof(FileSystemQueryService); private NamedPi...
Add output abbreviation text for named pipe relay client to service dispatcher to match the service proxy.
Add output abbreviation text for named pipe relay client to service dispatcher to match the service proxy.
C#
mit
greghoover/gluon,greghoover/gluon,greghoover/gluon
b3e60d6592ec2b30a3b9eaa6795b33cd90e88d95
Verbot/VersionLocation.cs
Verbot/VersionLocation.cs
using MacroGuards; using MacroSemver; using MacroSln; namespace Verbot { /// <summary> /// A location where the current version can be recorded /// </summary> /// public class VersionLocation { public VersionLocation(VisualStudioProject project) { Guard.NotNull(pr...
using MacroGuards; using MacroSemver; using MacroSln; namespace Verbot { /// <summary> /// A location where the current version can be recorded /// </summary> /// public class VersionLocation { public VersionLocation(VisualStudioProject project) { Guard.NotNull(pro...
Fix line endings in a file
Fix line endings in a file
C#
mit
macro187/verbot
3066ca0a8d29cc1d861128865646ed2511272d6e
AzureFunctions.ResxConverter/ResxConvertor.cs
AzureFunctions.ResxConverter/ResxConvertor.cs
using Newtonsoft.Json.Linq; using System; using System.Collections; using System.Resources; using System.Text; namespace AzureFunctions.ResxConvertor { public class ResxConvertor { public void SaveResxAsTypeScriptFile(string[] resxFiles, string outputTSFilePAth) { var sb = new Stri...
using Newtonsoft.Json.Linq; using System; using System.Collections; using System.IO; using System.Resources; using System.Text; namespace AzureFunctions.ResxConvertor { public class ResxConvertor { public void SaveResxAsTypeScriptFile(string[] resxFiles, string outputTSFilePAth) { ...
Check if resx file exists
Check if resx file exists
C#
apache-2.0
projectkudu/AzureFunctions,agruning/azure-functions-ux,chunye/azure-functions-ux,projectkudu/WebJobsPortal,chunye/azure-functions-ux,chunye/azure-functions-ux,agruning/azure-functions-ux,chunye/azure-functions-ux,projectkudu/AzureFunctions,agruning/azure-functions-ux,projectkudu/WebJobsPortal,agruning/azure-functions-u...
120b82ae00a41ec18435dbde7dac443867ad18d5
BTCPayServer/Views/Stores/TestWebhook.cshtml
BTCPayServer/Views/Stores/TestWebhook.cshtml
@model EditWebhookViewModel @using BTCPayServer.Client.Models; @{ Layout = "../Shared/_NavLayout.cshtml"; ViewData.SetActivePageAndTitle(StoreNavPages.Webhooks, "Test Webhook", Context.GetStoreData().StoreName); } <div class="row"> <div class="col-lg-8"> <form method="post"> <h4 class=...
@model EditWebhookViewModel @using BTCPayServer.Client.Models; @{ Layout = "../Shared/_NavLayout.cshtml"; ViewData.SetActivePageAndTitle(StoreNavPages.Webhooks, "Send a test event to a webhook endpoint", Context.GetStoreData().StoreName); } <div class="row"> <div class="col-lg-8"> <form method="po...
Update webhook test page design
Update webhook test page design
C#
mit
btcpayserver/btcpayserver,btcpayserver/btcpayserver,btcpayserver/btcpayserver,btcpayserver/btcpayserver
952770405bcafcc0318d715a25de02c071d76d23
Buzzbox/Buzzbox-Stream/StreamEncode.cs
Buzzbox/Buzzbox-Stream/StreamEncode.cs
using System.Collections.Generic; using System.IO; using System.Linq; using Buzzbox_Common; using Buzzbox_Common.Encoders; namespace Buzzbox_Stream { class StreamEncode { public bool LoopForever; public bool ShuffleFields; private MtgEncodeFormatEncoder _encoder; priva...
using System; using System.CodeDom; using System.Collections.Generic; using System.IO; using System.Linq; using Buzzbox_Common; using Buzzbox_Common.Encoders; namespace Buzzbox_Stream { class StreamEncode { public bool LoopForever; public bool ShuffleFields; private MtgEncodeFormatEnc...
Handle closed /proc/self/fd/ in stream encode.
Handle closed /proc/self/fd/ in stream encode.
C#
mit
Xesyto/Buzzbox
d2f89df1e327727e4a3829a5599e09a901982138
Commencement.Core/Domain/Attachment.cs
Commencement.Core/Domain/Attachment.cs
using System; using System.ComponentModel.DataAnnotations; using FluentNHibernate.Mapping; using UCDArch.Core.DomainModel; namespace Commencement.Core.Domain { public class Attachment : DomainObject { public Attachment() { PublicGuid = Guid.NewGuid(); } ...
using System; using System.ComponentModel.DataAnnotations; using FluentNHibernate.Mapping; using UCDArch.Core.DomainModel; namespace Commencement.Core.Domain { public class Attachment : DomainObject { public Attachment() { PublicGuid = Guid.NewGuid(); } ...
Update how byte[] is mapped.
Update how byte[] is mapped.
C#
mit
ucdavis/Commencement,ucdavis/Commencement,ucdavis/Commencement
9c074e0ffbf10fe23af9ddd867c7b6eadd5c25e7
osu.Game/Screens/Edit/Components/TimeInfoContainer.cs
osu.Game/Screens/Edit/Components/TimeInfoContainer.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.Graphics.Sprites; using System; using osu.Framework.Allocation; using osu.Game.Graphics; namespace osu.Game.Screens.Edit.Co...
// 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.Graphics.Sprites; using System; using osu.Framework.Allocation; using osu.Game.Graphics; namespace osu.Game.Screens.Edit.Co...
Fix editor not showing sign when time goes negative
Fix editor not showing sign when time goes negative
C#
mit
NeoAdonis/osu,smoogipoo/osu,smoogipoo/osu,UselessToucan/osu,peppy/osu,peppy/osu,UselessToucan/osu,peppy/osu,smoogipooo/osu,ppy/osu,smoogipoo/osu,ppy/osu,UselessToucan/osu,NeoAdonis/osu,ppy/osu,NeoAdonis/osu,peppy/osu-new
2a87b851fae5d3fb783c936782155968006f1900
osu.Game/Database/DatabaseWriteUsage.cs
osu.Game/Database/DatabaseWriteUsage.cs
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using System; using Microsoft.EntityFrameworkCore.Storage; namespace osu.Game.Database { public class DatabaseWriteUsage : IDisposable { public readonl...
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using System; using Microsoft.EntityFrameworkCore.Storage; namespace osu.Game.Database { public class DatabaseWriteUsage : IDisposable { public readonl...
Add proper transaction rollback logic on exception
Add proper transaction rollback logic on exception
C#
mit
NeoAdonis/osu,DrabWeb/osu,smoogipooo/osu,ZLima12/osu,DrabWeb/osu,UselessToucan/osu,smoogipoo/osu,peppy/osu-new,naoey/osu,peppy/osu,ZLima12/osu,NeoAdonis/osu,smoogipoo/osu,NeoAdonis/osu,johnneijzen/osu,peppy/osu,EVAST9919/osu,naoey/osu,ppy/osu,smoogipoo/osu,2yangk23/osu,EVAST9919/osu,ppy/osu,johnneijzen/osu,peppy/osu,Us...
5533b9dec6d8100a54ff11db6798ed7958f6d4aa
Rollbar.Net/RollbarPayload.cs
Rollbar.Net/RollbarPayload.cs
using System; using Newtonsoft.Json; using RestSharp; namespace Rollbar { public class RollbarPayload { public RollbarPayload(string accessToken, RollbarData data) { if (string.IsNullOrWhiteSpace(accessToken)) { throw new ArgumentNullException("accessToken"); } ...
using System; using Newtonsoft.Json; namespace Rollbar { public class RollbarPayload { public RollbarPayload(string accessToken, RollbarData data) { if (string.IsNullOrWhiteSpace(accessToken)) { throw new ArgumentNullException("accessToken"); } if (data ...
Replace Send with ToJson so the library is independent from how you send it
Replace Send with ToJson so the library is independent from how you send it
C#
mit
Valetude/Valetude.Rollbar
afa083f6c03d9e5dfc8f722716edd8158ac65271
MemorySearcher/Comparer/StringMemoryComparer.cs
MemorySearcher/Comparer/StringMemoryComparer.cs
using System; using System.Diagnostics; using System.Text; using ReClassNET.Util; namespace ReClassNET.MemorySearcher.Comparer { public class StringMemoryComparer : IMemoryComparer { public SearchCompareType CompareType => SearchCompareType.Equal; public bool CaseSensitive { get; } public Encoding Encoding { ...
using System; using System.Diagnostics; using System.Text; using ReClassNET.Util; namespace ReClassNET.MemorySearcher.Comparer { public class StringMemoryComparer : IMemoryComparer { public SearchCompareType CompareType => SearchCompareType.Equal; public bool CaseSensitive { get; } public Encoding Encoding { ...
Reduce number of function calls.
Reduce number of function calls.
C#
mit
jesterret/ReClass.NET,jesterret/ReClass.NET,KN4CK3R/ReClass.NET,jesterret/ReClass.NET,KN4CK3R/ReClass.NET,KN4CK3R/ReClass.NET
f150554231e8d1167db8db9cb3420168050c9b6c
src/Assets/GameObjects/Aletheia/Scripts/UsageController.cs
src/Assets/GameObjects/Aletheia/Scripts/UsageController.cs
using UnityEngine; using System.Collections; using System.Collections.Generic; using System; public class UsageController : MonoBehaviour { private Rigidbody2D rb2d; private UsableObjectCS collidingWith = null; private bool startedUsing = false; private bool stoppedUsing = false; // Use this for initializatio...
using UnityEngine; using System.Collections; using System.Collections.Generic; using System; public class UsageController : MonoBehaviour { private Rigidbody2D rb2d; private UsableObjectCS collidingWith = null; private bool isUsing = false; private bool startedUsing = false; private bool stoppedUsing = false; ...
Fix stop using on exit
Fix stop using on exit
C#
mit
duaiwe/ld36
327dabb243112510d403094b89b2ad597fdf02cc
src/Microsoft.AspNet.Http.Extensions/ResponseExtensions.cs
src/Microsoft.AspNet.Http.Extensions/ResponseExtensions.cs
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using Microsoft.AspNet.Http.Features; namespace Microsoft.AspNet.Http.Extensions { public static class ResponseExtensions { ...
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using Microsoft.AspNet.Http.Features; namespace Microsoft.AspNet.Http { public static class ResponseExtensions { public ...
Fix namespace for Clear extension.
Fix namespace for Clear extension.
C#
apache-2.0
aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore
87922770c6c2b8f5ed55ad56a56dea808a0e2ef7
AST/ScriptForEachStatement.cs
AST/ScriptForEachStatement.cs
#region using using Irony.Compiler; using System.Collections; using ScriptNET.Runtime; using System; #endregion namespace ScriptNET.Ast { /// <summary> /// ForEachStatement /// </summary> internal class ScriptForEachStatement : ScriptStatement { private Token name; private ScriptExpr expr; priva...
#region using using Irony.Compiler; using System.Collections; using ScriptNET.Runtime; using System; #endregion namespace ScriptNET.Ast { /// <summary> /// ForEachStatement /// </summary> internal class ScriptForEachStatement : ScriptStatement { private Token name; private ScriptExpr expr; priva...
Remove unnecessary enumerator.Reset() from foreach() handling -- causes problems with IEnumerable created from LINQ
Remove unnecessary enumerator.Reset() from foreach() handling -- causes problems with IEnumerable created from LINQ
C#
mit
kayateia/scriptdotnet,kayateia/scriptdotnet
580773e6bd4b98bd02d2a71c295fb0836658916f
src/DotVVM.Compiler/Program.cs
src/DotVVM.Compiler/Program.cs
using System; using System.IO; using System.Linq; namespace DotVVM.Compiler { public static class Program { private static void PrintHelp(TextWriter? writer = null) { var executableName = Path.GetFileNameWithoutExtension(Environment.GetCommandLineArgs()[0]); writer ??= C...
using System; using System.IO; using System.Linq; namespace DotVVM.Compiler { public static class Program { private static void PrintHelp(TextWriter? writer = null) { var executableName = Path.GetFileNameWithoutExtension(Environment.GetCommandLineArgs()[0]); writer ??= C...
Remove some forgotten debugging code
Remove some forgotten debugging code
C#
apache-2.0
riganti/dotvvm,riganti/dotvvm,riganti/dotvvm,riganti/dotvvm
cc51036128876d4904cd470973cb9523250c083b
src/Dialog/PackageManagerUI/SmartOutputConsoleProvider.cs
src/Dialog/PackageManagerUI/SmartOutputConsoleProvider.cs
using NuGet.OutputWindowConsole; using NuGetConsole; namespace NuGet.Dialog.PackageManagerUI { internal class SmartOutputConsoleProvider : IOutputConsoleProvider { private readonly IOutputConsoleProvider _baseProvider; private bool _isFirstTime = true; public SmartOutputConsoleP...
using NuGet.OutputWindowConsole; using NuGetConsole; namespace NuGet.Dialog.PackageManagerUI { internal class SmartOutputConsoleProvider : IOutputConsoleProvider { private readonly IOutputConsoleProvider _baseProvider; private bool _isFirstTime = true; public SmartOutputConsoleP...
Fix the wrong conditional statement.
Fix the wrong conditional statement. --HG-- branch : 1.1
C#
apache-2.0
mdavid/nuget,mdavid/nuget
0126efff4ca146da283d3f4a1004c4de053951c8
src/ChessVariantsTraining/Views/Home/Index.cshtml
src/ChessVariantsTraining/Views/Home/Index.cshtml
@section Title {Homepage} @section Description{Chess Variants Training is a website where you can improve at chess variants.} Homepage of Chess Variants Training.
@section Title {Homepage} @section Description{Chess Variants Training is a website where you can improve at chess variants.} <h1>Chess Variants Training</h1> <p>Welcome to Chess Variants Training! Here you can improve at chess variants. We support these variants: Antichess, Atomic chess, King of the Hill, Three-check...
Put actual content on home page
Put actual content on home page
C#
agpl-3.0
Chess-Variants-Training/Chess-Variants-Training,Chess-Variants-Training/Chess-Variants-Training,Chess-Variants-Training/Chess-Variants-Training
4b099aeb5fb5a0097e03031512677b0a24547bd4
src/NuGetGallery/Views/Shared/ListPackages.cshtml
src/NuGetGallery/Views/Shared/ListPackages.cshtml
@model PackageListViewModel @{ ViewBag.Title = String.IsNullOrWhiteSpace(Model.SearchTerm) ? "Packages" : "Packages matching " + Model.SearchTerm; ViewBag.Tab = "Packages"; } <div class="search"> @if (!String.IsNullOrEmpty(Model.SearchTerm)) { <h1>Search for <i>@Model.SearchTerm</i> returned @...
@model PackageListViewModel @{ ViewBag.Title = String.IsNullOrWhiteSpace(Model.SearchTerm) ? "Packages" : "Packages matching " + Model.SearchTerm; ViewBag.SortText = String.IsNullOrWhiteSpace(Model.SearchTerm) ? "recent installs" : "relevance"; ViewBag.Tab = "Packages"; } <div class="search"> @if (!St...
Change the sort text based on if there's a term or not
Change the sort text based on if there's a term or not
C#
apache-2.0
grenade/NuGetGallery_download-count-patch,skbkontur/NuGetGallery,ScottShingler/NuGetGallery,projectkudu/SiteExtensionGallery,ScottShingler/NuGetGallery,ScottShingler/NuGetGallery,projectkudu/SiteExtensionGallery,mtian/SiteExtensionGallery,grenade/NuGetGallery_download-count-patch,mtian/SiteExtensionGallery,grenade/NuGe...
130a3bb1ca7dfe42328bf97d4b3857a466abc4dd
Source/DTMF.Website/Logic/TeamCity.cs
Source/DTMF.Website/Logic/TeamCity.cs
using System.Linq; using System.Text; using TeamCitySharp; using TeamCitySharp.Locators; namespace DTMF.Logic { public class TeamCity { public static bool IsRunning(StringBuilder sb, string appName) { //skip if not configured if (System.Configuration.ConfigurationManage...
using System.Linq; using System.Text; using TeamCitySharp; using TeamCitySharp.Locators; namespace DTMF.Logic { public class TeamCity { public static bool IsRunning(StringBuilder sb, string appName) { //remove prefix and suffixes from app names so same app can go to multiple places...
Replace app name for special cases in team city check
Replace app name for special cases in team city check
C#
mit
ericdc1/DTMF,ericdc1/DTMF,ericdc1/DTMF
61d69315b07dee95006bc8e1b722360865973342
Flame.LLVM/Codegen/ReturnBlock.cs
Flame.LLVM/Codegen/ReturnBlock.cs
using System; using Flame.Compiler; using LLVMSharp; using static LLVMSharp.LLVM; namespace Flame.LLVM.Codegen { /// <summary> /// A code block implementation that returns a value from a method. /// </summary> public sealed class ReturnBlock : CodeBlock { public ReturnBlock( LL...
using System; using Flame.Compiler; using LLVMSharp; using static LLVMSharp.LLVM; namespace Flame.LLVM.Codegen { /// <summary> /// A code block implementation that returns a value from a method. /// </summary> public sealed class ReturnBlock : CodeBlock { public ReturnBlock( LL...
Fix a bug in the 'ret void' implementation
Fix a bug in the 'ret void' implementation
C#
mit
jonathanvdc/flame-llvm,jonathanvdc/flame-llvm,jonathanvdc/flame-llvm
db1d2ca9d3aae64f1d333c47bb26c078c13cb07b
src/Items/Item.cs
src/Items/Item.cs
using System; namespace ShadowsOfShadows.Items { public abstract class Item { protected String Name { get; set; } protected String StatsString { get; set; } public Item(String name, String stats) { Name = name; StatsString = stats; } public overri...
using System; namespace ShadowsOfShadows.Items { public abstract class Item { protected string Name { get; set; } protected string StatsString { get; set; } public Item(string name, string stats) { Name = name; StatsString = stats; ...
Make ToString() short and provide Details()
Make ToString() short and provide Details()
C#
mit
manio143/ShadowsOfShadows
330edf11062016b62f72da63e537a1cedacfc4f8
PortableExtensions/System.DateTime/DateTime.Age.cs
PortableExtensions/System.DateTime/DateTime.Age.cs
#region Using using System; #endregion namespace PortableExtensions { /// <summary> /// Class containing some extension methods for <see cref="DateTime" />. /// </summary> public static partial class DateTimeEx { /// <summary> /// Calculates the difference between the yea...
#region Using using System; #endregion namespace PortableExtensions { /// <summary> /// Class containing some extension methods for <see cref="DateTime" />. /// </summary> public static partial class DateTimeEx { /// <summary> /// Calculates the difference between the yea...
Fix bug causing incorrect results when dateTime was >= dateTime.Now + 363d
Fix bug causing incorrect results when dateTime was >= dateTime.Now + 363d
C#
mit
DaveSenn/Extend
a01a19f6695891eb0f2d390dd47a9d70aa1933a6
ChamberLib/Collection.cs
ChamberLib/Collection.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ChamberLib { public static class Collection { public static void AddRange<T>(ICollection<T> collection, IEnumerable<T> items) { foreach (T item in items) { ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ChamberLib { public static class Collection { public static void AddRange<T>(ICollection<T> collection, IEnumerable<T> items) { foreach (T item in items) { ...
Add the GetEnumeratorOfCopy extension method.
Add the GetEnumeratorOfCopy extension method.
C#
lgpl-2.1
izrik/ChamberLib,izrik/ChamberLib,izrik/ChamberLib
64190851cdcd003826a7c49444dc6627beaa893c
kafka-net/DefaultPartitionSelector.cs
kafka-net/DefaultPartitionSelector.cs
using System; using System.Collections.Concurrent; using System.Linq; using KafkaNet.Model; using KafkaNet.Protocol; namespace KafkaNet { public class DefaultPartitionSelector : IPartitionSelector { private readonly ConcurrentDictionary<string, Partition> _roundRobinTracker = new ConcurrentDictionary<...
using System; using System.Collections.Concurrent; using System.Linq; using KafkaNet.Model; using KafkaNet.Protocol; namespace KafkaNet { public class DefaultPartitionSelector : IPartitionSelector { private readonly ConcurrentDictionary<string, Partition> _roundRobinTracker = new ConcurrentDictionary<...
Fix exception not recording topic name.
Fix exception not recording topic name.
C#
apache-2.0
aNutForAJarOfTuna/kafka-net,CenturyLinkCloud/kafka-net,BDeus/KafkaNetClient,nightkid1027/kafka-net,bridgewell/kafka-net,PKRoma/kafka-net,geffzhang/kafka-net,EranOfer/KafkaNetClient,Jroland/kafka-net,gigya/KafkaNetClient,martijnhoekstra/kafka-net
6edd84afc25c8ccbb39d8aa030c2451486d7e111
src/DiscourseAutoApprove/DiscourseAutoApprove.ServiceInterface/ServiceStackAccountClient.cs
src/DiscourseAutoApprove/DiscourseAutoApprove.ServiceInterface/ServiceStackAccountClient.cs
using System; using ServiceStack; using ServiceStack.Logging; namespace DiscourseAutoApprove.ServiceInterface { public interface IServiceStackAccountClient { UserServiceResponse GetUserSubscription(string emailAddress); } public class ServiceStackAccountClient : IServiceStackAccountClient ...
using System; using ServiceStack; using ServiceStack.Logging; namespace DiscourseAutoApprove.ServiceInterface { public interface IServiceStackAccountClient { UserServiceResponse GetUserSubscription(string emailAddress); } public class ServiceStackAccountClient : IServiceStackAccountClient ...
Throw when error form account service.
Throw when error form account service.
C#
apache-2.0
ServiceStack/DiscourseWebHook,ServiceStack/DiscourseWebHook,ServiceStack/DiscourseWebHook
5905316bb22df685832eba53f301ca89ada45802
samples/Producer/Program.cs
samples/Producer/Program.cs
using System; using System.Collections.Generic; using System.Threading.Tasks; using Angora; namespace Producer { class Program { const int numberOfMessages = 1_000_000; static async Task Main() { var factory = new ConnectionFactory { HostName = ...
using System; using System.Collections.Generic; using System.Threading.Tasks; using Angora; namespace Producer { class Program { const int numberOfMessages = 1_000_000; static async Task Main() { var factory = new ConnectionFactory { HostName = ...
Add number to message payload
Add number to message payload
C#
mit
bording/Angora
b3d6f76cfacdca8ec3906c8f92d324b71f1e54fc
osu.Game/Rulesets/Edit/SnapType.cs
osu.Game/Rulesets/Edit/SnapType.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; namespace osu.Game.Rulesets.Edit { [Flags] public enum SnapType { NearbyObjects = 0, Grids = 1, All = NearbyObjects | G...
// 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; namespace osu.Game.Rulesets.Edit { [Flags] public enum SnapType { None = 0, NearbyObjects = 1 << 0, Grids = 1 << 1, ...
Add "None" snap type to fix flags not working correctly
Add "None" snap type to fix flags not working correctly
C#
mit
peppy/osu,peppy/osu,NeoAdonis/osu,NeoAdonis/osu,ppy/osu,NeoAdonis/osu,ppy/osu,ppy/osu,peppy/osu