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
d56d5c9677bf8b7fcf80629c86304a28f670e203
fix comments
daviwil/poshtools,Microsoft/poshtools,KevinHorvatin/poshtools,erwindevreugd/poshtools,adamdriscoll/poshtools,YOTOV-LIMITED/poshtools,mgreenegit/poshtools,zbrad/poshtools,SpotLabsNET/poshtools
PowershellTools.Common/UiContextUtilities.cs
PowershellTools.Common/UiContextUtilities.cs
using Microsoft.VisualStudio.Shell; using Microsoft.VisualStudio.Shell.Interop; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace PowerShellTools.Common { internal static class UiContextUtilities { private static I...
using Microsoft.VisualStudio.Shell; using Microsoft.VisualStudio.Shell.Interop; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace PowerShellTools.Common { internal sealed static class UiContextUtilities { private s...
apache-2.0
C#
7013d4e2114e620431b6a9258ca5b749a44776b9
Set up the basic program structure.
otac0n/Weave
Weave/Program.cs
Weave/Program.cs
// ----------------------------------------------------------------------- // <copyright file="Program.cs" company="(none)"> // Copyright © 2013 John Gietzen. All Rights Reserved. // This source is subject to the MIT license. // Please see license.txt for more information. // </copyright> // -------------------...
// ----------------------------------------------------------------------- // <copyright file="Program.cs" company="(none)"> // Copyright © 2013 John Gietzen. All Rights Reserved. // This source is subject to the MIT license. // Please see license.txt for more information. // </copyright> // -------------------...
mit
C#
591aee99ac6b9ff6f1f2a25bc70e7478190051d8
Add year to copyright attribute.
izrik/NDeproxy
Properties/AssemblyInfo.cs
Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; // Information about this assembly is defined by the following attributes. // Change them to the values specific to your project. [assembly: AssemblyTitle("NDeproxy")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: As...
using System.Reflection; using System.Runtime.CompilerServices; // Information about this assembly is defined by the following attributes. // Change them to the values specific to your project. [assembly: AssemblyTitle("NDeproxy")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: As...
mit
C#
c9c9dd41352bdee8dfa9b7ec0da4efe851328a2f
Upgrade to version 0.5.0.0.
afit/HVoIPM
Properties/AssemblyInfo.cs
Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTi...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTi...
mit
C#
27f0222c34b8fac9282de32148cbfbd26b9dc4a9
Fix null check to use string.IsNullOrEmpty. Even though unlikely, if a string.empty is passed as input it will result in an infinite loop.
Microsoft/ApplicationInsights-dotnet,pharring/ApplicationInsights-dotnet,pharring/ApplicationInsights-dotnet,pharring/ApplicationInsights-dotnet
src/ServerTelemetryChannel/Managed/Shared/Implementation/SamplingScoreGenerator.cs
src/ServerTelemetryChannel/Managed/Shared/Implementation/SamplingScoreGenerator.cs
namespace Microsoft.ApplicationInsights.WindowsServer.TelemetryChannel.Implementation { using System; using Microsoft.ApplicationInsights.Channel; /// <summary> /// Utility class for sampling score generation. /// </summary> internal static class SamplingScoreGenerator { /// <summ...
namespace Microsoft.ApplicationInsights.WindowsServer.TelemetryChannel.Implementation { using System; using Microsoft.ApplicationInsights.Channel; /// <summary> /// Utility class for sampling score generation. /// </summary> internal static class SamplingScoreGenerator { /// <summ...
mit
C#
6a003f9d4bdc649c2a995d9a553270f0db342d31
Use AccessTokenConfiguration to register AuthInfo
appharbor/appharbor-cli
src/AppHarbor/AppHarborInstaller.cs
src/AppHarbor/AppHarborInstaller.cs
using System; using Castle.MicroKernel.Registration; using Castle.MicroKernel.SubSystems.Configuration; using Castle.Windsor; using Castle.MicroKernel.Resolvers.SpecializedResolvers; namespace AppHarbor { public class AppHarborInstaller : IWindsorInstaller { public void Install(IWindsorContainer container, IConfi...
using System; using Castle.MicroKernel.Registration; using Castle.MicroKernel.SubSystems.Configuration; using Castle.Windsor; using Castle.MicroKernel.Resolvers.SpecializedResolvers; namespace AppHarbor { public class AppHarborInstaller : IWindsorInstaller { public void Install(IWindsorContainer container, IConfi...
mit
C#
72f18b71b75786f9aaab2d0839fd6f003da2b913
Update JonDick.cs
planetxamarin/planetxamarin,stvansolano/planetxamarin,MabroukENG/planetxamarin,stvansolano/planetxamarin,beraybentesen/planetxamarin,MabroukENG/planetxamarin,beraybentesen/planetxamarin,beraybentesen/planetxamarin,planetxamarin/planetxamarin,planetxamarin/planetxamarin,stvansolano/planetxamarin,MabroukENG/planetxamarin...
src/Firehose.Web/Authors/JonDick.cs
src/Firehose.Web/Authors/JonDick.cs
using System; using System.Collections.Generic; using Firehose.Web.Infrastructure; namespace Firehose.Web { public class JonDick : IWorkAtXamarinOrMicrosoft { public string FirstName => "Jon"; public string LastName => "Dick"; public string ShortBioOrTagLine => ""; public string...
using System; using System.Collections.Generic; using Firehose.Web.Infrastructure; namespace Firehose.Web { public class JonDick : IWorkAtXamarinOrMicrosoft { public string FirstName => "Jon"; public string LastName => "Dick"; public string ShortBioOrTagLine => "Senior Software Engineer...
mit
C#
90ba7eb16ec7e50ee22b9517a69ccac4a1b600b2
Fix cache
AndMu/Wikiled.Sentiment
src/Sentiment/Wikiled.Sentiment.Integration.Tests/Parser/RedisDocumentCacheTests.cs
src/Sentiment/Wikiled.Sentiment.Integration.Tests/Parser/RedisDocumentCacheTests.cs
using System; using System.Threading.Tasks; using Microsoft.Extensions.Caching.Memory; using Moq; using NLog; using NUnit.Framework; using Wikiled.Redis.Config; using Wikiled.Redis.Logic; using Wikiled.Sentiment.Text.Cache; using Wikiled.Text.Analysis.Cache; using Wikiled.Text.Analysis.POS; using Wikiled.Text.Analysis...
using System; using System.Threading.Tasks; using NLog; using NUnit.Framework; using Wikiled.Redis.Config; using Wikiled.Redis.Logic; using Wikiled.Sentiment.Text.Cache; using Wikiled.Text.Analysis.POS; using Wikiled.Text.Analysis.Structure; namespace Wikiled.Sentiment.Integration.Tests.Parser { [TestFixture] ...
apache-2.0
C#
d77c8113ca2ed022aa6634436fd21264c020174c
Fix path to enum namespace
EverlastingStudent/EverlastingStudent,EverlastingStudent/EverlastingStudent,EverlastingStudent/EverlastingStudent
Source/EverlastingStudent/EverlastingStudent.Models/Difficulty.cs
Source/EverlastingStudent/EverlastingStudent.Models/Difficulty.cs
namespace EverlastingStudent.Models { using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using EverlastingStudent.Common.Models; public class Difficulty { private ICollection<Homework> homeworks; private ICollection<FreelanceProject> freelanceProjects; ...
namespace EverlastingStudent.Models { using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using EverlastingStudent.Common; public class Difficulty { private ICollection<Homework> homeworks; private ICollection<FreelanceProject> freelanceProjects; ...
mit
C#
923419680e598a2279b0807487eb351a62d0b958
Fix broken build of System.Net.WebSockets.Client.NETNative.csproj due to missing types.
iamjasonp/corefx,dhoehna/corefx,Priya91/corefx-1,benjamin-bader/corefx,ellismg/corefx,690486439/corefx,nchikanov/corefx,SGuyGe/corefx,seanshpark/corefx,jcme/corefx,iamjasonp/corefx,dotnet-bot/corefx,DnlHarvey/corefx,weltkante/corefx,kkurni/corefx,shimingsg/corefx,wtgodbe/corefx,twsouthwick/corefx,shahid-pk/corefx,Peter...
src/System.Net.WebSockets.Client/src/System/Net/WebSockets/WebSocketHandle.WinRT.cs
src/System.Net.WebSockets.Client/src/System/Net/WebSockets/WebSocketHandle.WinRT.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.Collections.Generic; using System.ComponentModel; using System.Diagnostics.CodeAnalysis; using System.Diagnostics; using System.Net; using Sy...
// 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.Collections.Generic; using System.ComponentModel; using System.Diagnostics.CodeAnalysis; using System.Diagnostics; using System.Net; using Sy...
mit
C#
31497dd5d210838547b4546267c266921e613380
add minimum overlay plugin version
quisquous/cactbot,quisquous/cactbot,quisquous/cactbot,quisquous/cactbot,quisquous/cactbot,quisquous/cactbot
plugin/CactbotOverlay/PluginLoader.cs
plugin/CactbotOverlay/PluginLoader.cs
using System.Windows.Forms; using RainbowMage.OverlayPlugin; using Advanced_Combat_Tracker; using System.Collections.Generic; using System.IO; using System.Linq; using System; namespace Cactbot { public class PluginLoader : IActPluginV1, IOverlayAddonV2 { private static AssemblyResolver asmResolver; ...
using System.Windows.Forms; using RainbowMage.OverlayPlugin; using Advanced_Combat_Tracker; using System.Collections.Generic; using System.IO; using System.Linq; using System; namespace Cactbot { public class PluginLoader : IActPluginV1, IOverlayAddonV2 { static AssemblyResolver asmResolver; ...
apache-2.0
C#
de204bf651cdf30fea61fcbd64745ea102dd93b3
Update Assassinate.cs
fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation
UnityProject/Assets/Scripts/Antagonists/Objectives/Assassinate.cs
UnityProject/Assets/Scripts/Antagonists/Objectives/Assassinate.cs
using System.Collections; using System.Collections.Generic; using UnityEngine; using System.Linq; namespace Antagonists { /// <summary> /// An objective to assassinate someone on the station /// </summary> [CreateAssetMenu(menuName="ScriptableObjects/Objectives/Assassinate")] public class Assassinate :...
using System.Collections; using System.Collections.Generic; using UnityEngine; using System.Linq; namespace Antagonists { /// <summary> /// An objective to assassinate someone on the station /// </summary> [CreateAssetMenu(menuName="ScriptableObjects/Objectives/Assassinate")] public class Assassinate :...
agpl-3.0
C#
941e3fd973604e97fa8d652d3b72d812202f835b
Rename param name
alexmaris/simplezipcode
SimpleZipCode/ZipCodeSource.cs
SimpleZipCode/ZipCodeSource.cs
using SimpleZipCode.Repos; using SimpleZipCode.Sources; using System; using System.Collections.Generic; namespace SimpleZipCode { public class ZipCodeSource { private List<Func<IZipCodeRepository, IZipCodeRepository>> _steps = new List<Func<IZipCodeRepository, IZipCodeRepository>>(); ...
using SimpleZipCode.Repos; using SimpleZipCode.Sources; using System; using System.Collections.Generic; namespace SimpleZipCode { public class ZipCodeSource { private List<Func<IZipCodeRepository, IZipCodeRepository>> _steps = new List<Func<IZipCodeRepository, IZipCodeRepository>>(); ...
mit
C#
46a1903e95367eb41d631a5ee60196df815dd05f
Fix reward string method; ignore parameters with no title
DMagic1/KSP_Contract_Window
Source/ContractsWindow/PanelInterfaces/parameterUIObject.cs
Source/ContractsWindow/PanelInterfaces/parameterUIObject.cs
using System; using System.Collections.Generic; using UnityEngine; using ContractParser; using ContractsWindow.Unity.Interfaces; using ContractsWindow.Unity.Unity; using ContractsWindow.Unity; namespace ContractsWindow.PanelInterfaces { public class parameterUIObject : IParameterSection { private parameterContain...
using System; using System.Collections.Generic; using UnityEngine; using ContractParser; using ContractsWindow.Unity.Interfaces; using ContractsWindow.Unity.Unity; using ContractsWindow.Unity; namespace ContractsWindow.PanelInterfaces { public class parameterUIObject : IParameterSection { private parameterContain...
mit
C#
16f178fd8fe7fbb88216a35ae998d08fc85ea00b
Add regex
negator92/XmlCheck
Tag.cs
Tag.cs
using System; using System.IO; using System.Text.RegularExpressions; public class Tag { public static int PayCaseCounter; public static int PayCaseNumber; Regex regex = new Regex(@"^([А-ЯЁ]+)([\s\-]?[А-ЯЁ]+)*$"); public static void CallPrg(string[] args) { //Checking for arguments ...
using System; using System.IO; public class Tag { public static int PayCaseCounter; public static int PayCaseNumber; public static void CallPrg(string[] args) { //Checking for arguments if (args.Length == 0) Console.WriteLine("Использование: XmlCheck.exe file.xml"); ...
apache-2.0
C#
918088b7b2b46b6308bb471e7265b3331750a2c8
Remove read ip from header
ilyhacker/aspnetboilerplate,ryancyq/aspnetboilerplate,ryancyq/aspnetboilerplate,aspnetboilerplate/aspnetboilerplate,luchaoshuai/aspnetboilerplate,ilyhacker/aspnetboilerplate,carldai0106/aspnetboilerplate,carldai0106/aspnetboilerplate,ryancyq/aspnetboilerplate,verdentk/aspnetboilerplate,ryancyq/aspnetboilerplate,aspnetb...
src/Abp.AspNetCore/AspNetCore/Mvc/Auditing/HttpContextClientInfoProvider.cs
src/Abp.AspNetCore/AspNetCore/Mvc/Auditing/HttpContextClientInfoProvider.cs
using System; using Abp.Auditing; using Castle.Core.Logging; using Microsoft.AspNetCore.Http; using Abp.Extensions; namespace Abp.AspNetCore.Mvc.Auditing { public class HttpContextClientInfoProvider : IClientInfoProvider { public string BrowserInfo => GetBrowserInfo(); public string ClientIpA...
using System; using Abp.Auditing; using Castle.Core.Logging; using Microsoft.AspNetCore.Http; using Abp.Extensions; namespace Abp.AspNetCore.Mvc.Auditing { public class HttpContextClientInfoProvider : IClientInfoProvider { public string BrowserInfo => GetBrowserInfo(); public string ClientIpA...
mit
C#
215c02d3efccd99330c09ddafaf55c715d1108f4
Remove double l4n config
RightpointLabs/conference-room,jorupp/conference-room,RightpointLabs/conference-room,jorupp/conference-room,RightpointLabs/conference-room,jorupp/conference-room,jorupp/conference-room,RightpointLabs/conference-room
RightpointLabs.ConferenceRoom.Services/App_Start/WebApiConfig.cs
RightpointLabs.ConferenceRoom.Services/App_Start/WebApiConfig.cs
using System; using System.Collections.Generic; using System.Linq; using System.Net.Http.Headers; using System.Web.Http; namespace RightpointLabs.ConferenceRoom.Services { public static class WebApiConfig { public static void Register(HttpConfiguration config) { // Web API configur...
using System; using System.Collections.Generic; using System.Linq; using System.Net.Http.Headers; using System.Web.Http; namespace RightpointLabs.ConferenceRoom.Services { public static class WebApiConfig { public static void Register(HttpConfiguration config) { InitLogging(); ...
mit
C#
d9f0462944035f15c2fa9d5b95ecc961e35191a0
Fix TestLdmlInFolderWritingSystemFactory
gmartin7/libpalaso,ermshiperete/libpalaso,sillsdev/libpalaso,andrew-polk/libpalaso,glasseyes/libpalaso,ddaspit/libpalaso,gmartin7/libpalaso,ddaspit/libpalaso,gtryus/libpalaso,glasseyes/libpalaso,mccarthyrb/libpalaso,gtryus/libpalaso,sillsdev/libpalaso,ermshiperete/libpalaso,tombogle/libpalaso,andrew-polk/libpalaso,gmar...
SIL.WritingSystems.Tests/TestLdmlInFolderWritingSystemFactory.cs
SIL.WritingSystems.Tests/TestLdmlInFolderWritingSystemFactory.cs
using System.Collections.Generic; using System.IO; namespace SIL.WritingSystems.Tests { public class TestLdmlInFolderWritingSystemFactory : LdmlInFolderWritingSystemFactory { private readonly Dictionary<string, string> _sldrLdmls; public TestLdmlInFolderWritingSystemFactory(LdmlInFolderWritingSystemRepository...
using System.Collections.Generic; using System.IO; namespace SIL.WritingSystems.Tests { public class TestLdmlInFolderWritingSystemFactory : LdmlInFolderWritingSystemFactory { private readonly Dictionary<string, string> _sldrLdmls; public TestLdmlInFolderWritingSystemFactory(LdmlInFolderWritingSystemRepository...
mit
C#
f72e7f4e168d8254cd238aae1606c6d36ee057aa
fix of image sizing (no idea why this works)
ERNICommunity/ERNI-Photo-Database,ERNICommunity/ERNI-Photo-Database,ERNICommunity/ERNI-Photo-Database
server/ERNI.PhotoDatabase.Server/Views/Shared/EditorTemplates/ImageDescription.cshtml
server/ERNI.PhotoDatabase.Server/Views/Shared/EditorTemplates/ImageDescription.cshtml
@model ERNI.PhotoDatabase.Server.Model.ImageDescription <div class="row"> <input type="hidden" asp-for="Id"/> <div class="col"> <div class="card"> <img class="card-img-top" src="@Url.Action("Thumbnail", "Photo", new {id = Model.Id})" alt="@Model.Name" style="width:100%;height:100%;"> ...
@model ERNI.PhotoDatabase.Server.Model.ImageDescription <div class="row"> <input type="hidden" asp-for="Id"/> <div class="col"> <div class="card"> <img class="card-img-top" src="@Url.Action("Thumbnail", "Photo", new {id = Model.Id})" alt="@Model.Name"> <div class="card-body"> ...
unlicense
C#
c864cbc6a5fb5b10a30d9bad228e7162aa52f7ec
Remove unused setters of pagination properties.
henrikfroehling/TraktApiSharp
Source/Lib/TraktApiSharp/Requests/Base/TraktPaginationOptions.cs
Source/Lib/TraktApiSharp/Requests/Base/TraktPaginationOptions.cs
namespace TraktApiSharp.Requests { internal struct TraktPaginationOptions { internal TraktPaginationOptions(int? page, int? limit) { Page = page; Limit = limit; } internal int? Page { get; } internal int? Limit { get; } } }
namespace TraktApiSharp.Requests { internal struct TraktPaginationOptions { internal TraktPaginationOptions(int? page, int? limit) { Page = page; Limit = limit; } internal int? Page { get; set; } internal int? Limit { get; set; } } }
mit
C#
8a5ad4868ee23842333d09a356bdbeeed56e3981
Increase default timeout to 30 secs
ASP-NET-Core-Boilerplate/Templates,ASP-NET-Core-Boilerplate/Templates,ASP-NET-MVC-Boilerplate/Templates,RehanSaeed/ASP.NET-MVC-Boilerplate,RehanSaeed/ASP.NET-MVC-Boilerplate,ASP-NET-Core-Boilerplate/Templates,RehanSaeed/ASP.NET-MVC-Boilerplate,ASP-NET-MVC-Boilerplate/Templates
Tests/Boxed.Templates.Test/Framework/CancellationTokenFactory.cs
Tests/Boxed.Templates.Test/Framework/CancellationTokenFactory.cs
namespace Boxed.Templates.Test { using System; using System.Threading; public static class CancellationTokenFactory { public static CancellationToken GetCancellationToken(TimeSpan? timeout) => GetCancellationToken(timeout ?? TimeSpan.FromSeconds(30)); public static Cancella...
namespace Boxed.Templates.Test { using System; using System.Threading; public static class CancellationTokenFactory { public static CancellationToken GetCancellationToken(TimeSpan? timeout) => GetCancellationToken(timeout ?? TimeSpan.FromSeconds(20)); public static Cancella...
mit
C#
3c5ac168467c2555af1ebd98a72163146edca5d7
Add opportunity status description
Paymentsense/Dapper.SimpleSave
PS.Mothership.Core/PS.Mothership.Core.Common/Dto/Application/OpportunitySummaryDto.cs
PS.Mothership.Core/PS.Mothership.Core.Common/Dto/Application/OpportunitySummaryDto.cs
using System; using System.Runtime.Serialization; using PS.Mothership.Core.Common.Template.Gen; namespace PS.Mothership.Core.Common.Dto.Application { [DataContract] public class OpportunitySummaryDto { [DataMember] public Guid OpportunityGuid { get; set; } [DataMember] pub...
using System; using System.Runtime.Serialization; using PS.Mothership.Core.Common.Template.Gen; namespace PS.Mothership.Core.Common.Dto.Application { [DataContract] public class OpportunitySummaryDto { [DataMember] public Guid OpportunityGuid { get; set; } [DataMember] pub...
mit
C#
8e53d96c3d04787a467e2c90f222ca7a7c2ade6f
Update IRestRequester.cs
tiksn/TIKSN-Framework
TIKSN.Core/Web/Rest/IRestRequester.cs
TIKSN.Core/Web/Rest/IRestRequester.cs
using System.Threading; using System.Threading.Tasks; namespace TIKSN.Web.Rest { public interface IRestRequester { Task<TResult> Request<TResult, TRequest>(TRequest request, CancellationToken cancellationToken); } }
using System.Threading; using System.Threading.Tasks; namespace TIKSN.Web.Rest { public interface IRestRequester { Task<TResult> Request<TResult, TRequest>(TRequest request, CancellationToken cancellationToken); } }
mit
C#
016bc6f680a164dcd598bb2b6e3b1ad3160e1b77
Disable reporting in VS.
trivalik/Cosmos,jp2masa/Cosmos,fanoI/Cosmos,tgiphil/Cosmos,zarlo/Cosmos,tgiphil/Cosmos,Cyber4/Cosmos,fanoI/Cosmos,jp2masa/Cosmos,Cyber4/Cosmos,Cyber4/Cosmos,fanoI/Cosmos,trivalik/Cosmos,Cyber4/Cosmos,trivalik/Cosmos,CosmosOS/Cosmos,zarlo/Cosmos,CosmosOS/Cosmos,zarlo/Cosmos,CosmosOS/Cosmos,tgiphil/Cosmos,Cyber4/Cosmos,C...
Tests/Cosmos.Compiler.Tests/DoTest.cs
Tests/Cosmos.Compiler.Tests/DoTest.cs
using System; using System.IO; using ApprovalTests; using ApprovalTests.Reporters; using Cosmos.Compiler.TestsBase; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Cosmos.Compiler.Tests { [TestClass] public class DoTest : BaseTest { [TestMethod] [TestCategory("Compiler")] ...
using System; using System.IO; using ApprovalTests; using ApprovalTests.Reporters; using Cosmos.Compiler.TestsBase; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Cosmos.Compiler.Tests { [TestClass] [UseReporter(typeof(VisualStudioReporter))] public class DoTest : BaseTest { [Te...
bsd-3-clause
C#
2336046f003eab16ace4550b28d625abadb189ee
Move context creation into execution queue
eriawan/roslyn,aelij/roslyn,AlekseyTs/roslyn,aelij/roslyn,heejaechang/roslyn,diryboy/roslyn,weltkante/roslyn,AmadeusW/roslyn,wvdd007/roslyn,bartdesmet/roslyn,brettfo/roslyn,weltkante/roslyn,KevinRansom/roslyn,ErikSchierboom/roslyn,shyamnamboodiripad/roslyn,diryboy/roslyn,dotnet/roslyn,eriawan/roslyn,weltkante/roslyn,ga...
src/Features/LanguageServer/Protocol/AbstractRequestHandlerProvider.cs
src/Features/LanguageServer/Protocol/AbstractRequestHandlerProvider.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. #nullable enable using System; using System.Collections.Generic; using System.Collections.Immutable; using System....
// 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. #nullable enable using System; using System.Collections.Generic; using System.Collections.Immutable; using System....
mit
C#
acba3e426d3a30a9750cd12e5220b25e02734443
Update Exposure Notifications (#890)
xamarin/XamarinComponents,xamarin/XamarinComponents,xamarin/XamarinComponents,xamarin/XamarinComponents,xamarin/XamarinComponents,xamarin/XamarinComponents
XPlat/ExposureNotification/build.cake
XPlat/ExposureNotification/build.cake
var TARGET = Argument("t", Argument("target", "ci")); var SRC_COMMIT = "5c0542d05a58789d14d512a111ef02ee46237e8c"; var SRC_URL = $"https://github.com/xamarin/xamarin.exposurenotification/archive/{SRC_COMMIT}.zip"; var OUTPUT_PATH = (DirectoryPath)"./output/"; var NUGET_VERSION = "0.7.0-preview"; Task("externals") ....
var TARGET = Argument("t", Argument("target", "ci")); var SRC_COMMIT = "21db42178a62425beb3a0ba7145741375b9f8aa5"; var SRC_URL = $"https://github.com/xamarin/xamarin.exposurenotification/archive/{SRC_COMMIT}.zip"; var OUTPUT_PATH = (DirectoryPath)"./output/"; var NUGET_VERSION = "0.6.0-preview"; Task("externals") ....
mit
C#
b5a34b7c81defb51eaad0f870be763094a0a2ee0
Consolidate the assembler tests.
joshpeterson/mos,joshpeterson/mos,joshpeterson/mos
Mos6510.Tests/AssemblerTests.cs
Mos6510.Tests/AssemblerTests.cs
using NUnit.Framework; using Mos6510; using Mos6510.Instructions; using System.Linq; namespace Mos6510.Tests { [TestFixture] public class AssemblerTests { private const byte nopCode = 0xFF; private const byte andImmediateCode = 0x29; private const byte andAbsoluteCode = 0x2D; private const byte a...
using NUnit.Framework; using Mos6510; using Mos6510.Instructions; using System.Linq; namespace Mos6510.Tests { [TestFixture] public class AssemblerTests { private const byte nopCode = 0xFF; private const byte andImmediateCode = 0x29; private const byte andAbsoluteCode = 0x2D; private const byte a...
mit
C#
9c7ea4691d457b4d164ff303240ef8ca894cf7ac
Make the common extensions internal and not public. They are only used internally and we have no reason to expose them. (#861)
jskeet/google-cloud-dotnet,benwulfe/google-cloud-dotnet,googleapis/google-cloud-dotnet,jskeet/google-cloud-dotnet,iantalarico/google-cloud-dotnet,iantalarico/google-cloud-dotnet,evildour/google-cloud-dotnet,chrisdunelm/gcloud-dotnet,googleapis/google-cloud-dotnet,jskeet/google-cloud-dotnet,googleapis/google-cloud-dotne...
apis/Google.Cloud.Diagnostics.Common/Google.Cloud.Diagnostics.Common/Trace/SpanKind.cs
apis/Google.Cloud.Diagnostics.Common/Google.Cloud.Diagnostics.Common/Trace/SpanKind.cs
// Copyright 2016 Google Inc. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applic...
// Copyright 2016 Google Inc. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applic...
apache-2.0
C#
d6e920efd4d5bd0e76613e1bfd98370b211777d6
Fix unit test filename
RytisLT/LiteDB,RytisLT/LiteDB,89sos98/LiteDB,icelty/LiteDB,falahati/LiteDB,mbdavid/LiteDB,masterdidoo/LiteDB,falahati/LiteDB,89sos98/LiteDB,masterdidoo/LiteDB
LiteDB.Tests/Tests/TempFile.cs
LiteDB.Tests/Tests/TempFile.cs
using System; using System.Collections.Generic; using System.Text; namespace LiteDB.Tests { public class TempFile : IDisposable { public string Filename { get; private set; } public string ConnectionString { get; private set; } public TempFile(string connectionString = null, string ex...
using System; using System.Collections.Generic; using System.Text; namespace LiteDB.Tests { public class TempFile : IDisposable { public string Filename { get; private set; } public string ConnectionString { get; private set; } public TempFile(string connectionString = null, string ex...
mit
C#
429fb35421daba0c014db97d0aadeb687f9f7ae7
Update UseExplicitLineBreaks.cs
aspose-cells/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,asposecells/Aspose_Cells_NET,asposecells/Aspose_Cells_NET,aspose-cells/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,aspose-cells/As...
Examples/CSharp/Articles/LineBreakTextWrapping/UseExplicitLineBreaks.cs
Examples/CSharp/Articles/LineBreakTextWrapping/UseExplicitLineBreaks.cs
using System.IO; using Aspose.Cells; namespace Aspose.Cells.Examples.Articles.LineBreakTextWrapping { public class UseExplicitLineBreaks { public static void Main() { //ExStart:1 // The path to the documents directory. string dataDir = Aspose.Cells.Examples....
using System.IO; using Aspose.Cells; namespace Aspose.Cells.Examples.Articles.LineBreakTextWrapping { public class UseExplicitLineBreaks { public static void Main() { // The path to the documents directory. string dataDir = Aspose.Cells.Examples.Utils.GetDataDir(System....
mit
C#
45f306d1be6b9e1823ec76bf64ceb1c4f5fce9e0
fix event checking using reference equality
Pondidum/Ledger,Pondidum/Ledger
Ledger.Tests/AcceptanceTests/SavingMultipleEventsWithoutSnapshotting.cs
Ledger.Tests/AcceptanceTests/SavingMultipleEventsWithoutSnapshotting.cs
using System; using System.Collections.Generic; using System.Linq; using Ledger.Infrastructure; using Ledger.Tests.TestObjects; using Shouldly; using Xunit; namespace Ledger.Tests.AcceptanceTests { public class SavingMultipleEventsWithoutSnapshotting : AcceptanceBase<TestAggregate> { public SavingMultipleEventsWit...
using System; using System.Collections.Generic; using Ledger.Infrastructure; using Ledger.Tests.TestObjects; using Shouldly; using Xunit; namespace Ledger.Tests.AcceptanceTests { public class SavingMultipleEventsWithoutSnapshotting : AcceptanceBase<TestAggregate> { private readonly IEnumerable<DomainEvent> _events...
lgpl-2.1
C#
e5cd9d940920b3b3b9cf363ff2364078ed9569bb
Fix units.
KirillOsenkov/MyOwnSearchEngine,KirillOsenkov/MyOwnSearchEngine,KirillOsenkov/MyOwnSearchEngine
src/MyOwnSearchEngine/Processors/Converters/Units/Units.cs
src/MyOwnSearchEngine/Processors/Converters/Units/Units.cs
using System.Linq; using System.Reflection; namespace MyOwnSearchEngine { public class Units { public static readonly Unit Pound = new Unit("lb", "lbs", "pound", "pounds"); public static readonly Unit Kilogram = new Unit("kg", "kilo", "kilogram", "kilograms"); public static re...
using System.Linq; using System.Reflection; namespace MyOwnSearchEngine { public class Units { public static readonly Unit Pound = new Unit("lb", "lbs", "pound", "pounds"); public static readonly Unit Kilogram = new Unit("kg", "kilo", "kilogram", "kilograms"); public static re...
mit
C#
336300a2707823c4cc9ba655547de249a17b03d1
Update Constants.cs
bogoslovskiy/NetCoreNetty,bogoslovskiy/NetCoreNetty,bogoslovskiy/NetCoreNetty
NetCoreNetty.Libuv/Constants.cs
NetCoreNetty.Libuv/Constants.cs
using System.Runtime.InteropServices; namespace NetCoreNetty.Libuv { internal class Constants { public const int ListenBacklog = 128; public const int EOF = -4095; public static readonly int? ECONNRESET = GetECONNRESET(); public static readonly int? EADDRINUSE = GetEADDRINUSE()...
using System.Runtime.InteropServices; namespace NetCoreNetty.Libuv { internal class Constants { public const int ListenBacklog = 128; public const int EOF = -4095; public static readonly int? ECONNRESET = GetECONNRESET(); public static readonly int? EADDRINUSE = GetEADDRINUSE()...
mit
C#
720614c1181b97e8695337ebc9921ec0f97dd28d
Add stub object storage credentials
CenturyLinkCloud/clc-net-sdk,CenturyLinkCloud/clc-net-sdk
CenturyLinkCloudSDK.Integration.Tests/Credentials.cs
CenturyLinkCloudSDK.Integration.Tests/Credentials.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CenturyLinkCloudSDK.IntegrationTests { public static class Credentials { public static string Username = ""; public static string Password = ""; public static s...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CenturyLinkCloudSDK.IntegrationTests { public static class Credentials { public static string Username = ""; public static string Password = ""; } }
apache-2.0
C#
f0a79add143d1c97938d0bb2b16a9f3e0e51bccb
Fix broken example notification after closing it and then changing options
chylex/TweetDuck,chylex/TweetDuck,chylex/TweetDuck,chylex/TweetDuck
Core/Notification/Example/FormNotificationExample.cs
Core/Notification/Example/FormNotificationExample.cs
using System.Windows.Forms; using TweetDuck.Core.Controls; using TweetDuck.Plugins; using TweetDuck.Resources; namespace TweetDuck.Core.Notification.Example{ sealed class FormNotificationExample : FormNotificationMain{ public override bool RequiresResize => true; protected override bool CanDragWin...
using System.Windows.Forms; using TweetDuck.Plugins; using TweetDuck.Resources; namespace TweetDuck.Core.Notification.Example{ sealed class FormNotificationExample : FormNotificationMain{ public override bool RequiresResize => true; protected override bool CanDragWindow => Program.UserConfig.Notif...
mit
C#
6f4ed3a759eba2d84426ad66698391a0b28cae6e
Add test for kabuto/kabutops
5andr0/PogoLocationFeeder,5andr0/PogoLocationFeeder,genius394/PogoLocationFeeder
PogoLocationFeederTests/Helper/PokemonParserTests.cs
PogoLocationFeederTests/Helper/PokemonParserTests.cs
using Microsoft.VisualStudio.TestTools.UnitTesting; using PogoLocationFeeder; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using POGOProtos.Enums; namespace PogoLocationFeeder.Tests { [TestClass()] public class PokemonParserTests { ...
using Microsoft.VisualStudio.TestTools.UnitTesting; using PogoLocationFeeder; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using POGOProtos.Enums; namespace PogoLocationFeeder.Tests { [TestClass()] public class PokemonParserTests { ...
agpl-3.0
C#
acd4d1fa7e88e700f878f8e55caab4f3103257d6
Remove unused namespaces.
tiesmaster/DCC,tiesmaster/DCC
Dcc/Properties/AssemblyInfo.cs
Dcc/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("Dcc")] [assembly: AssemblyDescription("")...
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("Dc...
mit
C#
c3c91ceca6bdc99a0b3f47149447465fd88fee97
fix CommandOnEnterBehavior not detecting 'enter' key
nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet
WalletWasabi.Gui/Behaviors/CommandOnEnterBehavior.cs
WalletWasabi.Gui/Behaviors/CommandOnEnterBehavior.cs
using Avalonia.Controls; using Avalonia.Interactivity; using System.Reactive.Disposables; namespace WalletWasabi.Gui.Behaviors { public class CommandOnEnterBehavior : CommandBasedBehavior<TextBox> { private CompositeDisposable Disposables { get; set; } protected override void OnAttached() { Disposables = n...
using Avalonia.Controls; using System.Reactive.Disposables; namespace WalletWasabi.Gui.Behaviors { public class CommandOnEnterBehavior : CommandBasedBehavior<TextBox> { private CompositeDisposable Disposables { get; set; } protected override void OnAttached() { Disposables = new CompositeDisposable(); ...
mit
C#
8aebeb6d86a6df3e5dff800d848b6ec31b4053ea
Change to use higher res score image
nissafors/GreenMemory
GreenMemory/PlayerView.xaml.cs
GreenMemory/PlayerView.xaml.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Windows.Med...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Windows.Med...
mit
C#
4d989f40e54eda2fe688e657574e930961587ee4
Bump version 0.1.2
celeron533/KeepOn
KeepOn/Properties/AssemblyInfo.cs
KeepOn/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTi...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTi...
mit
C#
d227cc535f4be8b7cb0f12ac4319710c847b759b
add failing equality test case (see issue #32)
ceee/PocketSharp
PocketSharp.Tests/MiscTests.cs
PocketSharp.Tests/MiscTests.cs
using PocketSharp.Models; using System.Collections.Generic; using System.Threading.Tasks; using Xunit; using System.Linq; namespace PocketSharp.Tests { public class MiscTests : TestsBase { private int Incrementor = 0; public MiscTests() : base() { client.PreRequest = method => Incrementor...
using PocketSharp.Models; using System.Collections.Generic; using System.Threading.Tasks; using Xunit; using System.Linq; namespace PocketSharp.Tests { public class MiscTests : TestsBase { private int Incrementor = 0; public MiscTests() : base() { client.PreRequest = method => Incrementor...
mit
C#
8c0502f120c62b9b7aa6d6769c73b0f8ad9fee35
Add AsAsync and GetResults
paulcbetts/LinqToAwait
LinqToAwait/Operators.cs
LinqToAwait/Operators.cs
using System; using System.Collections.Generic; using System.Linq; using System.Reactive.Linq; using System.Reactive.Threading.Tasks; using System.Reactive.Concurrency; using System.Text; using System.Threading.Tasks; using System.Threading; namespace System.Reactive.Linq.ToAwait { public static class LinqToAwait...
using System; using System.Collections.Generic; using System.Linq; using System.Reactive.Linq; using System.Reactive.Threading.Tasks; using System.Text; using System.Threading.Tasks; namespace System.Reactive.Linq.ToAwait { public static class LinqToAwait { public static IObservable<TRet> SelectAsync<...
mit
C#
cd4393a25ba69f739f960121894da47707f6ae8a
use conditional fact to skip the test only on Linux
OmniSharp/omnisharp-roslyn,OmniSharp/omnisharp-roslyn
tests/OmniSharp.MSBuild.Tests/ProjectWithComplexAnalyzersTests.cs
tests/OmniSharp.MSBuild.Tests/ProjectWithComplexAnalyzersTests.cs
using System.IO; using System.Threading.Tasks; using TestUtility; using Xunit; using Xunit.Abstractions; namespace OmniSharp.MSBuild.Tests { public class ProjectWithComplexAnalyzersTests : AbstractMSBuildTestFixture { public ProjectWithComplexAnalyzersTests(ITestOutputHelper output) : base(output) ...
using System.IO; using System.Threading.Tasks; using TestUtility; using Xunit; using Xunit.Abstractions; namespace OmniSharp.MSBuild.Tests { public class ProjectWithComplexAnalyzersTests : AbstractMSBuildTestFixture { public ProjectWithComplexAnalyzersTests(ITestOutputHelper output) : base(output) ...
mit
C#
a487b7a4a09fb1da51ff93770503ceca8d4c94fc
remove validation for uppercases in indexnames, aliases are still allowed to have uppercase in them (#2520)
elastic/elasticsearch-net,CSGOpenSource/elasticsearch-net,elastic/elasticsearch-net,CSGOpenSource/elasticsearch-net,adam-mccoy/elasticsearch-net,adam-mccoy/elasticsearch-net,CSGOpenSource/elasticsearch-net,adam-mccoy/elasticsearch-net
src/Nest/CommonAbstractions/Infer/IndexName/IndexNameResolver.cs
src/Nest/CommonAbstractions/Infer/IndexName/IndexNameResolver.cs
using Elasticsearch.Net; using System; namespace Nest { public class IndexNameResolver { private readonly IConnectionSettingsValues _connectionSettings; public IndexNameResolver(IConnectionSettingsValues connectionSettings) { connectionSettings.ThrowIfNull(nameof(connectionSettings)); this._connectionS...
using Elasticsearch.Net; using System; namespace Nest { public class IndexNameResolver { private readonly IConnectionSettingsValues _connectionSettings; public IndexNameResolver(IConnectionSettingsValues connectionSettings) { connectionSettings.ThrowIfNull(nameof(connectionSettings)); this._connectionS...
apache-2.0
C#
7d94498c5dc22b7008a1461630bbc689eed29d51
Allow `params` completion in lambdas
CyrusNajmabadi/roslyn,dotnet/roslyn,mavasani/roslyn,mavasani/roslyn,dotnet/roslyn,mavasani/roslyn,CyrusNajmabadi/roslyn,dotnet/roslyn,CyrusNajmabadi/roslyn
src/Features/CSharp/Portable/Completion/KeywordRecommenders/ParamsKeywordRecommender.cs
src/Features/CSharp/Portable/Completion/KeywordRecommenders/ParamsKeywordRecommender.cs
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System.Threading; using Microsoft.CodeAnalysis.CSharp.Extensions.ContextQuery; namespace Microsoft.CodeAnaly...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System.Threading; using Microsoft.CodeAnalysis.CSharp.Extensions.ContextQuery; namespace Microsoft.CodeAnaly...
mit
C#
1d08fde43fd4dd8a2b902db77f1f3880ff4cd8a9
Fix build
dotnet/roslyn,dotnet/roslyn,dotnet/roslyn
src/Features/CSharp/Portable/Completion/KeywordRecommenders/ScopedKeywordRecommender.cs
src/Features/CSharp/Portable/Completion/KeywordRecommenders/ScopedKeywordRecommender.cs
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System.Threading; using Microsoft.CodeAnalysis.CSharp.Extensions.ContextQuery; using System.Collections.Gener...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System.Threading; using Microsoft.CodeAnalysis.CSharp.Extensions.ContextQuery; using System.Collections.Gener...
mit
C#
bbb0e71ef4a78e5852e3d063928fd5011f0ff0ae
Add main loop
gamesharp/GameSharp
Source/GameSharp/Game.cs
Source/GameSharp/Game.cs
using System; namespace GameSharp { public class Game { bool isExiting = false; public void Exit() { isExiting = true; } public void Run() { while (!isExiting) { Console.WriteLine("Press Esc"); ...
namespace GameSharp { public class Game { public void Run() { System.Console.WriteLine("Hello World"); System.Console.ReadKey(); } } }
bsd-3-clause
C#
f05392e17aa371748a333658867504362cec3aef
Fix crash when editing query parameters and one has a null value
solarwinds/OrionSDK
Src/SwqlStudio/QueryParameters.cs
Src/SwqlStudio/QueryParameters.cs
using System.ComponentModel; using System.Linq; using System.Windows.Forms; using SolarWinds.InformationService.Contract2; namespace SwqlStudio { public partial class QueryParameters : Form { public QueryParameters(PropertyBag queryParameters) { InitializeComponent(); P...
using System.ComponentModel; using System.Linq; using System.Windows.Forms; using SolarWinds.InformationService.Contract2; namespace SwqlStudio { public partial class QueryParameters : Form { public QueryParameters(PropertyBag queryParameters) { InitializeComponent(); P...
apache-2.0
C#
4ee220d8ba7413c117c681c8eb79e2dff3e13e9d
Bump version.
yojimbo87/ArangoDB-NET,kangkot/ArangoDB-NET
src/Arango/Arango.Client/API/ArangoClient.cs
src/Arango/Arango.Client/API/ArangoClient.cs
using System.Collections.Generic; using System.Linq; using Arango.Client.Protocol; namespace Arango.Client { public static class ArangoClient { private static List<Connection> _connections = new List<Connection>(); public static string DriverName { get { return ...
using System.Collections.Generic; using System.Linq; using Arango.Client.Protocol; namespace Arango.Client { public static class ArangoClient { private static List<Connection> _connections = new List<Connection>(); public static string DriverName { get { return ...
mit
C#
7c7b97a6215e028fad48cd8aa087823461f40a8f
Set Tentacle Instance Name variable
merbla/Calamari,NoesisLabs/Calamari,NoesisLabs/Calamari,allansson/Calamari,allansson/Calamari,merbla/Calamari
source/Calamari/Integration/Processes/VariableDictionaryExtensions.cs
source/Calamari/Integration/Processes/VariableDictionaryExtensions.cs
using System; using Calamari.Deployment; using Octostache; namespace Calamari.Integration.Processes { public static class VariableDictionaryExtensions { public static void EnrichWithEnvironmentVariables(this VariableDictionary variables) { var environmentVariables = Environment.GetE...
using System; using Octostache; namespace Calamari.Integration.Processes { public static class VariableDictionaryExtensions { public static void EnrichWithEnvironmentVariables(this VariableDictionary variables) { var environmentVariables = Environment.GetEnvironmentVariables(); ...
apache-2.0
C#
c8099bd21f716171b41f7462a2c9f969840694a6
Fix field declaration
wieslawsoltes/Draw2D,wieslawsoltes/Draw2D,wieslawsoltes/Draw2D
src/PathDemo/Controls/Renderer/LineHelper.cs
src/PathDemo/Controls/Renderer/LineHelper.cs
using System.Windows.Media; using Draw2D.Models.Shapes; namespace PathDemo.Controls { public class CommonHelper { public static EllipseShape Ellipse = new EllipseShape(new PointShape(-4, -4, null), new PointShape(4, 4, null)) { Style = new DrawStyle(new DrawColor(255, 255, 255, 0),...
using System.Windows.Media; using Draw2D.Models.Shapes; namespace PathDemo.Controls { public class CommonHelper { public static Ellipse = new EllipseShape(new PointShape(-4, -4, null), new PointShape(4, 4, null)) { Style = new DrawStyle(new DrawColor(255, 255, 255, 0), new DrawColo...
mit
C#
019090d521ca427843ddc50ed1cd7b3092a41d25
Update AppSettingProvider.cs
aspnetboilerplate/module-zero-core-template,aspnetboilerplate/module-zero-core-template,aspnetboilerplate/module-zero-core-template,aspnetboilerplate/module-zero-core-template,aspnetboilerplate/module-zero-core-template
aspnet-core/src/AbpCompanyName.AbpProjectName.Core/Configuration/AppSettingProvider.cs
aspnet-core/src/AbpCompanyName.AbpProjectName.Core/Configuration/AppSettingProvider.cs
using System.Collections.Generic; using Abp.Configuration; namespace AbpCompanyName.AbpProjectName.Configuration { public class AppSettingProvider : SettingProvider { public override IEnumerable<SettingDefinition> GetSettingDefinitions(SettingDefinitionProviderContext context) { re...
using System.Collections.Generic; using Abp.Configuration; namespace AbpCompanyName.AbpProjectName.Configuration { public class AppSettingProvider : SettingProvider { public override IEnumerable<SettingDefinition> GetSettingDefinitions(SettingDefinitionProviderContext context) { re...
mit
C#
352edcd7fe08e7efd77ce9e8c9a4f1dc5519092b
Remove configuration from AddDirectoryBrowser
aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore
src/Microsoft.AspNet.StaticFiles/DirectoryBrowserServiceExtensions.cs
src/Microsoft.AspNet.StaticFiles/DirectoryBrowserServiceExtensions.cs
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using Microsoft.Framework.Internal; using Microsoft.AspNet.StaticFiles; namespace Microsoft.Framework.DependencyInjection { /// <s...
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using Microsoft.Framework.ConfigurationModel; using Microsoft.Framework.Internal; namespace Microsoft.Framework.DependencyInjection { ...
apache-2.0
C#
d5abc662b7b38a6926957c01786b45d55ed6257f
add redirect support
0xFireball/KQAnalytics3,0xFireball/KQAnalytics3,0xFireball/KQAnalytics3
KQAnalytics3/src/KQAnalytics3/Modules/DataCollectEndpointModule.cs
KQAnalytics3/src/KQAnalytics3/Modules/DataCollectEndpointModule.cs
using KQAnalytics3.Data; using Nancy; using System; namespace KQAnalytics3.Modules { public class DataCollectEndpointModule : NancyModule { public DataCollectEndpointModule() { var processData = new Func<dynamic, object>(args => { return "0"; ...
using KQAnalytics3.Data; using Nancy; using System; namespace KQAnalytics3.Modules { public class DataCollectEndpointModule : NancyModule { public DataCollectEndpointModule() { var processData = new Func<dynamic, object>(args => { return "0"; ...
agpl-3.0
C#
b00cf701cedc3062789633fe5c3860d7f73ba660
Update Start.cs
DYanis/UniversalNumeralSystems
ConvertorFromDecimalToBaseNumeralSystem/ConvertorFromDecimalToBaseNumeralSystem/Start.cs
ConvertorFromDecimalToBaseNumeralSystem/ConvertorFromDecimalToBaseNumeralSystem/Start.cs
using System; using System.Collections.Generic; using System.Linq; internal class Start { internal static void Main() { // Add numeral system keys. List<string> keys = new List<string>(); keys.Add("ZZZ0"); // 0 keys.Add("ZZZ1"); // 1 keys.Add("ZZZ2"); // 2 keys....
using System; using System.Collections.Generic; using System.Linq; internal class Start { internal static void Main() { // Add numeral system keys. List<string> keys = new List<string>(); keys.Add("ZZZ0"); // 1 keys.Add("ZZZ1"); // 2 keys.Add("ZZZ2"); // 3 keys....
mit
C#
aa501aa85918d6443890c75e511b13e553cc72b8
rename Send to SendAsync and make it an async function refactor: make all Send functions async fix: use semaphore in "request response protocol" to avoid starting a new request while still waiting for an answer to a previous request
ahessling/ActiveLoad,ahessling/ActiveLoad,ahessling/ActiveLoad
Software/ActiveLoadTool/ActiveLoadProtocol/ASCIIRequestResponse.cs
Software/ActiveLoadTool/ActiveLoadProtocol/ASCIIRequestResponse.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; namespace ActiveLoadProtocol { class ASCIIRequestResponse { IASCIIReadWrite readWriteInterface; SemaphoreSlim semRequest; /// <summary> /...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ActiveLoadProtocol { class ASCIIRequestResponse { IASCIIReadWrite readWriteInterface; /// <summary> /// End every line with this string. Use this suffix also a...
mit
C#
8c65e12d7a9e1030984f1bd41aff514de5cee90b
remove download file
tsubaki/UnityZip,tsubaki/UnityZip,tsubaki/UnityZip
Assets/Sample/UnzipAndRead.cs
Assets/Sample/UnzipAndRead.cs
using UnityEngine; using System.Collections; using System.IO; public class UnzipAndRead : MonoBehaviour { void OnGUI() { if( GUI.Button(new Rect(0, 0, 100, 100), "load") ) { StartCoroutine(Load()); } } IEnumerator Load() { string zipPath = Application.temporaryCachePath + "/tempZip.zip"; string e...
using UnityEngine; using System.Collections; using System.IO; public class UnzipAndRead : MonoBehaviour { void OnGUI() { if( GUI.Button(new Rect(0, 0, 100, 100), "load") ) { StartCoroutine(Load()); } } IEnumerator Load() { WWW www = new WWW("https://dl.dropboxusercontent.com/u/56297224/twitter_icon...
mit
C#
54a01475c4a7c151e658d85b8dd7ac4318bebd3c
Update help with correct name
wbsimms/JenkinsTitleUpdater
src/JenkinsTitleUpdater/Program.cs
src/JenkinsTitleUpdater/Program.cs
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; using HtmlAgilityPack; namespace JenkinsTitleUpdater { class Program { static int Main(string[] args) { if (args.Length == 0) { Usage(); return -1; } HtmlDocu...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; using HtmlAgilityPack; namespace JenkinsTitleUpdater { class Program { static int Main(string[] args) { if (args.Length == 0) { Usage(); return -1; } HtmlDocu...
mit
C#
a2235f1f292d13f6952560d56018092548072490
Add FilterTreeDragDropArgs
grantcolley/wpfcontrols
DevelopmentInProgress.WPFControls/FilterTree/FilterTreeDragDropArgs.cs
DevelopmentInProgress.WPFControls/FilterTree/FilterTreeDragDropArgs.cs
//----------------------------------------------------------------------- // <copyright file="FilterTreeDragDropArgs.cs" company="Development In Progress Ltd"> // Copyright © Development In Progress Ltd 2015. All rights reserved. // </copyright> //-------------------------------------------------------------------...
namespace DevelopmentInProgress.WPFControls.FilterTree { public class FilterTreeDragDropArgs { public FilterTreeDragDropArgs(object dragItem, object dropTarget) { DragItem = dragItem; DropTarget = dropTarget; } public object DragItem { get; private set; ...
apache-2.0
C#
4a00a6d6250615c91f77ed7335001a8c1eb2d361
Update version.
logjam2/logjam,logjam2/logjam
build/Version.cs
build/Version.cs
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="Version.cs"> // Copyright (c) 2011-2014 logjam.codeplex.com. // </copyright> // Licensed under the <a href="http://logjam.codeplex.com/license">Apache License, Version 2.0</a>; /...
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="Version.cs"> // Copyright (c) 2011-2014 logjam.codeplex.com. // </copyright> // Licensed under the <a href="http://logjam.codeplex.com/license">Apache License, Version 2.0</a>; /...
apache-2.0
C#
8c2760fc94ab77785e5939562000357d72c29be1
Update route.
mdavid/manos-spdy,jacksonh/manos,jacksonh/manos,jmptrader/manos,mdavid/manos-spdy,jacksonh/manos,jmptrader/manos,mdavid/manos-spdy,jacksonh/manos,jacksonh/manos,jacksonh/manos,jacksonh/manos,jmptrader/manos,jacksonh/manos,jmptrader/manos,mdavid/manos-spdy,mdavid/manos-spdy,jmptrader/manos,mdavid/manos-spdy,jmptrader/ma...
data/layouts/default/StaticContentModule.cs
data/layouts/default/StaticContentModule.cs
using System; using System.IO; using Manos; // // This the default StaticContentModule that comes with all Manos apps // if you do not wish to serve any static content with Manos you can // remove its route handler from <YourApp>.cs's constructor and delete // this file. // // All Content placed on the Conten...
using System; using System.IO; using Manos; // // This the default StaticContentModule that comes with all Manos apps // if you do not wish to serve any static content with Manos you can // remove its route handler from <YourApp>.cs's constructor and delete // this file. // // All Content placed on the Conten...
mit
C#
fc22f82d7e6c511bd5f80fed4fabcc23d8cd680f
Update XML doc comment
ilkerhalil/dnlib,Arthur2e5/dnlib,kiootic/dnlib,jorik041/dnlib,ZixiangBoy/dnlib,modulexcite/dnlib,picrap/dnlib,yck1509/dnlib,0xd4d/dnlib
src/DotNet/Writer/IChunk.cs
src/DotNet/Writer/IChunk.cs
using System.IO; using dot10.IO; using dot10.PE; namespace dot10.DotNet.Writer { /// <summary> /// Data that gets written to the file /// </summary> interface IChunk { /// <summary> /// Gets the file offset. This is valid only after <see cref="SetOffset"/> has been called. /// </summary> FileOffset FileOf...
using System.IO; using dot10.IO; using dot10.PE; namespace dot10.DotNet.Writer { /// <summary> /// Data that gets written to the file /// </summary> interface IChunk { /// <summary> /// Gets the file offset. This is valid only after <see cref="SetOffset"/> has been called. /// </summary> FileOffset FileOf...
mit
C#
0fbced7e339dc79fc96411ad4a25f316f59a0a84
Increment version in AssemblyInfo.cs as well
tlekan/auth0.net,jerriep/auth0.net,auth0/auth0.net,advancedrei/auth0.net,vraposo/auth0.net,jerriep/auth0.net,auth0/auth0.net,jerriep/auth0.net
Auth0.Net/Properties/AssemblyInfo.cs
Auth0.Net/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTi...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTi...
mit
C#
7504ddedb3e302bb408f198c0861ec2af4c4571a
Update imports.cake
SharpeRAD/Cake.Powershell,SharpeRAD/Cake.Powershell
build/scripts/imports.cake
build/scripts/imports.cake
////////////////////////////////////////////////////////////////////// // IMPORTS ////////////////////////////////////////////////////////////////////// #addin nuget:?package=Cake.AWS.S3 #addin nuget:?package=Cake.FileHelpers #addin nuget:?package=Cake.Slack //////////////////////////////////////////////////////...
////////////////////////////////////////////////////////////////////// // IMPORTS ////////////////////////////////////////////////////////////////////// #addin nuget:?package=Cake.AWS.S3 #addin nuget:?package=Cake.FileHelpers #addin nuget:?package=Cake.Slack #tool nuget:?package=ReportUnit /////////////////////...
mit
C#
15c88ba1f00c5b6ffdc25c3b29d99e536724421d
Fix error in comment (should have been NavStateChanged)
windygu/CefSharp,twxstar/CefSharp,haozhouxu/CefSharp,joshvera/CefSharp,Livit/CefSharp,dga711/CefSharp,windygu/CefSharp,haozhouxu/CefSharp,ITGlobal/CefSharp,twxstar/CefSharp,wangzheng888520/CefSharp,illfang/CefSharp,zhangjingpu/CefSharp,VioletLife/CefSharp,haozhouxu/CefSharp,jamespearce2006/CefSharp,ITGlobal/CefSharp,rl...
CefSharp/NavStateChangedEventArgs.cs
CefSharp/NavStateChangedEventArgs.cs
using System; namespace CefSharp { /// <summary> /// Event arguments to the NavStateChanged event handler set up in IWebBrowser. /// </summary> public class NavStateChangedEventArgs : EventArgs { public bool CanGoForward { get; private set; } public bool CanGoBack { get; private se...
using System; namespace CefSharp { /// <summary> /// Event arguments to the LoadCompleted event handler set up in IWebBrowser. /// </summary> public class NavStateChangedEventArgs : EventArgs { public bool CanGoForward { get; private set; } public bool CanGoBack { get; private set;...
bsd-3-clause
C#
02b07263382a4111fe5a5ba750f6099692539055
Update Format.cs
LassieME/Discord.Net,Confruggy/Discord.Net,RogueException/Discord.Net,AntiTcb/Discord.Net
src/Discord.Net.Core/Format.cs
src/Discord.Net.Core/Format.cs
namespace Discord { public static class Format { // Characters which need escaping private static string[] SensitiveCharacters = { "\\", "*", "_", "~", "`" }; /// <summary> Returns a markdown-formatted string with bold formatting. </summary> public static string Bold(string tex...
namespace Discord { public static class Format { // Characters which need escaping private static string[] SensitiveCharacters = { "\\", "*", "_", "~", "`", }; /// <summary> Returns a markdown-formatted string with bold formatting. </summary> public static string Bold(string t...
mit
C#
3d13fb6935f40e5bda7150f4c66be639e74aa864
Implement Atreyu fees (#5674)
AlexCatarino/Lean,jameschch/Lean,StefanoRaggi/Lean,QuantConnect/Lean,JKarathiya/Lean,QuantConnect/Lean,jameschch/Lean,jameschch/Lean,QuantConnect/Lean,StefanoRaggi/Lean,jameschch/Lean,JKarathiya/Lean,StefanoRaggi/Lean,AlexCatarino/Lean,AlexCatarino/Lean,StefanoRaggi/Lean,jameschch/Lean,JKarathiya/Lean,StefanoRaggi/Lean...
Common/Orders/Fees/AtreyuFeeModel.cs
Common/Orders/Fees/AtreyuFeeModel.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#
6337e492651a61e9777ba9ce77ed50f80fd3eb38
Send button only enabled when text is entered
Sankra/DIRC,Sankra/DIRC
DIRC/ViewModels/MessagesViewModel.cs
DIRC/ViewModels/MessagesViewModel.cs
using System; using System.ComponentModel; using System.Runtime.CompilerServices; using Xamarin.Forms; using System.Collections.ObjectModel; using DIRC.IRC; using System.Threading.Tasks; using DIRC.View; namespace DIRC.ViewModels { public class MessagesViewModel : ViewModelBase { readonly string userName; readon...
using System; using System.ComponentModel; using System.Runtime.CompilerServices; using Xamarin.Forms; using System.Collections.ObjectModel; using DIRC.IRC; using System.Threading.Tasks; using DIRC.View; namespace DIRC.ViewModels { public class MessagesViewModel : ViewModelBase { readonly string userName; readon...
mit
C#
77547274be96eacd65fbe2567089edbf6aefb1b0
rename test
hitesh97/xbehave.net,adamralph/xbehave.net,modulexcite/xbehave.net,xbehave/xbehave.net,mvalipour/xbehave.net,hitesh97/xbehave.net,modulexcite/xbehave.net,mvalipour/xbehave.net
src/test/Xbehave.Specifications.Net40/StringExtensionsSpecifications.cs
src/test/Xbehave.Specifications.Net40/StringExtensionsSpecifications.cs
// <copyright file="StringExtensionsSpecifications.cs" company="xBehave.net contributors"> // Copyright (c) xBehave.net contributors. All rights reserved. // </copyright> namespace Xbehave.Test.Unit { using System; using FluentAssertions; using Xbehave; using Xbehave.Fluent; public cl...
// <copyright file="StringExtensionsSpecifications.cs" company="xBehave.net contributors"> // Copyright (c) xBehave.net contributors. All rights reserved. // </copyright> namespace Xbehave.Test.Unit { using System; using FluentAssertions; using Xbehave; using Xbehave.Fluent; public cl...
mit
C#
a2d7295717bc5d4796aebe17962a0896f14b4c41
Update Interop.Version.cs
ektrah/nsec
src/Interop/Interop.Version.cs
src/Interop/Interop.Version.cs
using System; using System.Runtime.InteropServices; internal static partial class Interop { internal static partial class Libsodium { internal const int SODIUM_LIBRARY_VERSION_MAJOR = 10; internal const int SODIUM_LIBRARY_VERSION_MINOR = 2; [DllImport(Libraries.Libsodium, CallingConven...
using System; using System.Runtime.InteropServices; internal static partial class Interop { internal static partial class Libsodium { internal const int SODIUM_LIBRARY_VERSION_MAJOR = 10; internal const int SODIUM_LIBRARY_VERSION_MINOR = 1; [DllImport(Libraries.Libsodium, CallingConven...
mit
C#
126424f42322a5f7614882a7c6cf8e53a2ac3591
Revert "Non awaited task in GraphQL DataLoaderExtensions (#11536)" (#11548)
stevetayloruk/Orchard2,stevetayloruk/Orchard2,stevetayloruk/Orchard2,stevetayloruk/Orchard2,stevetayloruk/Orchard2
src/OrchardCore/OrchardCore.Apis.GraphQL.Abstractions/Extensions/DataLoaderExtensions.cs
src/OrchardCore/OrchardCore.Apis.GraphQL.Abstractions/Extensions/DataLoaderExtensions.cs
using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using GraphQL.DataLoader; namespace OrchardCore.Apis.GraphQL { public static class DataLoaderExtensions { public static Task<T[]> LoadAsync<TKey, T>(this IDataLoader<TKey, T> dataLoader, IEnumerable<TKey> keys) {...
using System.Collections.Generic; using System.Threading.Tasks; using GraphQL.DataLoader; namespace OrchardCore.Apis.GraphQL { public static class DataLoaderExtensions { public static Task<T[]> LoadAsync<TKey, T>(this IDataLoader<TKey, T> dataLoader, IEnumerable<TKey> keys) { var ta...
bsd-3-clause
C#
037cf5f3b79dd9d1af895d84dea0be30bf94ebdf
Add static ExceptionDispatchInfo.Throw method (#3115)
tijoytom/corert,tijoytom/corert,gregkalapos/corert,gregkalapos/corert,botaberg/corert,shrah/corert,botaberg/corert,tijoytom/corert,yizhang82/corert,shrah/corert,gregkalapos/corert,yizhang82/corert,shrah/corert,krytarowski/corert,shrah/corert,gregkalapos/corert,tijoytom/corert,krytarowski/corert,krytarowski/corert,yizha...
src/System.Private.CoreLib/src/System/Runtime/ExceptionServices/ExceptionDispatchInfo.cs
src/System.Private.CoreLib/src/System/Runtime/ExceptionServices/ExceptionDispatchInfo.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; namespace System.Runtime.ExceptionServices { // This class defines support for seperating the exc...
// 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; namespace System.Runtime.ExceptionServices { // This class defines support for seperating the exc...
mit
C#
d5915f2801d888997b9e0cf1daf666e42afeb357
clone should have same parent as this sql query
volkanceylan/Serenity,WasimAhmad/Serenity,dfaruque/Serenity,rolembergfilho/Serenity,WasimAhmad/Serenity,rolembergfilho/Serenity,volkanceylan/Serenity,dfaruque/Serenity,rolembergfilho/Serenity,volkanceylan/Serenity,volkanceylan/Serenity,rolembergfilho/Serenity,dfaruque/Serenity,WasimAhmad/Serenity,WasimAhmad/Serenity,df...
Serenity.Data/FluentSql/SqlQuery_Clone.cs
Serenity.Data/FluentSql/SqlQuery_Clone.cs
namespace Serenity.Data { using System.Collections.Generic; using System.Text; using Dictionary = System.Collections.Generic.Dictionary<string, object>; public partial class SqlQuery { /// <summary> /// Creates a clone of the query. /// </summary> /// <re...
namespace Serenity.Data { using System.Collections.Generic; using System.Text; using Dictionary = System.Collections.Generic.Dictionary<string, object>; public partial class SqlQuery { /// <summary> /// Creates a clone of the query. /// </summary> /// <re...
mit
C#
93c02b43371023988efc49462df2547bdf80aa02
add some decent magic to make RuleSet inject dependencies into the Rule methods when a resolver is given
pragmatrix/Rulez
Rulez/RuleSet.cs
Rulez/RuleSet.cs
using System; using System.Collections.Generic; using System.Reflection; namespace Rulez { public class RuleSet : IDisposable { readonly List<IDisposable> _rules = new List<IDisposable>(); public RuleSet(Func<Type, object> resolver_ = null) { var t = GetType(); var methods = t.GetMethods(B...
using System; using System.Collections.Generic; using System.Reflection; namespace Rulez { public class RuleSet : IDisposable { readonly List<IDisposable> _rules = new List<IDisposable>(); public RuleSet() { var t = GetType(); var methods = t.GetMethods(BindingFlags.NonPublic | BindingFlag...
bsd-3-clause
C#
c128ea7b7beaf6f19de30171ac4dc6de2e31224c
Remove it
2Toad/websocket-sharp,sta/websocket-sharp,sta/websocket-sharp,sta/websocket-sharp,jogibear9988/websocket-sharp,sta/websocket-sharp,2Toad/websocket-sharp,jogibear9988/websocket-sharp,jogibear9988/websocket-sharp,2Toad/websocket-sharp,jogibear9988/websocket-sharp,2Toad/websocket-sharp
websocket-sharp/Net/AuthenticationSchemes.cs
websocket-sharp/Net/AuthenticationSchemes.cs
#region License /* * AuthenticationSchemes.cs * * This code is derived from AuthenticationSchemes.cs (System.Net) of Mono * (http://www.mono-project.com). * * The MIT License * * Copyright (c) 2005 Novell, Inc. (http://www.novell.com) * Copyright (c) 2012-2016 sta.blockhead * * Permission is hereby granted, ...
#region License /* * AuthenticationSchemes.cs * * This code is derived from AuthenticationSchemes.cs (System.Net) of Mono * (http://www.mono-project.com). * * The MIT License * * Copyright (c) 2005 Novell, Inc. (http://www.novell.com) * Copyright (c) 2012-2016 sta.blockhead * * Permission is hereby granted, ...
mit
C#
41ec6df65371406405de1ce4df05f783a920d736
correct url with query
FacturAPI/facturapi-net
facturapi-net/Router/Router.cs
facturapi-net/Router/Router.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Net.Http; using Newtonsoft.Json; namespace Facturapi { internal static partial class Router { private static string UriWithQuery(string path, Dictionary<string, object> quer...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Net.Http; using Newtonsoft.Json; namespace Facturapi { internal static partial class Router { private static string UriWithQuery(string path, Dictionary<string, object> quer...
mit
C#
14ac84f8f234a53b5c4ca7be21126e7b81404bf4
use CopyTo() instead
thedevopsmachine/aws-lambda-dotnet,thedevopsmachine/aws-lambda-dotnet,thedevopsmachine/aws-lambda-dotnet,thedevopsmachine/aws-lambda-dotnet
Libraries/src/Amazon.Lambda.CloudWatchLogsEvents/CloudWatchLogsEvents.cs
Libraries/src/Amazon.Lambda.CloudWatchLogsEvents/CloudWatchLogsEvents.cs
namespace Amazon.Lambda.CloudWatchLogsEvents { using System; using System.Collections.Generic; using System.IO; using System.IO.Compression; using System.Runtime.Serialization; using System.Text; /// <summary> /// AWS CloudWatch Logs event /// http://docs.aws.amazon.com/AmazonCloudW...
namespace Amazon.Lambda.CloudWatchLogsEvents { using System; using System.Collections.Generic; using System.IO; using System.IO.Compression; using System.Runtime.Serialization; using System.Text; /// <summary> /// AWS CloudWatch Logs event /// http://docs.aws.amazon.com/AmazonCloudW...
apache-2.0
C#
7113dc68053c0a6508759cfc8342b0698b698b6d
Fix Neptune AspNet config.
ExRam/ExRam.Gremlinq
src/ExRam.Gremlinq.Providers.Neptune.AspNet/GremlinqSetupExtensions.cs
src/ExRam.Gremlinq.Providers.Neptune.AspNet/GremlinqSetupExtensions.cs
using System; using ExRam.Gremlinq.Providers.Neptune; namespace ExRam.Gremlinq.Core.AspNet { public static class GremlinqSetupExtensions { public static GremlinqSetup UseNeptune(this GremlinqSetup setup) { return setup .UseProvider<INeptuneConfigurator>( ...
using System; using ExRam.Gremlinq.Providers.Neptune; namespace ExRam.Gremlinq.Core.AspNet { public static class GremlinqSetupExtensions { public static GremlinqSetup UseNeptune(this GremlinqSetup setup) { return setup .UseProvider<INeptuneConfigurator>( ...
mit
C#
c0708a59c35bf2520f53bdf60fe9c78bedcba80c
Enable SourceLink in build
valadas/Dnn.Platform,valadas/Dnn.Platform,dnnsoftware/Dnn.Platform,dnnsoftware/Dnn.Platform,nvisionative/Dnn.Platform,dnnsoftware/Dnn.Platform,mitchelsellers/Dnn.Platform,valadas/Dnn.Platform,bdukes/Dnn.Platform,valadas/Dnn.Platform,bdukes/Dnn.Platform,mitchelsellers/Dnn.Platform,mitchelsellers/Dnn.Platform,mitchelsell...
Build/Cake/compiling.cs
Build/Cake/compiling.cs
// This tasks kicks off MS Build (just as in Visual Studio) using Cake.Common.Tools.MSBuild; using Cake.Common.Tools.NuGet; using Cake.Frosting; [Dependency(typeof(CleanWebsite))] [Dependency(typeof(RestoreNuGetPackages))] public sealed class Build : FrostingTask<Context> { public override void Run(Context conte...
// This tasks kicks off MS Build (just as in Visual Studio) using Cake.Common.Tools.MSBuild; using Cake.Common.Tools.NuGet; using Cake.Frosting; [Dependency(typeof(CleanWebsite))] [Dependency(typeof(RestoreNuGetPackages))] public sealed class Build : FrostingTask<Context> { public override void Run(Context conte...
mit
C#
b14d453c7a026efdc6aef0d92a1925e88a71b5ed
Save Null
jefking/King.Service
King.Azure.BackgroundWorker.Tests/Data/StorageQueueTests.cs
King.Azure.BackgroundWorker.Tests/Data/StorageQueueTests.cs
namespace King.Azure.BackgroundWorker.Tests.Data { using King.Azure.BackgroundWorker.Data; using NUnit.Framework; using System; using System.Threading.Tasks; [TestFixture] public class StorageQueueTests { private const string ConnectionString = "UseDevelopmentStorage=true;"; ...
namespace King.Azure.BackgroundWorker.Tests.Data { using King.Azure.BackgroundWorker.Data; using NUnit.Framework; using System; using System.Threading.Tasks; [TestFixture] public class StorageQueueTests { private const string ConnectionString = "UseDevelopmentStorage=true;"; ...
mit
C#
713f963a3aa080025bf66d66de0bb5943464a8b2
Fix error message when trying to complete a loop/trigger that isn't started.
Damnae/storybrew
common/Storyboarding/Display/AnimatedValueBuilder.cs
common/Storyboarding/Display/AnimatedValueBuilder.cs
using System; using StorybrewCommon.Storyboarding.Commands; using StorybrewCommon.Storyboarding.CommandValues; namespace StorybrewCommon.Storyboarding.Display { public class AnimatedValueBuilder<TValue> : IAnimatedValueBuilder where TValue : CommandValue { private AnimatedValue<TValue> value; ...
using System; using StorybrewCommon.Storyboarding.Commands; using StorybrewCommon.Storyboarding.CommandValues; namespace StorybrewCommon.Storyboarding.Display { public class AnimatedValueBuilder<TValue> : IAnimatedValueBuilder where TValue : CommandValue { private AnimatedValue<TValue> value; ...
mit
C#
00fe47369ab9078164a0131ac24f3021cc140059
Remove unneeded keywords
StevenThuriot/Horizon-Project
Horizon.Public.cs
Horizon.Public.cs
#region License // // Copyright 2015 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 ap...
#region License // // Copyright 2015 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 ap...
mit
C#
0b12c5f1a0ac5f48ca2cee1cd546e93c7799c378
Add function for configuring settings
lucasbrendel/Badger
Badger/Views/MainView.xaml.cs
Badger/Views/MainView.xaml.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Imaging;...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Imaging;...
mit
C#
c4dd6215dd41f80ae58f29a8f72877d141b7d689
Make AuditingStore.SaveAsync virtual.
aspnetboilerplate/module-zero,abdllhbyrktr/module-zero,ilyhacker/module-zero
src/Abp.Zero.Common/Auditing/AuditingStore.cs
src/Abp.Zero.Common/Auditing/AuditingStore.cs
using System.Threading.Tasks; using Abp.Dependency; using Abp.Domain.Repositories; namespace Abp.Auditing { /// <summary> /// Implements <see cref="IAuditingStore"/> to save auditing informations to database. /// </summary> public class AuditingStore : IAuditingStore, ITransientDependency { ...
using System.Threading.Tasks; using Abp.Dependency; using Abp.Domain.Repositories; namespace Abp.Auditing { /// <summary> /// Implements <see cref="IAuditingStore"/> to save auditing informations to database. /// </summary> public class AuditingStore : IAuditingStore, ITransientDependency { ...
mit
C#
e6e10b1f1edc25aa1a557ca9549402ff47075ee6
fix to StubTransport that makes error handling ST specs work again
JasperFx/jasper,JasperFx/jasper,JasperFx/jasper
src/Jasper/Bus/Transports/Stub/StubChannel.cs
src/Jasper/Bus/Transports/Stub/StubChannel.cs
using System; using System.Collections.Generic; using System.Threading.Tasks; using Jasper.Bus.Runtime; using Jasper.Bus.Runtime.Invocation; using Jasper.Bus.Transports.Sending; using Jasper.Bus.WorkerQueues; namespace Jasper.Bus.Transports.Stub { public class StubChannel : ISendingAgent, IDisposable { ...
using System; using System.Collections.Generic; using System.Threading.Tasks; using Jasper.Bus.Runtime; using Jasper.Bus.Runtime.Invocation; using Jasper.Bus.Transports.Sending; using Jasper.Bus.WorkerQueues; namespace Jasper.Bus.Transports.Stub { public class StubChannel : ISendingAgent, IDisposable { ...
mit
C#
99bdddfffbb5e1f481655406f647de1c84c04563
Update addin version to 0.5
mrward/typescript-addin,mrward/typescript-addin
src/TypeScriptBinding/Properties/AddinInfo.cs
src/TypeScriptBinding/Properties/AddinInfo.cs
 using System; using Mono.Addins; using Mono.Addins.Description; [assembly:Addin ("TypeScript", Namespace = "MonoDevelop", Version = "0.5", Category = "Web Development")] [assembly:AddinName ("TypeScript")] [assembly:AddinDescription ("Adds TypeScript support. Updated to use TypeScript 1.4")] [assembly:AddinDepe...
 using System; using Mono.Addins; using Mono.Addins.Description; [assembly:Addin ("TypeScript", Namespace = "MonoDevelop", Version = "0.4", Category = "Web Development")] [assembly:AddinName ("TypeScript")] [assembly:AddinDescription ("Adds TypeScript support. Updated to use TypeScript 1.4")] [assembly:AddinDepe...
mit
C#
24a27b4f7114cbf10cc6759681efe62c921af8a0
Change Initialize method to be parameterless.
Leon-O/Elmah.SqlServer.EFInitializer,jamiehumphries/Elmah.SqlServer.EFInitializer,jamiehumphries/Elmah.SqlServer.EFInitializer
Elmah.SqlServer.EFInitializer/ElmahContext.cs
Elmah.SqlServer.EFInitializer/ElmahContext.cs
namespace Elmah.SqlServer.EFInitializer { using System; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Data.Entity; public class ElmahContext : DbContext { private ElmahContext(string nameOrConnectionString) : base(...
namespace Elmah.SqlServer.EFInitializer { using System; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Data.Entity; public class ElmahContext : DbContext { private ElmahContext(string nameOrConnectionString) : base(...
mit
C#
69e0969fa13b9db1b7257220026793350cfeed07
Implement members by typing and mostly intellisence
charlenni/Mapsui,charlenni/Mapsui
Mapsui/MPoint2.cs
Mapsui/MPoint2.cs
using Mapsui.Utilities; namespace Mapsui; public class MPoint2 { public double X { get; set; } public double Y { get; set; } public MRect MRect => new MRect(X, Y, X, Y); public MPoint Copy() { return new MPoint(X, Y); } public double Distance(MPoint point) { return A...
using Mapsui.Utilities; namespace Mapsui; public class MPoint2 { public double X { get; set; } public double Y { get; set; } MRect MRect { get; } MPoint Copy(); double Distance(MPoint point); bool Equals(MPoint? p); int GetHashCode(); MPoint Offset(double offsetX, double offsetY); ...
mit
C#
33826edfd58981735a79d9a0029c5fc65b70ecb6
Update cluster.remote.connect to node.remote_cluster_client (#4589)
elastic/elasticsearch-net,elastic/elasticsearch-net
tests/Tests.Core/ManagedElasticsearch/Clusters/ClientTestClusterBase.cs
tests/Tests.Core/ManagedElasticsearch/Clusters/ClientTestClusterBase.cs
using System.IO; using Elastic.Managed.Ephemeral; using Elastic.Managed.Ephemeral.Plugins; using Elastic.Stack.Artifacts.Products; using Elastic.Xunit; using Elasticsearch.Net; using Nest; using Tests.Configuration; using Tests.Core.Client; using Tests.Core.Extensions; using Tests.Core.ManagedElasticsearch.Tasks; usin...
using System.IO; using Elastic.Managed.Ephemeral; using Elastic.Managed.Ephemeral.Plugins; using Elastic.Stack.Artifacts.Products; using Elastic.Xunit; using Elasticsearch.Net; using Nest; using Tests.Configuration; using Tests.Core.Client; using Tests.Core.Extensions; using Tests.Core.ManagedElasticsearch.Tasks; usin...
apache-2.0
C#
ab524b5b3b6dba62d1579f898dbad9a3fbf98c19
Add IssuingCardId param to EphemeralKeyCreateOptions
stripe/stripe-dotnet,richardlawley/stripe.net
src/Stripe.net/Services/EphemeralKeys/EphemeralKeyCreateOptions.cs
src/Stripe.net/Services/EphemeralKeys/EphemeralKeyCreateOptions.cs
namespace Stripe { using System; using System.Collections.Generic; using Newtonsoft.Json; using Stripe.Infrastructure; public class EphemeralKeyCreateOptions : BaseOptions { [JsonProperty("customer")] public string CustomerId { get; set; } [JsonProperty("issuing_card")]...
namespace Stripe { using System; using System.Collections.Generic; using Newtonsoft.Json; using Stripe.Infrastructure; public class EphemeralKeyCreateOptions : BaseOptions { [JsonProperty("customer")] public string CustomerId { get; set; } [JsonIgnore] public st...
apache-2.0
C#
b9d2daa67d7c80008bca5d5e81cc3caffe94ce2c
make last entry (=current) in breadcrumb bold
FrankyBoy/ApiDoc,FrankyBoy/ApiDoc
ApiDoc/Views/Shared/Breadcrumb.cshtml
ApiDoc/Views/Shared/Breadcrumb.cshtml
@using ApiDoc.Models @model IList<Node> <nav> @{ var path = "/"; <a href="@path">[home]</a> Write(" / "); for (int i = 1; i < Model.Count; i++) { var item = Model[i]; path = path + item.GetWikiUrlString(); if (i + 1 == Model.Count) { <b><a href="@path">@item.T...
@using ApiDoc.Models @model IList<Node> <nav> @{ var path = "/"; <a href="@path">[home]</a> Write(" / "); for (int i = 1; i < Model.Count; i++) { var item = Model[i]; path = path + item.GetWikiUrlString(); <a href="@path">@item.Title</a> if (i + 1 < Model.Count || ...
apache-2.0
C#
2fecfbe7c832e2285e6b6c9b0bcf9250e78f62e8
Add code to allow first-person character to control more like a traditional FPS.
BerniceChua/Unity-Procedural-Cave-Generation-Tutorial
Assets/_Scripts/CustomSimplePlayer.cs
Assets/_Scripts/CustomSimplePlayer.cs
using System.Collections; using System.Collections.Generic; using UnityEngine; public class CustomSimplePlayer : MonoBehaviour { public float speed = 10.0f; Rigidbody rigidbody; Vector3 velocity; // Use this for initialization void Start () { Cursor.lockState = CursorLockMode.Locked; ...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class CustomSimplePlayer : MonoBehaviour { public int speed = 10; Rigidbody rigidbody; Vector3 velocity; // Use this for initialization void Start () { rigidbody = GetComponent<Rigidbody>(); } // Updat...
mit
C#
28da7c1fcc737c1a3f149b3d5fe0c24c6bf54232
fix broken test
SkillsFundingAgency/das-commitments,SkillsFundingAgency/das-commitments,SkillsFundingAgency/das-commitments
src/CommitmentsV2/SFA.DAS.CommitmentsV2.UnitTests/Application/Queries/GetCohorts/GetCohortsQueryValidationTests.cs
src/CommitmentsV2/SFA.DAS.CommitmentsV2.UnitTests/Application/Queries/GetCohorts/GetCohortsQueryValidationTests.cs
using NUnit.Framework; using SFA.DAS.CommitmentsV2.Application.Queries.GetCohorts; namespace SFA.DAS.CommitmentsV2.UnitTests.Application.Queries.GetCohorts { [TestFixture] public class GetCohortsQueryValidationTests { [TestCase(1, true)] [TestCase(null, false)] public void Validate...
using NUnit.Framework; using SFA.DAS.CommitmentsV2.Application.Queries.GetCohorts; namespace SFA.DAS.CommitmentsV2.UnitTests.Application.Queries.GetCohorts { [TestFixture] public class GetCohortsQueryValidationTests { [TestCase(1, true)] [TestCase(null, false)] public void Validate...
mit
C#
f0507d96bd16b61fdeffc8fa5b7447c1d06bf2b5
Update MenuActionType.cs
willrawls/xlg,willrawls/xlg
MetX/MetX.Controls/MenuActionType.cs
MetX/MetX.Controls/MenuActionType.cs
namespace MetX.Controls { public enum MenuActionType { Unknown, None, TechniqueFile, QuickScriptFiles, QuickScriptFile, PipelineFiles, PipelineFile, Connections, Connection, Settings, Directorys, Directory, X...
mit
C#
bca630a1f4135a3350333e12ad873e64c7019e07
Fix an animation bug with Endless Sandwiches
StefanoFiumara/Harry-Potter-Unity
Assets/Scripts/HarryPotterUnity/Cards/Spells/Charms/EndlessSandwiches.cs
Assets/Scripts/HarryPotterUnity/Cards/Spells/Charms/EndlessSandwiches.cs
using System.Collections.Generic; using HarryPotterUnity.Cards.Generic; using JetBrains.Annotations; namespace HarryPotterUnity.Cards.Spells.Charms { [UsedImplicitly] public class EndlessSandwiches : GenericSpell { protected override void SpellAction(List<GenericCard> targets) { in...
using System.Collections.Generic; using HarryPotterUnity.Cards.Generic; using JetBrains.Annotations; namespace HarryPotterUnity.Cards.Spells.Charms { [UsedImplicitly] public class EndlessSandwiches : GenericSpell { protected override void SpellAction(List<GenericCard> targets) { wh...
mit
C#
bb22e831eb577499af78e4ebd94eee4bfe63ae73
Update RangePluginTest.cs
blmeyers/ObjectFiller.NET,HerrLoesch/ObjectFiller.NET,DoubleLinePartners/ObjectFiller.NET,Tynamix/ObjectFiller.NET
ObjectFiller.Test/RangePluginTest.cs
ObjectFiller.Test/RangePluginTest.cs
using System.Linq; using Microsoft.VisualStudio.TestTools.UnitTesting; using ObjectFiller.Test.TestPoco; using Tynamix.ObjectFiller; namespace ObjectFiller.Test { [TestClass] public class RangePluginTest { [TestMethod] public void TestRangeWithMaxValue() { int max = 100;...
using System.Linq; using Microsoft.VisualStudio.TestTools.UnitTesting; using ObjectFiller.Test.TestPoco; using Tynamix.ObjectFiller; namespace ObjectFiller.Test { [TestClass] public class RangePluginTest { [TestMethod] public void TestRangeWithMaxValue() { int max = 100...
mit
C#
56a623ac0c668e1983cd899a37c15fc6a8d7069c
Fix issue with TestTextureNotFound in previous commit 1e3027a
QuillLittlefeather/opensim-1,EriHoss/OpenSim_0.8.2.0_Dev_LibLSLCC,M-O-S-E-S/opensim,EriHoss/OpenSim_0.8.2.0_Dev_LibLSLCC,M-O-S-E-S/opensim,TomDataworks/opensim,OpenSimian/opensimulator,M-O-S-E-S/opensim,RavenB/opensim,M-O-S-E-S/opensim,EriHoss/OpenSim_0.8.2.0_Dev_LibLSLCC,OpenSimian/opensimulator,RavenB/opensim,TomData...
OpenSim/Capabilities/Handlers/GetTexture/Tests/GetTextureHandlerTests.cs
OpenSim/Capabilities/Handlers/GetTexture/Tests/GetTextureHandlerTests.cs
/* * Copyright (c) Contributors, http://opensimulator.org/ * See CONTRIBUTORS.TXT for a full list of copyright holders. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must r...
/* * Copyright (c) Contributors, http://opensimulator.org/ * See CONTRIBUTORS.TXT for a full list of copyright holders. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must r...
bsd-3-clause
C#
bd3c7808f5491b01351b1d0b6a0db4495d14c280
Update the properties test with new-style accessor syntax
jonathanvdc/ecsc
tests/cs/properties/Properties.cs
tests/cs/properties/Properties.cs
using System; public struct Vector2 { public Vector2(double X, double Y) { this.x = X; this.Y = Y; } private double x; public double X { get { return x; } private set { x = value; } } public double Y { get; private set; } public double this[int i] { get { retur...
using System; public struct Vector2 { public Vector2(double X, double Y) { this.x = X; this.Y = Y; } private double x; public double X { get { return x; } private set { x = value; } } public double Y { get; private set; } public double this[int i] { get { retur...
mit
C#
fcd4a8753526b3904f64b026c093371855f8ed65
Update CuidCorrelationServiceTests.cs
tiksn/TIKSN-Framework
TIKSN.UnitTests.Shared/Integration/Correlation/CuidCorrelationServiceTests.cs
TIKSN.UnitTests.Shared/Integration/Correlation/CuidCorrelationServiceTests.cs
using FluentAssertions; using Microsoft.Extensions.DependencyInjection; using System; using TIKSN.DependencyInjection; using Xunit; using Xunit.Abstractions; namespace TIKSN.Integration.Correlation.Tests { public class CuidCorrelationServiceTests { private readonly ICorrelationService _correlationServ...
using FluentAssertions; using Microsoft.Extensions.DependencyInjection; using System; using TIKSN.DependencyInjection; using Xunit; using Xunit.Abstractions; namespace TIKSN.Integration.Correlation.Tests { public class CuidCorrelationServiceTests { private readonly ICorrelationService _correlationServ...
mit
C#
9f61e34b7d8546bfe87af701b076904a20487be7
Update server side API for single multiple answer question
Promact/trappist,Promact/trappist,Promact/trappist,Promact/trappist,Promact/trappist
Trappist/src/Promact.Trappist.Repository/Questions/QuestionRepository.cs
Trappist/src/Promact.Trappist.Repository/Questions/QuestionRepository.cs
using System.Collections.Generic; using Promact.Trappist.DomainModel.Models.Question; using System.Linq; using Promact.Trappist.DomainModel.DbContext; namespace Promact.Trappist.Repository.Questions { public class QuestionRepository : IQuestionRepository { private readonly TrappistDbContext _dbContext...
using System.Collections.Generic; using Promact.Trappist.DomainModel.Models.Question; using System.Linq; using Promact.Trappist.DomainModel.DbContext; namespace Promact.Trappist.Repository.Questions { public class QuestionRepository : IQuestionRepository { private readonly TrappistDbContext _dbContext...
mit
C#