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
2216ad4f10ac3155e1a4912c0fa6294b22831381
Fix SQL Server tests
danielgerlag/workflow-core
test/WorkflowCore.Tests.SqlServer/DockerSetup.cs
test/WorkflowCore.Tests.SqlServer/DockerSetup.cs
using System; using System.Collections.Generic; using System.Data.SqlClient; using Docker.Testify; using Xunit; namespace WorkflowCore.Tests.SqlServer { public class SqlDockerSetup : DockerSetup { public static string ConnectionString { get; set; } public static string ScenarioConnectionString...
using System; using System.Collections.Generic; using System.Data.SqlClient; using Docker.Testify; using Xunit; namespace WorkflowCore.Tests.SqlServer { public class SqlDockerSetup : DockerSetup { public static string ConnectionString { get; set; } public static string ScenarioConnectionString...
mit
C#
3d79534d9896370c7431e2af8c433e6624d8d342
update AsyncLock
WeihanLi/WeihanLi.Common,WeihanLi/WeihanLi.Common,WeihanLi/WeihanLi.Common
src/WeihanLi.Common/AsyncLock.cs
src/WeihanLi.Common/AsyncLock.cs
using System; using System.Threading; using System.Threading.Tasks; namespace WeihanLi.Common { /// <summary> /// AsyncLock basedOn SemaphoreSlim /// 基于 SemaphoreSlim 的 异步锁 /// </summary> public sealed class AsyncLock : IDisposable { private readonly SemaphoreSlim _mutex = new Semaphor...
using System; using System.Threading; using System.Threading.Tasks; namespace WeihanLi.Common { /// <summary> /// AsyncLock basedOn SemaphoreSlim /// 基于 SemaphoreSlim 的 异步锁 /// </summary> public sealed class AsyncLock : IDisposable { private readonly SemaphoreSlim _mutex = new Semaphor...
mit
C#
0400f88da8c4f556aecc9e43f9c35d92788280e2
Add Func with 3 params
dahall/vanara
Core/BkwdComp/Func.NET2.cs
Core/BkwdComp/Func.NET2.cs
#if (NET20) namespace System { /// <summary>Encapsulates a method that returns a value of the type specified by the TResult parameter.</summary> /// <typeparam name="TResult">The type of the return value of the method that this delegate encapsulates.</typeparam> /// <returns>The return value of the method that this ...
#if (NET20) namespace System { /// <summary>Encapsulates a method that returns a value of the type specified by the TResult parameter.</summary> /// <typeparam name="TResult">The type of the return value of the method that this delegate encapsulates.</typeparam> /// <returns>The return value of the method that this ...
mit
C#
21ae453289ff2bbac0d80307c7c2767dc0aa0db8
Fix tests not running on windows
EVAST9919/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,ZLima12/osu-framework,peppy/osu-framework,ppy/osu-framework,ZLima12/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,EVAST9919/osu-framework,smoogipooo/osu-framework,ppy/osu-framework
osu.Framework.Tests/Platform/TrackBassTest.cs
osu.Framework.Tests/Platform/TrackBassTest.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.Threading; using ManagedBass; using NUnit.Framework; using osu.Framework.Audio.Track; using osu.Framework.IO.Stores; using osu.Framework.Platform; namespace...
// 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.Threading; using ManagedBass; using NUnit.Framework; using osu.Framework.Audio.Track; using osu.Framework.IO.Stores; namespace osu.Framework.Tests.Platform ...
mit
C#
2df71a5c9b7576594679d0a79d3e7704d0a18f1d
Add whitespace to type enum definitions
SICU-Stress-Measurement-System/frontend-cs
StressMeasurementSystem/Models/Patient.cs
StressMeasurementSystem/Models/Patient.cs
using System.Collections.Generic; using System.Net.Mail; namespace StressMeasurementSystem.Models { public class Patient { #region Structs public struct Name { public string Prefix { get; set; } public string First { get; set; } public string Middle...
using System.Collections.Generic; using System.Net.Mail; namespace StressMeasurementSystem.Models { public class Patient { #region Structs public struct Name { public string Prefix { get; set; } public string First { get; set; } public string Middle...
apache-2.0
C#
faff413575d5bfe426fe24ddc82c1ce8563e29fa
Fix to avoid CA1307
y-iihoshi/ThScoreFileConverter,y-iihoshi/ThScoreFileConverter
ThScoreFileConverter/Squirrel/SQString.cs
ThScoreFileConverter/Squirrel/SQString.cs
//----------------------------------------------------------------------- // <copyright file="SQString.cs" company="None"> // Copyright (c) IIHOSHI Yoshinori. // Licensed under the BSD-2-Clause license. See LICENSE.txt file in the project root for full license information. // </copyright> //---------------------------...
//----------------------------------------------------------------------- // <copyright file="SQString.cs" company="None"> // Copyright (c) IIHOSHI Yoshinori. // Licensed under the BSD-2-Clause license. See LICENSE.txt file in the project root for full license information. // </copyright> //---------------------------...
bsd-2-clause
C#
4391885572aba25e27013ad8699a303fc61d068e
fix build error
steven-r/Oberon0Compiler
oberon0/Expressions/Arithmetic/ArithmeticRepository.cs
oberon0/Expressions/Arithmetic/ArithmeticRepository.cs
using System; using System.Collections.Generic; using System.ComponentModel.Composition; using System.ComponentModel.Composition.Hosting; using Oberon0.Compiler.Solver; namespace Oberon0.Compiler.Expressions.Arithmetic { class ArithmeticRepository { #pragma warning disable 649 [ImportMany(typeof(ICal...
using System; using System.Collections.Generic; using System.ComponentModel.Composition; using System.ComponentModel.Composition.Hosting; using System.ComponentModel.Composition.Registration; using System.Linq; using System.Reflection; using System.Text; using System.Threading.Tasks; using Oberon0.Compiler.Solver; na...
mit
C#
0a7b64e0fd8a61f51d87a538b830888d5700bb6f
Bump version
alecgorge/adzerk-dot-net
StackExchange.Adzerk/Properties/AssemblyInfo.cs
StackExchange.Adzerk/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("St...
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("St...
mit
C#
81cfe057e95ffb27605716c3fd7f8f8281fc5b6b
Update DotNetXmlSerializer.cs
tiksn/TIKSN-Framework
TIKSN.Core/Serialization/DotNetXmlSerializer.cs
TIKSN.Core/Serialization/DotNetXmlSerializer.cs
using System.IO; using System.Xml.Serialization; namespace TIKSN.Serialization { public class DotNetXmlSerializer : SerializerBase<string> { protected override string SerializeInternal<T>(T obj) { var serializer = new XmlSerializer(obj.GetType()); var writer = new String...
using System.IO; using System.Xml.Serialization; namespace TIKSN.Serialization { public class DotNetXmlSerializer : SerializerBase<string> { protected override string SerializeInternal<T>(T obj) { var serializer = new XmlSerializer(obj.GetType()); var writer = new String...
mit
C#
96bfb808a8e554f0c78be0a395fd371ffbc6f758
add missing registration
zmira/abremir.AllMyBricks
abremir.AllMyBricks.Device/Configuration/IoC.cs
abremir.AllMyBricks.Device/Configuration/IoC.cs
using abremir.AllMyBricks.Device.Interfaces; using abremir.AllMyBricks.Device.Services; using SimpleInjector; using Xamarin.Essentials.Implementation; using Xamarin.Essentials.Interfaces; namespace abremir.AllMyBricks.Device.Configuration { public static class IoC { public static Container Configure(C...
using abremir.AllMyBricks.Device.Interfaces; using abremir.AllMyBricks.Device.Services; using SimpleInjector; using Xamarin.Essentials.Implementation; using Xamarin.Essentials.Interfaces; namespace abremir.AllMyBricks.Device.Configuration { public static class IoC { public static Container Configure(C...
mit
C#
67dd07c8d0486d4758be62701d7be0300808673d
Fix migration
CollActionteam/CollAction,CollActionteam/CollAction,CollActionteam/CollAction,CollActionteam/CollAction,CollActionteam/CollAction
CollAction/Migrations/20180710223436_ProjectEmails.cs
CollAction/Migrations/20180710223436_ProjectEmails.cs
using System; using Microsoft.EntityFrameworkCore.Migrations; namespace CollAction.Migrations { public partial class unsubscribetoken : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.AddColumn<int>( name: "NumberProjectE...
using System; using Microsoft.EntityFrameworkCore.Migrations; namespace CollAction.Migrations { public partial class unsubscribetoken : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.AddColumn<int>( name: "NumberProjectE...
agpl-3.0
C#
1039d82d161681ab35048720fb751531eb056cfc
Update KpsHandler.cs
yugecin/osukps
osukps/KpsHandler.cs
osukps/KpsHandler.cs
using System.Drawing; using System.Windows.Forms; namespace osukps { class KpsHandler { private Label lblKps; private Label lblTotal; private byte index; private byte[] kps; private int total; private int max=0; public KpsHandler( Label lblKps, Label lblTotal ) { this.lblK...
using System.Drawing; using System.Windows.Forms; namespace osukps { class KpsHandler { private Label lblKps; private Label lblTotal; private byte index; private byte[] kps; private int total; private int max=0; public KpsHandler( Label lblKps, Label lblTotal ) { this.lblKps = lblKps; ...
mit
C#
e17cd9e964e5eaeded62b3b2a4584a813bec5470
Reduce length of tests
johnneijzen/osu,peppy/osu-new,peppy/osu,smoogipoo/osu,EVAST9919/osu,ppy/osu,ppy/osu,peppy/osu,NeoAdonis/osu,NeoAdonis/osu,EVAST9919/osu,UselessToucan/osu,smoogipoo/osu,ZLima12/osu,peppy/osu,UselessToucan/osu,2yangk23/osu,johnneijzen/osu,ZLima12/osu,smoogipoo/osu,smoogipooo/osu,NeoAdonis/osu,UselessToucan/osu,ppy/osu,2y...
osu.Game.Tests/Visual/Gameplay/TestSceneAutoplay.cs
osu.Game.Tests/Visual/Gameplay/TestSceneAutoplay.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; using System.Linq; using osu.Game.Beatmaps; using osu.Game.Rulesets; using osu.Game.Rulesets.Scoring; using osu.Game.Screens.Play; namespac...
// 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; using System.Linq; using osu.Game.Beatmaps; using osu.Game.Rulesets; using osu.Game.Rulesets.Scoring; using osu.Game.Screens.Play; namespac...
mit
C#
df975d5aa7d55c5d5cad2162060b93da01f81830
Fix build problem
Nabile-Rahmani/osu-framework,ppy/osu-framework,RedNesto/osu-framework,DrabWeb/osu-framework,naoey/osu-framework,EVAST9919/osu-framework,default0/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,RedNesto/osu-framework,DrabWeb/osu-framework,ZLima12/osu-framework,smoogipooo/osu-framework,naoey/osu-framework,p...
osu.Framework.VisualTests/Tests/TestCaseSliderbar.cs
osu.Framework.VisualTests/Tests/TestCaseSliderbar.cs
using System; using osu.Framework.Configuration; using osu.Framework.GameModes.Testing; using osu.Framework.Graphics.Sprites; using osu.Framework.Graphics.UserInterface; using OpenTK; using OpenTK.Graphics; namespace osu.Framework.VisualTests.Tests { public class TestCaseSliderbar : TestCase { ...
using System; using osu.Framework.Configuration; using osu.Framework.GameModes.Testing; using osu.Framework.Graphics.Sprites; using osu.Framework.Graphics.UserInterface; using OpenTK; using OpenTK.Graphics; namespace osu.Framework.VisualTests.Tests { public class TestCaseSliderbar : TestCase { ...
mit
C#
bd351535177d0ba388b00cacae85aef856a04f57
Fix incorrect default value in interface.
NeoAdonis/osu-framework,EVAST9919/osu-framework,ZLima12/osu-framework,EVAST9919/osu-framework,smoogipooo/osu-framework,DrabWeb/osu-framework,naoey/osu-framework,ppy/osu-framework,peppy/osu-framework,Nabile-Rahmani/osu-framework,smoogipooo/osu-framework,paparony03/osu-framework,peppy/osu-framework,Tom94/osu-framework,Re...
osu.Framework/Graphics/Transformations/ITransform.cs
osu.Framework/Graphics/Transformations/ITransform.cs
//Copyright (c) 2007-2016 ppy Pty Ltd <contact@ppy.sh>. //Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE using System; namespace osu.Framework.Graphics.Transformations { public interface ITransform { double Duration { get; } bool ...
//Copyright (c) 2007-2016 ppy Pty Ltd <contact@ppy.sh>. //Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE using System; namespace osu.Framework.Graphics.Transformations { public interface ITransform { double Duration { get; } bool ...
mit
C#
f085c0c60117c8669aa0b6e5f1225c2ab0f4a4ed
update version
rajfidel/appium-dotnet-driver,appium/appium-dotnet-driver,Astro03/appium-dotnet-driver,rajfidel/appium-dotnet-driver,suryarend/appium-dotnet-driver
appium-dotnet-driver/Properties/AssemblyInfo.cs
appium-dotnet-driver/Properties/AssemblyInfo.cs
using System.Reflection; // Information about this assembly is defined by the following attributes. // Change them to the values specific to your project. [assembly: AssemblyTitle ("appium-dotnet-driver")] [assembly: AssemblyDescription ("Appium Dotnet Driver")] [assembly: AssemblyConfiguration ("")] [assembly: Asse...
using System.Reflection; // Information about this assembly is defined by the following attributes. // Change them to the values specific to your project. [assembly: AssemblyTitle ("appium-dotnet-driver")] [assembly: AssemblyDescription ("Appium Dotnet Driver")] [assembly: AssemblyConfiguration ("")] [assembly: Asse...
apache-2.0
C#
8446d8b8dedba9a89c6397e98cc5fc6d797ab597
Fix to read in dlv attribute A correctly from xml --Signed-off-by Kathleen Oneal
ADAPT/ISOv4Plugin
ISOv4Plugin/ImportMappers/LogMappers/XmlReaders/DlvReader.cs
ISOv4Plugin/ImportMappers/LogMappers/XmlReaders/DlvReader.cs
using System; using System.Collections.Generic; using System.Linq; using System.Xml.Linq; using AgGateway.ADAPT.ISOv4Plugin.ObjectModel; namespace AgGateway.ADAPT.ISOv4Plugin.ImportMappers.LogMappers.XmlReaders { public interface IDlvReader { IEnumerable<DLVHeader> Read(List<XElement> dlvElement); ...
using System; using System.Collections.Generic; using System.Linq; using System.Xml.Linq; using AgGateway.ADAPT.ISOv4Plugin.ObjectModel; namespace AgGateway.ADAPT.ISOv4Plugin.ImportMappers.LogMappers.XmlReaders { public interface IDlvReader { IEnumerable<DLVHeader> Read(List<XElement> dlvElement); ...
epl-1.0
C#
72023606ff239d07092f661d5cba6cb4b7267b30
Fix typo in exception message
gael-ltd/NEventStore
src/NEventStore/CommonDomain/Core/ExtensionMethods.cs
src/NEventStore/CommonDomain/Core/ExtensionMethods.cs
namespace CommonDomain.Core { using System.Globalization; internal static class ExtensionMethods { public static string FormatWith(this string format, params object[] args) { return string.Format(CultureInfo.InvariantCulture, format ?? string.Empty, args); } public static void ThrowHandlerNotFound(this ...
namespace CommonDomain.Core { using System.Globalization; internal static class ExtensionMethods { public static string FormatWith(this string format, params object[] args) { return string.Format(CultureInfo.InvariantCulture, format ?? string.Empty, args); } public static void ThrowHandlerNotFound(this ...
mit
C#
848d422bd1865df4920504ece278eb2a628b12e2
Make NegotiationToken public for manual check type (#141)
SteveSyfuhs/Kerberos.NET
Kerberos.NET/Entities/SpNego/NegotiateContextToken.cs
Kerberos.NET/Entities/SpNego/NegotiateContextToken.cs
using Kerberos.NET.Crypto; using System; namespace Kerberos.NET.Entities { public sealed class NegotiateContextToken : ContextToken { public NegotiateContextToken(GssApiToken gssToken) { // SPNego tokens optimistically include a token of the first MechType // so if mech...
using Kerberos.NET.Crypto; using System; namespace Kerberos.NET.Entities { public sealed class NegotiateContextToken : ContextToken { private readonly NegotiationToken token; public NegotiateContextToken(GssApiToken gssToken) { // SPNego tokens optimistically include a tok...
mit
C#
3b32ff1a0ff754c6c8a59ef3a90202353564b1c0
fix encoding of GlobalSuppressions
adamralph/xbehave.net,hitesh97/xbehave.net,xbehave/xbehave.net,mvalipour/xbehave.net,modulexcite/xbehave.net,modulexcite/xbehave.net,mvalipour/xbehave.net,hitesh97/xbehave.net
src/Xbehave.2.Execution.desktop/GlobalSuppressions.cs
src/Xbehave.2.Execution.desktop/GlobalSuppressions.cs
// <copyright file="GlobalSuppressions.cs" company="xBehave.net contributors"> // Copyright (c) xBehave.net contributors. All rights reserved. // </copyright> // This file is used by Code Analysis to maintain SuppressMessage // attributes that are applied to this project. // Project-level suppressions either h...
// <copyright file="GlobalSuppressions.cs" company="xBehave.net contributors"> // Copyright (c) xBehave.net contributors. All rights reserved. // </copyright...
mit
C#
4dc476313630b8563dd99063b36525d5092a9aa0
Order elements
nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet
WalletWasabi.Fluent/Behaviors/CheckMarkVisibilityBehavior.cs
WalletWasabi.Fluent/Behaviors/CheckMarkVisibilityBehavior.cs
using Avalonia; using Avalonia.Controls; using ReactiveUI; using System; using System.Reactive; using System.Reactive.Disposables; using System.Reactive.Linq; using Avalonia.Xaml.Interactivity; namespace WalletWasabi.Fluent.Behaviors { public class CheckMarkVisibilityBehavior : Behavior<PathIcon> { private Composi...
using Avalonia; using Avalonia.Controls; using ReactiveUI; using System; using System.Reactive; using System.Reactive.Disposables; using System.Reactive.Linq; using Avalonia.Xaml.Interactivity; namespace WalletWasabi.Fluent.Behaviors { public class CheckMarkVisibilityBehavior : Behavior<PathIcon> { public static r...
mit
C#
db4339dc552f02aa0330a6ed0480766f2887a889
Change the switch to set/update key to "/newkey:"
IoTChinaTeam/PCSBingMapKeyManagerFX
Program.cs
Program.cs
using System; using System.IO; using System.Linq; using System.Reflection; namespace PCSBingMapKeyManager { class Program { private const string NewKeySwitch = "/newkey:"; static void Main(string[] args) { if (args.Length > 1 || args.Any() && !args[0].StartsWith(NewKeySwit...
using System; using System.IO; using System.Linq; using System.Reflection; namespace PCSBingMapKeyManager { class Program { private const string NewKeySwitch = "/a:"; static void Main(string[] args) { if (args.Length > 1 || args.Any() && !args[0].StartsWith(NewKeySwitch)) ...
mit
C#
b55bb87980689006389c991144833a7f52e31608
Update RegisterHandlersWithAutofac to only register types once
Lavinski/Enexure.MicroBus
src/Enexure.MicroBus.Autofac/ContainerExtensions.cs
src/Enexure.MicroBus.Autofac/ContainerExtensions.cs
using System; using System.Collections.Generic; using System.Linq; using Autofac; namespace Enexure.MicroBus.Autofac { public static class ContainerExtensions { public static ContainerBuilder RegisterMicroBus(this ContainerBuilder containerBuilder, Func<IHandlerRegister, IHandlerRegister> registerHandler...
using System; using System.Collections.Generic; using System.Linq; using Autofac; namespace Enexure.MicroBus.Autofac { public static class ContainerExtensions { public static ContainerBuilder RegisterMicroBus(this ContainerBuilder containerBuilder, Func<IHandlerRegister, IHandlerRegister> registerHan...
mit
C#
4448cb52e9a83ff4cf9450bfffd2b77dac3b59e8
add setup and teardown for drone tests to fix unit tests
gep13/GitVersion,gep13/GitVersion,ermshiperete/GitVersion,ParticularLabs/GitVersion,ParticularLabs/GitVersion,asbjornu/GitVersion,GitTools/GitVersion,ermshiperete/GitVersion,asbjornu/GitVersion,dazinator/GitVersion,GitTools/GitVersion,ermshiperete/GitVersion,dazinator/GitVersion,ermshiperete/GitVersion
src/GitVersionCore.Tests/BuildServers/DroneTests.cs
src/GitVersionCore.Tests/BuildServers/DroneTests.cs
namespace GitVersionCore.Tests.BuildServers { using System; using GitVersion; using NUnit.Framework; using Shouldly; [TestFixture] public class DroneTests : TestBase { [SetUp] public void SetUp() { Environment.SetEnvironmentVariable("DRONE", "true"); ...
namespace GitVersionCore.Tests.BuildServers { using System; using GitVersion; using NUnit.Framework; using Shouldly; [TestFixture] public class DroneTests : TestBase { [Test] public void CanApplyToCurrentContext_ShouldBeTrue_WhenEnvironmentVariableIsSet() { ...
mit
C#
2e2eee75f57f337204053e28b81bdc4b9559b2ee
Use NaturalStringComparer to compare titles
bra1nb3am3r/simpleDLNA,itamar82/simpleDLNA,antonio-bakula/simpleDLNA,nmaier/simpleDLNA
fsserver/Comparers/TitleComparer.cs
fsserver/Comparers/TitleComparer.cs
using System; using System.Collections; using NMaier.sdlna.Server; using NMaier.sdlna.Util; namespace NMaier.sdlna.FileMediaServer.Comparers { class TitleComparer : IItemComparer, IComparer { private static StringComparer comp = new NaturalStringComparer(); public virtual string Description { get...
using NMaier.sdlna.Server; namespace NMaier.sdlna.FileMediaServer.Comparers { class TitleComparer : IItemComparer { public virtual string Description { get { return "Sort alphabetically"; } } public virtual string Name { get { return "title"; } } public virtual int Com...
bsd-2-clause
C#
0aa73f7a6caae10c61481081dd24205c4b1a3412
fix test fixture dispose order
andrewboudreau/Groceries.Boudreau.Cloud,andrewboudreau/Groceries.Boudreau.Cloud,andrewboudreau/Groceries.Boudreau.Cloud,andrewboudreau/Groceries.Boudreau.Cloud
test/Groceries.Boudreau.Cloud.Integration/TestServerFixture.cs
test/Groceries.Boudreau.Cloud.Integration/TestServerFixture.cs
namespace IntegrationTests { using System; using System.Net.Http; using System.IO; using Microsoft.AspNetCore.TestHost; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.PlatformAbstractions; /// <summary> /// TestFixture for Creating and Destroying <see cref="Groceries.B...
namespace IntegrationTests { using System; using System.Net.Http; using System.IO; using Microsoft.AspNetCore.TestHost; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.PlatformAbstractions; /// <summary> /// TestFixture for Creating and Destroying <see cref="Groceries.B...
mit
C#
a824a1d969958191ad98200b6ca3425018eadb20
Remove unused variable.
jonathanpeppers/Embeddinator-4000,mono/Embeddinator-4000,jonathanpeppers/Embeddinator-4000,mono/Embeddinator-4000,mono/Embeddinator-4000,jonathanpeppers/Embeddinator-4000,mono/Embeddinator-4000,jonathanpeppers/Embeddinator-4000,jonathanpeppers/Embeddinator-4000,mono/Embeddinator-4000,mono/Embeddinator-4000,mono/Embeddi...
binder/Generators/ObjC/ObjCGenerator.cs
binder/Generators/ObjC/ObjCGenerator.cs
using System; using System.Collections.Generic; using System.Linq; using CppSharp.AST; using CppSharp.Generators; namespace MonoEmbeddinator4000.Generators { public class ObjCGenerator : CGenerator { public ObjCGenerator(BindingContext context) : base(context) { }...
using System; using System.Collections.Generic; using System.Linq; using CppSharp.AST; using CppSharp.Generators; namespace MonoEmbeddinator4000.Generators { public class ObjCGenerator : CGenerator { public ObjCGenerator(BindingContext context) : base(context) { }...
mit
C#
e66581f5501d9baf8f0102ec9e0f0f43af07d2a6
Fix DelayablePathfinderAction
Arkhist/Hacknet-Pathfinder,Arkhist/Hacknet-Pathfinder,Arkhist/Hacknet-Pathfinder,Arkhist/Hacknet-Pathfinder
PathfinderAPI/Action/DelayablePathfinderAction.cs
PathfinderAPI/Action/DelayablePathfinderAction.cs
using System; using System.Xml; using Hacknet; using Pathfinder.Util; using Pathfinder.Util.XML; namespace Pathfinder.Action { public abstract class DelayablePathfinderAction : PathfinderAction { [XMLStorage] public string DelayHost; [XMLStorage] public string Delay; ...
using System; using System.Xml; using Hacknet; using Pathfinder.Util; using Pathfinder.Util.XML; namespace Pathfinder.Action { public abstract class DelayablePathfinderAction : PathfinderAction { [XMLStorage] public string DelayHost; [XMLStorage] public string Delay; ...
mit
C#
63ce82888d4691818d9dc63447f4d5ad3db44f2f
Make IEnumerable.IsNullOrEmpty extension method generic
roman-yagodin/R7.University,roman-yagodin/R7.University,roman-yagodin/R7.University
R7.University/ModelExtensions/EnumerableExtensions.cs
R7.University/ModelExtensions/EnumerableExtensions.cs
// // EnumerableExtensions.cs // // Author: // Roman M. Yagodin <roman.yagodin@gmail.com> // // Copyright (c) 2016 Roman M. Yagodin // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by // the Free Software F...
// // EnumerableExtensions.cs // // Author: // Roman M. Yagodin <roman.yagodin@gmail.com> // // Copyright (c) 2016 Roman M. Yagodin // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by // the Free Software F...
agpl-3.0
C#
3d67e7f4df9aa63071824e667cc48c43fe08643e
Simplify ThreadSafeLong.Add()
andrasm/prometheus-net
Prometheus.NetStandard/Advanced/ThreadSafeLong.cs
Prometheus.NetStandard/Advanced/ThreadSafeLong.cs
using System.Threading; namespace Prometheus.Advanced { public struct ThreadSafeLong { private long _value; public ThreadSafeLong(long value) { _value = value; } public long Value { get { return Interlocked.R...
using System.Threading; namespace Prometheus.Advanced { public struct ThreadSafeLong { private long _value; public ThreadSafeLong(long value) { _value = value; } public long Value { get { return Interlocked.R...
mit
C#
80046d8c49a37739f1486134fc9a226dc0efe098
Fix assembly title and product.
CamTechConsultants/CvsntGitImporter
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: AssemblyTi...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTi...
mit
C#
4aa47f54aaebafe701de9912031282fafce9d1c4
Revert "git files"
bpfz/SharprWowApi
SharprWowApi/Models/Character/CharacterPVPBrackets.cs
SharprWowApi/Models/Character/CharacterPVPBrackets.cs
using Newtonsoft.Json; namespace SharprWowApi.Models.Character { public class CharacterPVPBrackets { [JsonProperty("Arena_Bracket_2v2")] public ArenaBracket ArenaBracket2v2 { get; set; } [JsonProperty("Arena_Bracket_3v3")] public ArenaBracket ArenaBracket3v3 { get; set; } ...
using Newtonsoft.Json; namespace SharprWowApi.Models.Character { public class CharacterPVPBrackets { [JsonProperty("Arena_Bracket_2v2")] public ArenaBracket ArenaBracket2v2 { get; set; } [JsonProperty("Arena_Bracket_3v3")] public ArenaBracket ArenaBracket3v3 { get; set; } ...
unlicense
C#
74fc35bfe2285e7614bc63cf6aa835c7ffa9bbae
update Header
csyntax/BlogSystem
Source/BlogSystem.Web/Views/Shared/_Header.cshtml
Source/BlogSystem.Web/Views/Shared/_Header.cshtml
<header> <div class="navbar navbar-default navbar-static-top"> <div class="container"> <div class="navbar-header"> <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse"> <span class="icon-bar"></span> ...
@using BlogSystem.Common <header> <div class="navbar navbar-default navbar-static-top"> <div class="container"> <div class="navbar-header"> <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse"> <span class="icon-b...
mit
C#
76dd525adad1f3ae5fa263b873e96f1b5cfa4350
Bump version to 2.4.0
Coding-Enthusiast/Watch-Only-Bitcoin-Wallet
WatchOnlyBitcoinWallet/Properties/AssemblyInfo.cs
WatchOnlyBitcoinWallet/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#
b98d7460df93ccce345965753df882b74d4468a0
Update ShapesContainerRenderView.cs
wieslawsoltes/Draw2D,wieslawsoltes/Draw2D,wieslawsoltes/Draw2D
src/Draw2D.Wpf/Controls/ShapesContainerRenderView.cs
src/Draw2D.Wpf/Controls/ShapesContainerRenderView.cs
// Copyright (c) Wiesław Šoltés. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System.Windows.Controls; using System.Windows.Media; using Draw2D.Core.ViewModels.Containers; namespace Draw2D.Wpf.Controls { public class ShapesContain...
// Copyright (c) Wiesław Šoltés. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System.Windows.Controls; using System.Windows.Media; using Draw2D.Core.ViewModels.Containers; namespace Draw2D.Wpf.Controls { public class ShapesContain...
mit
C#
69b6c40e74eb69523c94e794fc71dbed5169e38e
Update Response.Redirect in PreferredDomainMiddleware #130
FanrayMedia/Fanray,FanrayMedia/Fanray,FanrayMedia/Fanray
src/Fan.Web/Middlewares/PreferredDomainMiddleware.cs
src/Fan.Web/Middlewares/PreferredDomainMiddleware.cs
using Fan.Settings; using Microsoft.AspNetCore.Http; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Options; using System; using System.Threading.Tasks; namespace Fan.Web.Middlewares { /// <summary> /// A middleware that does preferred domain URL forward based on user option in <see cref="AppS...
using Fan.Settings; using Microsoft.AspNetCore.Http; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Options; using Microsoft.Net.Http.Headers; using System; using System.Threading.Tasks; namespace Fan.Web.Middlewares { /// <summary> /// A middleware that does preferred domain URL forward based...
apache-2.0
C#
7dbfa296d4c716cc67e7563e23899a86c6d34bed
remove space
SneakyPeet/Fletcher
src/Fletcher.IntegrationTests/TestHelpers/Constants.cs
src/Fletcher.IntegrationTests/TestHelpers/Constants.cs
namespace Fletcher.IntegrationTests.TestHelpers { public class Constants { public const string SqlCeDatabaseFileName = "FletcherIntegration.db"; public const string SqlCeConnectionString = "Data Source = " + SqlCeDatabaseFileName + ";Version=3;"; public const string ProductsTableName = ...
namespace Fletcher.IntegrationTests.TestHelpers { public class Constants { public const string SqlCeDatabaseFileName = "FletcherIntegration.db"; public const string SqlCeConnectionString = "Data Source = " + SqlCeDatabaseFileName + ";Version=3;"; public const string ProductsTableName =...
mit
C#
49a069f2210c776e75c1e9e3d94323612b36e426
Clean and summary
jamesmontemagno/GeolocatorPlugin,jamesmontemagno/GeolocatorPlugin
src/Geolocator.Plugin.Abstractions/Address.cs
src/Geolocator.Plugin.Abstractions/Address.cs
using System; namespace Plugin.Geolocator.Abstractions { public class Address { public Address() { } public Address(Address address) { if (address == null) throw new ArgumentNullException(nameof(address)); CountryCode = address....
 // // Copyright 2011-2013, Xamarin Inc. // // 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 app...
mit
C#
45bbca0381fdc6612047b2b8e86426d1ca8316ac
Update MarkdownSnippets API to use new DirectoryMarkdownProcessor
SeanFeldman/ServiceBus.AttachmentPlugin
src/ServiceBus.AttachmentPlugin.Tests/DocoUpdater.cs
src/ServiceBus.AttachmentPlugin.Tests/DocoUpdater.cs
using MarkdownSnippets; using Xunit; public class DocoUpdater { [Fact] public void Run() { DirectoryMarkdownProcessor.RunForFilePath(); } }
using MarkdownSnippets; using Xunit; public class DocoUpdater { [Fact] public void Run() { GitHubMarkdownProcessor.RunForFilePath(); } }
mit
C#
7a593e76c688359c76703dedcf24e834186dfaa9
Build fixed.
Squidex/squidex,Squidex/squidex,Squidex/squidex,Squidex/squidex,Squidex/squidex
src/Squidex.Infrastructure/Orleans/GrainBootstrap.cs
src/Squidex.Infrastructure/Orleans/GrainBootstrap.cs
// ========================================================================== // Squidex Headless CMS // ========================================================================== // Copyright (c) Squidex UG (haftungsbeschraenkt) // All rights reserved. Licensed under the MIT license. // ===========================...
// ========================================================================== // Squidex Headless CMS // ========================================================================== // Copyright (c) Squidex UG (haftungsbeschraenkt) // All rights reserved. Licensed under the MIT license. // ===========================...
mit
C#
0c2e4ca31b35533c427dc106e24db157d5ee9ed2
Change Function.Arguments from IList to IEnumerable
modulexcite/dotless,NickCraver/dotless,modulexcite/dotless,NickCraver/dotless,modulexcite/dotless,dotless/dotless,rytmis/dotless,r2i-sitecore/dotless,modulexcite/dotless,NickCraver/dotless,r2i-sitecore/dotless,modulexcite/dotless,r2i-sitecore/dotless,rytmis/dotless,rytmis/dotless,r2i-sitecore/dotless,rytmis/dotless,dot...
src/dotless.Core/engine/LessNodes/Literals/Function.cs
src/dotless.Core/engine/LessNodes/Literals/Function.cs
/* Copyright 2009 dotless project, http://www.dotlesscss.com * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless requ...
/* Copyright 2009 dotless project, http://www.dotlesscss.com * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless requ...
apache-2.0
C#
39efd5830a170eeb44d5ab5f9c01f3b9f23dba33
Return result when dispatch a command
Vtek/Bartender
test/Bartender.Tests/AsyncCommandDispatcherTests.cs
test/Bartender.Tests/AsyncCommandDispatcherTests.cs
using Bartender.Tests.Context; using Moq; using Shouldly; using Xunit; namespace Bartender.Tests { public class AsyncCommandDispatcherTests : DispatcherTests { [Fact] public async void ShouldHandleCommandOnce_WhenCallDispatchAsyncMethod() { await AsyncCommandDispatcher.Dispa...
using Bartender.Tests.Context; using Moq; using Xunit; namespace Bartender.Tests { public class AsyncCommandDispatcherTests : DispatcherTests { [Fact] public async void ShouldHandleCommandOnce_WhenCallDispatchAsyncMethod() { await AsyncCommandDispatcher.DispatchAsync<Command...
mit
C#
534617e98e382ca7b9dd8638818c9db5a94268f5
Add TermsConditionOfText property to ComponentScopeXPathBuilder
YevgeniyShunevych/Atata,atata-framework/atata,atata-framework/atata,YevgeniyShunevych/Atata
src/Atata/ScopeSearch/ComponentScopeXPathBuilder.cs
src/Atata/ScopeSearch/ComponentScopeXPathBuilder.cs
using System; namespace Atata { public class ComponentScopeXPathBuilder : XPathBuilder<ComponentScopeXPathBuilder> { public ComponentScopeXPathBuilder(ComponentScopeLocateOptions options) { Options = options; } public ComponentScopeLocateOptions Options ...
using System; namespace Atata { public class ComponentScopeXPathBuilder : XPathBuilder<ComponentScopeXPathBuilder> { public ComponentScopeXPathBuilder(ComponentScopeLocateOptions options) { Options = options; } public ComponentScopeLocateOptions Options ...
apache-2.0
C#
0037bd155873773542d4dd763d70cd00228d7bc0
Add missing method
StefanoFiumara/Harry-Potter-Unity
Assets/Scripts/HarryPotterUnity/Cards/Generic/LessonProvider.cs
Assets/Scripts/HarryPotterUnity/Cards/Generic/LessonProvider.cs
using System; using System.Collections.Generic; using HarryPotterUnity.Cards.Generic.Interfaces; using JetBrains.Annotations; using UnityEngine; namespace HarryPotterUnity.Cards.Generic { [UsedImplicitly] public class LessonProvider : GenericCard, IPersistentCard, ILessonProvider { #reg...
using System; using System.Collections.Generic; using HarryPotterUnity.Cards.Generic.Interfaces; using JetBrains.Annotations; using UnityEngine; namespace HarryPotterUnity.Cards.Generic { [UsedImplicitly] public class LessonProvider : GenericCard, IPersistentCard, ILessonProvider { #reg...
mit
C#
9f0d7a3239a3f67c26145a9ed5e8e7308e7e1f8e
Revert "Revert "Multiple ininitialisations""
agileobjects/ReadableExpressions
ReadableExpressions.UnitTests/WhenTranslatingObjectCreations.cs
ReadableExpressions.UnitTests/WhenTranslatingObjectCreations.cs
namespace AgileObjects.ReadableExpressions.UnitTests { using System; using System.IO; using System.Linq.Expressions; using Microsoft.VisualStudio.TestTools.UnitTesting; [TestClass] public class WhenTranslatingObjectCreations { [TestMethod] public void ShouldTranslateAParame...
namespace AgileObjects.ReadableExpressions.UnitTests { using System; using System.IO; using System.Linq.Expressions; using Microsoft.VisualStudio.TestTools.UnitTesting; [TestClass] public class WhenTranslatingObjectCreations { [TestMethod] public void ShouldTranslateAParame...
mit
C#
5898108ad68c59d0bf1cdcfd89a9c73c6d72a2e0
Update DistributedCacheRepository.cs
tiksn/TIKSN-Framework
TIKSN.Core/Data/Cache/Distributed/DistributedCacheRepository.cs
TIKSN.Core/Data/Cache/Distributed/DistributedCacheRepository.cs
using System; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; using Microsoft.Extensions.Caching.Distributed; using Microsoft.Extensions.Options; using TIKSN.Serialization; namespace TIKSN.Data.Cache.Distributed { public class DistributedCacheRepository<TEntity, TIdentity> ...
using Microsoft.Extensions.Caching.Distributed; using Microsoft.Extensions.Options; using System; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; using TIKSN.Serialization; namespace TIKSN.Data.Cache.Distributed { public class DistributedCacheRepository<TEntity, TIdentity> ...
mit
C#
7a1d4cb34b91f8ac3a88a735ce8cd6a374a36cce
update example
myloveCc/NETCore.RedisKit,myloveCc/NETCore.RedisKit
example/NETCore.RedisKit.Web/Controllers/ValuesController.cs
example/NETCore.RedisKit.Web/Controllers/ValuesController.cs
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using NETCore.RedisKit; // For more information on enabling Web API for empty projects, visit https://go.microsoft.com/fwlink/?LinkID=397860 namespace NETCore.RedisKit.Web.Controllers { ...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using NETCore.RedisKit; // For more information on enabling Web API for empty projects, visit https://go.microsoft.com/fwlink/?LinkID=397860 namespace NETCore.RedisKit.Web.Controllers { ...
mit
C#
77f119a49b20963a75ae997dc115166d04e76fc1
Fix the search box.
Ref12/Codex,Ref12/Codex,Ref12/Codex,Ref12/Codex,Ref12/Codex,Ref12/Codex
src/Codex.Web.Monaco/Views/Shared/_Layout.cshtml
src/Codex.Web.Monaco/Views/Shared/_Layout.cshtml
<!DOCTYPE html> <html> <head> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Index</title> @Styles.Render("~/Content/css") @Scripts.Render("~/bundles/modernizr") @Scripts....
<!DOCTYPE html> <html> <head> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Index</title> @Styles.Render("~/Content/css") @Scripts.Render("~/bundles/modernizr") @Scripts....
mit
C#
360f3c9aaa3fdd745f5a5a457763e27a4200c6b1
Simplify InputAttributeParameterSource implementation.
fixie/fixie
src/Fixie.Tests/InputAttributeParameterSource.cs
src/Fixie.Tests/InputAttributeParameterSource.cs
namespace Fixie.Tests { using System.Collections.Generic; using System.Linq; using System.Reflection; public class InputAttributeParameterSource : ParameterSource { public IEnumerable<object?[]> GetParameters(MethodInfo method) => method .GetCustomAttributes<Inp...
namespace Fixie.Tests { using System.Collections.Generic; using System.Linq; using System.Reflection; public class InputAttributeParameterSource : ParameterSource { public IEnumerable<object?[]> GetParameters(MethodInfo method) { var inputAttributes = method.GetCustomAt...
mit
C#
5e5a07fd413aed3e678f6698a0602caedb386af8
Fix RandomNumber documentation
OpenMagic/OpenMagic
source/OpenMagic/RandomNumber.cs
source/OpenMagic/RandomNumber.cs
using System; namespace OpenMagic { /// <summary> /// Collection of methods to get a random number. /// </summary> public static class RandomNumber { private static readonly Random Random = new Random(); /// <summary> /// Returns a random <see cref="int" />. ...
using System; namespace OpenMagic { /// <summary> /// Collection of methods to get a random number. /// </summary> public static class RandomNumber { private static readonly Random Random = new Random(); /// <summary> /// Returns a random <see cref="Integer" />. ...
mit
C#
0f5de3ed04d3d48625a9d9be1477ff5994b29b79
fix build
Soluto/tweek,Soluto/tweek,Soluto/tweek,Soluto/tweek,Soluto/tweek,Soluto/tweek
core/Engine/Engine.Tests/TestDrivers/TestScope.cs
core/Engine/Engine.Tests/TestDrivers/TestScope.cs
using System; using System.Threading.Tasks; using Engine.Drivers.Context; using Engine.Drivers.Rules; using Tweek.JPad; using System.Collections.Generic; using System.Security.Cryptography; using Microsoft.FSharp.Core; using Tweek.JPad.Utils; namespace Engine.Tests.TestDrivers { public class TestScope { ...
using System; using System.Threading.Tasks; using Engine.Drivers.Context; using Engine.Drivers.Rules; using Tweek.JPad; using System.Collections.Generic; using System.Security.Cryptography; using Microsoft.FSharp.Core; using Tweek.JPad.Utils; namespace Engine.Tests.TestDrivers { public class TestScope { ...
mit
C#
b456c0d4dd5b7ead577eb623ae277d9eba58b2f5
clean up
asipe/DeleteStuff
src/DeleteStuff.Properties/AssemblyInfo.cs
src/DeleteStuff.Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("Z Bar Technologies, LLC")] [assembly: AssemblyProduct("Delete Stuff")] [assembly: AssemblyCopyright("Copyright © Andy Sipe 2014")] [assembly: AssemblyTrademark("")] [assembly: Assem...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("Z Bar Technologies, LLC")] [assembly: AssemblyProduct("Delete Stuff")] [assembly: AssemblyCopyright("Copyright © Andy Sipe 2014")] [assembly: ...
mit
C#
16491199894638b709acb26fccb678adec5756b1
Load comparer assembly from bytes
xirqlz/blueprint41
Blueprint41.Modeller.Schemas/DatastoreModelComparer.cs
Blueprint41.Modeller.Schemas/DatastoreModelComparer.cs
using System; using System.IO; using System.Linq; using System.Reflection; namespace Blueprint41.Modeller.Schemas { public abstract class DatastoreModelComparer { public static DatastoreModelComparer Instance { get { return instance.Value; } } private static Lazy<DatastoreModelComparer> instan...
using System; using System.IO; using System.Reflection; namespace Blueprint41.Modeller.Schemas { public abstract class DatastoreModelComparer { static public DatastoreModelComparer Instance { get { return instance.Value; } } static private Lazy<DatastoreModelComparer> instance = new Lazy<Datas...
mit
C#
55d81bb90e0d3d049a60da09dad06da877445ba9
Add Hex/Base64 functions
ektrah/nsec
src/Experimental/CryptographicUtilities.cs
src/Experimental/CryptographicUtilities.cs
using System; using System.Runtime.CompilerServices; namespace NSec.Experimental { public static class CryptographicUtilities { [MethodImpl(MethodImplOptions.AggressiveInlining)] public static byte[] Base64Decode(string base64) { return NSec.Experimental.Text.Base64.Decode(b...
using System; using System.Runtime.CompilerServices; namespace NSec.Experimental { public static class CryptographicUtilities { [MethodImpl(MethodImplOptions.AggressiveInlining)] public static void FillRandomBytes(Span<byte> data) { System.Security.Cryptography.RandomNumberG...
mit
C#
71a2a847c0d7417e28cd2d5767c96df362847bc2
Delete Edit Link
kiyokura/DapperSampleWeb
DapperSampleWeb/Views/StoredProc/OutputByRecord.cshtml
DapperSampleWeb/Views/StoredProc/OutputByRecord.cshtml
@model IEnumerable<DapperSampleWeb.Models.UserEntity> @{ Layout = null; } <!DOCTYPE html> <html> <head> <meta name="viewport" content="width=device-width" /> <title>OutputByRecord</title> </head> <body> <table> <tr> <th> @Html.DisplayNameFor(model => model.FirstNa...
@model IEnumerable<DapperSampleWeb.Models.UserEntity> @{ Layout = null; } <!DOCTYPE html> <html> <head> <meta name="viewport" content="width=device-width" /> <title>OutputByRecord</title> </head> <body> <p> @Html.ActionLink("Create New", "Create") </p> <table> <tr> ...
mit
C#
ad65cbb12b62baf1c8fd15c628eb82fb14f8588e
fix order (CF)
nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet
WalletWasabi.Gui/Models/Sorting/SortingPreference.cs
WalletWasabi.Gui/Models/Sorting/SortingPreference.cs
using System; using System.Diagnostics.CodeAnalysis; namespace WalletWasabi.Gui.Models.Sorting { public struct SortingPreference : IEquatable<SortingPreference> { public SortingPreference(SortOrder sortOrder, string colTarget) { SortOrder = sortOrder; ColumnTarget = colTarget; } public SortOrder SortO...
using System; using System.Diagnostics.CodeAnalysis; namespace WalletWasabi.Gui.Models.Sorting { public struct SortingPreference : IEquatable<SortingPreference> { public SortingPreference(SortOrder sortOrder, string colTarget) { SortOrder = sortOrder; ColumnTarget = colTarget; } public SortOrder SortO...
mit
C#
5f8aa8a801652540a8cda89b2de7aef500cba387
Fix default order
nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet
WalletWasabi.Gui/Shell/MainMenu/FileMainMenuItems.cs
WalletWasabi.Gui/Shell/MainMenu/FileMainMenuItems.cs
using AvalonStudio.MainMenu; using AvalonStudio.Menus; using System; using System.Collections.Generic; using System.Composition; using System.Text; namespace WalletWasabi.Gui.Shell.MainMenu { internal class FileMainMenuItems { private IMenuItemFactory MenuItemFactory { get; } [ImportingConstructor] public Fil...
using AvalonStudio.MainMenu; using AvalonStudio.Menus; using System; using System.Collections.Generic; using System.Composition; using System.Text; namespace WalletWasabi.Gui.Shell.MainMenu { internal class FileMainMenuItems { private IMenuItemFactory MenuItemFactory { get; } [ImportingConstructor] public Fil...
mit
C#
a381919f396b19aeddf5871a7435367c467e4a95
Fix compiler warning.
paulyoder/LinqToExcel
src/LinqToExcel.Tests/Company.cs
src/LinqToExcel.Tests/Company.cs
using System; namespace LinqToExcel.Tests { public class Company { public string Name { get; set; } public string CEO { get; set; } public int? EmployeeCount { get; set; } public DateTime StartDate { get; set; } public bool IsActive { get; set; } } }
using System; namespace LinqToExcel.Tests { public class Company { public string Name { get; set; } public string CEO { get; set; } public int EmployeeCount { get; set; } public DateTime StartDate { get; set; } public bool IsActive { get; set; } } }
mit
C#
4954e9784560627690294d30c859de4acbdfd77f
add stuff for cake
jamesmontemagno/MediaPlugin,jamesmontemagno/MediaPlugin
build.cake
build.cake
#tool nuget:?package=XamarinComponent #addin nuget:?package=Cake.Android.SdkManager #addin nuget:?package=Cake.XCode #addin nuget:?package=Cake.Xamarin #addin nuget:?package=Cake.Xamarin.Build #addin nuget:?package=Cake.SemVer #addin nuget:?package=Cake.FileHelpers #addin nuget:?package=Cake.MonoApiTools var TARGET ...
var TARGET = Argument ("target", Argument ("t", "Default")); var VERSION = EnvironmentVariable ("APPVEYOR_BUILD_VERSION") ?? Argument("version", "0.0.9999"); var CONFIG = Argument("configuration", EnvironmentVariable ("CONFIGURATION") ?? "Release"); var SLN = "./src/Media.sln"; Task("Libraries").Does(()=> { NuGetRest...
mit
C#
4b3d9002914e89569c9b9a72a3a993c7f1ffd75d
Use MSBuild for Build and Pack
thomaslevesque/WeakEvent
build.cake
build.cake
using System.Xml.Linq; var target = Argument<string>("target", "Default"); var configuration = Argument<string>("configuration", "Release"); var projectName = "WeakEvent"; var solution = $"{projectName}.sln"; var libraryProject = $"./{projectName}/{projectName}.csproj"; var testProject = $"./{projectName}.Tests/{proj...
using System.Xml.Linq; var target = Argument<string>("target", "Default"); var configuration = Argument<string>("configuration", "Release"); var projectName = "WeakEvent"; var libraryProject = $"./{projectName}/{projectName}.csproj"; var testProject = $"./{projectName}.Tests/{projectName}.Tests.csproj"; var outDir = ...
apache-2.0
C#
76dd0ae802a6973619c49d7c535aa7702821b8ce
Update HomeController.cs
Longfld/ASPNETCoreAngular2,Longfld/ASPNETCoreAngular2,Longfld/ASPNETCoreAngular2,Longfld/ASPNETCoreAngular2
webapp/src/webapp/Controllers/HomeController.cs
webapp/src/webapp/Controllers/HomeController.cs
using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Logging; namespace webapp.Controllers { public class HomeController : Controller { public HomeController(ILogger<HomeController> logger) { _logger = logger; } public IActionResult Index()...
using Microsoft.AspNetCore.Mvc; namespace webapp.Controllers { public class HomeController : Controller { public HomeController(IHostingEnvironment hostingEnvironment, ILogger<HomeController> logger) { _hostingEnvironment = hostingEnvironment; _logger = logger;...
mit
C#
1c717613c6b5d0c75e1425f1cd5035dea6eb7bdd
Fix formatting / usings in test scene
ppy/osu-framework,peppy/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,ZLima12/osu-framework,smoogipooo/osu-framework,EVAST9919/osu-framework,ZLima12/osu-framework,EVAST9919/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,ppy/osu-framework
osu.Framework.Tests/Visual/Platform/TestSceneAllowSuspension.cs
osu.Framework.Tests/Visual/Platform/TestSceneAllowSuspension.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.Allocation; using osu.Framework.Bindables; using osu.Framework.Platform; namespace osu.Framework.Tests.Visual.Platform { public class TestSceneAl...
// 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.Bindables; using osu.Framework.Configuration; using osu.Framework.Platform; namespace osu.Framework.Tests.Visual.Plat...
mit
C#
6068daeec8f8050d35e23e092c3d23fada23d7aa
Remove level from paragraph
smoogipooo/osu-framework,EVAST9919/osu-framework,Tom94/osu-framework,ZLima12/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,ZLima12/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,DrabWeb/osu-framework,peppy/osu-framework,Tom94/osu-fr...
osu.Framework/Graphics/Containers/Markdown/MarkdownParagraph.cs
osu.Framework/Graphics/Containers/Markdown/MarkdownParagraph.cs
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE using Markdig.Syntax; namespace osu.Framework.Graphics.Containers.Markdown { /// <summary> /// Visualises a paragraph. /// </summary> public c...
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE using Markdig.Syntax; namespace osu.Framework.Graphics.Containers.Markdown { /// <summary> /// Visualises a paragraph. /// </summary> public c...
mit
C#
789fe4a7a4f63206f97ce126e366ca71c36c290e
Fix incorrect change to Gtk TextureBrushHandler (doesn't compile in windows)
l8s/Eto,PowerOfCode/Eto,l8s/Eto,PowerOfCode/Eto,PowerOfCode/Eto,bbqchickenrobot/Eto-1,bbqchickenrobot/Eto-1,bbqchickenrobot/Eto-1,l8s/Eto
Source/Eto.Platform.Gtk/Drawing/TextureBrushHandler.cs
Source/Eto.Platform.Gtk/Drawing/TextureBrushHandler.cs
using System; using Eto.Drawing; namespace Eto.Platform.GtkSharp.Drawing { /// <summary> /// Handler for the <see cref="ITextureBrush"/> /// </summary> /// <copyright>(c) 2012 by Curtis Wensley</copyright> /// <license type="BSD-3">See LICENSE for full terms</license> public class TextureBrushHandler : BrushHand...
using System; using Eto.Drawing; namespace Eto.Platform.GtkSharp.Drawing { /// <summary> /// Handler for the <see cref="ITextureBrush"/> /// </summary> /// <copyright>(c) 2012 by Curtis Wensley</copyright> /// <license type="BSD-3">See LICENSE for full terms</license> public class TextureBrushHandler : BrushHand...
bsd-3-clause
C#
23cfd49a5ee0214225f528ce29a2c624a8c0b911
Set default values for filter model
shunobaka/Interapp,shunobaka/Interapp,shunobaka/Interapp
Source/Services/Interapp.Services.Common/FilterModel.cs
Source/Services/Interapp.Services.Common/FilterModel.cs
namespace Interapp.Services.Common { public class FilterModel { public FilterModel() { this.Page = 1; this.PageSize = 10; } public string OrderBy { get; set; } public string Order { get; set; } public int Page { get; set; } ...
namespace Interapp.Services.Common { public class FilterModel { public string OrderBy { get; set; } public string Order { get; set; } public int Page { get; set; } public int PageSize { get; set; } public string Filter { get; set; } } }
mit
C#
93bd5541512d82004c50e94036195b0306af6f5c
Update PersonMap.cs
NakedObjectsGroup/NakedObjectsFramework,NakedObjectsGroup/NakedObjectsFramework,NakedObjectsGroup/NakedObjectsFramework,NakedObjectsGroup/NakedObjectsFramework
Test/AdventureWorksFunctionalModel/Mapping/PersonMap.cs
Test/AdventureWorksFunctionalModel/Mapping/PersonMap.cs
using System.Data.Entity.ModelConfiguration; using AW.Types; namespace AW.Mapping { public class PersonMap : EntityTypeConfiguration<Person> { public PersonMap() { // Primary Key HasKey(t => t.BusinessEntityID); Ignore(t => t.Password); //TODO: Why? ...
using System.Data.Entity.ModelConfiguration; using AW.Types; namespace AW.Mapping { public class PersonMap : EntityTypeConfiguration<Person> { public PersonMap() { // Primary Key HasKey(t => t.BusinessEntityID); //Ignore(t => t.Password); //TODO: Why? ...
apache-2.0
C#
0ec5c81ef9e7706d69d2edeef16adc5d2c8ef5eb
Add further documentation to Add<T> for adding multiple, disjointed files to address discussion in #152.
BluewireTechnologies/cassette,andrewdavey/cassette,honestegg/cassette,BluewireTechnologies/cassette,damiensawyer/cassette,andrewdavey/cassette,damiensawyer/cassette,andrewdavey/cassette,honestegg/cassette,honestegg/cassette,damiensawyer/cassette
src/Website/Views/Documentation/Configuration_AddFile.cshtml
src/Website/Views/Documentation/Configuration_AddFile.cshtml
@{ ViewBag.Title = "Cassette | Add File(s)"; ViewBag.Description = "How to create a bundle from a single file or multiple, disjointed files."; } <h1>Add File</h1> <p>A bundle can be added using a single file, for example, a .less with additional <span class="code-type">&#64;import</span> statements. E...
@{ ViewBag.Title = "Cassette | Add File"; ViewBag.Description = "How to create a bundle from a single file."; } <h1>Add File</h1> <p>A bundle can be added using a single file, for example, a .less with additional <span class="code-type">&#64;import</span> statements. Each file set can then be a Casset...
mit
C#
e9ff5113cf65379a974717e854d178cf6a4af361
Add xml doc comment
vbfox/pinvoke,jmelosegui/pinvoke,AArnott/pinvoke
src/Windows.Core/IMAGE_SECTION_HEADER+CharacteristicsType.cs
src/Windows.Core/IMAGE_SECTION_HEADER+CharacteristicsType.cs
// Copyright (c) to owners found in https://github.com/AArnott/pinvoke/blob/master/COPYRIGHT.md. All rights reserved. // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. namespace PInvoke { using System; /// <content> /// Contains the <see cref="Chara...
// Copyright (c) to owners found in https://github.com/AArnott/pinvoke/blob/master/COPYRIGHT.md. All rights reserved. // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. namespace PInvoke { using System; public partial struct IMAGE_SECTION_HEADER { ...
mit
C#
946a16307d5d7fd2cdec2f8bee78d12b327cac7f
Bump version numbers to 1.3
DanTup/TestAdapters,DanTup/TestAdapters
DanTup.TestAdapters/Properties/SharedAssemblyInfo.cs
DanTup.TestAdapters/Properties/SharedAssemblyInfo.cs
using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyProduct("Danny Tuppeny Test Adapter Collection")] [assembly: AssemblyCompany("Danny Tuppeny")] [assembly: AssemblyCopyright("Copyright Danny Tuppeny © 2014")] [assembly: ComVisible(false)] [assembly: AssemblyVersion("1.3.*")] [assembly:...
using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyProduct("Danny Tuppeny Test Adapter Collection")] [assembly: AssemblyCompany("Danny Tuppeny")] [assembly: AssemblyCopyright("Copyright Danny Tuppeny © 2014")] [assembly: ComVisible(false)] [assembly: AssemblyVersion("1.2.*")] [assembly:...
mit
C#
9a13bd7b098ccadbc162528ee2b2619230cdbe8c
fix version to 4.1.0
NIFTYCloud-mbaas/ncmb_unity,NIFTYCloud-mbaas/ncmb_unity,NIFTYCloud-mbaas/ncmb_unity
ncmb_unity/Assets/NCMB/Script/CommonConstant.cs
ncmb_unity/Assets/NCMB/Script/CommonConstant.cs
/******* Copyright 2017-2020 FUJITSU CLOUD TECHNOLOGIES LIMITED All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless requir...
/******* Copyright 2017-2020 FUJITSU CLOUD TECHNOLOGIES LIMITED All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless requir...
apache-2.0
C#
6656164cc5bbc67b4c70410f8c75680e1b19c386
Remove unnecessary Pack directive to fix build break (#20681)
krk/coreclr,wtgodbe/coreclr,cshung/coreclr,cshung/coreclr,krk/coreclr,mmitche/coreclr,mmitche/coreclr,poizan42/coreclr,wtgodbe/coreclr,mmitche/coreclr,cshung/coreclr,krk/coreclr,krk/coreclr,poizan42/coreclr,poizan42/coreclr,krk/coreclr,cshung/coreclr,krk/coreclr,mmitche/coreclr,mmitche/coreclr,wtgodbe/coreclr,wtgodbe/c...
src/System.Private.CoreLib/shared/System/Number.NumberBuffer.cs
src/System.Private.CoreLib/shared/System/Number.NumberBuffer.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.Runtime.InteropServices; using Internal.Runtime.CompilerServices; namespace System { internal stat...
// 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.Runtime.InteropServices; using Internal.Runtime.CompilerServices; namespace System { internal stat...
mit
C#
8cfee82b5538d4dda47fe16b4b0ce20d1be4d058
fix lfg data parsing
Foglio1024/Tera-custom-cooldowns,Foglio1024/Tera-custom-cooldowns
TeraPacketParser/Messages/S_PARTY_MEMBER_INFO.cs
TeraPacketParser/Messages/S_PARTY_MEMBER_INFO.cs
using System; using System.Collections.Generic; using TeraDataLite; namespace TeraPacketParser.Messages { public class S_PARTY_MEMBER_INFO : ParsedMessage { public uint Id { get; } public List<GroupMemberData> Members { get; } public S_PARTY_MEMBER_INFO(TeraMessageReader reader) : base...
using System; using System.Collections.Generic; using TeraDataLite; namespace TeraPacketParser.Messages { public class S_PARTY_MEMBER_INFO : ParsedMessage { public uint Id { get; } public List<GroupMemberData> Members { get; } public S_PARTY_MEMBER_INFO(TeraMessageReader reader) : base...
mit
C#
f1441d1efc26ee6c233753213831ff01b87a0f41
Clean up build file
Redth/Cake.FileHelpers,Redth/Cake.FileHelpers
build.cake
build.cake
#tool nuget:?package=NUnit.ConsoleRunner var sln = "./Cake.FileHelpers.sln"; var nuspec = "./Cake.FileHelpers.nuspec"; var version = Argument ("version", "1.0.0.0"); var target = Argument ("target", "build"); var configuration = Argument("configuration", "Release"); Task ("build").Does (() => { NuGetRestore (sln); ...
#tool nuget:?package=NUnit.ConsoleRunner&version=3.6.0 var sln = "./Cake.FileHelpers.sln"; var nuspec = "./Cake.FileHelpers.nuspec"; var version = Argument ("version", "1.0.0.0"); var target = Argument ("target", "lib"); var configuration = Argument("configuration", "Release"); Task ("lib").Does (() => { NuGetRestor...
apache-2.0
C#
17b6fcf9b1bc211ecc7aa065509b2b82a5b8fc40
Remove switch for multiplatform build.
sqeezy/FibonacciHeap,sqeezy/FibonacciHeap
build.cake
build.cake
#tool "nuget:?package=xunit.runner.console" var target = Argument("target", "Default"); var outputDir = "./bin"; Task("Default") .IsDependentOn("Xunit") .Does(() => { }); Task("Xunit") .IsDependentOn("Build") .Does(()=> { XUnit2("./src/FibonacciHeap.Tests/bin/Release/FibonacciHeap.Tests.dll"); }); T...
#tool "nuget:?package=xunit.runner.console" var target = Argument("target", "Default"); var outputDir = "./bin"; Task("Default") .IsDependentOn("Xunit") .Does(() => { }); Task("Xunit") .IsDependentOn("Build") .Does(()=> { XUnit2("./src/FibonacciHeap.Tests/bin/Release/FibonacciHeap.Tests.dll"); }); T...
mit
C#
aac92716f3945387a607db730045b4cf72350747
Bump build script to nuget 2.14
foxbot/Discord.Addons.InteractiveCommands,foxbot/Discord.Addons.InteractiveCommands
build.cake
build.cake
#addin nuget:?package=NuGet.Core&version=2.14.0 #addin "Cake.ExtendedNuGet" var MyGetKey = EnvironmentVariable("MYGET_KEY"); string BuildNumber = EnvironmentVariable("TRAVIS_BUILD_NUMBER"); string Branch = EnvironmentVariable("TRAVIS_BRANCH"); ReleaseNotes Notes = null; Task("Restore") .Does(() => { var setti...
#addin nuget:?package=NuGet.Core&version=2.12.0 #addin "Cake.ExtendedNuGet" var MyGetKey = EnvironmentVariable("MYGET_KEY"); string BuildNumber = EnvironmentVariable("TRAVIS_BUILD_NUMBER"); string Branch = EnvironmentVariable("TRAVIS_BRANCH"); ReleaseNotes Notes = null; Task("Restore") .Does(() => { var setti...
isc
C#
f42d9aaaf5873d1c544402c1470b7504d2106e7b
Use XUnit v2 runner in Cake instead of XUnit v1
Marc3842h/Titan,Marc3842h/Titan,Marc3842h/Titan
build.cake
build.cake
#tool "nuget:?package=xunit.runner.console" var config = Argument("configuration", "Release"); var runEnvironment = Argument("runenv", "local"); var buildDir = Directory("./Titan/bin/") + Directory(config); var testDir = Directory("./TitanTest/bin/") + Directory(config); Task("Clean") .Does(() => { CleanDire...
#tool "nuget:?package=xunit.runners&version=1.9.2" var config = Argument("configuration", "Release"); var runEnvironment = Argument("runenv", "local"); var buildDir = Directory("./Titan/bin/") + Directory(config); var testDir = Directory("./TitanTest/bin/") + Directory(config); Task("Clean") .Does(() => { Cl...
mit
C#
fc95089ecfa72296611a92d599bce83b1ce6e339
Add Scott Lang (Ant-Man)
jpfultonzm/trainingsandbox,jpfultonzm/trainingsandbox,jpfultonzm/trainingsandbox
ZirMed.TrainingSandbox/Views/Home/Contact.cshtml
ZirMed.TrainingSandbox/Views/Home/Contact.cshtml
@{ ViewBag.Title = "Contact"; } <h2>@ViewBag.Title.</h2> <h3>@ViewBag.Message</h3> <address> One Microsoft Way<br /> Redmond, WA 98052-6399<br /> <abbr title="Phone">P:</abbr> 425.555.0100 </address> <address> <strong>Support:</strong> <a href="mailto:Support@example.com">Support@example.co...
@{ ViewBag.Title = "Contact"; } <h2>@ViewBag.Title.</h2> <h3>@ViewBag.Message</h3> <address> One Microsoft Way<br /> Redmond, WA 98052-6399<br /> <abbr title="Phone">P:</abbr> 425.555.0100 </address> <address> <strong>Support:</strong> <a href="mailto:Support@example.com">Support@example.co...
mit
C#
b4986a6259f2720b032748733686ce63fcc73172
修复获取表达式成员栈的缺陷。 :star: :weary:
Zongsoft/Zongsoft.CoreLibrary
src/Common/ExpressionUtility.cs
src/Common/ExpressionUtility.cs
/* * Authors: * 钟峰(Popeye Zhong) <zongsoft@gmail.com> * * Copyright (C) 2016 Zongsoft Corporation <http://www.zongsoft.com> * * This file is part of Zongsoft.CoreLibrary. * * Zongsoft.CoreLibrary is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public *...
/* * Authors: * 钟峰(Popeye Zhong) <zongsoft@gmail.com> * * Copyright (C) 2016 Zongsoft Corporation <http://www.zongsoft.com> * * This file is part of Zongsoft.CoreLibrary. * * Zongsoft.CoreLibrary is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public *...
lgpl-2.1
C#
c7ca8a12e5233a7b766b0fd7e3f2e0e5ca3bac6c
Make MockBehavior enumeration backwards compatible with v4
Moq/moq
src/Moq/Moq/MockBehavior.cs
src/Moq/Moq/MockBehavior.cs
using System.ComponentModel; namespace Moq { /// <summary> /// Options to customize the behavior of the mock. /// </summary> public enum MockBehavior { /// <summary>Obsolete</summary> [EditorBrowsable(EditorBrowsableState.Never)] Default = 1, /// <summary> /// Will never ...
namespace Moq { /// <summary> /// Options to customize the behavior of the mock. /// </summary> public enum MockBehavior { /// <summary> /// Will never throw exceptions, returning default /// values when necessary (null for reference types, /// zero for value types and empty en...
apache-2.0
C#
e5abb23b0b7eddb14a341f3ca1446ebdcf378b5b
Update ObservableExtensions.cs
keith-hall/Extensions,keith-hall/Extensions
src/ObservableExtensions.cs
src/ObservableExtensions.cs
using System; using System.Reactive.Linq; namespace HallLibrary.Extensions { /// <summary> /// Contains extension methods for working with observables. /// </summary> public static class ObservableExtensions { /// <summary> /// Returns the current value of an observable with the previous value. /// </summar...
using System; using System.Reactive.Linq; namespace HallLibrary.Extensions { /// <summary> /// Contains extension methods for working with observables. /// </summary> public static class ObservableExtensions { public static IObservable<TOutput> WithPrevious<TSource, TOutput>(this IObservable<TSource> source, Fu...
apache-2.0
C#
4092b4ad3395e5e5b18b054ff1546be32b2405a7
Increase toleranceSeconds in SafeWait_Timeout test
atata-framework/atata-webdriverextras,atata-framework/atata-webdriverextras
src/Atata.WebDriverExtras.Tests/SafeWaitTests.cs
src/Atata.WebDriverExtras.Tests/SafeWaitTests.cs
using System; using System.Threading; using NUnit.Framework; namespace Atata.WebDriverExtras.Tests { [TestFixture] [Parallelizable(ParallelScope.None)] public class SafeWaitTests { private SafeWait<object> wait; [SetUp] public void SetUp() { wait = new Safe...
using System; using System.Threading; using NUnit.Framework; namespace Atata.WebDriverExtras.Tests { [TestFixture] [Parallelizable(ParallelScope.None)] public class SafeWaitTests { private SafeWait<object> wait; [SetUp] public void SetUp() { wait = new Safe...
apache-2.0
C#
e4b9b0a3cb320dcbb8f7eb0c726e0352663d1e4c
Add IsDependent and GuardianId to patient profile
dhawalharsora/connectedcare-sdk,SnapMD/connectedcare-sdk
SnapMD.ConnectedCare.ApiModels/PatientAccountInfo.cs
SnapMD.ConnectedCare.ApiModels/PatientAccountInfo.cs
#region Copyright // Copyright 2016 SnapMD, Inc. // 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 ap...
#region Copyright // Copyright 2016 SnapMD, Inc. // 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 ap...
apache-2.0
C#
83192d6b83f9c5d8c921bd9aa23f9b1c253cc57e
Add notifications to FilingSubcategory.cs
kevbite/CompaniesHouse.NET,LiberisLabs/CompaniesHouse.NET
src/CompaniesHouse/Response/FilingSubcategory.cs
src/CompaniesHouse/Response/FilingSubcategory.cs
using System.Runtime.Serialization; namespace CompaniesHouse.Response { public enum FilingSubcategory { None = 0, [EnumMember(Value = "annual-return")] AnnualReturn, [EnumMember(Value = "resolution")] Resolution, [EnumMember(Value = "change")] Change, ...
using System.Runtime.Serialization; namespace CompaniesHouse.Response { public enum FilingSubcategory { None = 0, [EnumMember(Value = "annual-return")] AnnualReturn, [EnumMember(Value = "resolution")] Resolution, [EnumMember(Value = "change")] Change, ...
mit
C#
9ab99aa3be522a6102d8d874391a8998fa22291d
Increment version
ladimolnar/BitcoinBlockchain
Sources/BitcoinBlockchain/Properties/AssemblyInfo.cs
Sources/BitcoinBlockchain/Properties/AssemblyInfo.cs
//----------------------------------------------------------------------- // <copyright file="AssemblyInfo.cs"> // Copyright © Ladislau Molnar. All rights reserved. // </copyright> //----------------------------------------------------------------------- using System; using System.Reflection; using System.Runtime.Int...
//----------------------------------------------------------------------- // <copyright file="AssemblyInfo.cs"> // Copyright © Ladislau Molnar. All rights reserved. // </copyright> //----------------------------------------------------------------------- using System; using System.Reflection; using System.Runtime.Int...
apache-2.0
C#
17d7a1613c5374cfeac51db0b6e4bbd76ec3919e
Bump minor version
hartez/TodotxtTouch.WindowsPhone
TodotxtTouch.WindowsPhone/Properties/AssemblyInfo.cs
TodotxtTouch.WindowsPhone/Properties/AssemblyInfo.cs
using System.Reflection; using System.Resources; 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.Reflection; using System.Resources; 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#
df2ff2afc8986abdf140672422e5b487dc743839
Change *.ConnectionInformation.json filename
2gis/Winium.StoreApps,2gis/Winium.StoreApps
Winium/Winium.Mobile.Common/ConnectionInformation.cs
Winium/Winium.Mobile.Common/ConnectionInformation.cs
namespace Winium.Mobile.Common { public class ConnectionInformation { #region Public Properties public const string FileName = ".Winium.Mobile.ConnectionInformation.json"; public string RemotePort { get; set; } public override string ToString() { return st...
namespace Winium.Mobile.Common { public class ConnectionInformation { #region Public Properties public const string FileName = ".Winium.StoreApps.ConnectionInformation.json"; public string RemotePort { get; set; } public override string ToString() { return...
mpl-2.0
C#
5dac7c0d6f282446b7459db9c8719504ab036966
Update SpellingLanguages.cs
punker76/Markdown-Edit,mike-ward/Markdown-Edit
src/MarkdownEdit/SpellCheck/SpellingLanguages.cs
src/MarkdownEdit/SpellCheck/SpellingLanguages.cs
using System.ComponentModel; namespace MarkdownEdit.SpellCheck { public enum SpellingLanguages { [Description("English (Australia)")] Australian, [Description("English (Canada)")] Canadian, [Description("English (United Kingdom)")] UnitedKingdom, [Description("English (Unite...
using System.ComponentModel; namespace MarkdownEdit.SpellCheck { public enum SpellingLanguages { [Description("English (Australia)")] Australian, [Description("English (Canada)")] Canadian, [Description("English (United Kingdom)")] UnitedKingdom, [Description("English (Unite...
mit
C#
2944f728b19cfa37eedaff6563562b8d2e2bd2f7
修改 HelloWorld controller 的 Welcome action 回傳 view object.
NemoChenTW/MvcMovie,NemoChenTW/MvcMovie,NemoChenTW/MvcMovie
src/MvcMovie/Controllers/HelloWorldController.cs
src/MvcMovie/Controllers/HelloWorldController.cs
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNet.Mvc; using Microsoft.Extensions.WebEncoders; // For more information on enabling MVC for empty projects, visit http://go.microsoft.com/fwlink/?LinkID=397860 namespace MvcMovie.Controllers { pub...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNet.Mvc; using Microsoft.Extensions.WebEncoders; // For more information on enabling MVC for empty projects, visit http://go.microsoft.com/fwlink/?LinkID=397860 namespace MvcMovie.Controllers { pub...
apache-2.0
C#
60e68d90cfd12e61cd2c7dbc45e0d40c8d14aced
Fix master build (#1770)
Aprogiena/StratisBitcoinFullNode,bokobza/StratisBitcoinFullNode,quantumagi/StratisBitcoinFullNode,Neurosploit/StratisBitcoinFullNode,bokobza/StratisBitcoinFullNode,stratisproject/StratisBitcoinFullNode,quantumagi/StratisBitcoinFullNode,bokobza/StratisBitcoinFullNode,Neurosploit/StratisBitcoinFullNode,Aprogiena/StratisB...
src/Stratis.Bitcoin.Tests/Signals/SignalsTest.cs
src/Stratis.Bitcoin.Tests/Signals/SignalsTest.cs
using Moq; using NBitcoin; using Stratis.Bitcoin.Signals; using Stratis.Bitcoin.Tests.Common; using Xunit; namespace Stratis.Bitcoin.Tests.Signals { public class SignalsTest { private readonly Mock<ISignaler<Block>> blockConnectedSignaler; private readonly Mock<ISignaler<Block>> blockDisconnec...
using Moq; using NBitcoin; using Stratis.Bitcoin.Signals; using Stratis.Bitcoin.Tests.Common; using Xunit; namespace Stratis.Bitcoin.Tests.Signals { public class SignalsTest { private readonly Mock<ISignaler<Block>> blockConnectedSignaler; private readonly Mock<ISignaler<Block>> blockDisconnec...
mit
C#
d8d3e9f9cd50fe04d43c75c4a580587ead547e0d
Add support for discountable on line item
richardlawley/stripe.net,stripe/stripe-dotnet
src/Stripe.net/Entities/StripeInvoiceLineItem.cs
src/Stripe.net/Entities/StripeInvoiceLineItem.cs
using System; using System.Collections.Generic; using Newtonsoft.Json; using Stripe.Infrastructure; namespace Stripe { public class StripeInvoiceLineItem : StripeEntityWithId { [JsonProperty("object")] public string Object { get; set; } [JsonProperty("livemode")] public bool L...
using System; using System.Collections.Generic; using Newtonsoft.Json; using Stripe.Infrastructure; namespace Stripe { public class StripeInvoiceLineItem : StripeEntityWithId { [JsonProperty("object")] public string Object { get; set; } [JsonProperty("livemode")] public bool L...
apache-2.0
C#
58a61dc5f64b8eadce5bf13967be5eb2432865c7
Fix IcmpDatagramFactory following DataSegment update. Code Coverage 97.42%
bricknerb/Pcap.Net,bricknerb/Pcap.Net,bricknerb/Pcap.Net
PcapDotNet/src/PcapDotNet.Packets/Icmp/IcmpDatagramFactory.cs
PcapDotNet/src/PcapDotNet.Packets/Icmp/IcmpDatagramFactory.cs
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using PcapDotNet.Base; namespace PcapDotNet.Packets.Icmp { internal static class IcmpDatagramFactory { internal static IcmpDatagram CreateInstance(IcmpMessageType messageType, byte[] buffer, int offse...
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using PcapDotNet.Base; namespace PcapDotNet.Packets.Icmp { internal static class IcmpDatagramFactory { internal static IcmpDatagram CreateInstance(IcmpMessageType messageType, byte[] buffer, int offse...
bsd-3-clause
C#
76fbcd5780513c5c5f38ffddc61ff506af1e86ef
Fix "open in explorer" occurring twice for windows directories
ppy/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,EVAST9919/osu-framework,smoogipooo/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,ZLima12/osu-framework,peppy/osu-framework,ZLima12/osu-framework,ppy/osu-framework,ppy/osu-framework,EVAST9919/osu-framework
osu.Framework/Platform/Windows/WindowsGameHost.cs
osu.Framework/Platform/Windows/WindowsGameHost.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.Diagnostics; using System.IO; using osu.Framework.Platform.Windows.Native; using osuTK; namespace osu.Framework.Platform.Windows { public...
// 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.Diagnostics; using System.IO; using osu.Framework.Platform.Windows.Native; using osuTK; namespace osu.Framework.Platform.Windows { public...
mit
C#
9938084343b989ef7dada28656c1444412297683
Make parallax container work with global mouse state (so it ignores bounds checks).
smoogipooo/osu,2yangk23/osu,johnneijzen/osu,default0/osu,2yangk23/osu,Nabile-Rahmani/osu,RedNesto/osu,NeoAdonis/osu,EVAST9919/osu,UselessToucan/osu,ppy/osu,ppy/osu,EVAST9919/osu,nyaamara/osu,peppy/osu,peppy/osu,johnneijzen/osu,Damnae/osu,DrabWeb/osu,Drezi126/osu,peppy/osu,NotKyon/lolisu,UselessToucan/osu,ppy/osu,osu-RP...
osu.Game/Graphics/Containers/ParallaxContainer.cs
osu.Game/Graphics/Containers/ParallaxContainer.cs
using osu.Framework.Graphics.Containers; using osu.Framework.Graphics; using osu.Framework.Input; using OpenTK; using osu.Framework; using osu.Framework.Allocation; namespace osu.Game.Graphics.Containers { class ParallaxContainer : Container { public float ParallaxAmount = 0.02f; ...
using osu.Framework.Graphics.Containers; using osu.Framework.Graphics; using osu.Framework.Input; using OpenTK; using osu.Framework; using osu.Framework.Allocation; namespace osu.Game.Graphics.Containers { class ParallaxContainer : Container { public float ParallaxAmount = 0.02f; ...
mit
C#
d432ab7510072781da6b4f1cb7559e127ff67333
Reorder screen tab control items
NeoAdonis/osu,johnneijzen/osu,DrabWeb/osu,smoogipoo/osu,EVAST9919/osu,smoogipoo/osu,ZLima12/osu,2yangk23/osu,Nabile-Rahmani/osu,naoey/osu,naoey/osu,UselessToucan/osu,peppy/osu,peppy/osu,DrabWeb/osu,naoey/osu,ZLima12/osu,Drezi126/osu,NeoAdonis/osu,NeoAdonis/osu,UselessToucan/osu,EVAST9919/osu,johnneijzen/osu,UselessTouc...
osu.Game/Screens/Edit/Screens/EditorScreenMode.cs
osu.Game/Screens/Edit/Screens/EditorScreenMode.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.Screens.Edit.Screens { public enum EditorScreenMode { [Description("setup")] SongSetu...
// 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.Screens.Edit.Screens { public enum EditorScreenMode { [Description("compose")] Compos...
mit
C#
f18166e5e8db10fbcaede04cfb3dced21ed0bb59
Fix properties.
bigfont/2013-128CG-Vendord,bigfont/2013-128CG-Vendord,bigfont/2013-128CG-Vendord,bigfont/2013-128CG-Vendord
Vendord/Vendord.Desktop.WPF.App/ViewModel/ProductViewModel.cs
Vendord/Vendord.Desktop.WPF.App/ViewModel/ProductViewModel.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Vendord.Desktop.WPF.App.DataAccess; using Vendord.Desktop.WPF.App.Model; namespace Vendord.Desktop.WPF.App.ViewModel { public class ProductViewModel : WorkspaceViewModel { #region Fields readonly Produ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Vendord.Desktop.WPF.App.DataAccess; using Vendord.Desktop.WPF.App.Model; namespace Vendord.Desktop.WPF.App.ViewModel { public class ProductViewModel : WorkspaceViewModel { #region Fields readonly Produ...
mit
C#
03b61e4a5a5e3338400882776b99be6a221e6679
Throw exception rather than returning nulls
peppy/osu,UselessToucan/osu,ppy/osu,johnneijzen/osu,UselessToucan/osu,smoogipoo/osu,UselessToucan/osu,NeoAdonis/osu,2yangk23/osu,EVAST9919/osu,2yangk23/osu,ppy/osu,peppy/osu-new,NeoAdonis/osu,ppy/osu,EVAST9919/osu,peppy/osu,johnneijzen/osu,NeoAdonis/osu,smoogipoo/osu,smoogipooo/osu,peppy/osu,smoogipoo/osu
osu.Game/Online/API/APIMod.cs
osu.Game/Online/API/APIMod.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 System.Linq; using Humanizer; using Newtonsoft.Json; using osu.Framework.Bindables; using osu.Game.Configuration; us...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System.Collections.Generic; using System.Linq; using Humanizer; using Newtonsoft.Json; using osu.Framework.Bindables; using osu.Game.Configuration; using osu.Game.R...
mit
C#
ae8652253b7271da03489bea6c73226cab0fa7bc
Remove usage of ReactiveUserControl
nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet
WalletWasabi.Fluent/Views/AddWallet/AddedWalletPageView.axaml.cs
WalletWasabi.Fluent/Views/AddWallet/AddedWalletPageView.axaml.cs
using Avalonia.Controls; using Avalonia.Markup.Xaml; namespace WalletWasabi.Fluent.Views.AddWallet { public class AddedWalletPageView : UserControl { public AddedWalletPageView() { InitializeComponent(); } private void InitializeComponent() { AvaloniaXamlLoader.Load(this); } } }
using Avalonia.Markup.Xaml; using Avalonia.ReactiveUI; using WalletWasabi.Fluent.ViewModels.AddWallet; namespace WalletWasabi.Fluent.Views.AddWallet { public class AddedWalletPageView : ReactiveUserControl<AddedWalletPageViewModel> { public AddedWalletPageView() { InitializeComponent(); } private void In...
mit
C#
a6782a7b865a048d3b343e877d39db78f24e4e3f
tweak falling speed more
nicolasgustafsson/AttackLeague
AttackLeague/AttackLeague/AttackLeague/Blocks/FallingBlock.cs
AttackLeague/AttackLeague/AttackLeague/Blocks/FallingBlock.cs
using System; using System.Collections.Generic; using System.Linq; using System.Runtime.Remoting.Messaging; using System.Text; using System.Threading.Tasks; using AttackLeague.Utility; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Content; using Microsoft.Xna.Framework.Graphics; namespace AttackLeague...
using System; using System.Collections.Generic; using System.Linq; using System.Runtime.Remoting.Messaging; using System.Text; using System.Threading.Tasks; using AttackLeague.Utility; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Content; using Microsoft.Xna.Framework.Graphics; namespace AttackLeague...
mit
C#
830a547dcb12aeb25c2b7dc4a6ec1ee48c5a55c6
fix for GA
autumn009/TanoCSharpSamples
Chap37/StaticAbstractMembers/StaticAbstractMembers/Program.cs
Chap37/StaticAbstractMembers/StaticAbstractMembers/Program.cs
using System; Sub<B>(); void Sub<T>() where T: IA { T.MyMethod(); } interface IA { static abstract void MyMethod(); } class B : IA { public static void MyMethod() { Console.WriteLine("Hello, World!"); } }
Sub<B>(); void Sub<T>() where T: IA { T.MyMethod(); } interface IA { static abstract void MyMethod(); } class B : IA { public static void MyMethod() { Console.WriteLine("Hello, World!"); } }
mit
C#
17765afb51c539baa2b48e7eb457c0b8c2babc43
update header
lianzhao/AsoiafWikiDb,lianzhao/AsoiafWikiDb
AsoiafWikiDb/Views/Shared/_Layout.cshtml
AsoiafWikiDb/Views/Shared/_Layout.cshtml
<!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>@ViewBag.Title - My ASP.NET Application</title> @Styles.Render("~/Content/css") @Scripts.Render("~/bundles/modernizr") </head> <body> <div class="navbar...
<!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>@ViewBag.Title - My ASP.NET Application</title> @Styles.Render("~/Content/css") @Scripts.Render("~/bundles/modernizr") </head> <body> <div class="navbar...
mit
C#