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 |
|---|---|---|---|---|---|---|---|---|
89d09d99db4c9331eb5a57d71ae720807dcebd74 | Remove http stream test | hey-red/Mime | test/MimeTests/GuessMime.cs | test/MimeTests/GuessMime.cs | using HeyRed.Mime;
using System.IO;
using System.Net.Http;
using Xunit;
namespace MimeTests
{
public class GuessMime
{
public GuessMime() =>
MimeGuesser.MagicFilePath = ResourceUtils.GetMagicFilePath;
[Fact]
public void GuessMimeFromFilePath()
{
string ... | using HeyRed.Mime;
using System.IO;
using System.Net.Http;
using Xunit;
namespace MimeTests
{
public class GuessMime
{
public GuessMime() =>
MimeGuesser.MagicFilePath = ResourceUtils.GetMagicFilePath;
[Fact]
public void GuessMimeFromFilePath()
{
string ... | mit | C# |
a026d93b41e758203609e4f508322f8d39e3c2b5 | Update GameManager.cs | Magneseus/3x-eh | Assets/scripts/GameManager.cs | Assets/scripts/GameManager.cs |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class GameManager : MonoBehaviour {
// Maybe we want this to be a reference to a Map?
public List<City> ListOfCities;
public int DurationOfTurn = 7;
private int CurrentTurnNumber;
private int... | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class GameManager : MonoBehaviour {
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
}
}
| mit | C# |
7089d545bbf7c2dcd3aa949c1762de28883d28d4 | add missing copyright message | furesoft/roslyn,bbarry/roslyn,jcouv/roslyn,ericfe-ms/roslyn,jeremymeng/roslyn,pdelvo/roslyn,swaroop-sridhar/roslyn,mirhagk/roslyn,reaction1989/roslyn,dpoeschl/roslyn,bartdesmet/roslyn,akrisiun/roslyn,doconnell565/roslyn,swaroop-sridhar/roslyn,supriyantomaftuh/roslyn,natidea/roslyn,bkoelman/roslyn,stjeong/roslyn,michalh... | src/EditorFeatures/Test/CodeAnalysisResources.cs | src/EditorFeatures/Test/CodeAnalysisResources.cs | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Resources;
namespace Microsoft.CodeAnalysis
{
// This class exists as a way to load resources from the Microsoft.CodeAnalysis.CodeAnalysisR... | using System.Resources;
namespace Microsoft.CodeAnalysis
{
// This class exists as a way to load resources from the Microsoft.CodeAnalysis.CodeAnalysisResources class from
// the Microsoft.CodeAnalysis assembly. Microsoft.CodeAnalysis.CodeAnalysisResources is internal but we can't add
// InternalsVisible... | apache-2.0 | C# |
cc61c53579ea9714abfc881565a89c7c9882dc9b | Refactor virtual judge user table schema | JoyOI/OnlineJudge,JoyOI/OnlineJudge,JoyOI/OnlineJudge,JoyOI/OnlineJudge | src/JoyOI.OnlineJudge.Models/VirtualJudgeUser.cs | src/JoyOI.OnlineJudge.Models/VirtualJudgeUser.cs | using System;
using System.ComponentModel.DataAnnotations;
namespace JoyOI.OnlineJudge.Models
{
public class VirtualJudgeUser
{
/// <summary>
/// Gets or sets the identifier.
/// </summary>
/// <value>The identifier.</value>
public Guid Id { get; set; }
/// <su... | using System;
using System.ComponentModel.DataAnnotations;
namespace JoyOI.OnlineJudge.Models
{
public class VirtualJudgeUser
{
/// <summary>
/// Gets or sets the identifier.
/// </summary>
/// <value>The identifier.</value>
public Guid Id { get; set; }
/// <su... | mit | C# |
30cff58da2c68a7e06525a69df5da95a1588ca49 | Remove duplicate memory barrier | AdaptiveConsulting/Aeron.NET,AdaptiveConsulting/Aeron.NET | src/Adaptive.Aeron/LogBuffer/HeaderWriter.cs | src/Adaptive.Aeron/LogBuffer/HeaderWriter.cs | using System.Threading;
using Adaptive.Aeron.Protocol;
using Adaptive.Agrona;
using Adaptive.Agrona.Concurrent;
namespace Adaptive.Aeron.LogBuffer
{
/// <summary>
/// Utility for applying a header to a message in a term buffer.
///
/// This class is designed to be thread safe to be used across multip... | using System.Threading;
using Adaptive.Aeron.Protocol;
using Adaptive.Agrona;
using Adaptive.Agrona.Concurrent;
namespace Adaptive.Aeron.LogBuffer
{
/// <summary>
/// Utility for applying a header to a message in a term buffer.
///
/// This class is designed to be thread safe to be used across multip... | apache-2.0 | C# |
f99c3cdbfaaf3eaa73e59f54bcd67d204739218b | update running program code | RedSpiderMkV/LANMachines | src/LANMachines/LanMachinesRunner/Program.cs | src/LANMachines/LanMachinesRunner/Program.cs | using System;
using System.Collections.Generic;
using LanDiscovery;
namespace LanMachines
{
internal class Program
{
internal static void Main(string[] args)
{
LanDiscoveryManager lanDiscovery = new LanDiscoveryManager();
List<string> lanMachines = lanDiscovery.GetNetw... | using System;
using System.Collections.Generic;
using LanDiscovery;
namespace LanMachines
{
class Program
{
internal static void Main(string[] args)
{
LanDiscoveryManager lanDiscovery = new LanDiscoveryManager();
List<string> lanMachines = lanDiscovery.GetNetworkMachin... | mit | C# |
cf079690e528cadd4387402ca2a050d388604796 | Use LargeTextureStore for online retrievals | UselessToucan/osu,EVAST9919/osu,DrabWeb/osu,DrabWeb/osu,DrabWeb/osu,peppy/osu,peppy/osu-new,NeoAdonis/osu,naoey/osu,ppy/osu,smoogipoo/osu,2yangk23/osu,johnneijzen/osu,naoey/osu,naoey/osu,peppy/osu,ZLima12/osu,johnneijzen/osu,EVAST9919/osu,UselessToucan/osu,ZLima12/osu,2yangk23/osu,smoogipoo/osu,ppy/osu,NeoAdonis/osu,Us... | osu.Game/Beatmaps/Drawables/BeatmapSetCover.cs | osu.Game/Beatmaps/Drawables/BeatmapSetCover.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 osu.Framework.Allocation;
using osu.Framework.Graphics.Sprites;
using osu.Framework.Graphics.Textures;
namespace osu.Game.Beatmaps.Drawables
{
... | // 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 osu.Framework.Allocation;
using osu.Framework.Graphics.Sprites;
using osu.Framework.Graphics.Textures;
namespace osu.Game.Beatmaps.Drawables
{
... | mit | C# |
37053608f1544f0a6a294b6695cbac323730931c | Use registered types for Out of Band handlers in packet handling type finder | ethanmoffat/EndlessClient | EOLib/Net/Handlers/PacketHandlingTypeFinder.cs | EOLib/Net/Handlers/PacketHandlingTypeFinder.cs | // Original Work Copyright (c) Ethan Moffat 2014-2016
// This file is subject to the GPL v2 License
// For additional details, see the LICENSE file
using System.Collections.Generic;
using System.Linq;
namespace EOLib.Net.Handlers
{
public class PacketHandlingTypeFinder : IPacketHandlingTypeFinder
{
private reado... | // Original Work Copyright (c) Ethan Moffat 2014-2016
// This file is subject to the GPL v2 License
// For additional details, see the LICENSE file
using System.Collections.Generic;
namespace EOLib.Net.Handlers
{
public class PacketHandlingTypeFinder : IPacketHandlingTypeFinder
{
private readonly List<FamilyActi... | mit | C# |
1ce50db88ec5bf59f92bf92696d43ba645863542 | test fix | stanac/LiteApi,stanac/LiteApi,stanac/LiteApi | LiteApi/LiteApi.Tests/LiteApiMiddleareTests.cs | LiteApi/LiteApi.Tests/LiteApiMiddleareTests.cs | using System;
using System.Threading.Tasks;
using Xunit;
namespace LiteApi.Tests
{
public class LiteApiMiddleareTests
{
[Fact]
public async Task LiteApiMiddleareTests_Registered_CanBeInvoked()
{
var servicesMock = new Moq.Mock<IServiceProvider>();
servicesMock.S... | using System;
using System.Threading.Tasks;
using Xunit;
namespace LiteApi.Tests
{
public class LiteApiMiddleareTests
{
[Fact]
public async Task LiteApiMiddleareTests_Registered_CanBeInvoked()
{
var middleware = new LiteApiMiddleware(null, LiteApiOptions.Default, (new Moq.M... | mit | C# |
0b3a6a754bb9ac140d8c41af416fe14c16976345 | Fix bug where ther are no recipieints in To/Cc line | mrpeterson27/mail2bug,vitru/mail2bug,Spurrya/mail2bug | Mail2Bug/Email/EWS/RecipientsMailboxManager.cs | Mail2Bug/Email/EWS/RecipientsMailboxManager.cs | using System;
using System.Collections.Generic;
using System.Linq;
namespace Mail2Bug.Email.EWS
{
/// <summary>
/// This imiplementation of IMailboxManager monitors the inbox of an exchange user, and retrieves
/// only messages that have a specific alias in the 'To' or 'CC' lines
/// It can be initial... | using System;
using System.Collections.Generic;
using System.Linq;
namespace Mail2Bug.Email.EWS
{
/// <summary>
/// This imiplementation of IMailboxManager monitors the inbox of an exchange user, and retrieves
/// only messages that have a specific alias in the 'To' or 'CC' lines
/// It can be initial... | mit | C# |
29b03145c95baf3210c828a689409f7c4158ba41 | work around for NUnit GUI runner problem | ShaKaRee/concordion-net,ShaKaRee/concordion-net,ShaKaRee/concordion-net,concordion/concordion-net,concordion/concordion-net,concordion/concordion-net | Concordion.Spec/Concordion/Configuration/BaseInputDirectoryTest.cs | Concordion.Spec/Concordion/Configuration/BaseInputDirectoryTest.cs | using System;
using System.Collections.Generic;
using System.Linq;
using Concordion.Integration;
using Concordion.Internal;
using System.IO;
namespace Concordion.Spec.Concordion.Configuration
{
[ConcordionTest]
public class BaseInputDirectoryTest
{
private static bool m_InTestRun = fal... | using System;
using System.Collections.Generic;
using System.Linq;
using Concordion.Integration;
using Concordion.Internal;
namespace Concordion.Spec.Concordion.Configuration
{
[ConcordionTest]
public class BaseInputDirectoryTest
{
private static bool m_InTestRun = false;
pub... | apache-2.0 | C# |
084e7fc2d8bd4f9dd169395bb33ed0fff65ff520 | Fix latest chain properties, simplify WordCount property and make it deduce the order from the passed initial chain. | IvionSauce/MeidoBot | Chainey/SentenceConstruct.cs | Chainey/SentenceConstruct.cs | using System;
using System.Collections.Generic;
namespace Chainey
{
internal class SentenceConstruct
{
internal int WordCount { get; private set; }
internal string Sentence
{
get
{
var sen = new List<string>(Backwards);
sen.Remov... | using System;
using System.Collections.Generic;
namespace Chainey
{
internal class SentenceConstruct
{
internal int WordCount
{
get { return Forwards.Count + Backwards.Count - order; }
}
internal string Sentence
{
get
{
... | bsd-2-clause | C# |
597f3ee243aa7d6bbeff4ca991bec61f2cf8f29f | Update Nuget version of package to 1.1.0.10-rc | KeyPay/keypay-dotnet,KeyPay/keypay-dotnet,KeyPay/keypay-dotnet,KeyPay/keypay-dotnet | src/keypay-dotnet/Properties/AssemblyInfo.cs | src/keypay-dotnet/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("KeyPay")]
[assembly: AssemblyDescription("... | 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("KeyPay")]
[assembly: AssemblyDescription("... | mit | C# |
221cdf1c003652b67f58b86ddfe811e775c6caeb | fix code factor issues. | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi.Fluent/ViewModels/MainViewModel.cs | WalletWasabi.Fluent/ViewModels/MainViewModel.cs | using Avalonia.Threading;
using NBitcoin;
using NBitcoin.Protocol;
using ReactiveUI;
using System;
using System.Collections.Generic;
using System.Reactive;
using System.Text;
using System.Threading.Tasks;
using WalletWasabi.Gui.ViewModels;
using Global = WalletWasabi.Gui.Global;
namespace WalletWasabi.Fluent.ViewModel... | using Avalonia.Threading;
using NBitcoin;
using NBitcoin.Protocol;
using ReactiveUI;
using System;
using System.Collections.Generic;
using System.Reactive;
using System.Text;
using System.Threading.Tasks;
using WalletWasabi.Gui.ViewModels;
using Global = WalletWasabi.Gui.Global;
namespace WalletWasabi.Fluent.ViewModel... | mit | C# |
dd94ed971803948c33a87ccce4469db0da3c9f6c | remove leftover | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi.Fluent/ViewModels/MainViewModel.cs | WalletWasabi.Fluent/ViewModels/MainViewModel.cs | #nullable enable
using NBitcoin;
using ReactiveUI;
using System.Reactive;
using WalletWasabi.Gui.ViewModels;
using WalletWasabi.Fluent.ViewModels.Dialog;
using System;
using Global = WalletWasabi.Gui.Global;
namespace WalletWasabi.Fluent.ViewModels
{
public class MainViewModel : ViewModelBase, IScreen, IDialogHost
{... | #nullable enable
using NBitcoin;
using ReactiveUI;
using System.Reactive;
using WalletWasabi.Gui.ViewModels;
using WalletWasabi.Fluent.ViewModels.Dialog;
using System;
using Global = WalletWasabi.Gui.Global;
namespace WalletWasabi.Fluent.ViewModels
{
public class MainViewModel : ViewModelBase, IScreen, IDialogHost
{... | mit | C# |
9dbbc383e3abc0d93c8ceb0dab0c4f0b85b1b324 | switch to hitting 6080 for test | agrc/deq-enviro,agrc/deq-enviro,agrc/deq-enviro,agrc/deq-enviro | api/Search.Api/Services/QuerySoeServiceAsync.cs | api/Search.Api/Services/QuerySoeServiceAsync.cs | using System;
using System.Collections.Generic;
using System.Configuration;
using System.Net.Http;
using System.Threading.Tasks;
using Containers;
using Newtonsoft.Json.Linq;
using Search.Api.Formatters;
using Search.Api.Properties;
namespace Search.Api.Services {
public class QuerySoeServiceAsync : IQuerySoeServ... | using System;
using System.Collections.Generic;
using System.Configuration;
using System.Net.Http;
using System.Threading.Tasks;
using Containers;
using Newtonsoft.Json.Linq;
using Search.Api.Formatters;
using Search.Api.Properties;
namespace Search.Api.Services {
public class QuerySoeServiceAsync : IQuerySoeServ... | mit | C# |
780e0ba51a884cf63a3277e0e4442a17959a3459 | Fix CloudflareSolver | InfiniteSoul/Azuria | Azuria/Utilities/Net/CloudflareSolver.cs | Azuria/Utilities/Net/CloudflareSolver.cs | using System;
using System.Text.RegularExpressions;
using Azuria.Utilities.ErrorHandling;
using JetBrains.Annotations;
namespace Azuria.Utilities.Net
{
internal static class CloudflareSolver
{
#region
internal static ProxerResult<string> Solve([NotNull] string response, [NotNull] Uri original... | using System;
using System.Text.RegularExpressions;
using Azuria.Utilities.ErrorHandling;
using JetBrains.Annotations;
namespace Azuria.Utilities.Net
{
internal static class CloudflareSolver
{
#region
internal static ProxerResult<string> Solve([NotNull] string response, [NotNull] Uri original... | mit | C# |
5db837d4d8879d131046f725c5a8abcb182fa7cb | fix build | GregTrevellick/OpenInApp.Launcher,GregTrevellick/OpenInApp.Launcher,GregTrevellick/OpenInApp.Launcher | src/OpenInApp.Common/Helpers/AllAppsHelper.cs | src/OpenInApp.Common/Helpers/AllAppsHelper.cs | using System.Collections.Generic;
using System.Text;
namespace OpenInApp.Common.Helpers
{
public class AllAppsHelper
{
/// <summary>
/// Checks if a specified artefact exists on disc.
/// </summary>
/// <param name="fullExecutableFileName">Full name of the artefact.</param>
... | using System.Collections.Generic;
using System.Text;
namespace OpenInApp.Common.Helpers
{
public class AllAppsHelper
{
/// <summary>
/// Checks if a specified artefact exists on disc.
/// </summary>
/// <param name="fullExecutableFileName">Full name of the artefact.</param>
... | mit | C# |
9728f26455b64f29f440503d01dbe7efd8bb298c | fix typo error for brokerList for autofac ioc | IvanZheng/IFramework,IvanZheng/IFramework,IvanZheng/IFramework | Src/iFramework.Plugins/IFramework.MessageQueue.ConfluentKafka/Config/FrameworkConfigurationExtension.cs | Src/iFramework.Plugins/IFramework.MessageQueue.ConfluentKafka/Config/FrameworkConfigurationExtension.cs | using IFramework.Config;
using IFramework.IoC;
namespace IFramework.MessageQueue.ConfluentKafka.Config
{
public static class FrameworkConfigurationExtension
{
private static int _backOffIncrement = 30;
public static Configuration UseConfluentKafka(this Configuration configuration,
... | using IFramework.Config;
using IFramework.IoC;
namespace IFramework.MessageQueue.ConfluentKafka.Config
{
public static class FrameworkConfigurationExtension
{
private static int _backOffIncrement = 30;
public static Configuration UseConfluentKafka(this Configuration configuration,
... | mit | C# |
0fa6c9fd4e6d81a1c250963896db47ff8ba86a93 | Throw exception if not all compressed data could be read | SixLabors/Fonts | src/SixLabors.Fonts/Tables/WoffTableHeader.cs | src/SixLabors.Fonts/Tables/WoffTableHeader.cs | // Copyright (c) Six Labors.
// Licensed under the Apache License, Version 2.0.
using System.IO;
namespace SixLabors.Fonts.Tables
{
internal sealed class WoffTableHeader : TableHeader
{
public WoffTableHeader(string tag, uint offset, uint compressedLength, uint origLength, uint checkSum)
:... | // Copyright (c) Six Labors.
// Licensed under the Apache License, Version 2.0.
using System.IO;
namespace SixLabors.Fonts.Tables
{
internal sealed class WoffTableHeader : TableHeader
{
public WoffTableHeader(string tag, uint offset, uint compressedLength, uint origLength, uint checkSum)
:... | apache-2.0 | C# |
71ffba9258edfd987d6f53da2577c4a1122060d5 | fix EnumerableEx | RyotaMurohoshi/unity_snippets | unity/Assets/Scripts/Common/EnumerableEx.cs | unity/Assets/Scripts/Common/EnumerableEx.cs | using System.Collections.Generic;
namespace System.Linq
{
public static class EnumerableEx
{
public static IEnumerable<TResult> Zip<TFirst, TSecond, TResult>(this IEnumerable<TFirst> first, IEnumerable<TSecond> second, Func<TFirst, TSecond, TResult> resultSelector)
{
if (first == n... | using System.Collections.Generic;
namespace System.Linq
{
public static class EnumerableEx
{
public static IEnumerable<TResult> Zip<TFirst, TSecond, TResult>(this IEnumerable<TFirst> first, IEnumerable<TSecond> second, Func<TFirst, TSecond, TResult> resultSelector)
{
if (first == n... | mit | C# |
f16f2790b3d929d6eff06daf95253e0ad741cf97 | Use readImei(Context) method | adjust/unity_sdk,adjust/unity_sdk,adjust/unity_sdk | Assets/AdjustImei/Android/AdjustImeiAndroid.cs | Assets/AdjustImei/Android/AdjustImeiAndroid.cs | using System;
using System.Runtime.InteropServices;
using UnityEngine;
namespace com.adjust.sdk.imei
{
#if UNITY_ANDROID
public class AdjustImeiAndroid
{
private static AndroidJavaClass ajcAdjustImei = new AndroidJavaClass("com.adjust.sdk.imei.AdjustImei");
private static AndroidJavaObject ajoC... | using System;
using System.Runtime.InteropServices;
using UnityEngine;
namespace com.adjust.sdk.imei
{
#if UNITY_ANDROID
public class AdjustImeiAndroid
{
private static AndroidJavaClass ajcAdjustImei = new AndroidJavaClass("com.adjust.sdk.imei.AdjustImei");
public static void ReadImei()
... | mit | C# |
87f63ecf36a922274b52edc7882a69bcd1809afc | Fix VertexProperty.ToString(). | ExRam/ExRam.Gremlinq | ExRam.Gremlinq.Core/Elements/VertexProperty.cs | ExRam.Gremlinq.Core/Elements/VertexProperty.cs | using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Linq;
using LanguageExt;
using NullGuard;
namespace ExRam.Gremlinq.Core.GraphElements
{
public class VertexProperty<TValue, TMeta> : Property<TValue>, IVertexProperty
{
public VertexProperty(TValue value)
... | using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Linq;
using LanguageExt;
using NullGuard;
namespace ExRam.Gremlinq.Core.GraphElements
{
public class VertexProperty<TValue, TMeta> : Property<TValue>, IVertexProperty
{
public VertexProperty(TValue value)
... | mit | C# |
5e15987fbf399f3c2900d384eb23dce3370531e7 | Update LoadSpecificSheets.cs | aspose-cells/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,asposecells/Aspose_Cells_NET,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,maria-shahid-aspose/Aspose.Cells-for-.NET,as... | Examples/CSharp/Articles/LoadSpecificSheets.cs | Examples/CSharp/Articles/LoadSpecificSheets.cs | using System.IO;
using Aspose.Cells;
namespace Aspose.Cells.Examples.Articles
{
public class LoadSpecificSheets
{
public static void Main()
{
//ExStart:1
// The path to the documents directory.
string dataDir = Aspose.Cells.Examples.Utils.GetDataDir(System.R... | using System.IO;
using Aspose.Cells;
namespace Aspose.Cells.Examples.Articles
{
public class LoadSpecificSheets
{
public static void Main()
{
// The path to the documents directory.
string dataDir = Aspose.Cells.Examples.Utils.GetDataDir(System.Reflection.MethodBase.Get... | mit | C# |
32cc1d99aaa4c844657cc9199d8b7b6223cda738 | Refactor - UserMessage instead of attribute | wachulski/nunit-migrator | nunit.migrator/CodeActions/AssertUserMessageDecorator.cs | nunit.migrator/CodeActions/AssertUserMessageDecorator.cs | using System;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using NUnit.Migrator.Model;
namespace NUnit.Migrator.CodeActions
{
internal class AssertUserMessageDecorator : AssertExceptionBlockDecorator
{
private readonly string _userMessag... | using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using NUnit.Migrator.Model;
namespace NUnit.Migrator.CodeActions
{
internal class AssertUserMessageDecorator : AssertExceptionBlockDecorator
{
private readonly ExceptionExpectancyAtAttributeLe... | mit | C# |
f62bc87317d54ff7e67a754885c091b154f0be04 | Remove unused test | JetBrains/resharper-unity,JetBrains/resharper-unity,JetBrains/resharper-unity | resharper/resharper-unity/test/src/CSharp/Daemon/Stages/PerformanceHighlightings/PerformanceStageTests.cs | resharper/resharper-unity/test/src/CSharp/Daemon/Stages/PerformanceHighlightings/PerformanceStageTests.cs | using JetBrains.Application.Settings;
using JetBrains.ReSharper.Feature.Services.Daemon;
using JetBrains.ReSharper.Plugins.Unity.CSharp.Daemon.Stages.PerformanceCriticalCodeAnalysis.Highlightings;
using JetBrains.ReSharper.Psi;
using NUnit.Framework;
namespace JetBrains.ReSharper.Plugins.Unity.Tests.CSharp.Daemon.Stag... | using JetBrains.Application.Settings;
using JetBrains.ReSharper.Feature.Services.Daemon;
using JetBrains.ReSharper.Plugins.Unity.CSharp.Daemon.Stages.PerformanceCriticalCodeAnalysis.Highlightings;
using JetBrains.ReSharper.Psi;
using NUnit.Framework;
namespace JetBrains.ReSharper.Plugins.Unity.Tests.CSharp.Daemon.Stag... | apache-2.0 | C# |
33a805ffb6d6b547f610fd07cc7c3d9fd3978200 | test more levels with xml config | kalotay/tech-academy-logging | Logging/Logging/XmlConfigurationTests.cs | Logging/Logging/XmlConfigurationTests.cs | using System.Linq;
using NUnit.Framework;
using log4net;
using log4net.Appender;
using log4net.Config;
using log4net.Core;
namespace Logging
{
[TestFixture]
public class XmlConfigurationTests
{
private const string MemoryAppenderName = "MemoryAppender";
private static readonly ILog Log = LogManager.GetLogger(... | using System.Linq;
using NUnit.Framework;
using log4net;
using log4net.Appender;
using log4net.Config;
using log4net.Core;
namespace Logging
{
[TestFixture]
public class XmlConfigurationTests
{
private const string MemoryAppenderName = "MemoryAppender";
private static readonly ILog Log = LogManager.GetLogger(... | mit | C# |
8057202fe1cd718c20225dc8065d33f5391eedbd | Remove caching of invoked expressions as it is hard to do and adds little benefit | ccoton/MFlow,ccoton/MFlow,ccoton/MFlow | MFlow.Core/Internal/ExpressionBuilder.cs | MFlow.Core/Internal/ExpressionBuilder.cs |
using System;
using System.Collections.Generic;
using System.Linq.Expressions;
using System.Linq;
namespace MFlow.Core.Internal
{
/// <summary>
/// An expression builder
/// </summary>
class ExpressionBuilder<T> : IExpressionBuilder<T>
{
static IDictionary<object, object> _expressions= new Di... |
using System;
using System.Collections.Generic;
using System.Linq.Expressions;
using System.Linq;
namespace MFlow.Core.Internal
{
/// <summary>
/// An expression builder
/// </summary>
class ExpressionBuilder<T> : IExpressionBuilder<T>
{
static IDictionary<object, object> _expressions= new Di... | mit | C# |
a94ba6d6809caf82ff58306b8a02d54eef1dd785 | Correct #Name | TeamnetGroup/cap-net,darbio/cap-net | src/CAPNet.Tests/ValidatorTests/PolygonCoordinatePairsFirstLastValidatorTests.cs | src/CAPNet.Tests/ValidatorTests/PolygonCoordinatePairsFirstLastValidatorTests.cs | using CAPNet.Models;
using System.Linq;
using Xunit;
namespace CAPNet
{
public class PolygonCoordinatePairsFirstLastValidatorTests
{
[Fact]
public void PolygonWithFirstCoordinatePairDifferentFromLastCoordinatePairIsInvalid()
{
var polygon = new Polygon("38.47,-120.14 38.34,... | using CAPNet.Models;
using System.Linq;
using Xunit;
namespace CAPNet
{
public class PolygonCoordinatePairsFirstLastValidatorTests
{
[Fact]
public void PolygonWithFirstCoordinatePairDifferentFromLastCoordinatePairIsInvalid()
{
var polygon = new Polygon("38.47,-120.14 38.34,... | mit | C# |
c97069f4ffdd2c0be82167daf681707606fb7314 | rework to inherit from BaseFormatterAttribute | billboga/Supurlative,kendaleiv/Supurlative,ritterim/Supurlative | src/Core/IgnoreAttribute.cs | src/Core/IgnoreAttribute.cs | using System;
using System.Collections.Generic;
namespace RimDev.Supurlative
{
[AttributeUsage(AttributeTargets.Property)]
public class IgnoreAttribute : BaseFormatterAttribute
{
public override void Invoke(string fullPropertyName, object value, Type valueType, IDictionary<string, object> dictiona... | using System;
namespace RimDev.Supurlative
{
[AttributeUsage(AttributeTargets.Property)]
public class IgnoreAttribute : Attribute
{
public IgnoreAttribute()
{
Ignore = true;
}
public bool Ignore { get; private set; }
public static bool PropertyHasIgn... | mit | C# |
347a95b991400eac1ba9676d522354edbcc9e0af | Add doc comment. | eriawan/roslyn,KevinRansom/roslyn,xasx/roslyn,ErikSchierboom/roslyn,KevinRansom/roslyn,jmarolf/roslyn,dotnet/roslyn,aelij/roslyn,VSadov/roslyn,weltkante/roslyn,abock/roslyn,mgoertz-msft/roslyn,genlu/roslyn,KirillOsenkov/roslyn,jmarolf/roslyn,mavasani/roslyn,AlekseyTs/roslyn,physhi/roslyn,aelij/roslyn,AdamSpeight2008/ro... | src/Features/Core/Portable/GenerateEqualsAndGetHashCodeFromMembers/IGenerateEqualsAndGetHashCodeService.cs | src/Features/Core/Portable/GenerateEqualsAndGetHashCodeFromMembers/IGenerateEqualsAndGetHashCodeService.cs | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Immutable;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.Host;
namespace Microso... | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Immutable;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.Host;
namespace Microso... | mit | C# |
ad7de72e03d4a227ed9a63f7c9956864665c1d92 | Remove unused extension | mavasani/roslyn,CyrusNajmabadi/roslyn,shyamnamboodiripad/roslyn,CyrusNajmabadi/roslyn,dotnet/roslyn,dotnet/roslyn,shyamnamboodiripad/roslyn,dotnet/roslyn,jasonmalinowski/roslyn,mavasani/roslyn,bartdesmet/roslyn,CyrusNajmabadi/roslyn,mavasani/roslyn,jasonmalinowski/roslyn,bartdesmet/roslyn,shyamnamboodiripad/roslyn,jaso... | src/Workspaces/Core/Portable/Shared/Extensions/FileLinePositionSpanExtensions.cs | src/Workspaces/Core/Portable/Shared/Extensions/FileLinePositionSpanExtensions.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.
namespace Microsoft.CodeAnalysis.Shared.Extensions
{
internal static class FileLinePositionSpanExtensions
{... | // 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.
namespace Microsoft.CodeAnalysis.Shared.Extensions
{
internal static class FileLinePositionSpanExtensions
{... | mit | C# |
d673cf58bed631d51d3784479f19eb53192f4b6c | Make DataListBoxItemAutomationPeer an inner class. | zooba/PTVS,Microsoft/PTVS,huguesv/PTVS,int19h/PTVS,Microsoft/PTVS,huguesv/PTVS,Microsoft/PTVS,int19h/PTVS,zooba/PTVS,huguesv/PTVS,zooba/PTVS,huguesv/PTVS,int19h/PTVS,Microsoft/PTVS,huguesv/PTVS,int19h/PTVS,zooba/PTVS,int19h/PTVS,zooba/PTVS,int19h/PTVS,Microsoft/PTVS,huguesv/PTVS,Microsoft/PTVS,zooba/PTVS | Python/Product/EnvironmentsList/DataListBox.cs | Python/Product/EnvironmentsList/DataListBox.cs | // Python Tools for Visual Studio
// Copyright(c) Microsoft Corporation
// 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
/... | // Python Tools for Visual Studio
// Copyright(c) Microsoft Corporation
// 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
/... | apache-2.0 | C# |
c435caa7d13bae645a0e49d253f0cf2f547a4ade | Add check for new deployments to DaysLiveReportElement (#5299) | QuantConnect/Lean,AlexCatarino/Lean,StefanoRaggi/Lean,StefanoRaggi/Lean,jameschch/Lean,QuantConnect/Lean,StefanoRaggi/Lean,jameschch/Lean,QuantConnect/Lean,AlexCatarino/Lean,JKarathiya/Lean,StefanoRaggi/Lean,AlexCatarino/Lean,AlexCatarino/Lean,jameschch/Lean,JKarathiya/Lean,JKarathiya/Lean,StefanoRaggi/Lean,jameschch/L... | Report/ReportElements/DaysLiveReportElement.cs | Report/ReportElements/DaysLiveReportElement.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# |
03e48bd941adc3cf03f66cac62944b18c8907da0 | Bump Version | mj1856/SimpleImpersonation | SimpleImpersonation/Properties/AssemblyInfo.cs | SimpleImpersonation/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("SimpleImpersonation")]
[assembly: AssemblyDescription("A tiny library that lets you impersonate any user, by acting as a managed wrapper for the LogonUser Win32 function.")]
[assembly: AssemblyCompany("Matt Johnson")]
[assembly: ... | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("SimpleImpersonation")]
[assembly: AssemblyDescription("A tiny library that lets you impersonate any user, by acting as a managed wrapper for the LogonUser Win32 function.")]
[assembly: AssemblyCompany("Matt Johnson")]
[assembly: ... | mit | C# |
aa1659333b65a7eb84b385c3c6cb264c29ca66fc | Remove override of DialogHandler.Invalidate | PowerOfCode/Eto,bbqchickenrobot/Eto-1,PowerOfCode/Eto,bbqchickenrobot/Eto-1,l8s/Eto,PowerOfCode/Eto,bbqchickenrobot/Eto-1,l8s/Eto,l8s/Eto | Source/Eto.Platform.Mac/Forms/DialogHandler.cs | Source/Eto.Platform.Mac/Forms/DialogHandler.cs | using System;
using SD = System.Drawing;
using Eto.Drawing;
using Eto.Forms;
using MonoMac.AppKit;
using MonoMac.Foundation;
namespace Eto.Platform.Mac.Forms
{
public class DialogHandler : MacWindow<MyWindow, Dialog>, IDialog
{
Button button;
MacModal.ModalHelper session;
class DialogWindow : MyWindow {
... | using System;
using SD = System.Drawing;
using Eto.Drawing;
using Eto.Forms;
using MonoMac.AppKit;
using MonoMac.Foundation;
namespace Eto.Platform.Mac.Forms
{
public class DialogHandler : MacWindow<MyWindow, Dialog>, IDialog
{
Button button;
MacModal.ModalHelper session;
class DialogWindow : MyWindow {
... | bsd-3-clause | C# |
3949f78f2487d6cce561f8ff8bbd537ff2e51cc3 | change input on menu | heyx3/rubber-duck-love | Assets/Scripts/SplashMenu.cs | Assets/Scripts/SplashMenu.cs | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class SplashMenu : MonoBehaviour
{
public AudioSource music;
public bool splashDone;
public bool musicPlaying;
public SpriteRenderer splash;
public Animator instruction;
pu... | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class SplashMenu : MonoBehaviour
{
public AudioSource music;
public bool splashDone;
public bool musicPlaying;
public SpriteRenderer splash;
public Animator instruction;
pu... | mit | C# |
ba32cc21d92bed02a0b08c16d8a8131c7e57ec53 | Add missing ctor field initializations | mkoscielniak/SSMScripter | SSMScripter/Scripter/Smo/SmoObjectMetadata.cs | SSMScripter/Scripter/Smo/SmoObjectMetadata.cs | using SSMScripter.Integration;
using System;
using System.Data;
namespace SSMScripter.Scripter.Smo
{
public class SmoObjectMetadata
{
public SmoObjectType Type { get; protected set; }
public string Schema { get; protected set; }
public string Name { get; protected set; }
public... | using SSMScripter.Integration;
using System;
using System.Data;
namespace SSMScripter.Scripter.Smo
{
public class SmoObjectMetadata
{
public SmoObjectType Type { get; protected set; }
public string Schema { get; protected set; }
public string Name { get; protected set; }
public... | mit | C# |
eefff8f026d2827190188811ba7b08031b238b7c | Update SettingsFixture.cs | Shuttle/Shuttle.Esb | Shuttle.Esb.Tests/Settings/SettingsFixture.cs | Shuttle.Esb.Tests/Settings/SettingsFixture.cs | using System;
using System.IO;
using Microsoft.Extensions.Configuration;
namespace Shuttle.Esb.Tests
{
public class SettingsFixture
{
protected ServiceBusSettings GetSettings()
{
var result = new ServiceBusSettings();
new ConfigurationBuilder()
.AddJsonF... | using System;
using System.IO;
using Microsoft.Extensions.Configuration;
namespace Shuttle.Esb.Tests
{
public class SettingsFixture
{
protected ServiceBusSettings GetSettings()
{
var result = new Esb.ServiceBusSettings();
new ConfigurationBuilder()
.AddJ... | bsd-3-clause | C# |
87a7898f8817b35eca5e0649716990174818f252 | Update Shaco.cs | metaphorce/leaguesharp | MetaSmite/Champions/Shaco.cs | MetaSmite/Champions/Shaco.cs | using System;
using LeagueSharp;
using LeagueSharp.Common;
using SharpDX;
namespace MetaSmite.Champions
{
public static class Shaco
{
internal static Spell champSpell;
private static Menu Config = MetaSmite.Config;
private static double totalDamage;
private static double spellD... | using System;
using LeagueSharp;
using LeagueSharp.Common;
using SharpDX;
namespace MetaSmite.Champions
{
public static class Shaco
{
internal static Spell champSpell;
private static Menu Config = MetaSmite.Config;
private static double totalDamage;
private static double spellD... | mit | C# |
950dd65f839144a2e06263673b498eecee46f2ae | make it a function | taka-oyama/UniHttp | Assets/UniHttp/Support/Cache/CacheStorage.cs | Assets/UniHttp/Support/Cache/CacheStorage.cs | using UnityEngine;
using System;
using System.IO;
using System.Security.Cryptography;
using System.Text;
namespace UniHttp
{
public class CacheStorage
{
// for some reason File.Exists returns false when threading, so I'm forced to lock it.
object locker;
IFileHandler fileHandler;
DirectoryInfo baseDirector... | using UnityEngine;
using System;
using System.IO;
using System.Security.Cryptography;
using System.Text;
namespace UniHttp
{
public class CacheStorage
{
// for some reason File.Exists returns false when threading, so I'm forced to lock it.
object locker;
IFileHandler fileHandler;
DirectoryInfo baseDirector... | mit | C# |
14c3a35c07ed0842d55bb8f18a885b13c5966cd2 | Modify institutions path retrieval | code4romania/anabi-gestiune-api,code4romania/anabi-gestiune-api,code4romania/anabi-gestiune-api | Anabi.InstitutionsImporter/InstitutionImporter.cs | Anabi.InstitutionsImporter/InstitutionImporter.cs | using Newtonsoft.Json;
using System.IO;
using System.Collections.Generic;
using System.Reflection;
namespace Anabi.InstitutionsImporter
{
public static class InstitutionImporter
{
private readonly static string SOURCE = "institutions.json";
public static List<Institution> Deserialize()
... | using Newtonsoft.Json;
using System.IO;
using System.Collections.Generic;
namespace Anabi.InstitutionsImporter
{
public static class InstitutionImporter
{
public static List<Institution> Deserialize()
{
using (StreamReader streamReader = File.OpenText($@"institutions.json"))
... | mpl-2.0 | C# |
6c8ccb4455e357fcbfbf3f287705a486d794ce64 | 优化函数“空转”效率 | topameng/tolua | Assets/ToLua/Injection/LuaInjectionStation.cs | Assets/ToLua/Injection/LuaInjectionStation.cs | using System;
using System.Collections;
using System.Collections.Generic;
namespace LuaInterface
{
[Flags]
public enum InjectType
{
None = 0,
After = 1,
Before = 1 << 1,
Replace = 1 << 2,
ReplaceWithPreInvokeBase = 1 << 3,
ReplaceWithPostInvokeBase = 1 << 4
... | using System;
using System.Collections;
using System.Collections.Generic;
namespace LuaInterface
{
[Flags]
public enum InjectType
{
None = 0,
After = 1,
Before = 1 << 1,
Replace = 1 << 2,
ReplaceWithPreInvokeBase = 1 << 3,
ReplaceWithPostInvokeBase = 1 << 4
... | mit | C# |
c10516fe3c679bb3dc3535970b9d242fa8e85035 | increment patch version, | jwChung/Experimentalism,jwChung/Experimentalism | build/CommonAssemblyInfo.cs | build/CommonAssemblyInfo.cs | using System.Reflection;
using System.Resources;
using System.Runtime.InteropServices;
[assembly: AssemblyCompany("Jin-Wook Chung")]
[assembly: AssemblyCopyright("Copyright (c) 2014, Jin-Wook Chung")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: Co... | using System.Reflection;
using System.Resources;
using System.Runtime.InteropServices;
[assembly: AssemblyCompany("Jin-Wook Chung")]
[assembly: AssemblyCopyright("Copyright (c) 2014, Jin-Wook Chung")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: Co... | mit | C# |
d9886d8c6b6a11c4ce8ca43b8483caabca2269d2 | Fix typos | EricSten-MSFT/kudu,juvchan/kudu,shibayan/kudu,duncansmart/kudu,projectkudu/kudu,puneet-gupta/kudu,kenegozi/kudu,juvchan/kudu,mauricionr/kudu,EricSten-MSFT/kudu,dev-enthusiast/kudu,projectkudu/kudu,uQr/kudu,MavenRain/kudu,YOTOV-LIMITED/kudu,YOTOV-LIMITED/kudu,sitereactor/kudu,uQr/kudu,YOTOV-LIMITED/kudu,puneet-gupta/kud... | Kudu.Services/Deployment/DeploymentService.cs | Kudu.Services/Deployment/DeploymentService.cs | using System.Collections.Generic;
using System.ComponentModel;
using System.Json;
using System.ServiceModel;
using System.ServiceModel.Web;
using Kudu.Core.Deployment;
namespace Kudu.Services.Deployment
{
[ServiceContract]
public class DeploymentService
{
private readonly IDeploymentManager _deplo... | using System.Collections.Generic;
using System.ComponentModel;
using System.Json;
using System.ServiceModel;
using System.ServiceModel.Web;
using Kudu.Core.Deployment;
namespace Kudu.Services.Deployment
{
[ServiceContract]
public class DeploymentService
{
private readonly IDeploymentManager _deplo... | apache-2.0 | C# |
a4997e0f51b45aef43d860b663161e00cf7b8563 | Add ScriptNamedArgument.ToString | textamina/scriban,lunet-io/scriban | src/Scriban/Syntax/ScriptNamedArgument.cs | src/Scriban/Syntax/ScriptNamedArgument.cs | // Copyright (c) Alexandre Mutel. All rights reserved.
// Licensed under the BSD-Clause 2 license.
// See license.txt file in the project root for full license information.
namespace Scriban.Syntax
{
public class ScriptNamedArgument : ScriptExpression
{
public ScriptNamedArgument()
{
}
... | // Copyright (c) Alexandre Mutel. All rights reserved.
// Licensed under the BSD-Clause 2 license.
// See license.txt file in the project root for full license information.
namespace Scriban.Syntax
{
public class ScriptNamedArgument : ScriptExpression
{
public ScriptNamedArgument()
{
}
... | bsd-2-clause | C# |
a6e47c7c78eb2ceeb52004894bad3e0d2d8798b6 | Fix typo | MarcosMeli/FileHelpers | FileHelpers/Attributes/FieldNullValueAttribute.cs | FileHelpers/Attributes/FieldNullValueAttribute.cs | using System;
using System.ComponentModel;
namespace FileHelpers
{
/// <summary>
/// Indicates the value to assign to the field in the case of a NULL value.
/// A default value if none supplied in the field itself.
/// </summary>
/// <remarks>
/// You must specify a string and a converter that ... | using System;
using System.ComponentModel;
namespace FileHelpers
{
/// <summary>
/// Indicates the value to assign to the field in the case of a NULL value.
/// A default value if none supplied in the field itself.
/// </summary>
/// <remarks>
/// You must specify a string and a converter that ... | mit | C# |
07a4459c02f728b936cd993209b8e8cc220149e7 | Update testeController.cs | NanoMania/GitRepoVisualStudio,NanoMania/GitRepoVisualStudio | GitTutorialVS/Controllers/testeController.cs | GitTutorialVS/Controllers/testeController.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace GitTutorialVS.Controllers
{
public class testeController : Controller
{
// GET: teste
public ActionResult Index()
{
//wejdwe jhfvsdjhsdjhcskjdzikzshis... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace GitTutorialVS.Controllers
{
public class testeController : Controller
{
// GET: teste
public ActionResult Index()
{
//wejdwejhfvsdjhsdjhcskjdzikzshisizk
... | mit | C# |
a0c2376fc139facf1c67d18f40ea729bc2a12cae | fix package name | WasimAhmad/Serenity,linpiero/Serenity,rolembergfilho/Serenity,rolembergfilho/Serenity,TukekeSoft/Serenity,rolembergfilho/Serenity,TukekeSoft/Serenity,linpiero/Serenity,WasimAhmad/Serenity,TukekeSoft/Serenity,WasimAhmad/Serenity,volkanceylan/Serenity,dfaruque/Serenity,volkanceylan/Serenity,linpiero/Serenity,dfaruque/Ser... | Serenity.Reporting/Properties/AssemblyInfo.cs | Serenity.Reporting/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("Serenity Platform - Reporting Library")]
[assembly: AssemblyDescription(
"Contains reporting classes...")]
[assembly: ComVisible(false)] | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("Serenity Platform - Data Entity Library")]
[assembly: AssemblyDescription(
"Contains reporting classes...")]
[assembly: ComVisible(false)] | mit | C# |
99b156f4ef623885638a17a295c9f7a426c2d22f | edit parameter in login request. | robertzml/Hyperion,robertzml/Hyperion,robertzml/Hyperion | Hyperion.BizAdapter/Protocol/LoginRequest.cs | Hyperion.BizAdapter/Protocol/LoginRequest.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Hyperion.BizAdapter.Protocol
{
using Newtonsoft.Json;
/// <summary>
/// 登录请求
/// </summary>
public class LoginRequest : BaseRequest
{
#region Field
///... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Hyperion.BizAdapter.Protocol
{
using Newtonsoft.Json;
/// <summary>
/// 登录请求
/// </summary>
public class LoginRequest : BaseRequest
{
#region Field
///... | apache-2.0 | C# |
c6ad963c8de38c88abeb696b0f3f7c7cf53a91fb | clone the connection for each reader and writer, allow multithread access to the event store | Pondidum/Ledger.Stores.Postgres,Pondidum/Ledger.Stores.Postgres | Ledger.Stores.Postgres/PostgresEventStore.cs | Ledger.Stores.Postgres/PostgresEventStore.cs | using Npgsql;
namespace Ledger.Stores.Postgres
{
public class PostgresEventStore : IEventStore
{
private readonly NpgsqlConnection _connection;
public PostgresEventStore(NpgsqlConnection connection)
{
_connection = connection;
}
public IStoreReader<TKey> CreateReader<TKey>(IStoreConventions storeConv... | using System.Collections.Generic;
using System.Data;
using System.Linq;
using Dapper;
using Newtonsoft.Json;
using Npgsql;
namespace Ledger.Stores.Postgres
{
public class PostgresEventStore : IEventStore
{
private readonly NpgsqlConnection _connection;
public PostgresEventStore(NpgsqlConnection connection)
{... | lgpl-2.1 | C# |
a428e82d22faf94ffc245688e8a7d353e648c714 | change parameter name | kaosborn/KaosCollections | Source/RankedSet/ICollectionDebugView.cs | Source/RankedSet/ICollectionDebugView.cs | //
// Library: KaosCollections
// File: ICollectionDebugView.cs
//
// Copyright © 2009-2017 Kasey Osborn (github.com/kaosborn)
// MIT License - Use and redistribute freely
//
using System;
using System.Collections.Generic;
using System.Diagnostics;
namespace Kaos.Collections
{
internal class ICollectionDebugV... | //
// Library: KaosCollections
// File: ICollectionDebugView.cs
//
// Copyright © 2009-2017 Kasey Osborn (github.com/kaosborn)
// MIT License - Use and redistribute freely
//
using System;
using System.Collections.Generic;
using System.Diagnostics;
namespace Kaos.Collections
{
/// <exclude />
internal cla... | mit | C# |
018826069452470464326ebf4dc81fe330e10f40 | Mark SynthesisEditContext obsolete because it is a bad pattern to use. | kamsar/Synthesis | Source/Synthesis/SynthesisEditContext.cs | Source/Synthesis/SynthesisEditContext.cs | using System;
using Sitecore.Data.Items;
namespace Synthesis
{
#pragma warning disable 0618 // disable the warning about InnerItem here - it's cool
/// <summary>
/// Provides a means to put an item in editing mode.
/// </summary>
/// <remarks>
/// The item is enters editing mode when this object is created and... | using Sitecore.Data.Items;
namespace Synthesis
{
#pragma warning disable 0618 // disable the warning about InnerItem here - it's cool
/// <summary>
/// Provides a means to put an item in editing mode.
/// </summary>
/// <remarks>
/// The item is enters editing mode when this object is created and leaves editin... | mit | C# |
ccd23a11e1f25525384c865c06248772adaedd95 | Add optional predicate to Slash.System.FileUtils.CopyDirectory to filter the files that should be copied | SlashGames/slash-framework,SlashGames/slash-framework,SlashGames/slash-framework | Source/Slash.System/Source/Utils/FileUtils.cs | Source/Slash.System/Source/Utils/FileUtils.cs | namespace Slash.SystemExt.Utils
{
using System;
using System.IO;
public static class FileUtils
{
public static void CopyDirectory(string sourcePath, string destinationPath, Func<string, bool> predicate = null)
{
sourcePath = Path.GetFullPath(sourcePath);
destina... | namespace Slash.SystemExt.Utils
{
using System.IO;
public static class FileUtils
{
public static void CopyDirectory(string sourcePath, string destinationPath)
{
sourcePath = Path.GetFullPath(sourcePath);
destinationPath = Path.GetFullPath(destinationPath);
... | mit | C# |
73c29ac36091855c94929de1756e87a9ed815241 | Update CPUReadCPUIDAsm.cs | CosmosOS/Cosmos,CosmosOS/Cosmos,zarlo/Cosmos,zarlo/Cosmos,zarlo/Cosmos,CosmosOS/Cosmos,zarlo/Cosmos,CosmosOS/Cosmos | source/Cosmos.Core_Asm/CPU/CPUReadCPUIDAsm.cs | source/Cosmos.Core_Asm/CPU/CPUReadCPUIDAsm.cs | using Cosmos.Debug.Kernel;
using XSharp;
using XSharp.Assembler;
using static XSharp.XSRegisters;
namespace Cosmos.Core_Asm
{
public class CPUReadCPUIDAsm : AssemblerMethod
{
private const int CpuIdTypeArgOffset = 4;
private const int CpuIdEAXAddressArgOffset = 8;
private const int CpuI... | using XSharp.Assembler;
namespace Cosmos.Core_Asm
{
public class CPUReadCPUIDAsm : AssemblerMethod
{
public override void AssembleNew(Assembler aAssembler, object aMethodInfo)
{
// TODO Get the type parameter from EBP+8 and move it to EAX
/*
* mov eax, 16h
... | bsd-3-clause | C# |
9c03290966f85e78a865fe75932fd14aac653a40 | Bump to v0.5.1 | dancol90/mi-360 | Source/mi-360/Properties/AssemblyInfo.cs | Source/mi-360/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// Le informazioni generali relative a un assembly sono controllate dal seguente
// set di attributi. Modificare i valori di questi attributi per modificare le informazioni
// associate a un assembly.
[assembly: Ass... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// Le informazioni generali relative a un assembly sono controllate dal seguente
// set di attributi. Modificare i valori di questi attributi per modificare le informazioni
// associate a un assembly.
[assembly: Ass... | bsd-3-clause | C# |
b99af5b461c017c04b2ec0acc9f9689376e4d37b | Throw more specific error if no SSL cert | MatthewSteeples/XeroAPI.Net | source/XeroApi/OAuth/XeroApiPartnerSession.cs | source/XeroApi/OAuth/XeroApiPartnerSession.cs | using System;
using System.Security.Cryptography.X509Certificates;
using DevDefined.OAuth.Consumer;
using DevDefined.OAuth.Framework;
using DevDefined.OAuth.Storage.Basic;
namespace XeroApi.OAuth
{
public class XeroApiPartnerSession : OAuthSession
{
[Obsolete("Use the constructor with ITokenRepository... | using System;
using System.Security.Cryptography.X509Certificates;
using DevDefined.OAuth.Consumer;
using DevDefined.OAuth.Framework;
using DevDefined.OAuth.Storage.Basic;
namespace XeroApi.OAuth
{
public class XeroApiPartnerSession : OAuthSession
{
[Obsolete("Use the constructor with ITokenRepository... | mit | C# |
230bd74ee55f71e0bbf592b310c89d2657efbc8b | Increment version. | jyuch/ReflectionToStringBuilder | src/ReflectionToStringBuilder/Properties/AssemblyInfo.cs | src/ReflectionToStringBuilder/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// アセンブリに関する一般情報は以下の属性セットをとおして制御されます。
// アセンブリに関連付けられている情報を変更するには、
// これらの属性値を変更してください。
[assembly: AssemblyTitle("ReflectionToStringBuilder")]
[assembly: AssemblyDescription("ReflectionでToStringするアレ")]
[assembly: Ass... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// アセンブリに関する一般情報は以下の属性セットをとおして制御されます。
// アセンブリに関連付けられている情報を変更するには、
// これらの属性値を変更してください。
[assembly: AssemblyTitle("ReflectionToStringBuilder")]
[assembly: AssemblyDescription("ReflectionでToStringするアレ")]
[assembly: Ass... | mit | C# |
487af09a76cbbad363a1c88fa0b7f09cc72bc5d3 | Create first automated acceptance test | lifebeyondfife/Decider | Tests/Acceptance/LeagueGenerationTest.cs | Tests/Acceptance/LeagueGenerationTest.cs | /*
Copyright Iain McDonald 2010-2020
This file is part of Decider.
*/
using System;
using Xunit;
using Decider.Example.LeagueGeneration;
namespace Decider.Tests.Example
{
public class LeagueGenerationTest
{
[Fact]
public void TestGenerating10()
{
var leagueGeneratio... | /*
Copyright Iain McDonald 2010-2020
This file is part of Decider.
*/
using System;
using Xunit;
using Decider.Example.LeagueGeneration;
namespace Decider.Tests.Example
{
public class LeagueGenerationTest
{
[Fact]
public void TestGenerating10()
{
var leagueGeneratio... | mit | C# |
2e60ba768d0c0a7feb4b5bdec18abb10e5c0dbb3 | Update EnumerableExtensions.cs | keith-hall/Extensions,keith-hall/Extensions | src/EnumerableExtensions.cs | src/EnumerableExtensions.cs | using System;
using System.Collections.Generic;
using System.Linq;
namespace HallLibrary.Extensions
{
/// <summary>
/// Contains static methods for working with enumerables.
/// </summary>
public static class EnumerableExtensions
{
/// <summary>
/// Randomise the order of the elements in the <paramref name="s... | using System;
using System.Collections.Generic;
using System.Linq;
namespace HallLibrary.Extensions
{
/// <summary>
/// Contains static methods for working with <see cref="IEnumerable" />s.
/// </summary>
public static class EnumerableExtensions
{
/// <summary>
/// Randomise the order of the elements in the <... | apache-2.0 | C# |
b4fd5a90c020cc9ef592d2980232742424b63088 | Add thank you text to Complete page | ParcelForMe/p4m-demo-shop,ParcelForMe/p4m-demo-shop,ParcelForMe/p4m-demo-shop,ParcelForMe/p4m-demo-shop | OpenOrderFramework/Views/Checkout/Complete.cshtml | OpenOrderFramework/Views/Checkout/Complete.cshtml | @model int
@{
ViewBag.Title = "Checkout Complete";
}
<link rel="import" href="/Scripts/widgets/p4m-ajax-block/p4m-ajax-block.html">
<p4m-ajax-block content-url="https://local.parcelfor.me:44333/Content/Thankyou/Thankyou.html"></p4m-ajax-block>
<h2>Checkout Complete</h2>
<p>Thanks for your order! Your order number ... | @model int
@{
ViewBag.Title = "Checkout Complete";
}
<h2>Checkout Complete</h2>
<p>Thanks for your order! Your order number is: @Model</p>
<p>
How about shopping for some more stuff in our
@Html.ActionLink("store","Index", "Home")
</p>
| mit | C# |
057c66b849821fcde23e63a5ec3cc2b4cc802e0f | fix bugs in ConsoleBitmapViewer | workabyte/PowerArgs,adamabdelhamed/PowerArgs,adamabdelhamed/PowerArgs,workabyte/PowerArgs | PowerArgs/CLI/Drawing/ConsoleBitmapViewer.cs | PowerArgs/CLI/Drawing/ConsoleBitmapViewer.cs | namespace PowerArgs.Cli
{
/// <summary>
/// A control that can render a ConsoleBitmap
/// </summary>
public class ConsoleBitmapViewer : ConsoleControl
{
/// <summary>
/// The bitmap to render
/// </summary>
public ConsoleBitmap Bitmap { get => Get<ConsoleBitmap>(); s... | namespace PowerArgs.Cli
{
/// <summary>
/// A control that can render a ConsoleBitmap
/// </summary>
public class ConsoleBitmapViewer : ConsoleControl
{
/// <summary>
/// The bitmap to render
/// </summary>
public ConsoleBitmap Bitmap { get; set; }
/// <summ... | mit | C# |
807bb4151f9483a513ceb423738f4b0aa95573b5 | Add Debug output | MorganR/wizards-chess,MorganR/wizards-chess | WizardsChess/WizardsChess/GpioToggler.cs | WizardsChess/WizardsChess/GpioToggler.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Windows.Devices.Gpio;
namespace WizardsChess
{
public sealed class GpioToggler
{
public GpioToggler(TimeSpan period, int pinNum)
{
this.period = period;
gpio = GpioController.GetDefaul... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Windows.Devices.Gpio;
namespace WizardsChess
{
public sealed class GpioToggler
{
public GpioToggler(TimeSpan period, int pinNum)
{
this.period = period;
gpio = GpioController.GetDefaul... | apache-2.0 | C# |
c983ed8092ea9deece58581f6759a9651d961aa3 | change api config | iuv-dev/routecore,iuv-dev/routecore | RouteCore/RouteCore/App_Start/WebApiConfig.cs | RouteCore/RouteCore/App_Start/WebApiConfig.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web.Http;
namespace RouteCore
{
public static class WebApiConfig
{
public static void Register(HttpConfiguration config)
{
// Web API configuration and services
// Web API routes
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web.Http;
namespace RouteCore
{
public static class WebApiConfig
{
public static void Register(HttpConfiguration config)
{
// Web API configuration and services
// Web API routes
... | mit | C# |
0b9466029c96d547de28f3859482cd7344fcd773 | remove unneeded method | matrostik/SQLitePCL.pretty,bordoley/SQLitePCL.pretty | SQLitePCL.pretty.Async/InterfacesContract.cs | SQLitePCL.pretty.Async/InterfacesContract.cs | /*
Copyright 2014 David Bordoley
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in ... | /*
Copyright 2014 David Bordoley
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in ... | apache-2.0 | C# |
a2fccb073d6aa0b636b0f4b63fae22182d91930d | Change div class and change the position of button back | Team-Code-Ninjas/SpaceBlog,Team-Code-Ninjas/SpaceBlog,Team-Code-Ninjas/SpaceBlog | SpaceBlog/SpaceBlog/Views/Comment/Edit.cshtml | SpaceBlog/SpaceBlog/Views/Comment/Edit.cshtml | @model SpaceBlog.Models.CommentViewModel
@{
ViewBag.Title = "Edit";
ViewBag.Message = "Comment";
}
@using (Html.BeginForm())
{
@Html.AntiForgeryToken()
<div class="container">
<h2>@ViewBag.Title</h2>
<h4>@ViewBag.Message</h4>
<hr />
@Html.ValidationSummary(true, "... | @model SpaceBlog.Models.CommentViewModel
@{
ViewBag.Title = "Edit";
}
<h2>Edit</h2>
@using (Html.BeginForm())
{
@Html.AntiForgeryToken()
<div class="form-horizontal">
<h4>Comment</h4>
<hr />
@Html.ValidationSummary(true, "", new { @class = "text-danger" })
@Html.Hid... | mit | C# |
47c6d90db3bef9f0100b5d886b43c8711e13c448 | fix S_BOSS_GAGE_INFO field types | Foglio1024/Tera-custom-cooldowns,Foglio1024/Tera-custom-cooldowns | TeraPacketParser/Messages/S_BOSS_GAGE_INFO.cs | TeraPacketParser/Messages/S_BOSS_GAGE_INFO.cs | namespace TeraPacketParser.Messages
{
public class S_BOSS_GAGE_INFO : ParsedMessage
{
//private ulong id, targetId;
//private int templateId, huntingZoneId;//, unk1;
//private float /*hpDiff,*/ currHp, maxHp;
//private byte enrage/*, unk3*/;
public ulong EntityId { get;... | namespace TeraPacketParser.Messages
{
public class S_BOSS_GAGE_INFO : ParsedMessage
{
//private ulong id, targetId;
//private int templateId, huntingZoneId;//, unk1;
//private float /*hpDiff,*/ currHp, maxHp;
//private byte enrage/*, unk3*/;
public ulong EntityId { get;... | mit | C# |
d519f13fe62047aa7d9fe93614c4426adca52031 | Ajuste no valor Maximum closes #3 | adrianocaldeira/thunder | src/main/Thunder/ComponentModel/DataAnnotations/NumberAttribute.cs | src/main/Thunder/ComponentModel/DataAnnotations/NumberAttribute.cs | using System;
using System.ComponentModel.DataAnnotations;
namespace Thunder.ComponentModel.DataAnnotations
{
/// <summary>
/// Positive number validator
/// </summary>
[AttributeUsage(AttributeTargets.Property, AllowMultiple = false)]
public class NumberAttribute : ValidationAttribute
{
... | using System;
using System.ComponentModel.DataAnnotations;
namespace Thunder.ComponentModel.DataAnnotations
{
/// <summary>
/// Positive number validator
/// </summary>
[AttributeUsage(AttributeTargets.Property, AllowMultiple = false)]
public class NumberAttribute : ValidationAttribute
{
... | mit | C# |
3ea220ebe6f6a814ef0b5fb391e2af4523fec3b6 | Add new file userAuth.cpl/Droid/Properties/AssemblyInfo.cs | ArcanaMagus/userAuth.cpl,ArcanaMagus/userAuth.cpl,ArcanaMagus/userAuth.cpl,ArcanaMagus/userAuth.cpl | userAuth.cpl/Droid/Properties/AssemblyInfo.cs | userAuth.cpl/Droid/Properties/AssemblyInfo.cs |