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
b4f443f49f2779842f6df46a71cf42e1dbd78d3c
Update AssemblyInfo.cs
healthwise/Org.Healthwise.NewRelic.RabbitMQ
Properties/AssemblyInfo.cs
Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("or...
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("or...
mit
C#
801694938db30c432004ed6909af2fbdf0a7dd8d
Update AssemblyNames
gOOvaUY/Goova.Plexo.Models,gOOvaUY/Plexo.Models
Properties/AssemblyInfo.cs
Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("Go...
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("Go...
agpl-3.0
C#
05c1473076f3f6c8f8638bf0d93eecaba781bf66
fix disabling final confirmation word.
nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet
WalletWasabi.Fluent/Behaviors/FocusNextItemBehavior.cs
WalletWasabi.Fluent/Behaviors/FocusNextItemBehavior.cs
using Avalonia; using Avalonia.Controls; using Avalonia.LogicalTree; using ReactiveUI; using System; using System.Reactive.Disposables; using System.Reactive.Linq; namespace WalletWasabi.Fluent.Behaviors { internal class FocusNextItemBehavior : DisposingBehavior<Control> { public static readonly StyledProperty<boo...
using Avalonia; using Avalonia.Controls; using Avalonia.LogicalTree; using Avalonia.VisualTree; using ReactiveUI; using System; using System.Reactive.Disposables; using System.Reactive.Linq; namespace WalletWasabi.Fluent.Behaviors { internal class FocusNextItemBehavior : DisposingBehavior<Control> { public static ...
mit
C#
506d1e01ba13510f8242466e9a39b56d97ec8237
Increment version.
jyuch/ReflectionToStringBuilder
src/ReflectionToStringBuilder/Properties/AssemblyInfo.cs
src/ReflectionToStringBuilder/Properties/AssemblyInfo.cs
using System; using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyTitle("ReflectionToStringBuilder")] [assembly: AssemblyDescription("ReflectionでToStringするアレ")] [assembly: AssemblyCompany("jyuch")] [assembly: AssemblyProduct("ReflectionToStringBuilder")] [assembly: AssemblyCopyright("Cop...
using System; using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyTitle("ReflectionToStringBuilder")] [assembly: AssemblyDescription("ReflectionでToStringするアレ")] [assembly: AssemblyCompany("jyuch")] [assembly: AssemblyProduct("ReflectionToStringBuilder")] [assembly: AssemblyCopyright("Cop...
mit
C#
4f404c180e3eceabbb0121d69ebd6b1e51e93b22
修复读取字节组出错的bug。
RabbitTeam/WeiXinSDK
Rabbit.WeiXin/SDK/Rabbit.WeiXin/Utility/Extensions/StreamExtensions.cs
Rabbit.WeiXin/SDK/Rabbit.WeiXin/Utility/Extensions/StreamExtensions.cs
using System; using System.Collections.Generic; using System.IO; namespace Rabbit.WeiXin.Utility.Extensions { /// <summary> /// 流扩展方法。 /// </summary> internal static class StreamExtensions { /// <summary> /// 将流读取成字节组。 /// </summary> /// <param name="stream">流。</par...
using System; using System.Collections.Generic; using System.IO; namespace Rabbit.WeiXin.Utility.Extensions { /// <summary> /// 流扩展方法。 /// </summary> internal static class StreamExtensions { /// <summary> /// 将流读取成字节组。 /// </summary> /// <param name="stream">流。</par...
apache-2.0
C#
c627cd0dee7d4f169a8f7bdd89994a5e389203c4
Revert to fixed versioning scheme used by build
serilog-trace-listener/SerilogTraceListener
assets/CommonAssemblyInfo.cs
assets/CommonAssemblyInfo.cs
using System.Reflection; // These "special" version numbers are found and replaced at build time. [assembly: AssemblyVersion("1.0.0.0")] [assembly: AssemblyFileVersion("1.1.1.1")] [assembly: AssemblyInformationalVersion("1.0.0")]
using System.Reflection; [assembly: AssemblyVersion("2.0.0.0")] [assembly: AssemblyFileVersion("2.1.0.0")] [assembly: AssemblyInformationalVersion("2.1.0")]
apache-2.0
C#
f2d6071b60b96162eaacbd687aa834a1d1c2c4aa
Update Callback
gOOvaUY/Goova.Plexo.Models,gOOvaUY/Plexo.Models
ICallback.cs
ICallback.cs
using System.ServiceModel; using System.ServiceModel.Web; using System.Threading.Tasks; namespace Goova.Plexo { [ServiceContract] public interface ICallback { [OperationContract] [WebInvoke(UriTemplate = "Instrument", RequestFormat = WebMessageFormat.Json, ResponseFormat = WebMessageFormat...
using System.Threading.Tasks; namespace Goova.Plexo { public interface ICallback { Task<ClientResponse> Instrument(IntrumentCallback instrument); } }
agpl-3.0
C#
68692b46e4113e6bc010dff3e661bcee98788ae3
make private
LayoutFarm/PixelFarm
a_mini/projects/PixelFarm/TypeMirror/SimpleReflectionHelper.cs
a_mini/projects/PixelFarm/TypeMirror/SimpleReflectionHelper.cs
//MIT,2016, WinterDev using System; using System.Collections.Generic; using System.Text; using System.Reflection; namespace TypeMirror { /// <summary> /// very base reflection helper /// </summary> static class SimpleReflectionHelper { public static Dictionary<string, T> GetEnumFields<T>()...
//MIT,2016, WinterDev using System; using System.Collections.Generic; using System.Text; using System.Reflection; namespace TypeMirror { /// <summary> /// very base reflection helper /// </summary> public static class SimpleReflectionHelper { public static Dictionary<string, T> GetEnumFiel...
bsd-2-clause
C#
5976e11abb46010314de6fb1eaee78dcb53c7b06
Allow passing port number to test setup
JasperFx/jasper,JasperFx/jasper,JasperFx/jasper
src/Jasper.Testing/Transports/Tcp/LightweightTcpTransportCompliance.cs
src/Jasper.Testing/Transports/Tcp/LightweightTcpTransportCompliance.cs
using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.NetworkInformation; using System.Net.Sockets; using Jasper.Util; using TestingSupport.Compliance; using Xunit; namespace Jasper.Testing.Transports.Tcp { public class Sender : JasperOptions { public Sen...
using Jasper.Util; using TestingSupport.Compliance; using Xunit; namespace Jasper.Testing.Transports.Tcp { public class Sender : JasperOptions { public Sender() { Endpoints.ListenForMessagesFrom($"tcp://localhost:2289/incoming".ToUri()); } } public class Receiver : ...
mit
C#
597d73274b920d68f9ec741832cc241d9af9630c
Fix for Fast on .NET 5.0.
ExRam/ExRam.Gremlinq
src/ExRam.Gremlinq.Core/Extensions/ImmutableDictionaryExtensions.cs
src/ExRam.Gremlinq.Core/Extensions/ImmutableDictionaryExtensions.cs
using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Collections.Immutable; using System.Reflection; using System.Linq; namespace ExRam.Gremlinq.Core { public static class ImmutableDictionaryExtensions { private static readonly ConcurrentDictionary<object, ...
using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Collections.Immutable; using System.Reflection; using System.Linq; namespace ExRam.Gremlinq.Core { public static class ImmutableDictionaryExtensions { private static readonly ConcurrentDictionary<object, ...
mit
C#
5e9f734ed3651d265408ed0a02b2cf1fd4d8fbe5
add fallback log. (#2177)
dotnet/docfx,pascalberger/docfx,dotnet/docfx,pascalberger/docfx,superyyrrzz/docfx,dotnet/docfx,superyyrrzz/docfx,superyyrrzz/docfx,pascalberger/docfx
src/Microsoft.DocAsCode.Common/FileAbstractLayer/FallbackFileReader.cs
src/Microsoft.DocAsCode.Common/FileAbstractLayer/FallbackFileReader.cs
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.DocAsCode.Common { using System.Collections.Generic; using System.Collections.Immutable; using System.Linq; internal sealed class ...
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.DocAsCode.Common { using System.Collections.Generic; using System.Collections.Immutable; using System.Linq; internal sealed class ...
mit
C#
291b871862adb735f2463b02ee678ddfaaf8f817
Add Untyped Getter for EngineScriptComponent
HelloKitty/Testity,HelloKitty/Testity
src/Testity.EngineComponents.Unity3D/Scripting/ITestityBehaviour.cs
src/Testity.EngineComponents.Unity3D/Scripting/ITestityBehaviour.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Testity.EngineComponents; namespace Testity.EngineComponents.Unity3D { public interface ITestityBehaviour<out TScriptComponentType> : ITestityBehaviour where TScriptComponentType : EngineScriptComponent { TScriptComponen...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Testity.EngineComponents; namespace Testity.EngineComponents.Unity3D { public interface ITestityBehaviour<out TScriptComponentType> : ITestityBehaviour where TScriptComponentType : EngineScriptComponent { TScriptComponen...
mit
C#
5c1e4bd22f46403a4ee8c23a7cc16d2978eafb59
Fix thread safety issue in TransactionManager. The depth should be per-thread.
ysdiong/Sharp-Architecture-Contrib,barser/Sharp-Architecture-Contrib,sharparchitecture/Sharp-Architecture-Contrib
src/SharpArchContrib.Data/NHibernate/TransactionManagerBase.cs
src/SharpArchContrib.Data/NHibernate/TransactionManagerBase.cs
using System; using System.Threading; using log4net; namespace SharpArchContrib.Data.NHibernate { [Serializable] public abstract class TransactionManagerBase : ITransactionManager { private static readonly ILog logger = LogManager.GetLogger(typeof(TransactionManagerBase)); [ThreadStatic] ...
using System; using System.Threading; using log4net; namespace SharpArchContrib.Data.NHibernate { [Serializable] public abstract class TransactionManagerBase : ITransactionManager { private static readonly ILog logger = LogManager.GetLogger(typeof(TransactionManagerBase)); private static int t...
bsd-3-clause
C#
a63709754748e5eac6d95d25fb295f20fa05dadd
fix plain text log parsing
RPCS3/discord-bot
CompatBot/EventHandlers/LogParsing/ArchiveHandlers/PlainText.cs
CompatBot/EventHandlers/LogParsing/ArchiveHandlers/PlainText.cs
using System; using System.IO; using System.IO.Pipelines; using System.Text; using System.Threading; using System.Threading.Tasks; namespace CompatBot.EventHandlers.LogParsing.ArchiveHandlers { internal sealed class PlainTextHandler: IArchiveHandler { public long LogSize { get; private set; } ...
using System; using System.IO; using System.IO.Pipelines; using System.Text; using System.Threading; using System.Threading.Tasks; namespace CompatBot.EventHandlers.LogParsing.ArchiveHandlers { internal sealed class PlainTextHandler: IArchiveHandler { public long LogSize { get; private set; } ...
lgpl-2.1
C#
ae53b063d5d33bd98d296f87ec7e0e7f4e0c5eb9
Refactor and add ExecuteScalar to SQLite wrapper
jazd/Business,jazd/Business,jazd/Business
CSharp/Core.SQLite/Command.cs
CSharp/Core.SQLite/Command.cs
using Microsoft.Data.Sqlite; using System.Collections.Generic; namespace Business.Core.SQLite { public class Command : ICommand { IReader Reader { get; set; } public SqliteConnection SQLiteConnection { get; set; } public SqliteCommand SQLiteCommand { get; set; } public SqliteDataReader SQLiteReader { get; se...
using Microsoft.Data.Sqlite; using System.Collections.Generic; namespace Business.Core.SQLite { public class Command : ICommand { IReader Reader { get; set; } public SqliteConnection SQLiteConnection { get; set; } public SqliteCommand SQLiteCommand { get; set; } public SqliteDataReader SQLiteReader { get; se...
mit
C#
9f8ad9f833f5057150297c455fee597dc6bc7db1
Fix menu background storyboard stopping after track reload
NeoAdonis/osu,ppy/osu,ppy/osu,peppy/osu,ppy/osu,NeoAdonis/osu,NeoAdonis/osu,peppy/osu,peppy/osu
osu.Game/Graphics/Backgrounds/BeatmapBackgroundWithStoryboard.cs
osu.Game/Graphics/Backgrounds/BeatmapBackgroundWithStoryboard.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.Containers; using osu.Framework.Timing; using osu.Game.Beatma...
// 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.Containers; using osu.Framework.Timing; using osu.Game.Beatmaps; using osu.Game...
mit
C#
f7b6feb51254bda5424ba8d65ede9b32bf0708e5
increase timeout for intermittently failing test
JoeMighty/shouldly
src/Shouldly.Tests/ShouldNotThrow/FuncOfTaskOfTWithTimeoutScenario.cs
src/Shouldly.Tests/ShouldNotThrow/FuncOfTaskOfTWithTimeoutScenario.cs
using System; using System.Threading; using System.Threading.Tasks; using Xunit; namespace Shouldly.Tests.ShouldNotThrow { public class FuncOfTaskOfTWithTimeoutScenario { [Fact] public void ShouldThrowAWobbly() { var task = Task.Run(async () => { ...
using System; using System.Threading; using System.Threading.Tasks; using Xunit; namespace Shouldly.Tests.ShouldNotThrow { public class FuncOfTaskOfTWithTimeoutScenario { [Fact] public void ShouldThrowAWobbly() { var task = Task.Run(async () => { ...
bsd-3-clause
C#
07b6475172bc051b0e545413a5b41bcfd227fbe0
Change Namespace
muhammedikinci/FuzzyCore
FuzzyCore/Pattern/Command.cs
FuzzyCore/Pattern/Command.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using FuzzyCore.Server.Data; namespace FuzzyCore.Server { public abstract class Command { protected JsonCommand Comm { get; set; } public Command(JsonCommand comm) { ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using fuzzyControl.Server.Data; namespace fuzzyControl.Server { public abstract class Command { protected JsonCommand Comm { get; set; } public Command(JsonCommand comm) ...
mit
C#
21248d1eae92386ba949e01ab79767a4125daf1c
Update MonoCached.cs
dimmpixeye/Unity3dTools
Runtime/LibMono/MonoCached.cs
Runtime/LibMono/MonoCached.cs
/*=============================================================== Product: Battlecruiser Developer: Dimitry Pixeye - pixeye@hbrew.store Company: Homebrew - http://hbrew.store Date: 24/06/2017 20:56 ================================================================*/ #if ODIN_INSPECTOR using Sirenix.OdinIns...
/*=============================================================== Product: Battlecruiser Developer: Dimitry Pixeye - pixeye@hbrew.store Company: Homebrew - http://hbrew.store Date: 24/06/2017 20:56 ================================================================*/ #if ODIN_INSPECTOR using Sirenix.OdinIns...
mit
C#
66deaf0b3fb935027730cf470cf6a331e69f2cee
Make test of @page/@model whitespace
aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore
test/WebSites/RazorPagesWebSite/HelloWorldWithPageModelHandler.cshtml
test/WebSites/RazorPagesWebSite/HelloWorldWithPageModelHandler.cshtml
@page @model RazorPagesWebSite.HelloWorldWithPageModelHandler Hello, @Model.Message! @using (Html.BeginForm()) { @Html.AntiForgeryToken() }
@page @model RazorPagesWebSite.HelloWorldWithPageModelHandler Hello, @Model.Message! @using (Html.BeginForm()) { @Html.AntiForgeryToken() }
apache-2.0
C#
5bfd610407c0d5db88e30fa946ab960a6512f1a6
add back --version-suffix
livarcocc/cli-1,EdwardBlair/cli,ravimeda/cli,blackdwarf/cli,ravimeda/cli,harshjain2/cli,svick/cli,dasMulli/cli,Faizan2304/cli,blackdwarf/cli,svick/cli,Faizan2304/cli,svick/cli,harshjain2/cli,dasMulli/cli,ravimeda/cli,harshjain2/cli,blackdwarf/cli,dasMulli/cli,Faizan2304/cli,EdwardBlair/cli,livarcocc/cli-1,livarcocc/cli...
src/dotnet/commands/dotnet-publish/PublishCommandParser.cs
src/dotnet/commands/dotnet-publish/PublishCommandParser.cs
// Copyright (c) .NET Foundation and contributors. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System.Linq; using Microsoft.DotNet.Cli.CommandLine; using LocalizableStrings = Microsoft.DotNet.Tools.Publish.LocalizableStrings; namespa...
// Copyright (c) .NET Foundation and contributors. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System.Linq; using Microsoft.DotNet.Cli.CommandLine; using LocalizableStrings = Microsoft.DotNet.Tools.Publish.LocalizableStrings; namespa...
mit
C#
95eeefe641b654c864261c590096e01901287344
Fix crash while applying expressions setting.
stakira/OpenUtau,stakira/OpenUtau
OpenUtau.Core/Ustx/UTrack.cs
OpenUtau.Core/Ustx/UTrack.cs
using System; using Newtonsoft.Json; using Serilog; namespace OpenUtau.Core.Ustx { [JsonObject(MemberSerialization.OptIn)] public class UTrack { [JsonProperty] public string singer; [JsonProperty] public string phonemizer; private USinger singer_; public USinger Singer { ...
using System; using Newtonsoft.Json; using Serilog; namespace OpenUtau.Core.Ustx { [JsonObject(MemberSerialization.OptIn)] public class UTrack { [JsonProperty] public string singer; [JsonProperty] public string phonemizer; private USinger singer_; public USinger Singer { ...
mit
C#
a88c96ae3e430a0fa1dd1787e2554ae2ce11d997
Fix typo in UTrack.cs
stakira/OpenUtau,stakira/OpenUtau
OpenUtau/Core/USTx/UTrack.cs
OpenUtau/Core/USTx/UTrack.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace OpenUtau.Core.USTx { public class UTrack { public string Name = "New Track"; public string Comment = string.Empty; public USinger Singer; public string...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace OpenUtau.Core.USTx { public class UTrack { public string Name = "New Track"; public string Comment = string.Empty; public USinger Singer; public string...
mit
C#
2c149f99b6887a271d550bf0eeff3619af7bb913
Add IDisposable.AddTo(Component)
zhutaorun/UniRx,ppcuni/UniRx,ataihei/UniRx,TORISOUP/UniRx,juggernate/UniRx,zillakot/UniRx,endo0407/UniRx,juggernate/UniRx,zillakot/UniRx,cruwel/UniRx,OrangeCube/UniRx,InvertGames/UniRx,juggernate/UniRx,zhutaorun/UniRx,neuecc/UniRx,zhutaorun/UniRx,ufcpp/UniRx,zillakot/UniRx,ic-sys/UniRx,ic-sys/UniRx,OC-Leon/UniRx,saruiw...
Assets/UniRx/Scripts/UnityEngineBridge/LifetimeDisposableExtensions.cs
Assets/UniRx/Scripts/UnityEngineBridge/LifetimeDisposableExtensions.cs
using System; using System.Collections.Generic; using UniRx.Triggers; using UnityEngine; namespace UniRx { public static partial class DisposableExtensions { /// <summary>Dispose self on target gameObject has been destroyed. Return value is self disposable.</summary> public static IDisposable ...
using System; using System.Collections.Generic; using UniRx.Triggers; using UnityEngine; namespace UniRx { public static partial class DisposableExtensions { /// <summary>Dispose self on target gameObject has been destroyed. Return value is self disposable.</summary> public static IDisposable ...
mit
C#
be7ebf99f1ddb371b5c453ff3af09a070fb70866
Fix assembly files selection.
averrunci/Carna
Source/Carna.Runner/Runner/Configuration/CarnaRunnerConfiguration.cs
Source/Carna.Runner/Runner/Configuration/CarnaRunnerConfiguration.cs
// Copyright (C) 2017 Fievus // // This software may be modified and distributed under the terms // of the MIT license. See the LICENSE file for details. using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Runtime.Serialization; namespace Carna.Runner.Configuration { /// <s...
// Copyright (C) 2017 Fievus // // This software may be modified and distributed under the terms // of the MIT license. See the LICENSE file for details. using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Runtime.Serialization; namespace Carna.Runner.Configuration { /// <s...
mit
C#
135b5f274e3d96a4f58e2854546b35af6c2e9f41
Use clickable class for links in dashboard header.
tpkelly/voting-application,JDawes-ScottLogic/voting-application,tpkelly/voting-application,Generic-Voting-Application/voting-application,stevenhillcox/voting-application,JDawes-ScottLogic/voting-application,tpkelly/voting-application,stevenhillcox/voting-application,JDawes-ScottLogic/voting-application,Generic-Voting-A...
VotingApplication/VotingApplication.Web/Views/Dashboard/Index.cshtml
VotingApplication/VotingApplication.Web/Views/Dashboard/Index.cshtml
<!DOCTYPE html> <html ng-app="GVA.Creation" ng-controller="CreatePageController"> <head> <title>Vote On</title> @Styles.Render("~/Bundles/StyleLib") @Styles.Render("~/Bundles/CreateStyle") <meta name="viewport" content="initial-scale=1"> </head> <body> <div class="center-panel"> <header> ...
<!DOCTYPE html> <html ng-app="GVA.Creation" ng-controller="CreatePageController"> <head> <title>Vote On</title> @Styles.Render("~/Bundles/StyleLib") @Styles.Render("~/Bundles/CreateStyle") <meta name="viewport" content="initial-scale=1"> </head> <body> <div class="center-panel"> <header> ...
apache-2.0
C#
83282ebcb8f27bdb05c81059511c4254923b0d2d
fix #1397 action keywords should not be set to empty string
Wox-launcher/Wox,Wox-launcher/Wox,qianlifeng/Wox,qianlifeng/Wox,lances101/Wox,lances101/Wox,qianlifeng/Wox
Wox/ActionKeywords.xaml.cs
Wox/ActionKeywords.xaml.cs
using System.Windows; using Wox.Core.Plugin; using Wox.Core.Resource; using Wox.Infrastructure.Exception; using Wox.Infrastructure.UserSettings; using Wox.Plugin; namespace Wox { public partial class ActionKeywords : Window { private PluginPair _plugin; private Settings _settings; priv...
using System.Windows; using Wox.Core.Plugin; using Wox.Core.Resource; using Wox.Infrastructure.Exception; using Wox.Infrastructure.UserSettings; using Wox.Plugin; namespace Wox { public partial class ActionKeywords : Window { private PluginPair _plugin; private Settings _settings; priv...
mit
C#
87cafb476f33a7b1ea2acdad5bfaee2f528c9312
Remove registry entries on uninstall + refactor
refactorsaurusrex/ExcelLaunchPad
ExcelLaunchPad/Rawr.LaunchPad.Installer/RegistryEditor.cs
ExcelLaunchPad/Rawr.LaunchPad.Installer/RegistryEditor.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Microsoft.Win32; namespace Rawr.LaunchPad.Installer { public class RegistryEditor { readonly List<string> keyNames = new List<string> { "Excel.CSV", ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Microsoft.Win32; namespace Rawr.LaunchPad.Installer { public class RegistryEditor { readonly string targetPath; readonly List<string> keyNames = new List<string> {...
mit
C#
029d53b7c2f95fe5269980782e7a5344fa50b200
Fix return statement of RegisterDoor.cs
fomalsd/unitystation,fomalsd/unitystation,krille90/unitystation,fomalsd/unitystation,Necromunger/unitystation,fomalsd/unitystation,Necromunger/unitystation,Necromunger/unitystation,fomalsd/unitystation,krille90/unitystation,fomalsd/unitystation,fomalsd/unitystation,Necromunger/unitystation,krille90/unitystation,Necromu...
UnityProject/Assets/Scripts/Tilemaps/Behaviours/Objects/RegisterDoor.cs
UnityProject/Assets/Scripts/Tilemaps/Behaviours/Objects/RegisterDoor.cs
using UnityEngine; [ExecuteInEditMode] public class RegisterDoor : RegisterTile { private SubsystemManager subsystemManager; public bool OneDirectionRestricted; private void Awake() { subsystemManager = GetComponentInParent<SubsystemManager>(); } [SerializeField] private bool isClosed = true; ...
using UnityEngine; [ExecuteInEditMode] public class RegisterDoor : RegisterTile { private SubsystemManager subsystemManager; public bool OneDirectionRestricted; private void Awake() { subsystemManager = GetComponentInParent<SubsystemManager>(); } [SerializeField] private bool isClosed = true; ...
agpl-3.0
C#
d2503d6cfcc0ca0a013a63243933f8f3468f489e
make FileSystemServices in Database seeder async
zmira/abremir.AllMyBricks
abremir.AllMyBricks.DatabaseSeeder/Implementations/FileSystemService.cs
abremir.AllMyBricks.DatabaseSeeder/Implementations/FileSystemService.cs
using abremir.AllMyBricks.Device.Interfaces; using System.IO; using System.Threading.Tasks; namespace abremir.AllMyBricks.DatabaseSeeder.Implementations { public class FileSystemService : IFileSystemService { public string ThumbnailCacheFolder => string.Empty; private const string DataFolder ...
using abremir.AllMyBricks.Device.Interfaces; using System.IO; namespace abremir.AllMyBricks.DatabaseSeeder.Implementations { public class FileSystemService : IFileSystemService { public string ThumbnailCacheFolder => string.Empty; private const string DataFolder = "data"; public bool...
mit
C#
ce1f1368d64419f1854a06bb134825387adf742a
Update implementation of FakePropertyValidator.cs
MichalJankowskii/FluentValidation.Validators.UnitTestExtension
src/FluentValidation.Validators.UnitTestExtension.Tests/Helpers/Fakes/FakePropertyValidator.cs
src/FluentValidation.Validators.UnitTestExtension.Tests/Helpers/Fakes/FakePropertyValidator.cs
#region License // MIT License // // Copyright(c) 2016 Michał Jankowski (http://www.jankowskimichal.pl) // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including...
#region License // MIT License // // Copyright(c) 2016 Michał Jankowski (http://www.jankowskimichal.pl) // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including...
mit
C#
5e8447c919f2215f6b125305f240e6f25ebaabc6
Add [Serializable] attribute
dnm240/NSubstitute,dnm240/NSubstitute,dnm240/NSubstitute,dnm240/NSubstitute,dnm240/NSubstitute
Source/NSubstitute/Exceptions/MissingSequenceNumberException.cs
Source/NSubstitute/Exceptions/MissingSequenceNumberException.cs
using System.Runtime.Serialization; namespace NSubstitute.Exceptions { [Serializable] public class MissingSequenceNumberException : SubstituteException { public MissingSequenceNumberException() { } protected MissingSequenceNumberException(SerializationInfo info, StreamingContext context) : ...
using System.Runtime.Serialization; namespace NSubstitute.Exceptions { public class MissingSequenceNumberException : SubstituteException { public MissingSequenceNumberException() { } protected MissingSequenceNumberException(SerializationInfo info, StreamingContext context) : base(info, context)...
bsd-3-clause
C#
1e91d3d8621ab242248e4cbee18aaff1a3331099
remove debug code.
wieslawsoltes/Perspex,AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,jkoritzinsky/Avalonia,akrisiun/Perspex,SuperJMN/Avalonia,jkoritzinsky/Perspex,SuperJMN/Avalonia,SuperJMN/Avalonia,wieslawsoltes/Perspex,AvaloniaUI/Avalonia,SuperJMN/Avalonia,AvaloniaUI/Avalonia,wieslawsoltes/Perspex,AvaloniaUI/Avalonia,jkoritzinsky/Avalonia,...
samples/ControlCatalog/MainWindow.xaml.cs
samples/ControlCatalog/MainWindow.xaml.cs
using Avalonia; using Avalonia.Controls; using Avalonia.Controls.Notifications; using Avalonia.Controls.Primitives; using Avalonia.Markup.Xaml; using Avalonia.Threading; using ControlCatalog.ViewModels; using System; using System.Collections.Generic; using System.Threading.Tasks; namespace ControlCatalog { public ...
using Avalonia; using Avalonia.Controls; using Avalonia.Controls.Notifications; using Avalonia.Controls.Primitives; using Avalonia.Markup.Xaml; using Avalonia.Threading; using ControlCatalog.ViewModels; using System; using System.Collections.Generic; using System.Threading.Tasks; namespace ControlCatalog { public ...
mit
C#
f725785aad0318e1386cd8260ea0fe899343561c
Use latest NuGet during build
Abc-Arbitrage/Zebus
build/build.cake
build/build.cake
#tool "nuget:?package=NUnit.ConsoleRunner" #tool "nuget:?package=NuGet.CommandLine" ////////////////////////////////////////////////////////////////////// // ARGUMENTS ////////////////////////////////////////////////////////////////////// var target = Argument("target", "Default"); var paths = new { src = MakeAbs...
#tool "nuget:?package=NUnit.ConsoleRunner" ////////////////////////////////////////////////////////////////////// // ARGUMENTS ////////////////////////////////////////////////////////////////////// var target = Argument("target", "Default"); var paths = new { src = MakeAbsolute(Directory("./../src")).FullPath, ...
mit
C#
d7405bd8a27675577a824c057950ac62e7c402ec
Add proper obsolete attribute.
stephentoub/roslyn,nguerrera/roslyn,genlu/roslyn,dotnet/roslyn,sharwell/roslyn,gafter/roslyn,AlekseyTs/roslyn,AmadeusW/roslyn,KevinRansom/roslyn,panopticoncentral/roslyn,brettfo/roslyn,aelij/roslyn,gafter/roslyn,wvdd007/roslyn,agocke/roslyn,ErikSchierboom/roslyn,brettfo/roslyn,agocke/roslyn,mavasani/roslyn,eriawan/rosl...
src/Tools/ExternalAccess/LiveShare/LocalForwarders/Formatting/CSharpRemoteIndentationService.cs
src/Tools/ExternalAccess/LiveShare/LocalForwarders/Formatting/CSharpRemoteIndentationService.cs
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using Microsoft.CodeAnalysis.Host; using Microsoft.CodeAnalysis.Host.Mef; using Microsoft.CodeAnalysis.Editor; using System.Composition; using System; names...
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using Microsoft.CodeAnalysis.Host; using Microsoft.CodeAnalysis.Host.Mef; using Microsoft.CodeAnalysis.Editor; using System.Composition; namespace Microsoft...
mit
C#
81ad0a9c904656f7385ce2b9af72b1619f2827e1
validate command compiles all the handlers too. Closes GH-351
JasperFx/jasper,JasperFx/jasper,JasperFx/jasper
src/Jasper.CommandLine/ValidateCommand.cs
src/Jasper.CommandLine/ValidateCommand.cs
using System; using Jasper.Messaging.Model; using Lamar.Codegen; using Lamar.Compilation; using Oakton; namespace Jasper.CommandLine { [Description("Validate the configuration and environment for this Jasper application")] public class ValidateCommand : OaktonCommand<JasperInput> { public override...
using System; using Oakton; namespace Jasper.CommandLine { [Description("Validate the configuration and environment for this Jasper application")] public class ValidateCommand : OaktonCommand<JasperInput> { public override bool Execute(JasperInput input) { Console.WriteLine("Bo...
mit
C#
94e135bd4609961cceea51d6127a350aba0cfa2a
Add Digital Stamp
janssenr/MyParcelApi.Net
src/MyParcelApi.Net/Models/PackageType.cs
src/MyParcelApi.Net/Models/PackageType.cs
namespace MyParcelApi.Net.Models { public enum PackageType { Package = 1, MailboxPackage = 2, Letter = 3, DigitalStamp = 4 } }
namespace MyParcelApi.Net.Models { public enum PackageType { Package = 1, MailboxPackage = 2, Letter = 3 } }
mit
C#
ecd942d389748380e970648da49d3cc635aca737
Correct class visibility of StringOfJSON
limey98/TinCan.NET,RusticiSoftware/TinCan.NET,brianjmiller/TinCan.NET,nagyistoce/TinCan.NET
TinCan/json/StringOfJSON.cs
TinCan/json/StringOfJSON.cs
/* Copyright 2014 Rustici Software Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed t...
/* Copyright 2014 Rustici Software Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed t...
apache-2.0
C#
c0f9fde3de898849f07f52ca4b66a1a8942989e8
change solving methods
pashchuk/Numerical-methods,pashchuk/Numerical-methods
CSharp/lab1/Program.cs
CSharp/lab1/Program.cs
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Security; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace lab1 { class Program { public static void Main(string[] args) { var gaus = new SquaresMethod("input.txt"); } ...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Security; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace lab1 { class Program { public static void Main(string[] args) { var gaus = new Gaus("input.txt"); } public...
mit
C#
b5286743cb3d3dfd1b6b4aed0ce8a00d1868e692
Increment version
R-Smith/vmPing
vmPing/Properties/AssemblyInfo.cs
vmPing/Properties/AssemblyInfo.cs
using System.Reflection; using System.Resources; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Windows; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated ...
using System.Reflection; using System.Resources; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Windows; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated ...
mit
C#
66ef0f04ac9e86fdc554f0c8fbc01695e7b4ac25
Remove test code
mike-ward/Markdown-Edit,punker76/Markdown-Edit,jokamjohn/Markdown-Edit,Pulgafree/Markdown-Edit,chris84948/Markdown-Edit,dsuess/Markdown-Edit,Tdue21/Markdown-Edit
src/MarkdownEdit/App.xaml.cs
src/MarkdownEdit/App.xaml.cs
using System.IO; using System.Windows; using MarkdownEdit.Properties; namespace MarkdownEdit { public partial class App { private FileSystemWatcher _userSettingsWatcher; public static UserSettings UserSettings { get; private set; } private void OnStartup(object sender, StartupEventAr...
using System.IO; using System.Windows; using MarkdownEdit.Properties; namespace MarkdownEdit { public partial class App { private FileSystemWatcher _userSettingsWatcher; public static UserSettings UserSettings { get; private set; } private void OnStartup(object sender, StartupEventAr...
mit
C#
4450303c7c3187f0b30bf5e9d2a7183cff3635a1
Remove Obsolete tag from RequestBody constructor.
restsharp/RestSharp
src/RestSharp/RequestBody.cs
src/RestSharp/RequestBody.cs
// Copyright © 2009-2020 John Sheehan, Andrew Young, Alexey Zimarev and RestSharp community // // 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/license...
// Copyright © 2009-2020 John Sheehan, Andrew Young, Alexey Zimarev and RestSharp community // // 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/license...
apache-2.0
C#
c845575325624793d565da0226a3077ecb86e1e7
Support providing exception messages for Guard.NotNull()
devtyr/gullap
DevTyr.Gullap/Guard.cs
DevTyr.Gullap/Guard.cs
using System; namespace DevTyr.Gullap { public static class Guard { public static void NotNull (object obj, string argumentName, string message = null) { if (obj == null) throw new ArgumentNullException(argumentName, message); } public static void NotNullOrEmpty (string obj, string argume...
using System; namespace DevTyr.Gullap { public static class Guard { public static void NotNull (object obj, string argumentName) { if (obj == null) throw new ArgumentNullException(argumentName); } public static void NotNullOrEmpty (string obj, string argumentName) { NotNull (obj, a...
mit
C#
98810675247135d25d02f3db40efb788d17d0dde
fix bug link
pixel-stuff/ludum-dare-36
Assets/Script/Constelation/Link.cs
Assets/Script/Constelation/Link.cs
using UnityEngine; using System.Collections; public class Link : MonoBehaviour { public ConstelationStar targetStar; public ConstelationStar sourceStar; public ParticleSystem destruct; public ParticleSystem reussite; public ParticleSystem activate; // Use this for initialization public void Init () { this....
using UnityEngine; using System.Collections; public class Link : MonoBehaviour { public ConstelationStar targetStar; public ConstelationStar sourceStar; public ParticleSystem destruct; public ParticleSystem reussite; public ParticleSystem activate; // Use this for initialization public void Init () { this....
mit
C#
f2153077e01319f614753685f5b2eb3968df0fbb
Make introspection deserializer tool work
tmds/Tmds.DBus
IntrospectionSchema.cs
IntrospectionSchema.cs
// Copyright 2006 Alp Toker <alp@atoker.com> // This software is made available under the MIT License // See COPYING for details using System; using System.Xml.Serialization; using System.Collections.Generic; namespace Schemas { [XmlRootAttribute(IsNullable=true)] public class Member { [XmlAttributeAttribute("na...
// Copyright 2006 Alp Toker <alp@atoker.com> // This software is made available under the MIT License // See COPYING for details using System.Xml.Serialization; using System.Collections.Generic; namespace Schemas { [XmlRootAttribute(IsNullable=true)] public class Member { [XmlAttributeAttribute("name")] public...
mit
C#
a62becf560d55faf6155e2c586fd542b62f877d9
Add MathUtility.NormalizeRadians
SaberSnail/GoldenAnvil.Utility
GoldenAnvil.Utility/MathUtility.cs
GoldenAnvil.Utility/MathUtility.cs
using System; using System.Collections.Generic; namespace GoldenAnvil.Utility { public static class MathUtility { public const double Sin30 = 0.5; public const double Sin60 = 0.8660254038; public const double Cos30 = 0.8660254038; public const double Cos60 = 0.5; public static double DegreesToRadians(dou...
using System; using System.Collections.Generic; namespace GoldenAnvil.Utility { public static class MathUtility { public const double Sin30 = 0.5; public const double Sin60 = 0.8660254038; public const double Cos30 = 0.8660254038; public const double Cos60 = 0.5; public static double DegreesToRadians(dou...
mit
C#
030bc4d1a58d3d8fdad425816c5300759b83429e
Remove <br> from select in checkin
joinrpg/joinrpg-net,leotsarev/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net,leotsarev/joinrpg-net,joinrpg/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net
Joinrpg/Views/CheckIn/Index.cshtml
Joinrpg/Views/CheckIn/Index.cshtml
@model JoinRpg.Web.Models.CheckIn.CheckInIndexViewModel @{ ViewBag.Title = "Регистрация"; } <h2>Регистрация</h2> @using (Html.BeginForm()) { @Html.HiddenFor(model => model.ProjectId) @Html.AntiForgeryToken() @Html.SearchableDropdownFor(model => model.ClaimId, Model.Claims.Select( claim => new ImprovedS...
@model JoinRpg.Web.Models.CheckIn.CheckInIndexViewModel @{ ViewBag.Title = "Регистрация"; } <h2>Регистрация</h2> @using (Html.BeginForm()) { @Html.HiddenFor(model => model.ProjectId) @Html.AntiForgeryToken() @Html.SearchableDropdownFor(model => model.ClaimId, Model.Claims.Select( claim => new ImprovedS...
mit
C#
1f3b4fd4f03748ed5ddf78feba8e5339ff3d3966
Fix for regression with pvc-packages/pvc-project.json
modulexcite/pvc,pvcbuild/pvc
Pvc.CLI/Commands/InstallCommand.cs
Pvc.CLI/Commands/InstallCommand.cs
using Common.Logging; using Newtonsoft.Json.Linq; using NuGet; using PvcCore; using ScriptCs.Hosting.Package; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Runtime.Versioning; using System.Text; using System.Text.RegularExpressions; using System.Threading.Tasks; name...
using Common.Logging; using Newtonsoft.Json.Linq; using NuGet; using PvcCore; using ScriptCs.Hosting.Package; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Runtime.Versioning; using System.Text; using System.Text.RegularExpressions; using System.Threading.Tasks; name...
mit
C#
4e98695f60396972403a95daf5ded32bf7e21c43
Remove unnecessary space in copyright
dragonbanshee/SteamChatBot,Steam-Chat-Bot/SteamChatBot,Steam-Chat-Bot/steam-chat-bot-net
SteamChatBot/Properties/AssemblyInfo.cs
SteamChatBot/Properties/AssemblyInfo.cs
using System.Reflection; using System.Resources; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Windows; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated w...
using System.Reflection; using System.Resources; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Windows; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated ...
mit
C#
ac4897d52a34c03cee48a4c50b20d0a938d3bd18
Update ECSRect.cs
sebas77/Svelto-ECS,sebas77/Svelto.ECS
Svelto.ECS/Common/Components/ECSRect.cs
Svelto.ECS/Common/Components/ECSRect.cs
#if UNITY_5 || UNITY_5_3_OR_NEWER using UnityEngine; namespace Svelto.ECS.Components { public struct ECSRect { public float x, y, width, height; public ECSRect(Rect imageUvRect) { x = imageUvRect.x; y = imageUvRect.y; width = imageUvRect.w...
#if UNITY_5 || UNITY_5_3_OR_NEWER using UnityEngine; namespace Svelto.ECS.Components { public struct ECSRect { public float x, y, width, height; public ECSRect(Rect imageUvRect) { x = imageUvRect.x; y = imageUvRect.y; width = imageUvRect.w...
mit
C#
7152294631c37a09b43049a4a97d16962c3e1a5f
Update Index.cshtml
ucdavis/Anlab,ucdavis/Anlab,ucdavis/Anlab,ucdavis/Anlab
Anlab.Mvc/Views/Home/Index.cshtml
Anlab.Mvc/Views/Home/Index.cshtml
@{ ViewData["Title"] = "Home Page"; } <div class="col-8"> <h2 style="color: green">We are currently open with normal business hours in order to support on-going essential agricultural research. Please feel free to email us before shipping samples if there is any concern about a future closure.</h2> ...
@{ ViewData["Title"] = "Home Page"; } <div class="col-8"> <h2 style="color: blue">In order to provide testing for on-going essential agricultural research the Analytical Lab will be re-opening on Monday March 30th with normal business hours. Please feel free to email us before shipping samples if there i...
mit
C#
c009b9fde63efbb523ac087ce7cfd71c0fc3534a
update multi state demo
pangweiwei/slua,pangweiwei/slua,soulgame/slua,soulgame/slua,Roland0511/slua,pangweiwei/slua,Roland0511/slua,soulgame/slua,soulgame/slua,soulgame/slua,Roland0511/slua,pangweiwei/slua,Roland0511/slua,soulgame/slua,Roland0511/slua,pangweiwei/slua,Roland0511/slua
Assets/Slua/example/MultiState.cs
Assets/Slua/example/MultiState.cs
using System.Collections; using System.Collections.Generic; using UnityEngine; using SLua; public class MultiState : MonoBehaviour { LuaSvr svr; LuaState[] ls=new LuaState[10]; // Use this for initialization void Start () { svr = new LuaSvr (); svr.init (null, complete); } void complete() { // create 10...
using System.Collections; using System.Collections.Generic; using UnityEngine; using SLua; public class MultiState : MonoBehaviour { LuaSvr svr; LuaState[] ls=new LuaState[10]; // Use this for initialization void Start () { svr = new LuaSvr (); svr.init (null, complete); } void complete() { } // Up...
mit
C#
25ed3eeaaa19a583b8778fb80e63aed6513ef957
Fix CF
nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet
WalletWasabi/Wallets/PasswordFinder.cs
WalletWasabi/Wallets/PasswordFinder.cs
using NBitcoin; using System; using System.Collections.Generic; using System.Linq; using System.Security; namespace WalletWasabi.Wallets { public static class PasswordFinder { public static readonly Dictionary<string, string> Charsets = new Dictionary<string, string> { ["en"] = "abcdefghijkmnopqrstuvwxyzABCDE...
using NBitcoin; using System; using System.Collections.Generic; using System.Linq; using System.Security; namespace WalletWasabi.Wallets { public static class PasswordFinder { public static readonly Dictionary<string, string> Charsets = new Dictionary<string, string> { ["en"] = "abcdefghijkmnopqrstuvwxyzABCDE...
mit
C#
e158523df64670af32b0806aaed48909db58ba80
Update code
sakapon/Samples-2016,sakapon/Samples-2016
WinrtSample/SensorUwp/MainPage.xaml.cs
WinrtSample/SensorUwp/MainPage.xaml.cs
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Runtime.InteropServices.WindowsRuntime; using Windows.Devices.Sensors; using Windows.Foundation; using Windows.Foundation.Collections; using Windows.UI.Core; using Windows.UI.Xaml; using Windows.UI.Xaml.Controls;...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Runtime.InteropServices.WindowsRuntime; using Windows.Devices.Sensors; using Windows.Foundation; using Windows.Foundation.Collections; using Windows.UI.Core; using Windows.UI.Xaml; using Windows.UI.Xaml.Controls;...
mit
C#
64fe82d48dfacc118d57603ed1282e4656cde6b8
Switch to static usings
BillWagner/TourOfCSharp6
TourOfCSharp6/Point.cs
TourOfCSharp6/Point.cs
using System.Math; namespace TourOfCSharp6 { public class Point { public double X { get; set; } public double Y { get; set; } public double Distance => Sqrt(X * X + Y * Y); } }
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace TourOfCSharp6 { public class Point { public double X { get; set; } public double Y { get; set; } public double Distance => Math.Sqrt(X * X + Y * Y); } }
mit
C#
6755b16c816066ad32879d17530c95519f15308f
Implement few constructors and constants in Rect/IntRect.
rokups/Urho3D,rokups/Urho3D,rokups/Urho3D,rokups/Urho3D,rokups/Urho3D,rokups/Urho3D
Urho3DNet/Math/Rect.cs
Urho3DNet/Math/Rect.cs
using System; using System.Runtime.InteropServices; namespace Urho3D { [StructLayout(LayoutKind.Sequential)] public struct Rect { /// Minimum vector. Vector2 min_; /// Maximum vector. Vector2 max_; public Rect(float minX, float minY, float maxX, float maxY) { min_ = new Vecto...
using System; using System.Runtime.InteropServices; namespace Urho3D { [StructLayout(LayoutKind.Sequential)] public struct Rect { /// Minimum vector. Vector2 min_; /// Maximum vector. Vector2 max_; } [StructLayout(LayoutKind.Sequential)] public struct IntRect { /// Left ...
mit
C#
66b585a7053aaead1211fbcbc31c11ca97ac2c82
Make HsvSession property internal, so it can be accessed from other HFM classes
agardiner/hfmcmd,agardiner/hfmcmd,agardiner/hfmcmd
src/hfm/Session.cs
src/hfm/Session.cs
using System; using log4net; using HSVSESSIONLib; using HSVCALCULATELib; using Command; namespace HFM { public class Session { // Reference to class logger protected static readonly ILog _log = LogManager.GetLogger( System.Reflection.MethodBase.GetCurrentMethod().DeclaringType); ...
using System; using log4net; using HSVSESSIONLib; using HSVCALCULATELib; using Command; namespace HFM { public class Session { // Reference to class logger protected static readonly ILog _log = LogManager.GetLogger( System.Reflection.MethodBase.GetCurrentMethod().DeclaringType); ...
bsd-2-clause
C#
12e0591979a045657c101815c64a51f474f41cdf
Add test to check that Unicode languages work (testing Chinese).
jcheng31/DarkSkyApi,jcheng31/ForecastPCL
ForecastPCL.Test/LanguageTests.cs
ForecastPCL.Test/LanguageTests.cs
namespace ForecastPCL.Test { using System; using System.Configuration; using ForecastIOPortable; using NUnit.Framework; [TestFixture] public class LanguageTests { // These coordinates came from the Forecast API documentation, // and should return forecasts with all blocks...
namespace ForecastPCL.Test { using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using ForecastIOPortable; using NUnit.Framework; [TestFixture] public class LanguageTests { [Test] public void All...
mit
C#
c86b93be0d5dafe75537150271be57b3a5850751
Fix typo.
JohanLarsson/Gu.Reactive
Gu.Reactive.Benchmarks/Program.cs
Gu.Reactive.Benchmarks/Program.cs
namespace Gu.Reactive.Benchmarks { using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.IO; using BenchmarkDotNet.Reports; using BenchmarkDotNet.Running; [SuppressMessage("ReSharper", "UnusedMember.Local")] [SuppressMessage("ReSharper", "UnusedParameter.Lo...
namespace Gu.Reactive.Benchmarks { using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.IO; using BenchmarkDotNet.Reports; using BenchmarkDotNet.Running; [SuppressMessage("ReSharper", "UnusedMember.Local")] [SuppressMessage("ReSharper", "UnusedParameter.Lo...
mit
C#
4c91bf684841ef4f8e67e03b9ae2d739f0e5260a
update version number
BlueSquid1/P2PNET,CrazySquid1/P2PNET
P2PNET/Properties/AssemblyInfo.cs
P2PNET/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...
mit
C#
280e34b253f5edbfedbcc3139c3c579516d554de
Implement Enabled flag to be able to run sorts separately
MSayfullin/Basics
Basics.Algorithms.Tests/SortingPerformanceTests.cs
Basics.Algorithms.Tests/SortingPerformanceTests.cs
using System; using System.Diagnostics; using System.Linq; using Basics.Algorithms.Sorts; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Basics.Algorithms.Tests { [TestClass] public class SortingPerformanceTests { private const int size = 1000000; private class SortInfo ...
using System; using System.Diagnostics; using Basics.Algorithms.Sorts; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Basics.Algorithms.Tests { [TestClass] public class SortingPerformanceTests { private const int size = 10000; private class SortInfo { pu...
mit
C#
fcf37ab8e16aad5dda94834a029534b393cd0242
Add continue time entry on recent list view click.
ZhangLeiCharles/mobile,eatskolnikov/mobile,masterrr/mobile,eatskolnikov/mobile,peeedge/mobile,peeedge/mobile,masterrr/mobile,eatskolnikov/mobile,ZhangLeiCharles/mobile
Joey/UI/Fragments/RecentTimeEntriesListFragment.cs
Joey/UI/Fragments/RecentTimeEntriesListFragment.cs
using System; using System.Linq; using Android.App; using Android.OS; using Android.Views; using Android.Widget; using Toggl.Joey.UI.Adapters; namespace Toggl.Joey.UI.Fragments { public class RecentTimeEntriesListFragment : ListFragment { public override void OnViewCreated (View view, Bundle savedInst...
using System; using System.Linq; using Android.App; using Android.OS; using Android.Views; using Toggl.Joey.UI.Adapters; namespace Toggl.Joey.UI.Fragments { public class RecentTimeEntriesListFragment : ListFragment { public override void OnViewCreated (View view, Bundle savedInstanceState) { ...
bsd-3-clause
C#
b4cf47e7595aafa4d4f5813ed0ac0f786d47b356
Replace tabs
jinhyuki/MagTiles,jinhyuki/MagTiles,jinhyuki/MagTiles
Source/MagTiles/MagTiles.Build.cs
Source/MagTiles/MagTiles.Build.cs
// Copyright 1998-2017 Epic Games, Inc. All Rights Reserved. namespace UnrealBuildTool.Rules { public class MagTiles : ModuleRules { public MagTiles(ReadOnlyTargetRules Target) : base(Target) { PublicIncludePaths.AddRange( new string[] { // ... ad...
// Copyright 1998-2017 Epic Games, Inc. All Rights Reserved. namespace UnrealBuildTool.Rules { public class MagTiles : ModuleRules { public MagTiles(ReadOnlyTargetRules Target) : base(Target) { PublicIncludePaths.AddRange( new string[] { // ... add public include paths required here ... } ); ...
mit
C#
f345ff4ac394b1a6a8833d3509c0e7fec640dc30
Fix MockDataProcessor
plainerman/TicTacTube
TicTacTubeCoreTest/Processors/MockDataProcessor.cs
TicTacTubeCoreTest/Processors/MockDataProcessor.cs
using TicTacTubeCore.Processors.Definitions; using TicTacTubeCore.Sources.Files; namespace TicTacTubeCoreTest.Processors { public class MockDataProcessor : BaseDataProcessor { public int ExecutionCount { get; protected set; } public override IFileSource Execute(IFileSource fileSoure) { ExecutionCount++; ...
using TicTacTubeCore.Processors.Definitions; using TicTacTubeCore.Sources.Files; namespace TicTacTubeCoreTest.Processors { public class MockDataProcessor : BaseDataProcessor { public int ExecutionCount { get; protected set; } public override IFileSource Execute(IFileSource fileSoure) => fileSoure; public voi...
mit
C#
89804c2fb5f8deae667e7da084776e12314cf6a6
Update version
RainwayApp/warden
Warden/Properties/AssemblyInfo.cs
Warden/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: AssemblyTit...
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: AssemblyTit...
apache-2.0
C#
037485289b79281c9c3c5b626b1eb27f0b383541
Add IsFilterActive; remove unneeded parameters to filter (pass it on ctor)
neitsa/PrepareLanding,neitsa/PrepareLanding
src/Filters/ITileFilter.cs
src/Filters/ITileFilter.cs
using System; using System.Collections.Generic; namespace PrepareLanding.Filters { public enum FilterHeaviness { Light = 0, Medium = 1, Heavy = 2 } public interface ITileFilter { string SubjectThingDef { get; } string RunningDescription { get; } ...
using System; using System.Collections.Generic; namespace PrepareLanding.Filters { public enum FilterHeaviness { Light = 0, Medium = 1, Heavy = 2 } public interface ITileFilter { string SubjectThingDef { get; } string RunningDescription { get; } ...
mit
C#
a7720b7fca4e5163b1a62da0efca79c2a8757de9
Remove unused field.
orthoxerox/roslyn,xoofx/roslyn,stephentoub/roslyn,OmarTawfik/roslyn,MichalStrehovsky/roslyn,nguerrera/roslyn,zooba/roslyn,heejaechang/roslyn,KirillOsenkov/roslyn,pdelvo/roslyn,OmarTawfik/roslyn,brettfo/roslyn,eriawan/roslyn,akrisiun/roslyn,srivatsn/roslyn,ErikSchierboom/roslyn,weltkante/roslyn,AArnott/roslyn,orthoxerox...
src/EditorFeatures/Core/Implementation/Suggestions/CodeFixSuggestedAction.cs
src/EditorFeatures/Core/Implementation/Suggestions/CodeFixSuggestedAction.cs
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Collections.Generic; using System.Collections.Immutable; using System.Globalization; using System.Linq; using Microsoft.CodeAnalysis.CodeActions;...
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Collections.Generic; using System.Collections.Immutable; using System.Globalization; using System.Linq; using Microsoft.CodeAnalysis.CodeActions;...
apache-2.0
C#
5d81873d4885e3e161baca8dc34dc1a10ae1fd52
Make sure that GitSwitchBranchesTask is treated as critical.
github-for-unity/Unity,github-for-unity/Unity,mpOzelot/Unity,mpOzelot/Unity,github-for-unity/Unity
src/GitHub.Unity/Assets/Plugins/GitHub/Editor/Tasks/GitSwitchBranchesTask.cs
src/GitHub.Unity/Assets/Plugins/GitHub/Editor/Tasks/GitSwitchBranchesTask.cs
using UnityEngine; using UnityEditor; using System; using System.IO; using System.Text; namespace GitHub.Unity { class GitSwitchBranchesTask : GitTask { const string SwitchConfirmedMessage = "Switched to branch '{0}'"; public static void Schedule(string branch, Action onSuccess, Action onFailure = null) { ...
using UnityEngine; using UnityEditor; using System; using System.IO; using System.Text; namespace GitHub.Unity { class GitSwitchBranchesTask : GitTask { const string SwitchConfirmedMessage = "Switched to branch '{0}'"; public static void Schedule(string branch, Action onSuccess, Action onFailure = null) { ...
mit
C#
feb3ab14884ced340181375a5f39bf74f274501c
Fix CurrencyRepository#TryAddCurrencyValue.
Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW
src/MitternachtBot/Services/Database/Repositories/Impl/CurrencyRepository.cs
src/MitternachtBot/Services/Database/Repositories/Impl/CurrencyRepository.cs
using System.Linq; using Microsoft.EntityFrameworkCore; using Mitternacht.Services.Database.Models; namespace Mitternacht.Services.Database.Repositories.Impl { public class CurrencyRepository : Repository<Currency>, ICurrencyRepository { public CurrencyRepository(DbContext context) : base(context) { } public Cur...
using System.Linq; using Microsoft.EntityFrameworkCore; using Mitternacht.Services.Database.Models; namespace Mitternacht.Services.Database.Repositories.Impl { public class CurrencyRepository : Repository<Currency>, ICurrencyRepository { public CurrencyRepository(DbContext context) : base(context) { } public Cur...
mit
C#
b68198c987754b8d1b6a20654b4855f67ffbb701
Change test code to repro issue in old code and prove new code doesn't crash
loekd/ServiceFabric.PubSubActors
tests/SoCreate.ServiceFabric.PubSub.Tests/GivenDefaultBrokerEventsManager.cs
tests/SoCreate.ServiceFabric.PubSub.Tests/GivenDefaultBrokerEventsManager.cs
using Microsoft.ServiceFabric.Actors; using Microsoft.VisualStudio.TestTools.UnitTesting; using SoCreate.ServiceFabric.PubSub.Events; using SoCreate.ServiceFabric.PubSub.State; using System; using System.Threading; using System.Threading.Tasks; namespace SoCreate.ServiceFabric.PubSub.Tests { [TestClass] publi...
using Microsoft.ServiceFabric.Actors; using Microsoft.VisualStudio.TestTools.UnitTesting; using SoCreate.ServiceFabric.PubSub.Events; using SoCreate.ServiceFabric.PubSub.State; using System.Collections.Generic; using System.Threading.Tasks; namespace SoCreate.ServiceFabric.PubSub.Tests { [TestClass] public cl...
mit
C#
d4f780c02beb4a48a523922b84902fdc4d685cf8
Build and publish nuget package
peteraritchie/Rock.Core,RockFramework/Rock.Core
Rock.Core/Properties/AssemblyInfo.cs
Rock.Core/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("Ro...
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("Ro...
mit
C#
530d260eb6dda22b0130c51c759b137ac76826b9
clean up EventContext when it is put in the pool.
fairygui/FairyGUI-unity
Source/Scripts/Event/EventContext.cs
Source/Scripts/Event/EventContext.cs
using System.Collections.Generic; namespace FairyGUI { /// <summary> /// /// </summary> public class EventContext { /// <summary> /// /// </summary> public EventDispatcher sender { get; internal set; } /// <summary> /// / /// </summary> public object initiator { get; internal ...
using System.Collections.Generic; namespace FairyGUI { /// <summary> /// /// </summary> public class EventContext { /// <summary> /// /// </summary> public EventDispatcher sender { get; internal set; } /// <summary> /// / /// </summary> public object initiator { get; internal ...
mit
C#
373eb26cdd6a36b759904983c3a40bda5afb17a8
add page name to template
moonwa/moonlit,moonwa/moonlit,moonwa/moonlit
src/Moonlit.Mvc/Templates/Template.cs
src/Moonlit.Mvc/Templates/Template.cs
using System.Collections.Generic; using System.Web.Mvc; namespace Moonlit.Mvc.Templates { public abstract class Template { public string Title { get; set; } public string Description { get; set; } public abstract string ViewName { get; } public string PageName { get...
using System.Collections.Generic; using System.Web.Mvc; namespace Moonlit.Mvc.Templates { public abstract class Template { public string Title { get; set; } public string Description { get; set; } public abstract string ViewName { get; } public ISite Site { get; s...
mit
C#
f7d4e70f884174fe5b5c53b0ef1e81185f8da9ab
Add description for all QueueArguments
northspb/RawRabbit,pardahlman/RawRabbit
src/RawRabbit/Common/QueueArgument.cs
src/RawRabbit/Common/QueueArgument.cs
namespace RawRabbit.Common { public class QueueArgument { /// <summary> /// Indicates that the queue is a priority queue that honours the <br /> /// priority property of a recieved message. /// </summary> public static readonly string MaxPriority = "x-max-priority"; /// <summary> /// Sets what exchang...
namespace RawRabbit.Common { public class QueueArgument { public static readonly string MaxPriority = "x-max-priority"; public static readonly string DeadLetterExchange = "x-dead-letter-exchange"; public static readonly string MessageTtl = "x-message-ttl"; /// <summary> /// Set QueueMode for a queue. Vali...
mit
C#
0442870a9308625057e684a7d1796f6f14903516
Update PlatformCompositionRootSetupBase.cs
tiksn/TIKSN-Framework
TIKSN.Framework.Platform/DependencyInjection/PlatformCompositionRootSetupBase.cs
TIKSN.Framework.Platform/DependencyInjection/PlatformCompositionRootSetupBase.cs
using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; namespace TIKSN.DependencyInjection { public abstract class PlatformCompositionRootSetupBase : CompositionRootSetupBase { protected PlatformCompositionRootSetupBase(IConfigurationRoot configurationRoot) : base(con...
using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; namespace TIKSN.DependencyInjection { public abstract class PlatformCompositionRootSetupBase : CompositionRootSetupBase { protected PlatformCompositionRootSetupBase(IConfigurationRoot configurationRoot) : base(con...
mit
C#
e4c8b291524dc7c7e40ce691a7486870211df82e
add logoutrequesttest
peterwurzinger/SamlOida
test/SamlOida.Test/MessageHandler/MessageFactory/LogoutRequestFactoryTests.cs
test/SamlOida.Test/MessageHandler/MessageFactory/LogoutRequestFactoryTests.cs
using SamlOida.MessageHandler.MessageFactory; using SamlOida.Model; using System; using System.Collections.Generic; using System.Text; using System.Xml; using Xunit; namespace SamlOida.Test.MessageHandler.MessageFactory { public class LogoutRequestFactoryTests { private readonly LogoutRequestFactory _...
using SamlOida.MessageHandler.MessageFactory; using SamlOida.Model; using System; using System.Collections.Generic; using System.Text; using System.Xml; using Xunit; namespace SamlOida.Test.MessageHandler.MessageFactory { public class LogoutRequestFactoryTests { private readonly LogoutRequestFactory _...
mit
C#
7926e9d64579c47654a83b8ab6d5fa24abc235f5
Fix bug with clearing ids
eescardo/CardsAndSymbols
CardsAndSymbols/ImageCache.cs
CardsAndSymbols/ImageCache.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Media; using System.Windows.Media.Imaging; using Svg; namespace CardsAndSymbols { public class ImageCache { private Dictionary<string, string> idToFileName = new Di...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Media; using System.Windows.Media.Imaging; using Svg; namespace CardsAndSymbols { public class ImageCache { private Dictionary<string, string> idToFileName = new Di...
mit
C#
087d2016acfdc3324815fd6852dac1c47079fdd7
Implement SettingsPanelViewModel
Schlechtwetterfront/snipp
ViewModels/SettingsPanelViewModel.cs
ViewModels/SettingsPanelViewModel.cs
using System; using System.ComponentModel; namespace clipman.ViewModels { class SettingsPanelViewModel : INotifyPropertyChanged { private Settings.Settings settings; public Settings.Settings Settings { get { return settings; } private set { settings = value; Rai...
using System; namespace clipman.ViewModels { class SettingsPanelViewModel { } }
apache-2.0
C#
1e03c7dae8a32353173bdb8bc68803d6e9e6148a
Update documentation
whampson/bft-spec,whampson/cascara
Src/WHampson.Cascara/TypeUtils.cs
Src/WHampson.Cascara/TypeUtils.cs
#region License /* Copyright (c) 2017 Wes Hampson * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, ...
#region License /* Copyright (c) 2017 Wes Hampson * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, ...
mit
C#
65ea3d35cea04013fc84ee6bdf05e37f9234fe93
add auto re-connect
rit-sse/holo-desk,rit-sse/holo-desk,rit-sse/holo-desk,rit-sse/holo-desk
MouseStreamNet.cs
MouseStreamNet.cs
using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Linq; using System.Net.Sockets; using System.Text; using System.Threading.Tasks; namespace Microsoft.Samples.Kinect.DepthBasics { class MouseStreamNet { private TcpClient client = null; priv...
using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Linq; using System.Net.Sockets; using System.Text; using System.Threading.Tasks; namespace Microsoft.Samples.Kinect.DepthBasics { class MouseStreamNet { private TcpClient client = null; priv...
mit
C#
28f306eb82fa8b6db81364caf2a1fa9a4ef0c473
Add WSH testbench terminal
LibertyLocked/RestRPC,LibertyLocked/RestRPC,LibertyLocked/RestRPC,LibertyLocked/RestRPC
WebScriptHook.Terminal/Program.cs
WebScriptHook.Terminal/Program.cs
using System; using System.Threading; using WebScriptHook.Framework; using WebScriptHook.Framework.BuiltinPlugins; using WebScriptHook.Terminal.Plugins; namespace WebScriptHook.Terminal { class Program { static WebScriptHookComponent wshComponent; static void Main(string[] args) { ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using WebScriptHook.Framework; namespace WebScriptHook.Terminal { class Program { static WebScriptHookComponent wshComponent; static void Main(string[] args) { ...
mit
C#
48e53a76b0e5e02d9a2b18a8a34ae3ee8e99c728
Fix incorrect line endings
johnneijzen/osu,smoogipoo/osu,NeoAdonis/osu,peppy/osu,UselessToucan/osu,peppy/osu,DrabWeb/osu,smoogipoo/osu,naoey/osu,smoogipoo/osu,ZLima12/osu,johnneijzen/osu,2yangk23/osu,2yangk23/osu,ZLima12/osu,EVAST9919/osu,Nabile-Rahmani/osu,ppy/osu,naoey/osu,EVAST9919/osu,DrabWeb/osu,UselessToucan/osu,peppy/osu,smoogipooo/osu,pe...
osu.Game/Configuration/RandomSelectAlgorithm.cs
osu.Game/Configuration/RandomSelectAlgorithm.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 System.ComponentModel; namespace osu.Game.Configuration { public enum RandomSelectAlgorithm { [Description("Never repeat")] Rand...
// Copyright (c) 2007-2017 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.Configuration { public enum RandomSelectAlgorithm { [Description("Never repeat")] RandomPermutat...
mit
C#
c2219046c6f7c823337494157010fac59d154c03
Remove redundant generic specification
Baggykiin/pass-winmenu
pass-winmenu/src/Hotkeys/HotkeyRegistrars.UI.cs
pass-winmenu/src/Hotkeys/HotkeyRegistrars.UI.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Input; using System.Windows; namespace PassWinmenu.Hotkeys { // Implementation for the UI element hotkey registrar. // // See main file: // /src/Hotkeys/HotkeyRegistrars.cs...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Input; using System.Windows; namespace PassWinmenu.Hotkeys { // Implementation for the UI element hotkey registrar. // // See main file: // /src/Hotkeys/HotkeyRegistrars.cs...
mit
C#
7a439231ae042f99e6d62c25cfb851e5c8ea2920
Update to subclass BusinessRuleAsync
MarimerLLC/csla,JasonBock/csla,rockfordlhotka/csla,rockfordlhotka/csla,rockfordlhotka/csla,JasonBock/csla,MarimerLLC/csla,MarimerLLC/csla,JasonBock/csla
Samples/ProjectTracker/ProjectTracker.BusinessLibrary.Netstandard/ValidRole.cs
Samples/ProjectTracker/ProjectTracker.BusinessLibrary.Netstandard/ValidRole.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Csla.Rules; namespace ProjectTracker.Library { /// <summary> /// Ensure the Role property value exists /// in RoleList /// </summary> public class ValidRole : BusinessRuleAsync { p...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Csla.Rules; namespace ProjectTracker.Library { /// <summary> /// Ensure the Role property value exists /// in RoleList /// </summary> public class ValidRole : BusinessRule { public ValidRole(Csla.Core.IProperty...
mit
C#
bc034f3368a664792d7a6c3d436be54a53d1c76a
debug brackets
DMagic1/Orbital-Science,Kerbas-ad-astra/Orbital-Science
Source/DMUtils.cs
Source/DMUtils.cs
#region license /* DMagic Orbital Science - DMUtils * Static utilities class for various methods * * Copyright (c) 2014, David Grandy <david.grandy@gmail.com> * All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, * are permitted provided that the following...
#region license /* DMagic Orbital Science - DMUtils * Static utilities class for various methods * * Copyright (c) 2014, David Grandy <david.grandy@gmail.com> * All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, * are permitted provided that the following...
bsd-3-clause
C#
6c937842b8d3631b2365fd078651d796aa7e1e7a
Delete unused code.
mysql-net/MySqlConnector,gitsno/MySqlConnector,mysql-net/MySqlConnector,gitsno/MySqlConnector
src/MySql.Data/Serialization/SerializationUtility.cs
src/MySql.Data/Serialization/SerializationUtility.cs
namespace MySql.Data.Serialization { internal static class SerializationUtility { public static uint ReadUInt32(byte[] buffer, int offset, int count) { uint value = 0; for (int i = 0; i < count; i++) value |= ((uint) buffer[offset + i]) << (8 * i); return value; } public static void WriteUInt32(...
using System.IO; using System.Threading; using System.Threading.Tasks; namespace MySql.Data.Serialization { internal static class SerializationUtility { public static async Task<int> ReadAvailableAsync(this Stream stream, byte[] buffer, int offset, int count, CancellationToken cancellationToken) { int totalBy...
mit
C#
6d90ba7b7231bab8b44830501ba14bfb5e73a904
Make TabGroupExtension thread safe (#3051)
dotnet/docfx,dotnet/docfx,superyyrrzz/docfx,dotnet/docfx,superyyrrzz/docfx,superyyrrzz/docfx
src/Microsoft.DocAsCode.MarkdigEngine.Extensions/TabGroup/TabGroupExtension.cs
src/Microsoft.DocAsCode.MarkdigEngine.Extensions/TabGroup/TabGroupExtension.cs
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.DocAsCode.MarkdigEngine.Extensions { using Markdig; using Markdig.Renderers; public class TabGroupExtension : IMarkdownExtension { ...
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.DocAsCode.MarkdigEngine.Extensions { using Markdig; using Markdig.Renderers; public class TabGroupExtension : IMarkdownExtension { ...
mit
C#
754c3a51fa4ecda63b9f4712820a0663e7b9980f
Format adjustment after while loop was removed
SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice
src/SFA.DAS.LevyAggregationProvider.Worker/Providers/LevyAggregationManager.cs
src/SFA.DAS.LevyAggregationProvider.Worker/Providers/LevyAggregationManager.cs
using System; using System.Threading.Tasks; using MediatR; using NLog; using SFA.DAS.EmployerApprenticeshipsService.Application.Commands.CreateLevyAggregation; using SFA.DAS.EmployerApprenticeshipsService.Application.Messages; using SFA.DAS.EmployerApprenticeshipsService.Application.Queries.GetLevyDeclaration; using S...
using System; using System.Threading.Tasks; using MediatR; using NLog; using SFA.DAS.EmployerApprenticeshipsService.Application.Commands.CreateLevyAggregation; using SFA.DAS.EmployerApprenticeshipsService.Application.Messages; using SFA.DAS.EmployerApprenticeshipsService.Application.Queries.GetLevyDeclaration; using S...
mit
C#
d18c55abb5893345da8cf59b7c6f48d42c85aaf4
删除信息。
yoyocms/YoYoCms.AbpProjectTemplate,yoyocms/YoYoCms.AbpProjectTemplate,yoyocms/YoYoCms.AbpProjectTemplate
src/YoYoCms.AbpProjectTemplate.Application/AbpProjectTemplateAppServiceBase.cs
src/YoYoCms.AbpProjectTemplate.Application/AbpProjectTemplateAppServiceBase.cs
using System; using System.Threading.Tasks; using Abp.Application.Services; using Abp.IdentityFramework; using Abp.MultiTenancy; using Abp.Runtime.Session; using Microsoft.AspNet.Identity; using YoYoCms.AbpProjectTemplate.AppExtensions.AbpSessions; using YoYoCms.AbpProjectTemplate.Authorization.Users; using YoYoCms.Ab...
using System; using System.Threading.Tasks; using Abp.Application.Services; using Abp.Domain.Repositories; using Abp.IdentityFramework; using Abp.MultiTenancy; using Abp.Runtime.Session; using Microsoft.AspNet.Identity; using YoYoCms.AbpProjectTemplate.AppExtensions.AbpSessions; using YoYoCms.AbpProjectTemplate.Author...
apache-2.0
C#
adf814fb506be9ef4d3c72dcdf77e9deff943959
Use Cast instead of Map.
FacilityApi/FacilityCSharp
src/Facility.Core/Http/HttpContentSerializer.cs
src/Facility.Core/Http/HttpContentSerializer.cs
using System; using System.Net.Http; using System.Threading; using System.Threading.Tasks; namespace Facility.Core.Http { /// <summary> /// Serializes and deserializes DTOs for HTTP requests and responses. /// </summary> public abstract class HttpContentSerializer { /// <summary> /// The default media type fo...
using System; using System.Net.Http; using System.Threading; using System.Threading.Tasks; namespace Facility.Core.Http { /// <summary> /// Serializes and deserializes DTOs for HTTP requests and responses. /// </summary> public abstract class HttpContentSerializer { /// <summary> /// The default media type fo...
mit
C#
f12c7d794f3a380995f6ebd9a0da2a1fc613a0a3
Update src/FluentNHibernate/Cfg/Db/DB2Configuration.cs
oceanho/fluent-nhibernate,owerkop/fluent-nhibernate,lingxyd/fluent-nhibernate,bogdan7/nhibernate,narnau/fluent-nhibernate,hzhgis/ss,bogdan7/nhibernate,HermanSchoenfeld/fluent-nhibernate,bogdan7/nhibernate,HermanSchoenfeld/fluent-nhibernate,hzhgis/ss,owerkop/fluent-nhibernate,lingxyd/fluent-nhibernate,hzhgis/ss,oceanho/...
src/FluentNHibernate/Cfg/Db/DB2Configuration.cs
src/FluentNHibernate/Cfg/Db/DB2Configuration.cs
using NHibernate.Dialect; using NHibernate.Driver; namespace FluentNHibernate.Cfg.Db { public class DB2Configuration : PersistenceConfiguration<DB2Configuration, DB2ConnectionStringBuilder> { protected DB2Configuration() { Driver<DB2Driver>(); } public ...
using NHibernate.Dialect; using NHibernate.Driver; namespace FluentNHibernate.Cfg.Db { public class DB2Configuration : PersistenceConfiguration<DB2Configuration, DB2ConnectionStringBuilder> { protected DB2Configuration() { Driver<DB2Driver>(); } public ...
bsd-3-clause
C#
dd653c1edbdc7b702386629b81a3f92802dd75c2
Fix being unable to open a project created on Windows.
mrward/monodevelop-dnx-addin
src/MonoDevelop.Dnx/MonoDevelop.Dnx/XProject.cs
src/MonoDevelop.Dnx/MonoDevelop.Dnx/XProject.cs
// // XProject.cs // // Author: // Matt Ward <matt.ward@xamarin.com> // // Copyright (c) 2015 Xamarin Inc. (http://xamarin.com) // // 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 wi...
// // XProject.cs // // Author: // Matt Ward <matt.ward@xamarin.com> // // Copyright (c) 2015 Xamarin Inc. (http://xamarin.com) // // 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 wi...
mit
C#
5d0628f1079426c50ec5681924207d4b2e939685
Make class public and all methods virtual so that it can be used as a base class for interceptors.
alobakov/nhibernate-core,gliljas/nhibernate-core,hazzik/nhibernate-core,ngbrown/nhibernate-core,fredericDelaporte/nhibernate-core,RogerKratz/nhibernate-core,nhibernate/nhibernate-core,RogerKratz/nhibernate-core,ManufacturingIntelligence/nhibernate-core,nkreipke/nhibernate-core,ngbrown/nhibernate-core,lnu/nhibernate-cor...
src/NHibernate/Cfg/EmptyInterceptor.cs
src/NHibernate/Cfg/EmptyInterceptor.cs
using System; using System.Collections; using NHibernate.Type; namespace NHibernate.Cfg { [Serializable] public class EmptyInterceptor : IInterceptor { public virtual void OnDelete( object entity, object id, object[ ] state, string[ ] propertyNames, IType[ ] types ) { } public virtual bool OnFlushDirty( ob...
using System; using System.Collections; using NHibernate.Type; namespace NHibernate.Cfg { [Serializable] internal class EmptyInterceptor : IInterceptor { public EmptyInterceptor() { } public void OnDelete( object entity, object id, object[ ] state, string[ ] propertyNames, IType[ ] types ) { } pub...
lgpl-2.1
C#
f9c8200b2b6f4ca140f99a336eb8ff86706f9f24
Fix for resend confirmation button
tpkelly/voting-application,JDawes-ScottLogic/voting-application,tpkelly/voting-application,Generic-Voting-Application/voting-application,JDawes-ScottLogic/voting-application,Generic-Voting-Application/voting-application,stevenhillcox/voting-application,tpkelly/voting-application,JDawes-ScottLogic/voting-application,ste...
VotingApplication/VotingApplication.Web/Views/Routes/ConfirmRegistration.cshtml
VotingApplication/VotingApplication.Web/Views/Routes/ConfirmRegistration.cshtml
<div ng-app="GVA.Manage" ng-controller="ConfirmRegistrationController"> <div class="manage-area centered"> <h2> Thank you for registering! </h2> <p class="text-centered"> You should receive an Email confirmation shortly. </p> <p class="text-centered">...
<div ng-app="GVA.Manage" ng-controller="ConfirmRegistrationController"> <div class="manage-area centered"> <h2> Thank you for registering! </h2> <p class="text-centered"> You should receive an Email confirmation shortly. </p> <p class="text-centered">...
apache-2.0
C#
b060564c51100a182339fa3da96f98b7477cf784
Simplify GlobalKeywordRecommender
dotnet/roslyn,dotnet/roslyn,dotnet/roslyn
src/Features/CSharp/Portable/Completion/KeywordRecommenders/GlobalKeywordRecommender.cs
src/Features/CSharp/Portable/Completion/KeywordRecommenders/GlobalKeywordRecommender.cs
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System.Threading; using Microsoft.CodeAnalysis.CSharp.Extensions; using Microsoft.CodeAnalysis.CSharp.Extensi...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System.Threading; using Microsoft.CodeAnalysis.CSharp.Extensions; using Microsoft.CodeAnalysis.CSharp.Extensi...
mit
C#
3eecbc1b4c06acd69348fd49a4fdb32aee54719e
Add default AppConfigCommand constructor
appharbor/appharbor-cli
src/AppHarbor/Commands/AddConfigCommand.cs
src/AppHarbor/Commands/AddConfigCommand.cs
using System; namespace AppHarbor.Commands { public class AddConfigCommand : ICommand { public AddConfigCommand() { } public void Execute(string[] arguments) { throw new NotImplementedException(); } } }
using System; namespace AppHarbor.Commands { public class AddConfigCommand : ICommand { public void Execute(string[] arguments) { throw new NotImplementedException(); } } }
mit
C#
f92469309de4ecc7566ead387639f62ef3ff5ba0
Update feed and gravatar (#108)
stvansolano/planetxamarin,MabroukENG/planetxamarin,stvansolano/planetxamarin,beraybentesen/planetxamarin,beraybentesen/planetxamarin,planetxamarin/planetxamarin,beraybentesen/planetxamarin,planetxamarin/planetxamarin,stvansolano/planetxamarin,MabroukENG/planetxamarin,MabroukENG/planetxamarin,planetxamarin/planetxamarin...
src/Firehose.Web/Authors/TheXamarinShow.cs
src/Firehose.Web/Authors/TheXamarinShow.cs
using Firehose.Web.Infrastructure; using System; using System.Collections.Generic; namespace Firehose.Web.Authors { public class TheXamarinShow : IAmACommunityMember { public string FirstName => "The Xamarin"; public string LastName => "Show"; public string StateOrRegion => "Channel ...
using Firehose.Web.Infrastructure; using System; using System.Collections.Generic; namespace Firehose.Web.Authors { public class TheXamarinShow : IAmACommunityMember { public string FirstName => "The Xamarin"; public string LastName => "Show"; public string StateOrRegion => "Channel ...
mit
C#
88e809d8afe3f67992bfa81bcec93966eeaac960
Fix conversion of GitHubActionsTrigger (#410)
nuke-build/nuke,nuke-build/nuke,nuke-build/nuke,nuke-build/nuke
source/Nuke.Common/CI/GitHubActions/Configuration/GitHubActionsConfiguration.cs
source/Nuke.Common/CI/GitHubActions/Configuration/GitHubActionsConfiguration.cs
// Copyright 2019 Maintainers of NUKE. // Distributed under the MIT License. // https://github.com/nuke-build/nuke/blob/master/LICENSE using System.Linq; using Nuke.Common.Tooling; using Nuke.Common.Utilities; using Nuke.Common.Utilities.Collections; namespace Nuke.Common.CI.GitHubActions.Configuration { public c...
// Copyright 2019 Maintainers of NUKE. // Distributed under the MIT License. // https://github.com/nuke-build/nuke/blob/master/LICENSE using System; using System.Linq; using Nuke.Common.Utilities; using Nuke.Common.Utilities.Collections; namespace Nuke.Common.CI.GitHubActions.Configuration { public class GitHubAc...
mit
C#
44bacd0ba6ab6108f611f65e27a318d4859b4253
Fix path check
AlexanderSher/RTVS,MikhailArkhipov/RTVS,karthiknadig/RTVS,AlexanderSher/RTVS,karthiknadig/RTVS,MikhailArkhipov/RTVS,MikhailArkhipov/RTVS,AlexanderSher/RTVS,AlexanderSher/RTVS,AlexanderSher/RTVS,karthiknadig/RTVS,MikhailArkhipov/RTVS,AlexanderSher/RTVS,MikhailArkhipov/RTVS,karthiknadig/RTVS,AlexanderSher/RTVS,MikhailArk...
src/R/Components/Impl/PackageManager/Implementation/View/PackageDetails.xaml.cs
src/R/Components/Impl/PackageManager/Implementation/View/PackageDetails.xaml.cs
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. using System; using System.ComponentModel; using System.Diagnostics; using System.IO; using System.Windows; using System.Windows.Controls; using System.Windows.Navig...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. using System; using System.ComponentModel; using System.Diagnostics; using System.IO; using System.Windows; using System.Windows.Controls; using System.Windows.Navig...
mit
C#
c75f9741b3d3961600642d3ec6321b298fca44be
remove unneccessary usings from Constants
LukeWinikates/dotnet-toolbox,dotnet-toolbox/dotnet-toolbox,LukeWinikates/dotnet-toolbox,dotnet-toolbox/dotnet-toolbox,dotnet-toolbox/dotnet-toolbox,LukeWinikates/dotnet-toolbox,LukeWinikates/dotnet-toolbox,dotnet-toolbox/dotnet-toolbox
src/dotnet-toolbox.common/Constants.cs
src/dotnet-toolbox.common/Constants.cs
namespace dotnet_toolbox.common { public static class Constants { public static class Redis { public static readonly string PackageCrawlerJobQueueName = "PackageCrawlerJob"; public static readonly int PACKAGES_DB = 1; } } }
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace dotnet_toolbox.common { public static class Constants { public static class Redis { public static readonly string PackageCrawlerJobQueueName = "PackageCrawlerJob"; ...
mit
C#