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 |
|---|---|---|---|---|---|---|---|---|
bb0a68949d327f35208934a1ee7eed2983226150 | Increment assembly version | Blue0500/JoshuaKearney.FileSystem | JoshuaKearney.FileSystem/Properties/AssemblyInfo.cs | JoshuaKearney.FileSystem/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.
[asse... | 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.
[asse... | mit | C# |
a0f6c41ed32ef64327c684388560f9dd233b50d4 | Update CloseSessionAction.cs | StevenThuriot/Nova,StevenThuriot/Nova | Nova.Shell/Actions/MainWindow/CloseSessionAction.cs | Nova.Shell/Actions/MainWindow/CloseSessionAction.cs | #region License
//
// Copyright 2013 Steven Thuriot
//
// 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 applic... | #region License
//
// Copyright 2013 Steven Thuriot
//
// 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 applic... | mit | C# |
046cd3533b85425631bf3e3be43da8fb77e5d8b3 | add license | jboeuf/grpc,ctiller/grpc,grpc/grpc,grpc/grpc,grpc/grpc,donnadionne/grpc,sreecha/grpc,grpc/grpc,grpc/grpc,donnadionne/grpc,firebase/grpc,firebase/grpc,donnadionne/grpc,muxi/grpc,donnadionne/grpc,stanley-cheung/grpc,donnadionne/grpc,pszemus/grpc,jboeuf/grpc,ejona86/grpc,vjpai/grpc,jboeuf/grpc,stanley-cheung/grpc,jtatterm... | src/csharp/Grpc.Core/VerifyPeerContext.cs | src/csharp/Grpc.Core/VerifyPeerContext.cs | #region Copyright notice and license
// Copyright 2019 The gRPC Authors
//
// 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 ... | namespace Grpc.Core
{
/// <summary>
/// Verification context for VerifyPeerCallback.
/// Note: experimental API that can change or be removed without any prior notice.
/// </summary>
public class VerifyPeerContext
{
/// <summary>
/// Initializes a new instance of the <see cref="T... | apache-2.0 | C# |
e380ff9d2b100c7696aaa4d982e7783f24285ed5 | Update AssemblyInfo.cs | WSDOT-GIS/GTFS-JS,WSDOT-GIS/GTFS-JS,WSDOT-GIS/GTFS-JS | 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("Gt... | 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("Gt... | unlicense | C# |
f954c1977ccf93b8325b2eaa087fe859d5d0ed67 | Bump version to 0.2.2 | FatturaElettronicaPA/FatturaElettronicaPA | Properties/AssemblyInfo.cs | Properties/AssemblyInfo.cs | using System.Reflection;
using System.Resources;
// 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("FatturaElettronicaPA")]
[assembly: AssemblyDescription(... | using System.Reflection;
using System.Resources;
// 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("FatturaElettronicaPA")]
[assembly: AssemblyDescription(... | bsd-3-clause | C# |
ae4a63587bd5c38e0ae1230541a476fde8b41f9f | Update AssemblyInfo.cs | Hellsing/MasterMind | Properties/AssemblyInfo.cs | Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("MasterMind")]
[assembly: AssemblyDescrip... | using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("MasterMind")]
[assembly: AssemblyDescrip... | apache-2.0 | C# |
519f3e0ce053a555b76310065b3e660253ee3c0e | update version | ashrafeme/Karasoft.Mvc | 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("Ka... | 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("Ka... | mit | C# |
d42f8f075ddcce77297bfe165b2759137a2627f2 | Update SolutionInfo.cs | Telligent/Telligent-Community-Samples,Telligent/Samples,Telligent/Samples,Telligent/Telligent-Community-Samples,Telligent/Samples,Telligent/Telligent-Community-Samples | plugins/TableOfContents/SolutionInfo.cs | plugins/TableOfContents/SolutionInfo.cs | using System;
using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyVersion("7.0.*")]
[assembly: AssemblyCompany("Telligent")]
[assembly: AssemblyCopyright("Copyright © Telligent 2015")]
[assembly: AssemblyProduct("Zimbra.Community.Extensions.TableOfContents")]
[assembly: ComVisible(false)... | using System;
using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyVersion("7.0.*")]
[assembly: AssemblyCompany("Telligent")]
[assembly: AssemblyCopyright("Copyright Telligent 2010")]
[assembly: AssemblyProduct("Zimbra.Community.Extensions.TableOfContents")]
[assembly: ComVisible(false)]... | mit | C# |
7ed431b6a28a56ba826f723506f9fc73a388e779 | Make constructor protected | khellang/Scrutor | src/Scrutor/ImplementationTypeSelector.cs | src/Scrutor/ImplementationTypeSelector.cs | using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.Extensions.DependencyInjection;
namespace Scrutor
{
internal class ImplementationTypeSelector : TypeSourceSelector, IImplementationTypeSelector, ISelector
{
protected ImplementationTypeSelector(IEnumerable<Type> types)
... | using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.Extensions.DependencyInjection;
namespace Scrutor
{
internal class ImplementationTypeSelector : TypeSourceSelector, IImplementationTypeSelector, ISelector
{
public ImplementationTypeSelector(IEnumerable<Type> types)
... | mit | C# |
bb3b974b98cda70f859207a23243404cb98c788b | Update src/NUnitFramework/framework/Internal/Extensions/TypeExtensions.cs | mjedrzejek/nunit,nunit/nunit,nunit/nunit,mjedrzejek/nunit | src/NUnitFramework/framework/Internal/Extensions/TypeExtensions.cs | src/NUnitFramework/framework/Internal/Extensions/TypeExtensions.cs | // Copyright (c) Charlie Poole, Rob Prouse and Contributors. MIT License - see LICENSE.txt
using System;
namespace NUnit.Framework.Internal.Extensions
{
internal static class TypeExtensions
{
public static bool ImplementsIComparable(this Type type) =>
type?.GetInterface("System.IComparable... | // Copyright (c) Charlie Poole, Rob Prouse and Contributors. MIT License - see LICENSE.txt
using System;
namespace NUnit.Framework.Internal.Extensions
{
internal static class TypeExtensions
{
public static bool ImplementsIComparable(this Type type) =>
type?.GetInterface("System.IComparable... | mit | C# |
fdb68aa78cdc427129cbff2fafbe9308fb370579 | Update Startup.cs | Sobieck00/BOH-Bulldog-Scholarship-Application-Management,Sobieck00/BOH-Bulldog-Scholarship-Application-Management,Sobieck00/BOH-Bulldog-Scholarship-Application-Management,Sobieck00/BOH-Bulldog-Scholarship-Application-Management | BohFoundation.WebApi/Startup.cs | BohFoundation.WebApi/Startup.cs | using System;
using BohFoundation.WebApi.Providers;
using Microsoft.Owin;
using Microsoft.Owin.Security;
using Microsoft.Owin.Security.OAuth;
using Owin;
namespace BohFoundation.WebApi
{
public class Startup
{
public void Configuration(IAppBuilder app)
{
var oAuthServerConfig = ne... | using System;
using BohFoundation.WebApi.Providers;
using Microsoft.Owin;
using Microsoft.Owin.Security;
using Microsoft.Owin.Security.OAuth;
using Owin;
namespace BohFoundation.WebApi
{
public class Startup
{
public void Configuration(IAppBuilder app)
{
var oAuthServerConfig = ne... | mit | C# |
6d1eea50b752a3f185bb2c60e4927d1d1e02acfd | Update IdentifyCellsinNamedRange.cs | aspose-cells/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,maria-shahid-aspose/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,maria-shahid-aspose/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,as... | Examples/CSharp/Data/AddOn/NamedRanges/IdentifyCellsinNamedRange.cs | Examples/CSharp/Data/AddOn/NamedRanges/IdentifyCellsinNamedRange.cs | using System;
using System.IO;
using Aspose.Cells;
namespace Aspose.Cells.Examples.Data.AddOn.NamedRanges
{
public class IdentifyCellsinNamedRange
{
public static void Main(string[] args)
{
//ExStart:1
// The path to the documents directory.
string dataDir = ... | using System;
using System.IO;
using Aspose.Cells;
namespace Aspose.Cells.Examples.Data.AddOn.NamedRanges
{
public class IdentifyCellsinNamedRange
{
public static void Main(string[] args)
{
// The path to the documents directory.
string dataDir = Aspose.Cells.Examples.Ut... | mit | C# |
10e8c01af7a453fa8434332c9f4c73a528058045 | Correct Namespace | sjrawlins/JobSearchScorecard | iOS/Main.cs | iOS/Main.cs | using System;
using System.Collections.Generic;
using System.Linq;
using Foundation;
using UIKit;
namespace JobSearchScorecard.iOS
{
public class Application
{
// This is the main entry point of the application.
static void Main (string[] args)
{
// if you wa... | using System;
using System.Collections.Generic;
using System.Linq;
using Foundation;
using UIKit;
namespace JobScorecard.iOS
{
public class Application
{
// This is the main entry point of the application.
static void Main (string[] args)
{
// if you want to ... | bsd-3-clause | C# |
cb0270a78ddd001e84d6f605cc8a0f87a32858cc | Increase project version number to 0.9.0 | YevgeniyShunevych/Atata,atata-framework/atata,YevgeniyShunevych/Atata,atata-framework/atata | src/CommonAssemblyInfo.cs | src/CommonAssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyCompany("Yevgeniy Shunevych")]
[assembly: AssemblyProduct("Atata")]
[assembly: AssemblyCopyright("Copyright © Yevgeniy Shunevych 2016")]
[assembly: AssemblyCulture("")]
[assembly: ComVisible(false)]
[assembly: AssemblyVersion("0... | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyCompany("Yevgeniy Shunevych")]
[assembly: AssemblyProduct("Atata")]
[assembly: AssemblyCopyright("Copyright © Yevgeniy Shunevych 2016")]
[assembly: AssemblyCulture("")]
[assembly: ComVisible(false)]
[assembly: AssemblyVersion("0... | apache-2.0 | C# |
9ed2f768be18167eaa1a866d66d7feb2c420e1a3 | fix warnings | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi.Fluent/ViewModels/AddWallet/ConnectHardwareWalletViewModel.cs | WalletWasabi.Fluent/ViewModels/AddWallet/ConnectHardwareWalletViewModel.cs | using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Reactive.Linq;
using System.Threading;
using System.Threading.Tasks;
using System.Windows.Input;
using DynamicData;
using NBitcoin;
using ReactiveUI;
using WalletWasabi.Hwi;
using WalletWasabi.Wallets;... | using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Reactive.Linq;
using System.Threading;
using System.Threading.Tasks;
using System.Windows.Input;
using DynamicData;
using NBitcoin;
using ReactiveUI;
using WalletWasabi.Blockchain.Keys;
using WalletWas... | mit | C# |
1b3619f3aa73f5dfd16c3f46fa407b2c711e66a2 | Correct namespace | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi.Tests/UnitTests/JsonConvertersTest/UnblindedSignatureTests.cs | WalletWasabi.Tests/UnitTests/JsonConvertersTest/UnblindedSignatureTests.cs | using NBitcoin;
using Newtonsoft.Json;
using System;
using System.IO;
using System.Linq;
using System.Text;
using WalletWasabi.Crypto;
using WalletWasabi.JsonConverters;
using Xunit;
namespace WalletWasabi.Tests.UnitTests.JsonConvertersTest
{
public class UnblindedSignatureTests
{
private static Random Random = ne... | using NBitcoin;
using Newtonsoft.Json;
using System;
using System.IO;
using System.Linq;
using System.Text;
using WalletWasabi.Crypto;
using WalletWasabi.JsonConverters;
using Xunit;
namespace WalletWasabi.Tests.UnitTests.JsonConverters
{
public class UnblindedSignatureTests
{
private static Random Random = new Ra... | mit | C# |
e3f9ea26a9ccb8aa430846c823622f8fe0b76d10 | fix NullReference | AspectCore/AspectCore-Framework,AspectCore/AspectCore-Framework,AspectCore/Abstractions,AspectCore/Lite | core/src/AspectCore.Core/DynamicProxy/AspectBuilder.cs | core/src/AspectCore.Core/DynamicProxy/AspectBuilder.cs | using System;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace AspectCore.DynamicProxy
{
[NonAspect]
public sealed class AspectBuilder : IAspectBuilder
{
private readonly IList<Func<AspectDelegate, AspectDelegate>> _delegates;
private readonly AspectDelegate _compl... | using System;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace AspectCore.DynamicProxy
{
[NonAspect]
public sealed class AspectBuilder : IAspectBuilder
{
private readonly IList<Func<AspectDelegate, AspectDelegate>> _delegates;
private readonly AspectDelegate _compl... | mit | C# |
17602874ab88e59564e9d269266fc9098fc73d04 | Update RemoteBuilder.cs | NMSLanX/Natasha | Natasha/Remote/RemoteBuilder.cs | Natasha/Remote/RemoteBuilder.cs | using System;
namespace Natasha.Remote
{
public class RemoteBuilder
{
public static string Script
{
set
{
Type type = ClassBuilder.GetType(value);
RemoteWritter.ComplieToRemote(type);
}
}
}
}
| using System;
namespace Natasha.Remote
{
public class RemoteBuilder
{
public string Script
{
set
{
Type type = ClassBuilder.GetType(value);
RemoteWritter.ComplieToRemote(type);
}
}
}
}
| mpl-2.0 | C# |
0c89d422d63b440adb29b1595768f8e8b5f396fe | Fix #50 | ProgTrade/nUpdate,ProgTrade/nUpdate | nUpdate.Internal/Core/Architecture.cs | nUpdate.Internal/Core/Architecture.cs | // Copyright © Dominic Beger 2017
namespace nUpdate.Internal.Core
{
public enum Architecture
{
X86,
X64,
Independent
}
} | // Copyright © Dominic Beger 2017
namespace nUpdate.Internal.Core
{
public enum Architecture
{
Independent,
X86,
X64
}
} | mit | C# |
68fcc884f7eff58b7f8ae502d18e0c646fffc177 | Remove useless file | brendan-rius/raytracer-epitech | raytracer/raytracer/core/KdTreeAccel.cs | raytracer/raytracer/core/KdTreeAccel.cs | namespace raytracer.core
{
internal class KdTreeAccel
{
}
} | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace raytracer.core
{
class KdTreeAccel
{
public KdTreeAccel()
{
}
}
}
| mit | C# |
0d98214f18b280bb5dad6890c383197767ae7fce | improve wording | ppy/osu-framework,ZLima12/osu-framework,ppy/osu-framework,peppy/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,ZLima12/osu-framework,ppy/osu-framework,peppy/osu-framework,smoogipooo/osu-framework | osu.Framework.Tests/Audio/AudioCollectionManagerTest.cs | osu.Framework.Tests/Audio/AudioCollectionManagerTest.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using NUnit.Framework;
using osu.Framework.Audio;
namespace osu.Framework.Tests.Audio
{
... | // 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 System.Threading;
using NUnit.Framework;
using osu.Framework.Audio;
namespace osu.Framework.Tests.Audio
{
... | mit | C# |
279ccb46e87e43a908c91a7c7cb9e2d111afa81e | Use Entry assembly | ZLima12/osu-framework,smoogipooo/osu-framework,DrabWeb/osu-framework,ppy/osu-framework,DrabWeb/osu-framework,Tom94/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,EVAST9919/osu-framework,DrabWeb/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,ppy/osu-fram... | osu.Framework/Development/DebugUtils.cs | osu.Framework/Development/DebugUtils.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 System;
using System.Diagnostics;
using System.Linq;
using System.Reflection;
namespace osu.Framework.Development
{
public static class DebugUtils
... | // 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 System;
using System.Diagnostics;
using System.Linq;
using System.Reflection;
namespace osu.Framework.Development
{
public static class DebugUtils
... | mit | C# |
b6449aec1489013bc0a3ed50a397efc73358974c | Remove ISenderCallback stub | JasperFx/jasper,JasperFx/jasper,JasperFx/jasper | src/Jasper.Testing/Transports/Sending/NulloSenderTester.cs | src/Jasper.Testing/Transports/Sending/NulloSenderTester.cs | using System.Threading;
using System.Threading.Tasks;
using Jasper.Testing.Messaging;
using Jasper.Transports.Sending;
using Jasper.Util;
using Xunit;
namespace Jasper.Testing.Transports.Sending
{
public class NulloSenderTester
{
[Fact]
public async Task enqueue_automatically_marks_envelope_as_... | using System.Threading.Tasks;
using Jasper.Testing.Messaging;
using Jasper.Transports.Sending;
using Jasper.Util;
using NSubstitute;
using Xunit;
namespace Jasper.Testing.Transports.Sending
{
public class NulloSenderTester
{
[Fact]
public async Task enqueue_automatically_marks_envelope_as_succe... | mit | C# |
0bbb08a1b262cc31596e5525476ed50f19a86ec5 | Fix typo | petedavis/Orchard2,petedavis/Orchard2,OrchardCMS/Brochard,petedavis/Orchard2,OrchardCMS/Brochard,xkproject/Orchard2,xkproject/Orchard2,petedavis/Orchard2,stevetayloruk/Orchard2,xkproject/Orchard2,OrchardCMS/Brochard,xkproject/Orchard2,stevetayloruk/Orchard2,stevetayloruk/Orchard2,stevetayloruk/Orchard2,xkproject/Orchar... | src/OrchardCore/OrchardCore.Infrastructure/Cache/ScopedDistributedCache.cs | src/OrchardCore/OrchardCore.Infrastructure/Cache/ScopedDistributedCache.cs | using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using MessagePack;
using Microsoft.Extensions.Caching.Distributed;
using Newtonsoft.Json;
namespace OrchardCore.Infrastructure.Cache
{
public class ScopedDistributedCache : IScopedDistributedCache
{
private readonly IDis... | using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using MessagePack;
using Microsoft.Extensions.Caching.Distributed;
using Newtonsoft.Json;
namespace OrchardCore.Infrastructure.Cache
{
public class ScopedDistributedCache : IScopedDistributedCache
{
private readonly IDis... | bsd-3-clause | C# |
c4f685d84a8ea31c380e1ff92f69f3d593f09bcd | Update KnownEvents to be public | tim-cools/EventStore-Examples,tim-cools/EventStore-Examples,tim-cools/EventStore-Examples | src/Soloco.EventStore.MeasurementProjections/Infrastructure/KnownEvents.cs | src/Soloco.EventStore.MeasurementProjections/Infrastructure/KnownEvents.cs | using System;
using EventStore.ClientAPI;
using Soloco.EventStore.Core.Infrastructure;
using Soloco.EventStore.MeasurementProjections.Events;
namespace Soloco.EventStore.MeasurementProjections.Infrastructure
{
public class KnownEvents : IKnownEventsProvider
{
public KnownEvent Get(RecordedEvent recorde... | using System;
using EventStore.ClientAPI;
using Soloco.EventStore.Core.Infrastructure;
using Soloco.EventStore.MeasurementProjections.Events;
namespace Soloco.EventStore.MeasurementProjections.Infrastructure
{
internal class KnownEvents : IKnownEventsProvider
{
public KnownEvent Get(RecordedEvent recor... | mit | C# |
86d93ffe3c59a3b1fa57d4a8855298ac3ecc39b9 | Fix tooltip not working due to not handling input | peppy/osu-new,EVAST9919/osu,peppy/osu,johnneijzen/osu,DrabWeb/osu,ZLima12/osu,ppy/osu,ZLima12/osu,smoogipoo/osu,naoey/osu,johnneijzen/osu,ppy/osu,smoogipoo/osu,UselessToucan/osu,EVAST9919/osu,DrabWeb/osu,DrabWeb/osu,Nabile-Rahmani/osu,peppy/osu,NeoAdonis/osu,2yangk23/osu,UselessToucan/osu,UselessToucan/osu,Frontear/osu... | osu.Game/Graphics/DrawableDate.cs | osu.Game/Graphics/DrawableDate.cs | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System;
using Humanizer;
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Cursor;
using osu.Framework.Threading;... | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System;
using Humanizer;
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Cursor;
using osu.Framework.Threading;... | mit | C# |
64bb1f381bdbc2647c1883fb386686fe7b0943cd | Add more languages to settings dropdown | UselessToucan/osu,smoogipooo/osu,peppy/osu,NeoAdonis/osu,peppy/osu-new,peppy/osu,UselessToucan/osu,NeoAdonis/osu,ppy/osu,NeoAdonis/osu,smoogipoo/osu,ppy/osu,ppy/osu,peppy/osu,smoogipoo/osu,smoogipoo/osu,UselessToucan/osu | osu.Game/Localisation/Language.cs | osu.Game/Localisation/Language.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System.ComponentModel;
namespace osu.Game.Localisation
{
public enum Language
{
[Description(@"English")]
en,
// TODO: Requires Ar... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System.ComponentModel;
namespace osu.Game.Localisation
{
public enum Language
{
[Description(@"English")]
en,
[Description(@"日本語")... | mit | C# |
eaab578ae639112f59da14f140956c6193c66b5e | Prepare 0.3.0 release | LouisTakePILLz/ArgumentParser | ArgumentParser/Properties/AssemblyInfo.cs | ArgumentParser/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
using System.Security;
// 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("ArgumentParser")]
[... | using System.Reflection;
using System.Runtime.InteropServices;
using System.Security;
// 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("ArgumentParser")]
[... | apache-2.0 | C# |
19174569e9fab1c4a865e523d583508c84117bd5 | Remove unnecessary statements | mysticfall/Alensia | Assets/Alensia/Core/Control/Controller.cs | Assets/Alensia/Core/Control/Controller.cs | using System.Collections.Generic;
using System.Linq;
using Alensia.Core.Common;
using Alensia.Core.UI;
using Alensia.Core.UI.Cursor;
using UniRx;
using UnityEngine;
using Zenject;
namespace Alensia.Core.Control
{
public class Controller : ActivatableMonoBehavior, IController
{
[Inject]
public ... | using System.Collections.Generic;
using System.Linq;
using Alensia.Core.Common;
using Alensia.Core.UI;
using Alensia.Core.UI.Cursor;
using UniRx;
using UnityEngine;
using Zenject;
namespace Alensia.Core.Control
{
public class Controller : ActivatableMonoBehavior, IController
{
[Inject]
public ... | apache-2.0 | C# |
8dfe3c179baa63593fffe0914dc36c3283964fe2 | fix policies page title | btcpayserver/btcpayserver,btcpayserver/btcpayserver,btcpayserver/btcpayserver,btcpayserver/btcpayserver | BTCPayServer/Views/Server/Policies.cshtml | BTCPayServer/Views/Server/Policies.cshtml | @model BTCPayServer.Services.PoliciesSettings
@{
ViewData["Title"] = ServerNavPages.Policies;
ViewData.AddActivePage(ServerNavPages.Policies);
}
<h4>@ViewData["Title"]</h4>
@Html.Partial("_StatusMessage", TempData["StatusMessage"])
<div class="row">
<div class="col-md-6">
<div asp-validation-summary="All" class... | @model BTCPayServer.Services.PoliciesSettings
@{
ViewData["Title"] = ServerNavPages.Emails;
ViewData.AddActivePage(ServerNavPages.Emails);
}
<h4>@ViewData["Title"]</h4>
@Html.Partial("_StatusMessage", TempData["StatusMessage"])
<div class="row">
<div class="col-md-6">
<div asp-validation-summary="All" class="te... | mit | C# |
5bc35d1a2d012ea3d72ff6c7d478d7404633c700 | Fix options nullable error | ASP-NET-MVC-Boilerplate/Templates,ASP-NET-MVC-Boilerplate/Templates | Source/GraphQLTemplate/Source/GraphQLTemplate/Options/ApplicationOptions.cs | Source/GraphQLTemplate/Source/GraphQLTemplate/Options/ApplicationOptions.cs | namespace GraphQLTemplate.Options
{
using System.ComponentModel.DataAnnotations;
#if ForwardedHeaders
using Microsoft.AspNetCore.Builder;
#elif HostFiltering
using Microsoft.AspNetCore.HostFiltering;
#endif
using Microsoft.AspNetCore.Server.Kestrel.Core;
/// <summary>
/// All options for the ap... | namespace GraphQLTemplate.Options
{
using System.ComponentModel.DataAnnotations;
#if ForwardedHeaders
using Microsoft.AspNetCore.Builder;
#elif HostFiltering
using Microsoft.AspNetCore.HostFiltering;
#endif
using Microsoft.AspNetCore.Server.Kestrel.Core;
/// <summary>
/// All options for the ap... | mit | C# |
b5d3ee45f5489079cffaf46cdccafec9f515938c | Add CalculateProfit to Week Model | morarj/ACStalkMarket,morarj/ACStalkMarket,morarj/ACStalkMarket | ACStalkMarket/ACStalkMarket/Models/Week.cs | ACStalkMarket/ACStalkMarket/Models/Week.cs | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
namespace ACStalkMarket.Models
{
public class Week
{
public int Id { get; set; }
public People People { get; set; }
[Required]
public int PeopleId ... | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
namespace ACStalkMarket.Models
{
public class Week
{
public int Id { get; set; }
public People People { get; set; }
[Required]
public int PeopleId ... | mit | C# |
d95c8074a4c4ebd1a3d16169eab1bfd50e2f7092 | Bump version to 2.1 for the FFXIV4.1 changes | sqt/cactbot,sqt/cactbot,quisquous/cactbot,quisquous/cactbot,sqt/cactbot,sqt/cactbot,quisquous/cactbot,quisquous/cactbot,quisquous/cactbot,sqt/cactbot,quisquous/cactbot | CactbotOverlay/Properties/AssemblyInfo.cs | CactbotOverlay/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("CactbotOverlay")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("CactbotOverlay")]
[assembly: AssemblyC... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("CactbotOverlay")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("CactbotOverlay")]
[assembly: AssemblyC... | apache-2.0 | C# |
493b726ddeab0c9fc079089a4d62bdc3b7bed26d | Remove licence header | laedit/vika | src/NVika/BuildServers/GitHub.cs | src/NVika/BuildServers/GitHub.cs | using System;
using System.ComponentModel.Composition;
using System.Text;
using NVika.Abstractions;
using NVika.Parsers;
namespace NVika.BuildServers
{
internal sealed class GitHub : BuildServerBase
{
private readonly IEnvironment _environment;
[ImportingConstructor]
internal GitHub(IE... | // 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.ComponentModel.Composition;
using System.Text;
using NVika.Abstractions;
using NVika.Parsers;
namespace NVika.BuildServers
{
internal seal... | apache-2.0 | C# |
6b3993f4aa9feb20e46d7926fdbd1dc4065a0f20 | Improve Unsupported SecurityType Message | StefanoRaggi/Lean,QuantConnect/Lean,AlexCatarino/Lean,StefanoRaggi/Lean,AlexCatarino/Lean,jameschch/Lean,AlexCatarino/Lean,StefanoRaggi/Lean,JKarathiya/Lean,StefanoRaggi/Lean,AlexCatarino/Lean,JKarathiya/Lean,QuantConnect/Lean,jameschch/Lean,jameschch/Lean,jameschch/Lean,JKarathiya/Lean,QuantConnect/Lean,jameschch/Lean... | Common/Orders/Fees/AlphaStreamsFeeModel.cs | Common/Orders/Fees/AlphaStreamsFeeModel.cs | /*
* QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals.
* Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect Corporation.
*
* 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... | /*
* QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals.
* Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect Corporation.
*
* 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... | apache-2.0 | C# |
87aa79737a79a0af601d52e4ecfa877bf87fb25d | Remove unused internal delegate. | chtoucas/Narvalo.NET,chtoucas/Narvalo.NET | src/Narvalo.Fx/Applicative/Recursion.cs | src/Narvalo.Fx/Applicative/Recursion.cs | // Copyright (c) Narvalo.Org. All rights reserved. See LICENSE.txt in the project root for license information.
namespace Narvalo.Applicative
{
using System;
public static class Recursion
{
// Y Combinator.
public static Func<TSource, TResult> Fix<TSource, TResult>(
Func<Func<... | // Copyright (c) Narvalo.Org. All rights reserved. See LICENSE.txt in the project root for license information.
namespace Narvalo.Applicative
{
using System;
internal delegate Func<TSource, TResult> Recursive<TSource, TResult>(Recursive<TSource, TResult> rec);
public static class Recursion
{
... | bsd-2-clause | C# |
7dfa6d78d6e441614c39ea33dee2e4d5c1411f0b | Undo last commit as this is handled by appending reg- to the title of the page in this instance | SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice | src/SFA.DAS.EmployerAccounts.Web/Views/Home/ServiceStartPage.cshtml | src/SFA.DAS.EmployerAccounts.Web/Views/Home/ServiceStartPage.cshtml | @using SFA.DAS.EmployerAccounts.Web.Helpers
@{ViewBag.PageID = "page-service-start"; }
@{ViewBag.Title = "Create an account to manage apprenticeships"; }
@{ViewBag.MetaDesc = "Manage your funding for apprenticeships in England"; }
@{ViewBag.HideNav = true; }
@{
ViewBag.GaData.Vpv = "/page-service-start";
}
@{Lay... | @using SFA.DAS.EmployerAccounts.Web.Helpers
@{ViewBag.PageID = "page-service-start"; }
@{ViewBag.Title = "Create an account to manage apprenticeships"; }
@{ViewBag.MetaDesc = "Manage your funding for apprenticeships in England"; }
@{ViewBag.HideNav = true; }
@{
ViewBag.GaData.Vpv = "/page-service-start";
View... | mit | C# |
b0c5135fa361598b9338dc4976c3b311b0d779ff | Use custom guid type again. | Squidex/squidex,Squidex/squidex,Squidex/squidex,Squidex/squidex,Squidex/squidex | src/Squidex.Domain.Apps.Entities/Contents/GraphQL/Types/AllTypes.cs | src/Squidex.Domain.Apps.Entities/Contents/GraphQL/Types/AllTypes.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# |
020a16fb75d22b02ea9c27155a0c56c1907e201f | Fix broken link | martincostello/website,martincostello/website,martincostello/website,martincostello/website | src/Website/Pages/Shared/_Navbar.cshtml | src/Website/Pages/Shared/_Navbar.cshtml | <nav class="navbar navbar-expand-lg navbar-dark bg-primary">
<a id="link-home" href="~/" class="navbar-brand">@Options.Value?.Metadata?.Domain</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#site-navbar" aria-controls="site-navbar" aria-expanded="false" aria-label="Toggle n... | <nav class="navbar navbar-expand-lg navbar-dark bg-primary">
<a id="link-home" asp-controller="Home" asp-action="Index" class="navbar-brand">@Options.Value?.Metadata?.Domain</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#site-navbar" aria-controls="site-navbar" aria-expand... | apache-2.0 | C# |
7b82c50872460b21efe80a2df10c6178949ac685 | Remove unused namespace import. | TheGeneGenieProject/GeneGenie.Gedcom | GeneGenie.Gedcom.Tests/GedcomCustomTest.cs | GeneGenie.Gedcom.Tests/GedcomCustomTest.cs | // <copyright file="GedcomCustomTest.cs" company="GeneGenie.com">
// Copyright (c) GeneGenie.com. All Rights Reserved.
// Licensed under the GNU Affero General Public License v3.0. See LICENSE in the project root for license information.
// </copyright>
// <author> Copyright (C) 2020 Ryan O'Neill https://github.com/Ry... | // <copyright file="GedcomCustomTest.cs" company="GeneGenie.com">
// Copyright (c) GeneGenie.com. All Rights Reserved.
// Licensed under the GNU Affero General Public License v3.0. See LICENSE in the project root for license information.
// </copyright>
// <author> Copyright (C) 2020 Ryan O'Neill https://github.com/Ry... | agpl-3.0 | C# |
02ff533829c315d71116bb9c0e74e92e111d7bec | Fix SSL/TLS exception during application startup | GambitKZ/MangaRipper,NguyenDanPhuong/MangaRipper | MangaRipper/Helpers/UpdateNotification.cs | MangaRipper/Helpers/UpdateNotification.cs | using System;
using System.Threading.Tasks;
using Octokit;
using System.Net;
namespace MangaRipper.Helpers
{
public class UpdateNotification
{
public static async Task<string> GetLatestVersion()
{
ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;
var cl... | using System;
using System.Threading.Tasks;
using Octokit;
namespace MangaRipper.Helpers
{
public class UpdateNotification
{
public static async Task<string> GetLatestVersion()
{
var client = new GitHubClient(new ProductHeaderValue("MyAmazingApp"));
var release = await ... | mit | C# |
40e9a573495384ce3c4f18a0fa2d2bf16421f8ab | 增强 JumonyViewHandler ,提供各种 Find 和 For 方法 | wukaixian/Jumony,yonglehou/Jumony,zpzgone/Jumony,wukaixian/Jumony,yonglehou/Jumony,zpzgone/Jumony | Ivony.Html.Web.Mvc/JumonyViewHandler.cs | Ivony.Html.Web.Mvc/JumonyViewHandler.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web;
using Ivony.Fluent;
using Ivony.Html.ExpandedAPI;
namespace Ivony.Html.Web.Mvc
{
public class JumonyViewHandler : JumonyView, IHttpHandler
{
#region IHttpHandler 成员
bool IHttpHandler.Is... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web;
namespace Ivony.Html.Web.Mvc
{
public class JumonyViewHandler : JumonyView, IHttpHandler
{
#region IHttpHandler 成员
bool IHttpHandler.IsReusable
{
get { return false; }
}
... | apache-2.0 | C# |
34af5a5c00025f3e8faaa3e40ed39a6185ace595 | Fix naming. | ExRam/ExRam.Gremlinq | test/ExRam.Gremlinq.Core.Tests/Extensions/GremlinQueryExtensions.cs | test/ExRam.Gremlinq.Core.Tests/Extensions/GremlinQueryExtensions.cs | using System.Linq;
using System.Threading.Tasks;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
namespace ExRam.Gremlinq.Core.Tests
{
public static class GremlinQueryExtensions
{
public static async Task Verify<TElement>(this IGremlinQueryBase<TElement> query)
{
var testBase = ... | using System.Linq;
using System.Threading.Tasks;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
namespace ExRam.Gremlinq.Core.Tests
{
public static class GremlinQueryExtensions
{
public static async Task Verify<TElement>(this IGremlinQueryBase<TElement> query)
{
var testBase = ... | mit | C# |
37da0b3d19818ca9d1173af30f0c2b5083c7d3bb | fix wave not checking what it collided with | danbolt/ggj-jan-2017 | Pumpkin/Assets/Scripts/WaveHitDetection.cs | Pumpkin/Assets/Scripts/WaveHitDetection.cs |
using UnityEngine;
public class WaveHitDetection : MonoBehaviour
{
public GameObject Player;
private void OnTriggerEnter(Collider other)
{
if (Player)
{
if (other.gameObject == Player)
{
Player.SendMessage("OnHitByWave", null, SendMessageOptions.RequireReceiver);
}
}
else
{
Debug.Log("w... |
using UnityEngine;
public class WaveHitDetection : MonoBehaviour
{
public GameObject Player;
private void OnTriggerEnter()
{
if (Player)
{
Player.SendMessage("OnHitByWave", null, SendMessageOptions.RequireReceiver);
}
else
{
Debug.Log("wave prefab has no player set");
}
}
}
| mit | C# |
61c3daf50bb47bb8ae7ab50409d795aa180350fd | Test position in ShootBulletIntoSpace Test (#5) | ForNeVeR/TankDriver | TankDriver.Tests/Logic/BulletSpaceTests.cs | TankDriver.Tests/Logic/BulletSpaceTests.cs | using TankDriver.Logic;
using Microsoft.Xna.Framework;
using Xunit;
namespace TankDriver.Tests.Logic
{
public class BulletSpaceTests
{
private readonly Rectangle BulletSpaceBounds = new Rectangle(0, 0, 100, 100);
[Fact]
public void BulletOutOfBound()
{
BulletSpace ... | using TankDriver.Logic;
using Microsoft.Xna.Framework;
using Xunit;
namespace TankDriver.Tests.Logic
{
public class BulletSpaceTests
{
private readonly Rectangle BulletSpaceBounds = new Rectangle(0, 0, 100, 100);
[Fact]
public void BulletOutOfBound()
{
BulletSpace ... | mit | C# |
42a91cbd1a45b0c15dcf1bfd8b306af1f8fcb65f | Update AddExample.cs | vincentml/basex,vincentml/basex,BaseXdb/basex,BaseXdb/basex,BaseXdb/basex,vincentml/basex,BaseXdb/basex,joansmith/basex,vincentml/basex,JensErat/basex,deshmnnit04/basex,deshmnnit04/basex,ksclarke/basex,JensErat/basex,ksclarke/basex,drmacro/basex,dimitarp/basex,joansmith/basex,vincentml/basex,vincentml/basex,deshmnnit04... | src/main/c#/AddExample.cs | src/main/c#/AddExample.cs | /*
* This example shows how new documents can be added.
*
* Documentation: http://docs.basex.org/wiki/Clients
*
* (C) BaseX Team 2005-12, BSD License
*/
using System;
using System.Diagnostics;
using System.IO;
namespace BaseXClient
{
public class AddExample
{
public static void Main(string... | /*
* This example shows how new documents can be added.
*
* Documentation: http://docs.basex.org/wiki/Clients
*
* (C) BaseX Team 2005-12, BSD License
*/
using System;
using System.Diagnostics;
using System.IO;
namespace BaseXClient
{
public class AddExample
{
public static void Main(string... | bsd-3-clause | C# |
884bfbdda81a4ccc3448f735d4d6c4adc402fe77 | Update the Settings Seed to Add a New SendGrid API Key and Remove Old UserName and Password Keys | tommcclean/PortalCMS,tommcclean/PortalCMS,tommcclean/PortalCMS | Portal.CMS.Entities/Seed/SettingSeed.cs | Portal.CMS.Entities/Seed/SettingSeed.cs | using Portal.CMS.Entities.Entities;
using System.Collections.Generic;
using System.Linq;
namespace Portal.CMS.Entities.Seed
{
public static class SettingSeed
{
public static void Seed(PortalEntityModel context)
{
var settingList = context.Settings.ToList();
var newSett... | using Portal.CMS.Entities.Entities;
using System.Collections.Generic;
using System.Linq;
namespace Portal.CMS.Entities.Seed
{
public static class SettingSeed
{
public static void Seed(PortalEntityModel context)
{
var settingList = context.Settings.ToList();
var newSett... | mit | C# |
e1100d9adfd29a12400b41d9200728cbcac54587 | Use LINQ to sort results. | BrettJaner/csla,ronnymgm/csla-light,rockfordlhotka/csla,BrettJaner/csla,rockfordlhotka/csla,BrettJaner/csla,MarimerLLC/csla,rockfordlhotka/csla,MarimerLLC/csla,jonnybee/csla,ronnymgm/csla-light,MarimerLLC/csla,JasonBock/csla,JasonBock/csla,jonnybee/csla,jonnybee/csla,JasonBock/csla,ronnymgm/csla-light | ProjectTrackercs/PTWin/ProjectSelect.cs | ProjectTrackercs/PTWin/ProjectSelect.cs | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using ProjectTracker.Library;
using System.Linq;
namespace PTWin
{
public partial class ProjectSelect : Form
{
private Guid _projectId;
publ... | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using ProjectTracker.Library;
namespace PTWin
{
public partial class ProjectSelect : Form
{
private Guid _projectId;
public Guid ProjectId
... | mit | C# |
8b9b9e3150a15c036fd94a54ba87ab74f5539281 | Add test | sakapon/Samples-2017 | ProxySample/ProxyableConsole/Program.cs | ProxySample/ProxyableConsole/Program.cs | using System;
namespace ProxyableConsole
{
class Program
{
static void Main(string[] args)
{
var result = Proxyable.Body(() =>
{
Console.WriteLine("Body");
return 123;
})
.Aspect(f ... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ProxyableConsole
{
class Program
{
static void Main(string[] args)
{
}
}
}
| mit | C# |
3071ea5e6eef830f82bf9011a248048397757636 | fix mysql last_insert_id | sqlkata/querybuilder | QueryBuilder/Compilers/MySqlCompiler.cs | QueryBuilder/Compilers/MySqlCompiler.cs | using System;
using SqlKata.Compilers.Bindings;
namespace SqlKata.Compilers
{
public class MySqlCompiler : Compiler
{
public MySqlCompiler() : base(
new SqlResultBinder()
)
{
OpeningIdentifier = ClosingIdentifier = "`";
LastId = "SELECT last_inser... | using System;
using SqlKata.Compilers.Bindings;
namespace SqlKata.Compilers
{
public class MySqlCompiler : Compiler
{
public MySqlCompiler() : base(
new SqlResultBinder()
)
{
OpeningIdentifier = ClosingIdentifier = "`";
LastId = "SELECT last_inser... | mit | C# |
d08dd60499d91d1b6964e81e177ebaa6506fa176 | Disable look on victory | Barleytree/NitoriWare,NitorInc/NitoriWare,Barleytree/NitoriWare,NitorInc/NitoriWare | Assets/Resources/Microgames/NitoriLook/Scripts/NitoriLookMovement.cs | Assets/Resources/Microgames/NitoriLook/Scripts/NitoriLookMovement.cs | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class NitoriLookMovement : MonoBehaviour
{
#pragma warning disable 0649 //Serialized Fields
[SerializeField]
private Vector2 mouseRotateVelocity;
#pragma warning restore 0649
void Start()
{
Cursor.lockState = Cur... | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class NitoriLookMovement : MonoBehaviour
{
#pragma warning disable 0649 //Serialized Fields
[SerializeField]
private Vector2 mouseRotateVelocity;
#pragma warning restore 0649
void Start()
{
Cursor.lockState = Cur... | mit | C# |
c4b6b6d28a066ae3c951f6cbfb1acdc848c40edb | Add implementation for authorization serialization example. | henrikfroehling/TraktApiSharp | Examples/Serialization/TraktSerializeAuthorizationExample/Program.cs | Examples/Serialization/TraktSerializeAuthorizationExample/Program.cs | namespace TraktSerializeAuthorizationExample
{
using System;
using TraktApiSharp;
using TraktApiSharp.Authentication;
using TraktApiSharp.Enums;
using TraktApiSharp.Services;
class Program
{
private const string CLIENT_ID = "FAKE_CLIENT_ID";
private const string CLIENT_SECR... | namespace TraktSerializeAuthorizationExample
{
class Program
{
static void Main(string[] args)
{
}
}
}
| mit | C# |
fb9db73de962581f623b39a216ea24667dc91158 | Fix Code Issues. | nuitsjp/KAMISHIBAI | Source/Kamishibai.Wpf.Demo.ViewModel/MainWindowViewModel.cs | Source/Kamishibai.Wpf.Demo.ViewModel/MainWindowViewModel.cs | using System.Diagnostics;
using Kamishibai.Wpf.ViewModel;
namespace Kamishibai.Wpf.Demo.ViewModel;
public class MainWindowViewModel :
INavigatingAsyncAware,
INavigatingAware,
INavigatedAsyncAware
{
private readonly INavigationService _navigationService;
public MainWindowViewModel(INavigationSer... | using System.Diagnostics;
using Kamishibai.Wpf.ViewModel;
namespace Kamishibai.Wpf.Demo.ViewModel;
public class MainWindowViewModel :
INavigatingAsyncAware,
INavigatingAware,
INavigatedAsyncAware
{
private readonly INavigationService _navigationService;
public MainWindowViewModel(INavigationSer... | mit | C# |
ce51fa5b38abe610486a4511e32294f595512d8c | Add missing NUnit category | AntoineGa/EventFlow,rasmus/EventFlow | Source/EventFlow.Tests/UnitTests/Sagas/SagaDefinitionServiceTests.cs | Source/EventFlow.Tests/UnitTests/Sagas/SagaDefinitionServiceTests.cs | // The MIT License (MIT)
//
// Copyright (c) 2015-2016 Rasmus Mikkelsen
// Copyright (c) 2015-2016 eBay Software Foundation
// https://github.com/rasmus/EventFlow
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of
// this software and associated documentation files (the "Software"), ... | // The MIT License (MIT)
//
// Copyright (c) 2015-2016 Rasmus Mikkelsen
// Copyright (c) 2015-2016 eBay Software Foundation
// https://github.com/rasmus/EventFlow
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of
// this software and associated documentation files (the "Software"), ... | mit | C# |
a98bb331edd9e4c0477ef2b8745ac78adefb1578 | Remove multiple checks | Promact/trappist,Promact/trappist,Promact/trappist,Promact/trappist,Promact/trappist | Trappist/src/Promact.Trappist.Core/Controllers/QuestionController.cs | Trappist/src/Promact.Trappist.Core/Controllers/QuestionController.cs | using Microsoft.AspNetCore.Mvc;
using Promact.Trappist.DomainModel.ApplicationClasses.Question;
using Promact.Trappist.DomainModel.Enum;
using Promact.Trappist.Repository.Questions;
using System.Threading.Tasks;
namespace Promact.Trappist.Core.Controllers
{
[Route("api/question")]
public class QuestionControl... | using Microsoft.AspNetCore.Mvc;
using Promact.Trappist.DomainModel.ApplicationClasses.Question;
using Promact.Trappist.DomainModel.Enum;
using Promact.Trappist.Repository.Questions;
using System.Threading.Tasks;
namespace Promact.Trappist.Core.Controllers
{
[Route("api/question")]
public class QuestionControl... | mit | C# |
2e18600030ab121d8c9155a8e52d686d4ce0330b | Fix issues | ndrmc/cats,ndrmc/cats,ndrmc/cats | Web/Controllers/SMSGatewayController.cs | Web/Controllers/SMSGatewayController.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using Cats.Models;
using Cats.Services.EarlyWarning;
using Cats.Models.ViewModels;
namespace Cats.Controllers
{
public class SMSGatewayController : Controller
{
//
// GET: /CatsSmsGateway... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using Cats.Models;
using Cats.Services.EarlyWarning;
using Cats.Models.ViewModels;
namespace Cats.Controllers
{
public class SMSGatewayController : Controller
{
//
// GET: /CatsSmsGateway... | apache-2.0 | C# |
915f35b0c08152a4e48c23eda5b7a815922c3f1c | Update assembly version to 1.2 to match the version set in Microsoft.Web.Xdt package. | alluran/xdt,azurelogic/XdtExtended,dolkensp/xdt | XmlTransform/Properties/AssemblyInfo.cs | XmlTransform/Properties/AssemblyInfo.cs | using System.Reflection;
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Microsoft Corporation")]
[assembly: AssemblyCopyright("© Microsoft Corporation. All rights reserved.")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: AssemblyVersion("1.2.0.0")]
[assembly: Assemb... | using System.Reflection;
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Microsoft Corporation")]
[assembly: AssemblyCopyright("© Microsoft Corporation. All rights reserved.")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: Assemb... | apache-2.0 | C# |
e126e84c04cc79b8cd61e4363ce4b0d034a899bd | Update UserAgentExtensions.cs | wangkanai/Detection | src/Extensions/UserAgentExtensions.cs | src/Extensions/UserAgentExtensions.cs | // Copyright (c) 2014-2020 Sarin Na Wangkanai, All Rights Reserved.
// The Apache v2. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.AspNetCore.Http;
using Wangkanai.Detection.Models;
namespace Wangkanai.Detection.Extensi... | // Copyright (c) 2014-2020 Sarin Na Wangkanai, All Rights Reserved.
// The Apache v2. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.AspNetCore.Http;
using Wangkanai.Detection.Models;
namespace Wangkanai.Detection.Extensi... | apache-2.0 | C# |
811670fc677aac14833a6fe4105cd52b480ff6cc | Use the new API for creating loop specific async watchers. | jmptrader/manos,jacksonh/manos,mdavid/manos-spdy,jacksonh/manos,jmptrader/manos,mdavid/manos-spdy,jacksonh/manos,mdavid/manos-spdy,jmptrader/manos,jacksonh/manos,mdavid/manos-spdy,jacksonh/manos,mdavid/manos-spdy,jacksonh/manos,jacksonh/manos,jmptrader/manos,jmptrader/manos,jacksonh/manos,mdavid/manos-spdy,mdavid/manos... | src/Manos/Manos.Threading/Boundary.cs | src/Manos/Manos.Threading/Boundary.cs | //
// Copyright (C) 2011 Robin Duerden (rduerden@gmail.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 without restriction, including
// without limitation the rights to use... | //
// Copyright (C) 2011 Robin Duerden (rduerden@gmail.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 without restriction, including
// without limitation the rights to use... | mit | C# |
b59de8e023f96503afaa0869ad724626765ba202 | refactor namings | sagivo/Unity2d-Game | Assets/Resources/Scripts/GameController.cs | Assets/Resources/Scripts/GameController.cs | using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public class GameController : Singleton<GameController> {
public int level;
public Player player;
public int score;
public List<Resource> resources = new List<Resource>();
public List<Cell> Cells = new List<Cell>();
public List<Enemy... | using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public class GameController : Singleton<GameController> {
public int Level;
public Player Player;
public int Score;
public List<Resource> Resources = new List<Resource>();
public List<Cell> Cells = new List<Cell>();
public List<Enemy... | apache-2.0 | C# |
ad3214669c678fc53f6eecc95e9142b7cfc4b0ce | Optimize CollectionFileRootSerializer | markmeeus/MarcelloDB | MarcelloDB/Serialization/CollectionFileRootSerializer.cs | MarcelloDB/Serialization/CollectionFileRootSerializer.cs | using System;
using System.Text;
namespace MarcelloDB.Serialization
{
internal class CollectionFileRootSerializer : IObjectSerializer<CollectionFileRoot>
{
const int SERIALIZATION_VERSION = 1;
public CollectionFileRootSerializer()
{
}
#region IObjectSerializer impleme... | using System;
using System.Text;
namespace MarcelloDB.Serialization
{
internal class CollectionFileRootSerializer : IObjectSerializer<CollectionFileRoot>
{
const int SERIALIZATION_VERSION = 1;
public CollectionFileRootSerializer()
{
}
#region IObjectSerializer impleme... | mit | C# |
d3bfa4c192153423d2d24f059da64e78416fafe1 | Add Delete method for PartsListTableAdapter | BartoszBaczek/WorkshopRequestsManager | Project/WorkshopManager/WorkshopManager/SqlDatabase/PartsListTableAdapter.cs | Project/WorkshopManager/WorkshopManager/SqlDatabase/PartsListTableAdapter.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace WorkshopManager.SqlDatabase
{
using PartsListTableAdapterExtensions;
class PartsListTableAdapter
{
public Get Get;
public Add Add;
public Update Update;
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace WorkshopManager.SqlDatabase
{
using PartsListTableAdapterExtensions;
class PartsListTableAdapter
{
public Get Get;
public Add Add;
public Update Update;
... | mit | C# |
d024b974f583e26159a10ef1aca26ab9e267ce3b | Add support on fetching Uri with local filepath like "file:///C:/website/style.css" | milkshakesoftware/PreMailer.Net | PreMailer.Net/PreMailer.Net/Downloaders/WebDownloader.cs | PreMailer.Net/PreMailer.Net/Downloaders/WebDownloader.cs | using System;
using System.IO;
using System.Net;
using System.Text;
namespace PreMailer.Net.Downloaders
{
public class WebDownloader : IWebDownloader
{
private static IWebDownloader _sharedDownloader;
public static IWebDownloader SharedDownloader
{
get
{
if (_sharedDownloader == null)
{
_sh... | using System;
using System.IO;
using System.Net;
using System.Text;
namespace PreMailer.Net.Downloaders
{
public class WebDownloader : IWebDownloader
{
private static IWebDownloader _sharedDownloader;
public static IWebDownloader SharedDownloader
{
get
{
if (_sharedDownloader == null)
{
_sh... | mit | C# |
443c5f99178ae21dee6b45f7cb36f59896b26b95 | Fix exception in UserNotificationHub | xpressive-websolutions/Xpressive.Home,xpressive-websolutions/Xpressive.Home.ProofOfConcept,xpressive-websolutions/Xpressive.Home.ProofOfConcept,xpressive-websolutions/Xpressive.Home.ProofOfConcept,xpressive-websolutions/Xpressive.Home,xpressive-websolutions/Xpressive.Home | Xpressive.Home.WebApi/Controllers/UserNotificationHub.cs | Xpressive.Home.WebApi/Controllers/UserNotificationHub.cs | using System;
using System.Collections.Generic;
using Microsoft.AspNet.SignalR;
using Microsoft.AspNet.SignalR.Hubs;
using Xpressive.Home.Contracts.Messaging;
namespace Xpressive.Home.WebApi.Controllers
{
[HubName("notificationHub")]
public class UserNotificationHub : Hub, IMessageQueueListener<Notify... | using System;
using System.Collections.Generic;
using Microsoft.AspNet.SignalR;
using Microsoft.AspNet.SignalR.Hubs;
using Xpressive.Home.Contracts.Messaging;
namespace Xpressive.Home.WebApi.Controllers
{
[HubName("notificationHub")]
public class UserNotificationHub : Hub, IMessageQueueListener<Notify... | mit | C# |
54569776cba4f8a26d6b08e9e7e2f96205150449 | Exclude static methods, use Marshal.SizeOf | pardeike/Harmony | Harmony/Internal/NativeThisPointerCheck.cs | Harmony/Internal/NativeThisPointerCheck.cs | using System;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace Harmony
{
// A test for https://github.com/dotnet/coreclr/blob/master/Documentation/botr/clr-abi.md
//
internal class NativeThisPointer
{
internal static bool NeedsNativeThisPointerFix(Me... | using System;
using System.Collections.Generic;
using System.Reflection;
using System.Reflection.Emit;
using System.Runtime.CompilerServices;
namespace Harmony
{
// A test for https://github.com/dotnet/coreclr/blob/master/Documentation/botr/clr-abi.md
//
internal class NativeThisPointer
{
internal static bool Ne... | mit | C# |
d1da5879b63e22c1133e5d11395a6295736b0cb6 | Implement file export in data viewer | feliwir/openSage,feliwir/openSage | src/OpenSage.DataViewer/UI/FilesList.cs | src/OpenSage.DataViewer/UI/FilesList.cs | using System;
using System.IO;
using System.Linq;
using Eto.Forms;
using OpenSage.Data;
using OpenSage.DataViewer.Framework;
namespace OpenSage.DataViewer.UI
{
public sealed class FilesList : TableLayout
{
public event EventHandler<FileSystemEntryEventArgs> SelectedFileChanged;
private readon... | using System;
using System.Linq;
using Eto.Forms;
using OpenSage.Data;
using OpenSage.DataViewer.Framework;
namespace OpenSage.DataViewer.UI
{
public sealed class FilesList : TableLayout
{
public event EventHandler<FileSystemEntryEventArgs> SelectedFileChanged;
private readonly SearchBox _sea... | mit | C# |
1235bc8729b938911c0e78bbdf963fae6f39d85d | Clarify static initialization. | zaccharles/nodatime,malcolmr/nodatime,BenJenkinson/nodatime,zaccharles/nodatime,zaccharles/nodatime,malcolmr/nodatime,zaccharles/nodatime,jskeet/nodatime,zaccharles/nodatime,BenJenkinson/nodatime,nodatime/nodatime,jskeet/nodatime,malcolmr/nodatime,nodatime/nodatime,malcolmr/nodatime,zaccharles/nodatime | src/NodaTime/DateTimeZoneProviders.cs | src/NodaTime/DateTimeZoneProviders.cs | // Copyright 2012 The Noda Time Authors. All rights reserved.
// Use of this source code is governed by the Apache License 2.0,
// as found in the LICENSE.txt file.
using System;
using NodaTime.TimeZones;
namespace NodaTime
{
/// <summary>
/// Static access to date/time zone providers built into Nod... | // Copyright 2012 The Noda Time Authors. All rights reserved.
// Use of this source code is governed by the Apache License 2.0,
// as found in the LICENSE.txt file.
using System;
using NodaTime.TimeZones;
namespace NodaTime
{
/// <summary>
/// Static access to date/time zone providers built into Nod... | apache-2.0 | C# |
d455029b61aaa9bae768e4cbbba38632b97fc8b4 | Improve test / code coverage of System.ComponentModel | marksmeltzer/corefx,josguil/corefx,billwert/corefx,huanjie/corefx,mazong1123/corefx,BrennanConroy/corefx,rubo/corefx,andyhebear/corefx,jlin177/corefx,akivafr123/corefx,Jiayili1/corefx,jlin177/corefx,the-dwyer/corefx,alexandrnikitin/corefx,kkurni/corefx,Priya91/corefx-1,ptoonen/corefx,cartermp/corefx,chaitrakeshav/coref... | src/System.ComponentModel/tests/ComponentModelBasicTests.cs | src/System.ComponentModel/tests/ComponentModelBasicTests.cs | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.ComponentModel;
using Xunit;
namespace Test
{
public class ComponentModelTests
{
[Fact]
public static void TestCompo... | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.ComponentModel;
using Xunit;
namespace Test
{
public class ComponentModelTests
{
[Fact]
public static void TestCompo... | mit | C# |
b056af4bc5fc16c7f8a39e8d17ef78a5866fd22a | bump version | distantcam/Anotar,Fody/Anotar,mstyura/Anotar,modulexcite/Anotar | CommonAssemblyInfo.cs | CommonAssemblyInfo.cs | using System.Reflection;
[assembly: AssemblyTitle("Anotar")]
[assembly: AssemblyProduct("Anotar")]
[assembly: AssemblyVersion("2.5.0")]
[assembly: AssemblyFileVersion("2.5.0")]
| using System.Reflection;
[assembly: AssemblyTitle("Anotar")]
[assembly: AssemblyProduct("Anotar")]
[assembly: AssemblyVersion("2.4.0")]
[assembly: AssemblyFileVersion("2.4.0")]
| mit | C# |
ec07bf589f653432f9b0b2e0387464f5bb14e9c8 | Move namespace Microsoft.AspNetCore.Routing -> Microsoft.AspNetCore.Builder | neuecc/MagicOnion | src/MagicOnion.Server/Extensions/MagicOnionEndpointRouteBuilderExtensions.cs | src/MagicOnion.Server/Extensions/MagicOnionEndpointRouteBuilderExtensions.cs | using System;
using System.Collections.Generic;
using System.Reflection;
using System.Text;
using MagicOnion.Server.Glue;
using Microsoft.AspNetCore.Routing;
using Microsoft.Extensions.DependencyInjection;
namespace Microsoft.AspNetCore.Builder
{
public static class MagicOnionEndpointRouteBuilderExtensions
{
... | using System;
using System.Collections.Generic;
using System.Reflection;
using System.Text;
using MagicOnion.Server.Glue;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Routing;
using Microsoft.Extensions.DependencyInjection;
namespace Microsoft.AspNetCore.Routing
{
public static class MagicOnionEn... | mit | C# |
c28bbb69d2c70ac4a070596ccaa3b9009b6f8532 | allow BANSHEE_DISABLE_GRID on AlbumListView | stsundermann/banshee,Carbenium/banshee,ixfalia/banshee,arfbtwn/banshee,lamalex/Banshee,mono-soc-2011/banshee,directhex/banshee-hacks,Carbenium/banshee,dufoli/banshee,dufoli/banshee,stsundermann/banshee,lamalex/Banshee,GNOME/banshee,Dynalon/banshee-osx,petejohanson/banshee,Dynalon/banshee-osx,mono-soc-2011/banshee,babyc... | src/Core/Banshee.ThickClient/Banshee.Collection.Gui/AlbumListView.cs | src/Core/Banshee.ThickClient/Banshee.Collection.Gui/AlbumListView.cs | //
// AlbumListView.cs
//
// Author:
// Aaron Bockover <abockover@novell.com>
//
// Copyright (C) 2007 Novell, Inc.
//
// 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... | //
// AlbumListView.cs
//
// Author:
// Aaron Bockover <abockover@novell.com>
//
// Copyright (C) 2007 Novell, Inc.
//
// 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... | mit | C# |
73415e5c9b12dd80879f0d19be18d218d153f126 | add bool HasOption(string expected) to IAmSelectionInput | mvbalaw/FluentBrowserAutomation | src/FluentBrowserAutomation/Controls/Properties/IAmSelectionInput.cs | src/FluentBrowserAutomation/Controls/Properties/IAmSelectionInput.cs | // ReSharper disable once CheckNamespace
namespace FluentBrowserAutomation
{
public interface IAmSelectionInput
{
bool HasOption(string expected);
void Select(string text);
}
} | //// ReSharper disable CheckNamespace
// ReSharper disable CheckNamespace
namespace FluentBrowserAutomation
// ReSharper restore CheckNamespace
//// ReSharper restore CheckNamespace
{
public interface IAmSelectionInput
{
void Select(string text);
}
} | mit | C# |
6e46ad3ece02cfcf548e3c9f2612c0452cc32f9c | update instructions instructions | greggman/hft-unity3d,greggman/hft-unity3d,greggman/hft-unity3d,greggman/hft-unity3d | Assets/HappyFunTimes/Scripts/Editor/HFTInstructionsEditor.cs | Assets/HappyFunTimes/Scripts/Editor/HFTInstructionsEditor.cs | using UnityEditor;
using UnityEngine;
using System.Collections;
[CustomEditor(typeof(HappyFunTimes.HFTInstructions))]
[CanEditMultipleObjects]
public class HFTInstructionsEditor : Editor {
public override void OnInspectorGUI() {
string help =
@"You can set these from the command line with
--instructions=... | using UnityEditor;
using UnityEngine;
using System.Collections;
[CustomEditor(typeof(HappyFunTimes.HFTInstructions))]
[CanEditMultipleObjects]
public class HFTInstructionsEditor : Editor {
public override void OnInspectorGUI() {
string help =
@"You can set these from the command line with
--instructions=... | bsd-3-clause | C# |
d2e5dbc97bcf53ddc08be6c4ce1495077f4baa3f | fix to missing stream extension | hungweng/MarkerMetro.Unity.WinLegacy,MarkerMetro/MarkerMetro.Unity.WinLegacy | MarkerMetro.Unity.WinLegacyUnity/System/MissingExtensions.cs | MarkerMetro.Unity.WinLegacyUnity/System/MissingExtensions.cs | using System.Collections.Generic;
using System.Collections;
using System.Linq;
using System.Text;
using System.Reflection;
using System;
using System.Runtime.InteropServices;
namespace MarkerMetro.Unity.WinLegacy
{
/**
* Helpers for missing functions of classes, turned into extensions instead...
... | using System.Collections.Generic;
using System.Collections;
using System.Linq;
using System.Text;
using System.Reflection;
using System;
using System.Runtime.InteropServices;
namespace MarkerMetro.Unity.WinLegacy
{
/**
* Helpers for missing functions of classes, turned into extensions instead...
... | mit | C# |
d9d1f3e68438d60444bdf030292e1e10a1d0f937 | Update DistributedCacheDecoratorOptions.cs | tiksn/TIKSN-Framework | TIKSN.Core/Data/Cache/Distributed/DistributedCacheDecoratorOptions.cs | TIKSN.Core/Data/Cache/Distributed/DistributedCacheDecoratorOptions.cs | using System;
namespace TIKSN.Data.Cache.Distributed
{
public class DistributedCacheDecoratorOptions
{
public DateTimeOffset? AbsoluteExpiration { get; set; }
public TimeSpan? AbsoluteExpirationRelativeToNow { get; set; }
public TimeSpan? SlidingExpiration { get; set; }
}
publ... | using System;
namespace TIKSN.Data.Cache.Distributed
{
public class DistributedCacheDecoratorOptions
{
public DateTimeOffset? AbsoluteExpiration { get; set; }
public TimeSpan? AbsoluteExpirationRelativeToNow { get; set; }
public TimeSpan? SlidingExpiration { get; set; }
}
publ... | mit | C# |
068657d2a6dfeab26085c063233ba98f639cb2d9 | Make StorageKey.CreateSearchPrefix public (#1824) | AntShares/AntShares | src/neo/Ledger/StorageKey.cs | src/neo/Ledger/StorageKey.cs | using Neo.Cryptography;
using Neo.IO;
using System;
using System.Buffers.Binary;
using System.IO;
namespace Neo.Ledger
{
public class StorageKey : IEquatable<StorageKey>, ISerializable
{
public int Id;
public byte[] Key;
int ISerializable.Size => sizeof(int) + Key.Length;
publ... | using Neo.Cryptography;
using Neo.IO;
using System;
using System.Buffers.Binary;
using System.IO;
namespace Neo.Ledger
{
public class StorageKey : IEquatable<StorageKey>, ISerializable
{
public int Id;
public byte[] Key;
int ISerializable.Size => sizeof(int) + Key.Length;
inte... | mit | C# |
062d755d8ab92064cf22daea6cd5ef487c447d42 | Fix iOS nullref on orientation change | EVAST9919/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,peppy/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,peppy/osu-framework,ZLima12/osu-framework,EVAST9919/osu-framework,ZLima12/osu-framework | osu.Framework.iOS/GameViewController.cs | osu.Framework.iOS/GameViewController.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 CoreGraphics;
using osu.Framework.Platform;
using UIKit;
namespace osu.Framework.iOS
{
internal class GameViewController : UIViewController
... | // 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 CoreGraphics;
using osu.Framework.Platform;
using UIKit;
namespace osu.Framework.iOS
{
internal class GameViewController : UIViewController
... | mit | C# |
2b353ca2c56dd586ad2a0fcf1c1a9aa22fe3c9e9 | Remove unused Interface ICCProjection. Developers can use Custom Event for Projection Changed to create their custom projections. | haithemaraissia/CocosSharp,netonjm/CocosSharp,hig-ag/CocosSharp,zmaruo/CocosSharp,TukekeSoft/CocosSharp,hig-ag/CocosSharp,mono/CocosSharp,TukekeSoft/CocosSharp,MSylvia/CocosSharp,mono/CocosSharp,netonjm/CocosSharp,haithemaraissia/CocosSharp,MSylvia/CocosSharp,zmaruo/CocosSharp | src/predefine/CCProtocols.cs | src/predefine/CCProtocols.cs | /****************************************************************************
Copyright (c) 2010-2012 cocos2d-x.org
Copyright (c) 2008-2010 Ricardo Quesada
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 ... | /****************************************************************************
Copyright (c) 2010-2012 cocos2d-x.org
Copyright (c) 2008-2010 Ricardo Quesada
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 ... | mit | C# |
e6f5a314d8afe76ca435a5073d2cccd55f59d636 | Add null pointer handling to GetState in case _centralManager is null (#411) | xabre/xamarin-bluetooth-le,fozzzgate/xamarin-bluetooth-le | Source/Plugin.BLE.iOS/BleImplementation.cs | Source/Plugin.BLE.iOS/BleImplementation.cs | using CoreBluetooth;
using CoreFoundation;
using Plugin.BLE.Abstractions;
using Plugin.BLE.Abstractions.Contracts;
using Plugin.BLE.Extensions;
using Plugin.BLE.iOS;
namespace Plugin.BLE
{
public class BleImplementation : BleImplementationBase
{
private static string _restorationIdentifier;
pri... | using CoreBluetooth;
using CoreFoundation;
using Plugin.BLE.Abstractions;
using Plugin.BLE.Abstractions.Contracts;
using Plugin.BLE.Extensions;
using Plugin.BLE.iOS;
namespace Plugin.BLE
{
public class BleImplementation : BleImplementationBase
{
private static string _restorationIdentifier;
pri... | apache-2.0 | C# |
f218d007d97b49d7df8206c988f6c974f09795b0 | Use type param 'U' for innner class to avoid conflict with 'T' | whampson/cascara,whampson/bft-spec | Src/WHampson.Cascara/Types/ArrayPointer.cs | Src/WHampson.Cascara/Types/ArrayPointer.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# |
acb6f20d43e9ab3b3c91cb360b8202fd199e4193 | Make mono/wasm run on Windows (#1744) | Ky7m/BenchmarkDotNet,adamsitnik/BenchmarkDotNet,adamsitnik/BenchmarkDotNet,Ky7m/BenchmarkDotNet,PerfDotNet/BenchmarkDotNet,PerfDotNet/BenchmarkDotNet,Ky7m/BenchmarkDotNet,adamsitnik/BenchmarkDotNet,adamsitnik/BenchmarkDotNet,PerfDotNet/BenchmarkDotNet,Ky7m/BenchmarkDotNet | src/BenchmarkDotNet/Toolchains/MonoWasm/WasmToolChain.cs | src/BenchmarkDotNet/Toolchains/MonoWasm/WasmToolChain.cs | using BenchmarkDotNet.Toolchains.DotNetCli;
using JetBrains.Annotations;
using BenchmarkDotNet.Characteristics;
using BenchmarkDotNet.Running;
using BenchmarkDotNet.Loggers;
using BenchmarkDotNet.Portability;
namespace BenchmarkDotNet.Toolchains.MonoWasm
{
[PublicAPI]
public class WasmToolChain : Toolchain
... | using BenchmarkDotNet.Toolchains.DotNetCli;
using JetBrains.Annotations;
using BenchmarkDotNet.Characteristics;
using BenchmarkDotNet.Running;
using BenchmarkDotNet.Loggers;
using BenchmarkDotNet.Portability;
namespace BenchmarkDotNet.Toolchains.MonoWasm
{
[PublicAPI]
public class WasmToolChain : Toolchain
... | mit | C# |
5e204d37f988368f1d4680d39d16faf37bfc62f1 | Remove unused method extension | wangkanai/Detection | src/DependencyInjection/DetectionCollectionExtensions.cs | src/DependencyInjection/DetectionCollectionExtensions.cs | // Copyright (c) 2014-2020 Sarin Na Wangkanai, All Rights Reserved.
// The Apache v2. See License.txt in the project root for license information.
using System;
using Wangkanai.Detection.DependencyInjection.Options;
namespace Microsoft.Extensions.DependencyInjection
{
/// <summary>
/// Contains extension ... | // Copyright (c) 2014-2020 Sarin Na Wangkanai, All Rights Reserved.
// The Apache v2. See License.txt in the project root for license information.
using System;
using Microsoft.Extensions.Configuration;
using Wangkanai.Detection.DependencyInjection.Options;
namespace Microsoft.Extensions.DependencyInjection
{
///... | apache-2.0 | C# |
246dd4b163dfdc979ee44ff72e4989c910e07a69 | Set MasterReqRuntime to discover types | pranavkm/Glimpse.Prototype,zanetdev/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,zanetdev/Glimpse.Prototype,Glimpse/Glimpse.Prototype,Glimpse/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,Glimpse/Glimpse.Prototype,pranavkm/Glimpse.Prototype,Glimpse/Glimpse.Prototype,zanetdev/Gl... | src/Glimpse.Web.Common/Framework/MasterRequestRuntime.cs | src/Glimpse.Web.Common/Framework/MasterRequestRuntime.cs | using System;
using System.Collections.Generic;
using Microsoft.Framework.DependencyInjection;
namespace Glimpse.Web
{
public class MasterRequestRuntime
{
private readonly IDiscoverableCollection<IRequestRuntime> _requestRuntimes;
public MasterRequestRuntime(IServiceProvider serviceProvider)
... | using System;
using System.Collections.Generic;
using Microsoft.Framework.DependencyInjection;
namespace Glimpse.Web
{
public class MasterRequestRuntime
{
private readonly IEnumerable<IRequestRuntime> _requestRuntimes;
public MasterRequestRuntime(IServiceProvider serviceProvider)
{
... | mit | C# |
9fad7a14bedd421f1f739204cc7e0183572f8e73 | Update JsonSerializer.cs | tiksn/TIKSN-Framework | TIKSN.Core/Serialization/JsonSerializer.cs | TIKSN.Core/Serialization/JsonSerializer.cs | using Newtonsoft.Json;
namespace TIKSN.Serialization
{
public class JsonSerializer : SerializerBase<string>
{
protected override string SerializeInternal<T>(T obj)
{
return JsonConvert.SerializeObject(obj);
}
}
} | using Newtonsoft.Json;
namespace TIKSN.Serialization
{
public class JsonSerializer : SerializerBase<string>
{
protected override string SerializeInternal(object obj)
{
return JsonConvert.SerializeObject(obj);
}
}
} | mit | C# |
0582df5a818d6aacf52903a6203db040e42d28a6 | Fix 1 - passing 2 / 8 continuation test | theraot/Theraot | Core/System/Threading/Tasks/ContinuationTaskFromTask.cs | Core/System/Threading/Tasks/ContinuationTaskFromTask.cs | #if NET20 || NET30 || NET35
using System.Diagnostics.Contracts;
namespace System.Threading.Tasks
{
internal sealed class ContinuationTaskFromTask : Task
{
private Task _antecedent;
public ContinuationTaskFromTask(Task antecedent, Delegate action, object state, TaskCreationOptions creationOpti... | #if NET20 || NET30 || NET35
using System.Diagnostics.Contracts;
namespace System.Threading.Tasks
{
internal sealed class ContinuationTaskFromTask : Task
{
private Task _antecedent;
public ContinuationTaskFromTask(Task antecedent, Delegate action, object state, TaskCreationOptions creationOpti... | mit | C# |
c0ffb43b95e5439d36069f736a728015dc3086c2 | Fix small bug | Yonom/CupCake | CupCake.DefaultCommands/Commands/Edit/GodmodeCommand.cs | CupCake.DefaultCommands/Commands/Edit/GodmodeCommand.cs | using System;
using CupCake.Command;
using CupCake.Command.Source;
using CupCake.Permissions;
namespace CupCake.DefaultCommands.Commands.Edit
{
public sealed class GodModeCommand : EditCommandBase
{
[MinGroup(Group.Moderator)]
[Label("godmode")]
[CorrectUsage("[enabled]")]
prot... | using System;
using CupCake.Command;
using CupCake.Command.Source;
using CupCake.Permissions;
namespace CupCake.DefaultCommands.Commands.Edit
{
public sealed class GodModeCommand : EditCommandBase
{
[MinGroup(Group.Moderator)]
[Label("godmode")]
[CorrectUsage("[enabled]")]
prot... | mit | C# |
6f5c0ef0d92cde39f938e93c9e56a87cc6478421 | Handle non-valid JSON | Erikvl87/KNKVPlugin | KNKVPlugin/Request.cs | KNKVPlugin/Request.cs | using System;
using System.Collections.Specialized;
using System.IO;
using System.Net;
using System.Text;
using System.Web;
using KNKVPlugin.DataTypes;
using Newtonsoft.Json;
namespace KNKVPlugin
{
public class Request
{
private readonly WebRequest _request;
public Request(string code)
{
var serviceUrl = ... | using System;
using System.Collections.Specialized;
using System.IO;
using System.Net;
using System.Text;
using System.Web;
using KNKVPlugin.DataTypes;
using Newtonsoft.Json;
namespace KNKVPlugin
{
public class Request
{
private readonly WebRequest _request;
public Request(string code)
{
var serviceUrl = ... | mit | C# |
72c5698f127bd1351de94471b8f531839e6df004 | Fix AmbiguousMatchException in multiple indexers, make getters and setters invocation consistent | sanyaade-iot/jint,reidyd/jint,npenin/jint,Nogrod/jint,sanyaade-iot/jint,ayende/jint,chaquotay/jint,ImagineLearning/Jint,sebastienros/jint,mgentile/jint,chaquotay/jint,npenin/jint,fvaneijk/jint,mgentile/jint,flts/jint,santiagoaguiar/jint,fvaneijk/jint,santiagoaguiar/jint,djMax/jint,flts/jint,tylerjwatson/jint,sebastienr... | Jint/Runtime/Descriptors/Specialized/IndexDescriptor.cs | Jint/Runtime/Descriptors/Specialized/IndexDescriptor.cs | using System;
using System.Globalization;
using System.Linq;
using System.Reflection;
using Jint.Native;
namespace Jint.Runtime.Descriptors.Specialized
{
public sealed class IndexDescriptor : PropertyDescriptor
{
private readonly Engine _engine;
private readonly object _key;
... | using System.Globalization;
using System.Reflection;
using Jint.Native;
namespace Jint.Runtime.Descriptors.Specialized
{
public sealed class IndexDescriptor : PropertyDescriptor
{
private readonly Engine _engine;
private readonly object _key;
private readonly object _item;
... | bsd-2-clause | C# |
00b92e5eb98aac5f0265c74cfca00830f95c302b | Remove stale registrations of WiniumElement | NetlifeBackupSolutions/Winium.StoreApps,NetlifeBackupSolutions/Winium.StoreApps | Winium/Winium.StoreApps.InnerServer/ElementsRegistry.cs | Winium/Winium.StoreApps.InnerServer/ElementsRegistry.cs | namespace Winium.StoreApps.InnerServer
{
#region
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Threading;
using Winium.StoreApps.Common;
using Winium.StoreApps.Common.Exceptions;
using Winium.StoreApps.InnerServer.Element;
#endregio... | namespace Winium.StoreApps.InnerServer
{
#region
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Threading;
using Winium.StoreApps.Common;
using Winium.StoreApps.Common.Exceptions;
using Winium.StoreApps.InnerServer.Element;
#endregio... | mpl-2.0 | C# |
fb777bd5642f268bbffd0dec388925733e4d376e | Set an encoding on source text (#49436) | ErikSchierboom/roslyn,heejaechang/roslyn,shyamnamboodiripad/roslyn,jasonmalinowski/roslyn,tannergooding/roslyn,mgoertz-msft/roslyn,AmadeusW/roslyn,tannergooding/roslyn,weltkante/roslyn,sharwell/roslyn,ErikSchierboom/roslyn,panopticoncentral/roslyn,bartdesmet/roslyn,mgoertz-msft/roslyn,bartdesmet/roslyn,sharwell/roslyn,... | src/Features/LanguageServer/Protocol/Handler/DocumentChanges/DidOpenHandler.cs | src/Features/LanguageServer/Protocol/Handler/DocumentChanges/DidOpenHandler.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;
using System.Composition;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.CodeA... | // 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;
using System.Composition;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.CodeA... | mit | C# |
8bceeb0125623e60bde34eeaeacedfca30d44ff7 | Fix - Notifica cancellazione utente | vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf | src/backend/SO115App.SignalR/Sender/GestioneUtenti/NotificationDeleteUtente.cs | src/backend/SO115App.SignalR/Sender/GestioneUtenti/NotificationDeleteUtente.cs | using Microsoft.AspNetCore.SignalR;
using SO115App.Models.Servizi.CQRS.Commands.GestioneUtenti.CancellazioneUtente;
using SO115App.Models.Servizi.Infrastruttura.GestioneUtenti.GetUtenti;
using SO115App.Models.Servizi.Infrastruttura.Notification.GestioneUtenti;
using System;
using System.Threading.Tasks;
namespace SO1... | using Microsoft.AspNetCore.SignalR;
using SO115App.Models.Servizi.CQRS.Commands.GestioneUtenti.CancellazioneUtente;
using SO115App.Models.Servizi.Infrastruttura.GestioneUtenti.GetUtenti;
using SO115App.Models.Servizi.Infrastruttura.Notification.GestioneUtenti;
using System;
using System.Threading.Tasks;
namespace SO1... | agpl-3.0 | C# |
9d9aa9ccbff506cef5a323769c81881ea8f476ff | Add exception for usage of `.Result` within `.ContinueWith` continuations | ppy/osu-framework,smoogipooo/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,peppy/osu-framework,ppy/osu-framework,peppy/osu-framework,ppy/osu-framework | osu.Framework/Extensions/TaskExtensions.cs | osu.Framework/Extensions/TaskExtensions.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.Threading;
using System.Threading.Tasks;
namespace osu.Framework.Extensions
{
public static class TaskExtensions
{
/// <summar... | // 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.Threading;
using System.Threading.Tasks;
namespace osu.Framework.Extensions
{
public static class TaskExtensions
{
/// <summar... | mit | C# |
1bc8e6c9347a06fff3b6a5a188f5d8523b929c6d | test abc | Thiago-Caramelo/patchsearch | Program.cs | Program.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
namespace PatchSearch
{
// teste teste
class Program
{
static void Main(string[] args)
{
if (args == null || args.Length == 0)
{
return;
}
... | using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
namespace PatchSearch
{
// teste teste
class Program
{
static void Main(string[] args)
{
if (args == null || args.Length == 0)
{
return;
}
... | mit | C# |
ef269996982e161ecf70a2a30463bfbf64499318 | Refactor `DynamicObjectSource` | atata-framework/atata,atata-framework/atata | src/Atata/DataProvision/ObjectSources/DynamicObjectSource.cs | src/Atata/DataProvision/ObjectSources/DynamicObjectSource.cs | using System;
namespace Atata
{
/// <summary>
/// Provides a set of methods for <see cref="DynamicObjectSource{TObject}"/> creation.
/// </summary>
public static class DynamicObjectSource
{
/// <summary>
/// Creates a <see cref="DynamicObjectSource{TObject}"/> for the specified <pa... | using System;
namespace Atata
{
/// <summary>
/// Provides a set of methods for <see cref="DynamicObjectSource{TValue}"/> creation.
/// </summary>
public static class DynamicObjectSource
{
/// <summary>
/// Creates a <see cref="DynamicObjectSource{TValue}"/> for the specified <para... | apache-2.0 | C# |
e13b16076fad3eb67ce1882051079e3762a5e45b | fix test | Liwoj/Metrics.NET,huoxudong125/Metrics.NET,Recognos/Metrics.NET,alhardy/Metrics.NET,mnadel/Metrics.NET,etishor/Metrics.NET,DeonHeyns/Metrics.NET,cvent/Metrics.NET,ntent-ad/Metrics.NET,Liwoj/Metrics.NET,Recognos/Metrics.NET,DeonHeyns/Metrics.NET,alhardy/Metrics.NET,etishor/Metrics.NET,MetaG8/Metrics.NET,MetaG8/Metrics.N... | Src/Metrics.Tests/Visualization/FlotVisualizationTests.cs | Src/Metrics.Tests/Visualization/FlotVisualizationTests.cs | using System;
using FluentAssertions;
using Metrics.Visualization;
using Xunit;
namespace Metrics.Tests.Visualization
{
public class FlotVisualizationTests
{
[Fact]
public void CanReadAppFromResource()
{
FlotWebApp.GetFlotApp(new Uri("http://localhost/")).Should().NotBeEmpt... | using System;
using FluentAssertions;
using Metrics.Visualization;
using Xunit;
namespace Metrics.Tests.Visualization
{
public class FlotVisualizationTests
{
[Fact]
public void CanReadAppFromResource()
{
FlotWebApp.GetFlotApp(new Uri("http://localhost/")).Should().NotBeEmpt... | apache-2.0 | C# |
4f5bcbf71721480b9a50a2b3bb06eb22d21b6a9f | Add InGameServerIP and InGameInfo to SteamCommunityProfile XML model. | babelshift/Steam.Models | Steam.Models/SteamCommunity/SteamCommunityProfileModel.cs | Steam.Models/SteamCommunity/SteamCommunityProfileModel.cs | using System;
using System.Collections.Generic;
namespace Steam.Models.SteamCommunity
{
public class SteamCommunityProfileModel
{
public long SteamID { get; set; }
public string Nickname { get; set; }
public string State { get; set; }
public string StateMessage { get; set; }
... | using System;
using System.Collections.Generic;
namespace Steam.Models.SteamCommunity
{
public class SteamCommunityProfileModel
{
public long SteamID { get; set; }
public string Nickname { get; set; }
public string State { get; set; }
public string StateMessage { get; set; }
... | mit | C# |
2ba7a595d32cbd2a1f9aaef468a6a47589eb2aa8 | Fix sample | NRules/NRules,prashanthr/NRules | samples/SimpleRules/SimpleRules/Rules/PreferredCustomerDiscountRule.cs | samples/SimpleRules/SimpleRules/Rules/PreferredCustomerDiscountRule.cs | using System;
using System.Collections.Generic;
using System.Linq;
using NRules.Fluent.Dsl;
using NRules.Samples.SimpleRules.Domain;
namespace NRules.Samples.SimpleRules.Rules
{
[Name("Preferred customer discount")]
public class PreferredCustomerDiscountRule : Rule
{
public override void Define()
... | using System;
using System.Collections.Generic;
using System.Linq;
using NRules.Fluent.Dsl;
using NRules.Samples.SimpleRules.Domain;
namespace NRules.Samples.SimpleRules.Rules
{
[Name("Preferred customer discount")]
public class PreferredCustomerDiscountRule : Rule
{
public override void Define()
... | mit | C# |
eee4d9bbb0751c7581c037f06d56d2cf10d708a4 | Add copyright 2020 | fredatgithub/UsefulFunctions | FluentAssertionsUnitTests/Properties/AssemblyInfo.cs | FluentAssertionsUnitTests/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
// Les informations générales relatives à un assembly dépendent de
// l'ensemble d'attributs suivant. Changez les valeurs de ces attributs pour modifier les informations
// associées à un assembly.
[assembly: AssemblyTitle("FluentAssertionsUnitTests")]
[... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// Les informations générales relatives à un assembly dépendent de
// l'ensemble d'attributs suivant. Changez les valeurs de ces attributs pour modifier les informations
// associées à un assembly.
[assembly: Assemb... | mit | C# |
bd92a434e5b7069e4284972b35c57fa7cb37d10c | add attribute to populate related items | tinohager/Nager.AmazonProductAdvertising,tinohager/Nager.AmazonProductAdvertising | Nager.AmazonProductAdvertising/Model/RelatedItems.cs | Nager.AmazonProductAdvertising/Model/RelatedItems.cs | using System.Xml.Serialization;
namespace Nager.AmazonProductAdvertising.Model
{
public class RelatedItems
{
public string Relationship { get; set; }
public string RelationshipType { get; set; }
public byte RelatedItemCount { get; set; }
public byte RelatedItemPageCount { ge... | namespace Nager.AmazonProductAdvertising.Model
{
public class RelatedItems
{
public string Relationship { get; set; }
public string RelationshipType { get; set; }
public byte RelatedItemCount { get; set; }
public byte RelatedItemPageCount { get; set; }
public byte Re... | mit | C# |
e5b12cba292d239091286648b5599c1edfb37a06 | Fix nuget starter example code file | Thraka/SadConsole | nuget/content-files/program-example.cs | nuget/content-files/program-example.cs | using System;
using SadConsole;
using Console = SadConsole.Console;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
namespace MyProject
{
class Program
{
public const int Width = 80;
public const int Height = 25;
static void Main(string[] args)
{
... | using System;
using SadConsole;
using Console = SadConsole.Console;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
namespace MyProject
{
class Program
{
public const int Width = 80;
public const int Height = 25;
static void Main(string[] args)
{
... | mit | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.