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
d35a0b83759ed1e1f7729b4c2a7b7b87ae29a4cc
Add `InstitutionNumber` and `TransitNumber` on `ChargePaymentMethodDetailsAcssDebit`
stripe/stripe-dotnet
src/Stripe.net/Entities/Charges/ChargePaymentMethodDetails/ChargePaymentMethodDetailsAcssDebit.cs
src/Stripe.net/Entities/Charges/ChargePaymentMethodDetails/ChargePaymentMethodDetailsAcssDebit.cs
namespace Stripe { using Newtonsoft.Json; using Stripe.Infrastructure; public class ChargePaymentMethodDetailsAcssDebit : StripeEntity<ChargePaymentMethodDetailsAcssDebit> { /// <summary> /// Uniquely identifies this particular bank account. You can use this attribute to check /...
namespace Stripe { using Newtonsoft.Json; using Stripe.Infrastructure; public class ChargePaymentMethodDetailsAcssDebit : StripeEntity<ChargePaymentMethodDetailsAcssDebit> { [JsonProperty("fingerprint")] public string Fingerprint { get; set; } [JsonProperty("last4")] pu...
apache-2.0
C#
616d4fe011c4b383d98b335c227e4acd57c9197e
Add ResolvedTreeExperiments
riganti/dotvvm-samples-academy,riganti/dotvvm-samples-academy,riganti/dotvvm-samples-academy
test/DotvvmAcademy.Validation.Dothtml.Experiments/ResolvedTreeExperiments.cs
test/DotvvmAcademy.Validation.Dothtml.Experiments/ResolvedTreeExperiments.cs
using DotVVM.Framework.Compilation.ControlTree; using DotVVM.Framework.Compilation.Parser.Dothtml.Parser; using DotVVM.Framework.Compilation.Parser.Dothtml.Tokenizer; using DotVVM.Framework.Configuration; using DotVVM.Framework.Security; using Microsoft.Extensions.DependencyInjection; using Microsoft.VisualStudio.TestT...
using DotVVM.Framework.Compilation.ControlTree; using DotVVM.Framework.Compilation.Parser.Dothtml.Parser; using DotVVM.Framework.Compilation.Parser.Dothtml.Tokenizer; using DotVVM.Framework.Configuration; using DotVVM.Framework.Security; using Microsoft.Extensions.DependencyInjection; using Microsoft.VisualStudio.TestT...
apache-2.0
C#
13044d93bb3cf279bab1e9219b520e5145b9d6c5
test renamed
Softlr/selenium-webdriver-extensions,Softlr/selenium-webdriver-extensions,Softlr/Selenium.WebDriver.Extensions,RaYell/selenium-webdriver-extensions
test/Selenium.WebDriver.Extensions.Tests/Extensions/StringExtensionsTests.cs
test/Selenium.WebDriver.Extensions.Tests/Extensions/StringExtensionsTests.cs
namespace OpenQA.Selenium.Tests.Extensions { using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using OpenQA.Selenium.Extensions; using Xunit; [Trait("Category", "Unit")] [ExcludeFromCodeCoverage] public class StringExtensionsTests { public static IEnumera...
namespace OpenQA.Selenium.Tests.Extensions { using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using OpenQA.Selenium.Extensions; using Xunit; [Trait("Category", "Unit")] [ExcludeFromCodeCoverage] public class StringExtensionsTests { public static IEnumera...
apache-2.0
C#
9fd4477dab5a0c16b70a7f0f545ea852e5053bf8
make test more precise
SimonCropp/CaptureSnippets
Tests/CachedSnippetExtractorTests.cs
Tests/CachedSnippetExtractorTests.cs
using System.Diagnostics; using System.IO; using CaptureSnippets; using NUnit.Framework; using ObjectApproval; [TestFixture] public class CachedSnippetExtractorTests { [Test] public void SecondReadShouldBeFasterThanFirstRead() { var directory = @"scenarios\".ToCurrentDirectory(); //warmup ...
using System.Diagnostics; using System.IO; using CaptureSnippets; using NUnit.Framework; using ObjectApproval; [TestFixture] public class CachedSnippetExtractorTests { [Test] public void SecondReadShouldBeFasterThanFirstRead() { var directory = @"scenarios\".ToCurrentDirectory(); var cache...
mit
C#
03facbe15a7b05f2a8049ee5a27118949a9aa66e
remove count property for Com-interface
diadoc/diadocsdk-csharp,halex2005/diadocsdk-csharp,ichaynikov/diadocsdk-csharp,diadoc/diadocsdk-csharp,basmus/diadocsdk-csharp,ichaynikov/diadocsdk-csharp,halex2005/diadocsdk-csharp,basmus/diadocsdk-csharp
src/DocumentsFilter.cs
src/DocumentsFilter.cs
using System; using System.Runtime.InteropServices; namespace Diadoc.Api { [ComVisible(true)] [Guid("40EE5B76-5D17-424F-9AAD-7FC3334921B8")] public interface IDocumentsFilter { string BoxId { get; set; } string FilterCategory { get; set; } string CounteragentBoxId { get; set; } string FromDocumentDate { g...
using System; using System.Runtime.InteropServices; namespace Diadoc.Api { [ComVisible(true)] [Guid("40EE5B76-5D17-424F-9AAD-7FC3334921B8")] public interface IDocumentsFilter { string BoxId { get; set; } string FilterCategory { get; set; } string CounteragentBoxId { get; set; } string FromDocumentDate { g...
mit
C#
e907f44dd03a86fb98be7473f10aea105af24ab2
Fix Resolver.Resolve(TypeRef)
picrap/dnlib,jorik041/dnlib,kiootic/dnlib,Arthur2e5/dnlib,0xd4d/dnlib,ilkerhalil/dnlib,modulexcite/dnlib,yck1509/dnlib,ZixiangBoy/dnlib
src/DotNet/Resolver.cs
src/DotNet/Resolver.cs
using dot10.DotNet.MD; namespace dot10.DotNet { /// <summary> /// Resolves types, methods, fields /// </summary> public class Resolver : IResolver { IAssemblyResolver assemblyResolver; /// <summary> /// Constructor /// </summary> /// <param name="assemblyResolver">The assembly resolver</param> public...
using dot10.DotNet.MD; namespace dot10.DotNet { /// <summary> /// Resolves types, methods, fields /// </summary> public class Resolver : IResolver { IAssemblyResolver assemblyResolver; /// <summary> /// Constructor /// </summary> /// <param name="assemblyResolver">The assembly resolver</param> public...
mit
C#
846d94a39507cd7d3eb6577deecb8adbbdee4a97
Add WordListWord object
Soulfire86/wordnik-net
src/Models/WordList.cs
src/Models/WordList.cs
using System; using System.ComponentModel; using Newtonsoft.Json; using Newtonsoft.Json.Converters; namespace wordnik_net.Models { public class WordList { [DefaultValue(0)] public long Id { get; set; } public string Permalink { get; set; } public string Name { get; set; } ...
using System; using System.ComponentModel; using Newtonsoft.Json; using Newtonsoft.Json.Converters; namespace wordnik_net.Models { public class WordList { [DefaultValue(0)] public long Id { get; set; } public string Permalink { get; set; } public string Name { get; set; } ...
mit
C#
7d301a351c618f5ed107c6a9f5f1bc2836cdec8f
Add voice option to ui test
glasseyes/libpalaso,marksvc/libpalaso,tombogle/libpalaso,glasseyes/libpalaso,tombogle/libpalaso,gtryus/libpalaso,gmartin7/libpalaso,sillsdev/libpalaso,ermshiperete/libpalaso,mccarthyrb/libpalaso,marksvc/libpalaso,ddaspit/libpalaso,chrisvire/libpalaso,andrew-polk/libpalaso,chrisvire/libpalaso,sillsdev/libpalaso,JohnThom...
PalasoUIWindowsForms.Tests/WritingSystems/UITests.cs
PalasoUIWindowsForms.Tests/WritingSystems/UITests.cs
using System; using System.Collections.Generic; using System.Diagnostics; using System.Drawing; using System.IO; using System.Linq; using System.Windows.Forms; using NUnit.Framework; using Palaso.TestUtilities; using Palaso.UI.WindowsForms.WritingSystems; using Palaso.UI.WindowsForms.WritingSystems.WSTree; using Palaso...
using System; using System.Collections.Generic; using System.Diagnostics; using System.Drawing; using System.IO; using System.Linq; using System.Windows.Forms; using NUnit.Framework; using Palaso.TestUtilities; using Palaso.UI.WindowsForms.WritingSystems; using Palaso.WritingSystems; namespace PalasoUIWindowsForms.Tes...
mit
C#
62fa23e83527e4dc52de1e4852a39713e12db2d6
Change EventType property type
florinciubotariu/RiotSharp,Shidesu/RiotSharp,Oucema90/RiotSharp,jono-90/RiotSharp,Challengermode/RiotSharp,frederickrogan/RiotSharp,BenFradet/RiotSharp,JanOuborny/RiotSharp,oisindoherty/RiotSharp,aktai0/RiotSharp
RiotSharp/TournamentEndpoint/TournamentLobbyEvent.cs
RiotSharp/TournamentEndpoint/TournamentLobbyEvent.cs
using System; using Newtonsoft.Json; using Newtonsoft.Json.Converters; namespace RiotSharp.TournamentEndpoint { /// <summary> /// Represents a tournament lobby event in the Riot tournament API. /// </summary> public class TournamentLobbyEvent { internal TournamentLobbyEvent() { ...
using System; using Newtonsoft.Json; namespace RiotSharp.TournamentEndpoint { /// <summary> /// Represents a tournament lobby event in the Riot tournament API. /// </summary> public class TournamentLobbyEvent { internal TournamentLobbyEvent() { } /// <summary> ...
mit
C#
0d39ef7c94484f266c7fbee1ae263247f72a0b1e
Access storage failure is readable.
modulexcite/lokad-cqrs
Framework/Lokad.Cqrs.Portable/Core.Inbox/Events/FailedToAccessStorage.cs
Framework/Lokad.Cqrs.Portable/Core.Inbox/Events/FailedToAccessStorage.cs
#region (c) 2010-2011 Lokad - CQRS for Windows Azure - New BSD License // Copyright (c) Lokad 2010-2011, http://www.lokad.com // This code is released as Open Source under the terms of the New BSD Licence #endregion using System; namespace Lokad.Cqrs.Core.Inbox.Events { public sealed class FailedTo...
#region (c) 2010-2011 Lokad - CQRS for Windows Azure - New BSD License // Copyright (c) Lokad 2010-2011, http://www.lokad.com // This code is released as Open Source under the terms of the New BSD Licence #endregion using System; namespace Lokad.Cqrs.Core.Inbox.Events { public sealed class FailedTo...
bsd-3-clause
C#
f5182345c26e2925b9f94330022485322975f94a
Fix accidental change to copyright symbol
jason-roberts/FeatureToggle,jason-roberts/FeatureToggle
src/FeatureToggleSolution/SharedAssemblyInfo.cs
src/FeatureToggleSolution/SharedAssemblyInfo.cs
using System; 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: Asse...
using System; 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: Asse...
apache-2.0
C#
ba7dc795d0cba3045ef615d1f7a50862e3970cca
update of version for release
Appleseed/portal,Appleseed/portal,Appleseed/portal,Appleseed/portal,Appleseed/portal,Appleseed/portal,Appleseed/portal
Master/Appleseed/Projects/Appleseed.Framework/Properties/AssemblyInfo.cs
Master/Appleseed/Projects/Appleseed.Framework/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Security; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [asse...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Security; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [asse...
apache-2.0
C#
b511126a775d068e1727c1b56615e52a80195a8d
Sort deployment groups in deployment list
Codestellation/Galaxy,Codestellation/Galaxy,Codestellation/Galaxy
src/Galaxy/WebEnd/Models/DeploymentListModel.cs
src/Galaxy/WebEnd/Models/DeploymentListModel.cs
using System; using System.Collections.Generic; using System.Linq; using Codestellation.Galaxy.Domain; using Codestellation.Quarks.Collections; using Nejdb.Bson; namespace Codestellation.Galaxy.WebEnd.Models { public class DeploymentListModel { public readonly DeploymentModel[] Deployments; p...
using System; using System.Collections.Generic; using System.Linq; using Codestellation.Galaxy.Domain; using Codestellation.Quarks.Collections; using Nejdb.Bson; namespace Codestellation.Galaxy.WebEnd.Models { public class DeploymentListModel { public readonly DeploymentModel[] Deployments; p...
apache-2.0
C#
b6911a57069d614a84a0ef3f6c5a9b79876e6afd
update to use correct pipebind property
nishantpunetha/PnP,afsandeberg/PnP,vman/PnP,bhoeijmakers/PnP,werocool/PnP,briankinsella/PnP,OneBitSoftware/PnP,gautekramvik/PnP,worksofwisdom/PnP,PaoloPia/PnP,r0ddney/PnP,rahulsuryawanshi/PnP,perolof/PnP,joaopcoliveira/PnP,vman/PnP,SPDoctor/PnP,rencoreab/PnP,Anil-Lakhagoudar/PnP,OneBitSoftware/PnP,russgove/PnP,dalehhir...
Solutions/PowerShell.Commands/Commands/ContentTypes/RemoveContentType.cs
Solutions/PowerShell.Commands/Commands/ContentTypes/RemoveContentType.cs
using System.Management.Automation; using Microsoft.SharePoint.Client; using OfficeDevPnP.PowerShell.CmdletHelpAttributes; using OfficeDevPnP.PowerShell.Commands.Base.PipeBinds; using Resources = OfficeDevPnP.PowerShell.Commands.Properties.Resources; namespace OfficeDevPnP.PowerShell.Commands { [Cmdlet(VerbsCommo...
using System.Management.Automation; using Microsoft.SharePoint.Client; using OfficeDevPnP.PowerShell.CmdletHelpAttributes; using OfficeDevPnP.PowerShell.Commands.Base.PipeBinds; using Resources = OfficeDevPnP.PowerShell.Commands.Properties.Resources; namespace OfficeDevPnP.PowerShell.Commands { [Cmdlet(VerbsCommo...
apache-2.0
C#
2797b714e58f4bfdbddeb1e2626e4b962158a2cc
trim 'Type' in property setter
lnu/nhibernate-core,hazzik/nhibernate-core,nhibernate/nhibernate-core,RogerKratz/nhibernate-core,gliljas/nhibernate-core,nhibernate/nhibernate-core,lnu/nhibernate-core,livioc/nhibernate-core,hazzik/nhibernate-core,gliljas/nhibernate-core,nkreipke/nhibernate-core,gliljas/nhibernate-core,nhibernate/nhibernate-core,freder...
src/NHibernate.Test/TypedManyToOne/AddressId.cs
src/NHibernate.Test/TypedManyToOne/AddressId.cs
using System; namespace NHibernate.Test.TypedManyToOne { [Serializable] public class AddressId { private string _type; private int? requestedHash; public virtual String Type { get { return _type; } set { if (!string.IsNullOrWhiteSpace(value)) _type = value.Trim(); else _type = ...
using System; namespace NHibernate.Test.TypedManyToOne { [Serializable] public class AddressId { public virtual String Type { get; set; } public virtual String Id { get; set; } private int? requestedHash; public AddressId(String type, String id) { Id = i...
lgpl-2.1
C#
449af51e3b44fb93f0957fbe67edf535c268a012
fix missing path
LayoutFarm/PixelFarm
a_mini/projects/Tests/Test_BasicPixelFarm/Program.cs
a_mini/projects/Tests/Test_BasicPixelFarm/Program.cs
//Apache2, 2014-2017, WinterDev using System; using System.Windows.Forms; namespace TestGraphicPackage2 { static class Program { static LayoutFarm.Dev.FormDemoList formDemoList; [STAThread] static void Main() { OpenTK.Toolkit.Init(); //-----------------...
//Apache2, 2014-2017, WinterDev using System; using System.Windows.Forms; namespace TestGraphicPackage2 { static class Program { static LayoutFarm.Dev.FormDemoList formDemoList; [STAThread] static void Main() { OpenTK.Toolkit.Init(); //-----------------...
bsd-2-clause
C#
26f12966e33a6eba09d071451b2c60e3ea44047f
Update ParamArrayAttribute.cs (#4442)
russellhadley/coreclr,schellap/coreclr,YongseopKim/coreclr,vinnyrom/coreclr,martinwoodward/coreclr,naamunds/coreclr,hseok-oh/coreclr,qiudesong/coreclr,krk/coreclr,Dmitry-Me/coreclr,ragmani/coreclr,YongseopKim/coreclr,jamesqo/coreclr,yeaicc/coreclr,parjong/coreclr,Dmitry-Me/coreclr,ZhichengZhu/coreclr,tijoytom/coreclr,Y...
src/mscorlib/src/System/ParamArrayAttribute.cs
src/mscorlib/src/System/ParamArrayAttribute.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. /*============================================================================= ** ** ** ** Purpose: Attribute for m...
// 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. /*============================================================================= ** ** ** ** Purpose: Container for a...
mit
C#
57889922d68240c29faea7587a1bb83135178f76
Update DefaultBuild.
nuke-build/nuke,nuke-build/nuke,nuke-build/nuke,nuke-build/nuke
bootstrapping/DefaultBuild.cs
bootstrapping/DefaultBuild.cs
using System; using System.Linq; using Nuke.Common; using Nuke.Common.Tools.MSBuild; using Nuke.Core; using static Nuke.Common.Tools.DotNet.DotNetTasks; using static Nuke.Common.Tools.MSBuild.MSBuildTasks; using static Nuke.Common.Tools.NuGet.NuGetTasks; using static Nuke.Core.IO.FileSystemTasks; using static Nuke.Cor...
using System; using System.Linq; using Nuke.Common; using Nuke.Common.Tools.MSBuild; using Nuke.Core; using static Nuke.Common.IO.FileSystemTasks; using static Nuke.Common.Tools.DotNet.DotNetTasks; using static Nuke.Common.Tools.MSBuild.MSBuildTasks; using static Nuke.Common.Tools.NuGet.NuGetTasks; using static Nuke.C...
mit
C#
3a30117b89160cd5ae287fa2c44650e03d12e5ac
Update inventory type and status mappings
spiresystems/spire-api-example-csharp
api-example-csharp/Inventory.cs
api-example-csharp/Inventory.cs
using System.Collections.Generic; namespace ApiTest.InventoryApi { public class UnitOfMeasure { public int id { get; set; } public string code { get; set; } } public sealed class InventoryStatus { public static string Active = 0; public static stri...
using System.Collections.Generic; namespace ApiTest.InventoryApi { public class UnitOfMeasure { public int id { get; set; } public string code { get; set; } } public sealed class InventoryStatus { public static string Active = "active"; public stat...
mit
C#
e5bf9d591672069240366967f4ec4c6d17f7a37f
Update SmallAppliances.cs
jkanchelov/Telerik-OOP-Team-StarFruit
TeamworkStarFruit/CatalogueLib/Products/SmallAppliances.cs
TeamworkStarFruit/CatalogueLib/Products/SmallAppliances.cs
namespace CatalogueLib { using System.Text; using CatalogueLib.Products.Enumerations; public abstract class SmallAppliances : Product { public SmallAppliances() { } public SmallAppliances(int ID, decimal price, bool isAvailable, Brand brand, double ...
namespace CatalogueLib { using CatalogueLib.Products.Enumerations; public abstract class SmallAppliances : Product { public SmallAppliances() { } public SmallAppliances(int ID, decimal price, bool isAvailable, Brand brand, double Capacity, double CableLength, i...
mit
C#
d09c7de52775c9275dc87fa881d5fa9889c0179f
remove some litter ;-) (they've been added as coments to the PR instead)
SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice
src/SFA.DAS.EmployerAccounts/DependencyResolution/AccountApiClientRegistry.cs
src/SFA.DAS.EmployerAccounts/DependencyResolution/AccountApiClientRegistry.cs
using SFA.DAS.EAS.Account.Api.Client; using StructureMap; namespace SFA.DAS.EmployerAccounts.DependencyResolution { public class AccountApiClientRegistry : Registry { public AccountApiClientRegistry() { For<IAccountApiClient>().Use<AccountApiClient>(); // config for the...
using SFA.DAS.EAS.Account.Api.Client; using StructureMap; namespace SFA.DAS.EmployerAccounts.DependencyResolution { public class AccountApiClientRegistry : Registry { // we add this here, rather than in the client project, so we don't introduce a dependency on structuremap in the client public...
mit
C#
b60c04b4b7ab657751ece59158c5fceadc832f07
Update Promise.cs: Return this from success and error
drew-r/Maverick
Promise.cs
Promise.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; namespace Maverick { public class Promise { public Promise(Func<object> asyncOp) { Scheduler.Request(); task = new Task(() => ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; namespace Maverick { public class Promise { public Promise(Func<object> asyncOp) { Scheduler.Request(); task = new Task(() => ...
mit
C#
5dacbf1d0acf30b3014894aec382dec0a63f22d8
Update links
tuelsch/schreinerei-gfeller,tuelsch/schreinerei-gfeller,tuelsch/schreinerei-gfeller
schreinerei-gfeller/Views/Shared/_Header.cshtml
schreinerei-gfeller/Views/Shared/_Header.cshtml
<header class="main"> <div class="container"> @* Logo *@ <h1 class="logo"> <span>Schreinerei Gfeller - Startseite</span> <a href="/"> <img src="/Assets/img/logo.png" alt=""> </a> </h1> @* Mobile toggler *@ <button class="nav-toggler">menu</button> @* Navigation *@ <nav class="main"> <h...
<header class="main"> <div class="container"> @* Logo *@ <h1 class="logo"> <span>Schreinerei Gfeller - Startseite</span> <a href="/"> <img src="/Assets/img/logo.png" alt=""> </a> </h1> @* Mobile toggler *@ <button class="nav-toggler">menu</button> @* Navigation *@ <nav class="main"> <h...
mit
C#
ea626c6c39060fdac6cb008cdc3b6cb8bfc9b859
Modify to use factory methods for hash algorithm
emoacht/SnowyImageCopy
Source/SnowyImageCopy/Models/ImageFile/HashItem.cs
Source/SnowyImageCopy/Models/ImageFile/HashItem.cs
using System; using System.Collections.Generic; using System.Linq; using System.Security.Cryptography; using System.Text; using System.Threading.Tasks; namespace SnowyImageCopy.Models.ImageFile { /// <summary> /// Container for hash /// </summary> /// <remarks>This class should be immutable.</remarks>...
using System; using System.Collections.Generic; using System.Linq; using System.Security.Cryptography; using System.Text; using System.Threading.Tasks; namespace SnowyImageCopy.Models.ImageFile { /// <summary> /// Container for hash /// </summary> /// <remarks>This class should be immutable.</remarks>...
mit
C#
ad6f418d98d0476892504501074d0ddb78e4c2c5
Add the simples notification test
Shaddix/realm-dotnet,Shaddix/realm-dotnet,realm/realm-dotnet,Shaddix/realm-dotnet,Shaddix/realm-dotnet,realm/realm-dotnet,realm/realm-dotnet
Tests/IntegrationTests.Shared/NotificationTests.cs
Tests/IntegrationTests.Shared/NotificationTests.cs
using System; using NUnit.Framework; using Realms; using System.Threading; using System.IO; namespace IntegrationTests.Shared { [TestFixture] public class NotificationTests { private string _databasePath; private Realm _realm; private void WriteOnDifferentThread(Action<Realm> acti...
using System; using NUnit.Framework; using Realms; using System.Threading; namespace IntegrationTests.Shared { [TestFixture] public class NotificationTests { private string _databasePath; private Realm _realm; private void WriteOnDifferentThread(Action<Realm> action) { ...
apache-2.0
C#
52572c9f00f140c45ebc4a08eb18bcf4dd93f005
raise event outside of lock
nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet
WalletWasabi/Models/ObservableConcurrentHashSet.cs
WalletWasabi/Models/ObservableConcurrentHashSet.cs
using System; using System.Collections; using System.Collections.Generic; using System.Collections.Specialized; using System.Linq; using System.Text; namespace WalletWasabi.Models { public class ObservableConcurrentHashSet<T> : IReadOnlyCollection<T> // DO NOT IMPLEMENT INotifyCollectionChanged!!! That'll break and ...
using System; using System.Collections; using System.Collections.Generic; using System.Collections.Specialized; using System.Linq; using System.Text; namespace WalletWasabi.Models { public class ObservableConcurrentHashSet<T> : IReadOnlyCollection<T> // DO NOT IMPLEMENT INotifyCollectionChanged!!! That'll break and ...
mit
C#
da37b4a9cdbf3f6ebe7ba4503cc299aa39d9eac9
update sample to request two packages
eeaquino/DotNetShipping,kylewest/DotNetShipping
SampleApp/Program.cs
SampleApp/Program.cs
using System; using System.Collections.Generic; using System.Collections.Specialized; using System.Configuration; using DotNetShipping.ShippingProviders; namespace DotNetShipping.SampleApp { internal class Program { #region Methods private static void Main(string[] args) { NameValueCollection...
using System; using System.Collections.Specialized; using System.Configuration; using DotNetShipping.ShippingProviders; namespace DotNetShipping.SampleApp { internal class Program { #region Methods private static void Main(string[] args) { NameValueCollection appSettings = ConfigurationManager...
mit
C#
0358c22bfcd5a26d1552628c96d9d07582b8344e
Upgrade version.
tangxuehua/ecommon,Aaron-Liu/ecommon
src/ECommon/Properties/AssemblyInfo.cs
src/ECommon/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // 有关程序集的常规信息通过以下 // 特性集控制。更改这些特性值可修改 // 与程序集关联的信息。 [assembly: AssemblyTitle("ECommon")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyPr...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // 有关程序集的常规信息通过以下 // 特性集控制。更改这些特性值可修改 // 与程序集关联的信息。 [assembly: AssemblyTitle("ECommon")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyPr...
mit
C#
69dca5f96432202f470ac961dbc3f0a92723d650
Fix #187 - Support for generating 'new Image()' script
nikhilk/scriptsharp,x335/scriptsharp,nikhilk/scriptsharp,x335/scriptsharp,x335/scriptsharp,nikhilk/scriptsharp
src/Libraries/Web/Html/ImageElement.cs
src/Libraries/Web/Html/ImageElement.cs
// ImageElement.cs // Script#/Libraries/Web // This source code is subject to terms and conditions of the Apache License, Version 2.0. // using System; using System.Runtime.CompilerServices; namespace System.Html { [IgnoreNamespace] [Imported] [ScriptName("Image")] public sealed class ImageElement : ...
// ImageElement.cs // Script#/Libraries/Web // This source code is subject to terms and conditions of the Apache License, Version 2.0. // using System; using System.Runtime.CompilerServices; namespace System.Html { [IgnoreNamespace] [Imported] public sealed class ImageElement : Element { private...
apache-2.0
C#
7aba596f39d45bca3cae370035c28a757283bf79
Fix #5 (wrong PhotoSizeResponse null check)
LouisMT/TeleBotDotNet,Naxiz/TeleBotDotNet
Responses/Types/PhotoSizeResponse.cs
Responses/Types/PhotoSizeResponse.cs
using TeleBotDotNet.Json; namespace TeleBotDotNet.Responses.Types { public class PhotoSizeResponse { public string FileId { get; private set; } public int Width { get; private set; } public int Height { get; private set; } public int? FileSize { get; private set; } int...
using TeleBotDotNet.Json; namespace TeleBotDotNet.Responses.Types { public class PhotoSizeResponse { public string FileId { get; private set; } public int Width { get; private set; } public int Height { get; private set; } public int? FileSize { get; private set; } int...
mit
C#
a972db2224ecb0172cbd7d6c752745918631c500
Build and publish Rock.Core nuget package
peteraritchie/Rock.Core,RockFramework/Rock.Core
Rock.Core/Properties/AssemblyInfo.cs
Rock.Core/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("Ro...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("Ro...
mit
C#
c8356454899daadc31d54822da3a378ce4d8472c
Fix other unit test.
mysticmind/marten,mysticmind/marten,JasperFx/Marten,JasperFx/Marten,ericgreenmix/marten,ericgreenmix/marten,ericgreenmix/marten,JasperFx/Marten,mysticmind/marten,ericgreenmix/marten,mdissel/Marten,mysticmind/marten,mdissel/Marten
src/Marten/Linq/DeserializeSelector.cs
src/Marten/Linq/DeserializeSelector.cs
using System.Data.Common; using System.Threading; using System.Threading.Tasks; using Baseline; using Marten.Services; using Npgsql; namespace Marten.Linq { public class DeserializeSelector<T> : BasicSelector, ISelector<T> { private readonly ISerializer _serializer; public DeserializeSelector(...
using System.Data.Common; using System.Threading; using System.Threading.Tasks; using Baseline; using Marten.Services; using Npgsql; namespace Marten.Linq { public class DeserializeSelector<T> : BasicSelector, ISelector<T> { private readonly ISerializer _serializer; public DeserializeSelector(...
mit
C#
6b6322e390dc51a886680c8960eadd37e546e3c2
Update #10
uheerme/core,uheerme/core,uheerme/core
Samesound.Services/ChannelService.cs
Samesound.Services/ChannelService.cs
using Samesound.Core; using Samesound.Data; using Samesound.Services.Exceptions; using Samesound.Services.Infrastructure; using Samesound.Services.Providers; using System; using System.Collections.Generic; using System.Data.Entity; using System.Linq; using System.Threading.Tasks; namespace Samesound.Services { pu...
using Samesound.Core; using Samesound.Data; using Samesound.Services.Exceptions; using Samesound.Services.Infrastructure; using Samesound.Services.Providers; using System; using System.Collections.Generic; using System.Data.Entity; using System.Linq; using System.Threading.Tasks; namespace Samesound.Services { pu...
mit
C#
bf788f415d57a5454e8a9b2d480e3ee2b711350e
update photo collection tests
bolorundurowb/vCardLib
vCardLib.Tests/PhotoCollectionTests.cs
vCardLib.Tests/PhotoCollectionTests.cs
using NUnit.Framework; using System; namespace vCardLib.Tests { [TestFixture] class PhotoCollectionTests { [Test] public void InsertAndRemove() { Assert.DoesNotThrow(delegate { Photo photo = new Photo(); PhotoCollection photoCollection = ...
using NUnit.Framework; using System; namespace vCardLib.Tests { [TestFixture] class PhotoCollectionTests { [Test] public void InsertAndRemove() { Assert.DoesNotThrow(delegate { Photo photo = new Photo(); PhotoCollection photoCollection = ...
mit
C#
af5573afccc219a1e6ce0487d22674c940ee68cd
Refactor tests.
mrydengren/lumen
src/Lumen.Tests/PayloadValidationFilterTests.cs
src/Lumen.Tests/PayloadValidationFilterTests.cs
using FluentValidation; using NUnit.Framework; using Ninject; namespace Lumen.Tests { [TestFixture] public class PayloadValidationFilterTests { public class TestApplicationService : ApplicationService { public class TestPayload { public string Text {...
using FluentValidation; using NUnit.Framework; using Ninject; namespace Lumen.Tests { [TestFixture] public class PayloadValidationFilterTests { public class TestContext : IPayload { public TestContext(dynamic payload) { Payload = payload; ...
mit
C#
ce4995eb204f55f8902f2eabc162f447193cf2a0
Fix start index for string - sub mounting modules
jmptrader/manos,mdavid/manos-spdy,jacksonh/manos,jmptrader/manos,jacksonh/manos,mdavid/manos-spdy,mdavid/manos-spdy,mdavid/manos-spdy,jmptrader/manos,jmptrader/manos,jacksonh/manos,jmptrader/manos,jacksonh/manos,mdavid/manos-spdy,jacksonh/manos,jacksonh/manos,mdavid/manos-spdy,jmptrader/manos,jacksonh/manos,jmptrader/m...
src/Manos/Manos.Routing/StringMatchOperation.cs
src/Manos/Manos.Routing/StringMatchOperation.cs
// // Copyright (C) 2010 Jackson Harper (jackson@manosdemono.com) // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use,...
// // Copyright (C) 2010 Jackson Harper (jackson@manosdemono.com) // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use,...
mit
C#
8d99449b08f8717354fc432ed575847fe64261d0
fix bug #791 (#795)
geffzhang/Ocelot,TomPallister/Ocelot,geffzhang/Ocelot,TomPallister/Ocelot
src/Ocelot/Configuration/LoadBalancerOptions.cs
src/Ocelot/Configuration/LoadBalancerOptions.cs
using Ocelot.LoadBalancer.LoadBalancers; namespace Ocelot.Configuration { public class LoadBalancerOptions { public LoadBalancerOptions(string type, string key, int expiryInMs) { Type = string.IsNullOrWhiteSpace(type) ? nameof(NoLoadBalancer) : type; Key = key; ...
using Ocelot.LoadBalancer.LoadBalancers; namespace Ocelot.Configuration { public class LoadBalancerOptions { public LoadBalancerOptions(string type, string key, int expiryInMs) { Type = type ?? nameof(NoLoadBalancer); Key = key; ExpiryInMs = expiryInMs; ...
mit
C#
b9c0503edab35c08f26bf5498bd913d0e47561ef
Fix threading issue with StaticRandomGenerator
HelloKitty/317refactor
src/Rs317.Library/math/StaticRandomGenerator.cs
src/Rs317.Library/math/StaticRandomGenerator.cs
using System; using System.Collections.Generic; using System.Linq; using System.Runtime.CompilerServices; using System.Text; //TODO: Add namespace public static class StaticRandomGenerator { //TODO: If we do any async/await this will potentially fail? Maybe? TODO look into it. //Unique per thread. private static r...
using System; using System.Collections.Generic; using System.Linq; using System.Text; //TODO: Add namespace public static class StaticRandomGenerator { //TODO: If we do any async/await this will potentially fail? Maybe? TODO look into it. //Unique per thread. [ThreadStatic] private static readonly System.Random i...
mit
C#
223c89e9cba887617c5ca2e6e3bac6daa644df83
Fix failing unit test
vbfox/KitsuneRoslyn
TestDiagnostics/RoslynExtensions/DiagnosticExtensions.cs
TestDiagnostics/RoslynExtensions/DiagnosticExtensions.cs
using System.Linq; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CSharp; using System; namespace BlackFox.Roslyn.TestDiagnostics.RoslynExtensions { static class DiagnosticExtensions { public static TSyntaxNode GetAncestorSyntaxNode<TSyntaxNode>(this Diagnostic diagnostic, SyntaxNode root)...
using System.Linq; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CSharp; using System; namespace BlackFox.Roslyn.TestDiagnostics.RoslynExtensions { static class DiagnosticExtensions { public static TSyntaxNode GetAncestorSyntaxNode<TSyntaxNode>(this Diagnostic diagnostic, SyntaxNode root)...
bsd-2-clause
C#
5efbb7319e5a197c6a784da841f6c61d72cf511d
Fix typo
GeorgDangl/WebDocu,GeorgDangl/WebDocu,GeorgDangl/WebDocu
src/Dangl.WebDocumentation/Views/Home/ManageAccount.cshtml
src/Dangl.WebDocumentation/Views/Home/ManageAccount.cshtml
@using Microsoft.Extensions.Options @inject IOptions<AppSettings> AppSettings <h1>Manage Account</h1> <p>You user account is managed on Dangl<strong>.Identity</strong>. <a href="@AppSettings.Value.DanglIdentityBaseUrl.TrimEnd('/')/account">You can edit your account details there.</a></p>
@using Microsoft.Extensions.Options @inject IOptions<AppSettings> AppSettings <h1>Manage Account</h1> <p>You user account is managed on Dangl<strong>.Identity.</strong>. <a href="@AppSettings.Value.DanglIdentityBaseUrl.TrimEnd('/')/account">You can edit your account details there.</a></p>
mit
C#
35d105f53459854cd977833d1459be73c9637efb
add missing favicon
planetClaire/Orchard-LETS,planetClaire/Orchard-LETS,planetClaire/Orchard-LETS,planetClaire/Orchard-LETS,planetClaire/Orchard-LETS
src/Orchard.Web/Themes/LETSBootstrap/Views/Document.cshtml
src/Orchard.Web/Themes/LETSBootstrap/Views/Document.cshtml
@using Orchard.Localization @using Orchard.Mvc.Html; @{ string title = Convert.ToString(Model.Title); string siteName = Convert.ToString(WorkContext.CurrentSite.SiteName); bool isRtl = WorkContext.CurrentCultureInfo().TextInfo.IsRightToLeft; Html.AddPageClassNames("dir-" + (isRtl ? "rtl" : "ltr")); ...
@using Orchard.Localization @using Orchard.Mvc.Html; @{ string title = Convert.ToString(Model.Title); string siteName = Convert.ToString(WorkContext.CurrentSite.SiteName); bool isRtl = WorkContext.CurrentCultureInfo().TextInfo.IsRightToLeft; Html.AddPageClassNames("dir-" + (isRtl ? "rtl" : "ltr")); ...
bsd-3-clause
C#
f3824da64b2596b49fe317fe784b30d831c9cc19
Fix - Corretto reperimento codice chiamata
vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf
src/backend/SO115App.FakePersistenceJSon/GestioneIntervento/GetMaxCodice.cs
src/backend/SO115App.FakePersistenceJSon/GestioneIntervento/GetMaxCodice.cs
using Newtonsoft.Json; using SO115App.API.Models.Classi.Soccorso; using SO115App.API.Models.Servizi.Infrastruttura.GestioneSoccorso; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; namespace SO115App.FakePersistenceJSon.GestioneIntervento { public class GetMa...
using Newtonsoft.Json; using SO115App.API.Models.Classi.Soccorso; using SO115App.API.Models.Servizi.Infrastruttura.GestioneSoccorso; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; namespace SO115App.FakePersistenceJSon.GestioneIntervento { public class GetMa...
agpl-3.0
C#
8ec97762374f1fdc59c6606594fd60c4e4e201c2
Set Mac DatePicker to calendar style.
TheBrainTech/xwt
Xwt.Mac/Xwt.Mac/DatePickerBackend.cs
Xwt.Mac/Xwt.Mac/DatePickerBackend.cs
// // DatePickerBackend.cs // // Author: // Lluis Sanchez <lluis@xamarin.com> // // Copyright (c) 2013 Xamarin Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restric...
// // DatePickerBackend.cs // // Author: // Lluis Sanchez <lluis@xamarin.com> // // Copyright (c) 2013 Xamarin Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restric...
mit
C#
246fc65b2e7daeaf2cf7b6b15ff43816fc77b019
Update comments.
damianh/LimitsMiddleware,damianh/LimitsMiddleware
src/LimitsMiddleware.OwinAppBuilder/AppBuilderExtensions.MaxBandwidthGlobal.cs
src/LimitsMiddleware.OwinAppBuilder/AppBuilderExtensions.MaxBandwidthGlobal.cs
namespace Owin { using System; using LimitsMiddleware; using AppFunc = System.Func<System.Collections.Generic.IDictionary<string, object>, System.Threading.Tasks.Task>; using MidFunc = System.Func< System.Func<System.Collections.Generic.IDictionary<string, object>, System.Threading.Tasks.Task>,...
namespace Owin { using System; using LimitsMiddleware; using AppFunc = System.Func<System.Collections.Generic.IDictionary<string, object>, System.Threading.Tasks.Task>; using MidFunc = System.Func< System.Func<System.Collections.Generic.IDictionary<string, object>, System.Threading.Tasks.Task>,...
mit
C#
356f37e4fd7cf32b2f596e685d0ce987ebb38bfc
Update text case for CreateSampleLesson
GGProductions/LetterStormUnitTests
Assetts/Classes/GGProduction/LetterStorm/Data/Collections/LessonBookTests.cs
Assetts/Classes/GGProduction/LetterStorm/Data/Collections/LessonBookTests.cs
using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using GGProductions.LetterStorm.Data.Collections; namespace Test.GGProductions.LetterStorm.Data.Collections { [TestClass] public class LessonBookTests { [TestMethod] public void CreateSampleLessonTest() { ...
using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using GGProductions.LetterStorm.Data.Collections; namespace Test.GGProductions.LetterStorm.Data.Collections { [TestClass] public class LessonBookTests { [TestMethod] public void CreateSampleLessonTest() { ...
mit
C#
65f6f098c966f1b4b8c52dcdc1781e9784465c53
Update _Navbar.cshtml
reactiveui/website,reactiveui/website,reactiveui/website,reactiveui/website
input/_Navbar.cshtml
input/_Navbar.cshtml
@{ List<Tuple<string, string>> pages = new List<Tuple<string, string>> { Tuple.Create("Blog", Context.GetLink("blog")), Tuple.Create("Meetup", Context.GetLink("meetup")), Tuple.Create("Training", Context.GetLink("training")), Tuple.Create("Documentation", Context.GetLink("docs"))...
@{ List<Tuple<string, string>> pages = new List<Tuple<string, string>> { Tuple.Create("Blog", Context.GetLink("blog")), Tuple.Create("Meetup", Context.GetLink("meetup")), Tuple.Create("Training", Context.GetLink("training")), Tuple.Create("Documentation", Context.GetLink("docs"))...
mit
C#
bb0db4c1a22235dd093570a09e282884ae7cba1a
Update GoogleAnalyticsPlatform.cs
KSemenenko/Google-Analytics-for-Xamarin-Forms,KSemenenko/GoogleAnalyticsForXamarinForms
Plugin.GoogleAnalytics/Plugin.GoogleAnalytics.Mac/GoogleAnalyticsPlatform.cs
Plugin.GoogleAnalytics/Plugin.GoogleAnalytics.Mac/GoogleAnalyticsPlatform.cs
using System; using Plugin.GoogleAnalytics.Abstractions; using Plugin.GoogleAnalytics.Abstractions.Model; namespace Plugin.GoogleAnalytics { public partial class GoogleAnalytics { static GoogleAnalytics() { AppDomain.CurrentDomain.UnhandledException += CurrentDomain_UnhandledExcepti...
using System; using Plugin.GoogleAnalytics.Abstractions; using Plugin.GoogleAnalytics.Abstractions.Model; namespace Plugin.GoogleAnalytics { public partial class GoogleAnalytics { static GoogleAnalytics() { AppDomain.CurrentDomain.UnhandledException += CurrentDomain_UnhandledExcepti...
mit
C#
215885a43643ad1597534650d08f2d50ff98566b
Disable combat mode.
space-wizards/space-station-14-content,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14-content,space-wizards/space-station-14-content
Content.Client/Input/ContentContexts.cs
Content.Client/Input/ContentContexts.cs
using Content.Shared.Input; using Robust.Shared.Input; namespace Content.Client.Input { /// <summary> /// Contains a helper function for setting up all content /// contexts, and modifying existing engine ones. /// </summary> public static class ContentContexts { public static v...
using Content.Shared.Input; using Robust.Shared.Input; namespace Content.Client.Input { /// <summary> /// Contains a helper function for setting up all content /// contexts, and modifying existing engine ones. /// </summary> public static class ContentContexts { public static v...
mit
C#
7860fce8a0642b22bc180f0ba1ad8819eb7269df
Add EOF newline to IDevice.Obsoletes.cs.
danpierce1/Colore,WolfspiritM/Colore,CoraleStudios/Colore
Corale.Colore/Core/IDevice.Obsoletes.cs
Corale.Colore/Core/IDevice.Obsoletes.cs
// --------------------------------------------------------------------------------------- // <copyright file="IDevice.Obsoletes.cs" company="Corale"> // Copyright © 2015 by Adam Hellberg and Brandon Scott. // // Permission is hereby granted, free of charge, to any person obtaining a copy of // this softwa...
// --------------------------------------------------------------------------------------- // <copyright file="IDevice.Obsoletes.cs" company="Corale"> // Copyright © 2015 by Adam Hellberg and Brandon Scott. // // Permission is hereby granted, free of charge, to any person obtaining a copy of // this softwa...
mit
C#
5603be33edd2521541c5cffffc0bb5d9f7b07be0
Change "Note" widget default height
danielchalmers/DesktopWidgets
DesktopWidgets/Widgets/Note/Settings.cs
DesktopWidgets/Widgets/Note/Settings.cs
using System.ComponentModel; using DesktopWidgets.Classes; namespace DesktopWidgets.Widgets.Note { public class Settings : WidgetSettingsBase { public Settings() { Width = 160; Height = 132; } [DisplayName("Saved Text")] public string Text { get...
using System.ComponentModel; using DesktopWidgets.Classes; namespace DesktopWidgets.Widgets.Note { public class Settings : WidgetSettingsBase { public Settings() { Width = 160; Height = 200; } [DisplayName("Saved Text")] public string Text { get...
apache-2.0
C#
b3082d4389d21be92b02a2361adc1d9d34e53876
Fix notimplemented exception
dolkensp/Dolkens.Framework
Dolkens.Framework.Caching.Stub/Cache.cs
Dolkens.Framework.Caching.Stub/Cache.cs
using System; using Dolkens.Framework.Caching.Interfaces; using ASP = System.Runtime.Caching; namespace Dolkens.Framework.Caching.Stub { public class Cache : ICache { public Object this[String key] { get { return null; } set { } } public Boolean Add(ASP...
using System; using Dolkens.Framework.Caching.Interfaces; using ASP = System.Runtime.Caching; namespace Dolkens.Framework.Caching.Stub { public class Cache : ICache { public Object this[String key] { get { return null; } set { } } public Boolean Add(ASP...
mit
C#
990ed090f91ac08d096b4f8d918732214d5bf81e
Add two book discount scenario
kirkchen/KataPotter.CSharp
KataPotter/KataPotterPriceCalculator.cs
KataPotter/KataPotterPriceCalculator.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace KataPotter { public class KataPotterPriceCalculator { private static readonly double BOOK_UNIT_PRICE = 8; private static readonly double TWO_BOOKS_DISCOUNT_RATE = 0.95...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace KataPotter { public class KataPotterPriceCalculator { private static readonly double BOOK_UNIT_PRICE = 8; public double Calculate(Dictionary<string, int> booksToBuy) ...
mit
C#
be217e665e888972aa49df497fecd281ca82637a
Fix failing tests
JetBrains/resharper-unity,JetBrains/resharper-unity,JetBrains/resharper-unity
resharper/resharper-yaml/test/src/UnityTestsSpecificYamlFileExtensionMapping.cs
resharper/resharper-yaml/test/src/UnityTestsSpecificYamlFileExtensionMapping.cs
using System; using System.Collections.Generic; using JetBrains.Application; using JetBrains.Lifetimes; using JetBrains.ProjectModel; using JetBrains.ReSharper.Plugins.Yaml.ProjectModel; using JetBrains.Util; namespace JetBrains.ReSharper.Plugins.Yaml.Tests { [ShellComponent] public class UnityTestsSpecificYamlFi...
using System; using System.Collections.Generic; using JetBrains.Application; using JetBrains.Lifetimes; using JetBrains.ProjectModel; using JetBrains.ReSharper.Plugins.Yaml.ProjectModel; using JetBrains.Util; namespace JetBrains.ReSharper.Plugins.Yaml.Tests { [ShellComponent] public class UnityTestsSpecificYamlFi...
apache-2.0
C#
f6f1a4359287e94961eb766e744653121a23c266
Fix - Corretta notifica delete utente
vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf
src/backend/SO115App.SignalR/Sender/GestioneRuoli/NotificationDeleteRuolo.cs
src/backend/SO115App.SignalR/Sender/GestioneRuoli/NotificationDeleteRuolo.cs
using Microsoft.AspNetCore.SignalR; using SO115App.Models.Servizi.CQRS.Commands.GestioneUtenti.DeleteRuoliUtente; using SO115App.Models.Servizi.Infrastruttura.GestioneUtenti.GetUtenti; using SO115App.Models.Servizi.Infrastruttura.Notification.GestioneUtenti.GestioneRuoli; using System.Threading.Tasks; namespace SO115...
using Microsoft.AspNetCore.SignalR; using SO115App.Models.Servizi.CQRS.Commands.GestioneUtenti.DeleteRuoliUtente; using SO115App.Models.Servizi.Infrastruttura.GestioneUtenti.GetUtenti; using SO115App.Models.Servizi.Infrastruttura.Notification.GestioneUtenti.GestioneRuoli; using System.Threading.Tasks; namespace SO115...
agpl-3.0
C#
aa20519e2c423e25c8f54004c0c061d1aab8bf51
Fix insertion unit test.
brendanjbaker/StraightSQL
test/StraightSql.Test/InsertQueryTest.cs
test/StraightSql.Test/InsertQueryTest.cs
namespace StraightSql.Test { using System; using System.Threading.Tasks; using Xunit; public class InsertQueryTest { [Fact] public async Task InsertQueryTestAsync() { var queryDispatcher = new QueryDispatcher( new CommandPreparer(), new ConnectionFactory(ConnectionString.Defa...
namespace StraightSql.Test { using System; using System.Threading.Tasks; using Xunit; public class InsertQueryTest { [Fact] public async Task InsertQueryTestAsync() { var queryDispatcher = new QueryDispatcher( new CommandPreparer(), new ConnectionFactory(ConnectionString.Defa...
mit
C#
acac824c4e273227af2857a23021a2d04a6d4fdb
Improve usability
yonglehou/msgpack-rpc-cli,yfakariya/msgpack-rpc-cli
test/MsgPack.Rpc.Server.UnitTest/Rpc/Server/Protocols/NullServerTransport.cs
test/MsgPack.Rpc.Server.UnitTest/Rpc/Server/Protocols/NullServerTransport.cs
#region -- License Terms -- // // MessagePack for CLI // // Copyright (C) 2010 FUJIWARA, Yusuke // // 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...
#region -- License Terms -- // // MessagePack for CLI // // Copyright (C) 2010 FUJIWARA, Yusuke // // 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...
apache-2.0
C#
488dd250c68aba871ca4211e7bd73475f6c4267c
Fix TCol sync dialog report button when there is a book error (BL-10624)
gmartin7/myBloomFork,StephenMcConnel/BloomDesktop,StephenMcConnel/BloomDesktop,BloomBooks/BloomDesktop,BloomBooks/BloomDesktop,StephenMcConnel/BloomDesktop,gmartin7/myBloomFork,gmartin7/myBloomFork,gmartin7/myBloomFork,StephenMcConnel/BloomDesktop,StephenMcConnel/BloomDesktop,BloomBooks/BloomDesktop,gmartin7/myBloomFor...
src/BloomExe/CommonMessages.cs
src/BloomExe/CommonMessages.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Text.RegularExpressions; using System.Threading.Tasks; using L10NSharp; namespace Bloom { /// <summary> /// A place to put messages that may be reusable /// </summary> public class CommonMessages { public static ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Text.RegularExpressions; using System.Threading.Tasks; using L10NSharp; namespace Bloom { /// <summary> /// A place to put messages that may be reusable /// </summary> public class CommonMessages { public static ...
mit
C#
fad4ffa3f95f770651ab065198b0ccaacccec85d
Fix memory leak inside SpriteFont
k-t/SharpHaven
MonoHaven.Client/Graphics/SpriteFont.cs
MonoHaven.Client/Graphics/SpriteFont.cs
using System; using System.Collections.Generic; using System.Drawing; using OpenTK.Graphics.OpenGL; using SharpFont; namespace MonoHaven.Graphics { public class SpriteFont : IDisposable { private readonly Face face; private readonly TextureAtlas atlas; private readonly Dictionary<char, Glyph> glyphs; privat...
using System; using System.Collections.Generic; using System.Drawing; using OpenTK.Graphics.OpenGL; using SharpFont; namespace MonoHaven.Graphics { public class SpriteFont : IDisposable { private readonly Face face; private readonly TextureAtlas atlas; private readonly Dictionary<char, Glyph> glyphs; privat...
mit
C#
b6eb1456b9258bcd462a877b97f58f3687f8fc99
Set lifetime scope of services to instance per request
erooijak/oogstplanner,erooijak/oogstplanner,erooijak/oogstplanner,erooijak/oogstplanner
Oogstplanner.Web/App_Start/IocConfig.cs
Oogstplanner.Web/App_Start/IocConfig.cs
using System.Web.Mvc; using Autofac; using Autofac.Integration.Mvc; using Oogstplanner.Models; using Oogstplanner.Data; using Oogstplanner.Services; namespace Oogstplanner.Web { public static class IocConfig { public static void RegisterDependencies() { var builder = new Containe...
using System.Web.Mvc; using Autofac; using Autofac.Integration.Mvc; using Oogstplanner.Models; using Oogstplanner.Data; using Oogstplanner.Services; namespace Oogstplanner.Web { public static class IocConfig { public static void RegisterDependencies() { var builder = new Containe...
mit
C#
975d049f07300ebd9d351b110f4527885bc611f7
load default setting if config.json is not found
TryItOnline/TioTests
Program.cs
Program.cs
using System; using System.IO; using Newtonsoft.Json; namespace TioTests { public class Program { public static void Main(string[] args) { try { Execute(args); } catch (Exception e) { Logger.LogLine("Un...
using System; using System.IO; using Newtonsoft.Json; namespace TioTests { public class Program { public static void Main(string[] args) { try { Execute(args); } catch (Exception e) { Logger.LogLine("Un...
mit
C#
e734eeeeea7deabbb48c33137de82d08cffe894a
Fix CancelChanges
ciprianciurea/ObservableEntitiesLightTracking
ObservableEntitiesLightTracking/ObservableEntitiesLightTracking/OEEntityEntry.cs
ObservableEntitiesLightTracking/ObservableEntitiesLightTracking/OEEntityEntry.cs
using System.Collections.Generic; using System.Linq; namespace ObservableEntitiesLightTracking { public class OEEntityEntry { private readonly object _entity; private readonly OEEntitySet _entitySet; Dictionary<string, object> _originalValues; internal OEEntityEntry(object ent...
using System.Collections.Generic; using System.Linq; namespace ObservableEntitiesLightTracking { public class OEEntityEntry { private readonly object _entity; private readonly OEEntitySet _entitySet; Dictionary<string, object> _originalValues; internal OEEntityEntry(object ent...
mit
C#
e14697938b5eb50ee92f2878cb4377ecd48ee224
Add tests.
AlekseyTs/roslyn,OmarTawfik/roslyn,weltkante/roslyn,swaroop-sridhar/roslyn,CyrusNajmabadi/roslyn,eriawan/roslyn,bkoelman/roslyn,physhi/roslyn,xasx/roslyn,abock/roslyn,OmarTawfik/roslyn,jamesqo/roslyn,mavasani/roslyn,ErikSchierboom/roslyn,panopticoncentral/roslyn,swaroop-sridhar/roslyn,VSadov/roslyn,shyamnamboodiripad/r...
src/EditorFeatures/CSharpTest/ConvertForToForEach/ConvertForToForEachTests.cs
src/EditorFeatures/CSharpTest/ConvertForToForEach/ConvertForToForEachTests.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.Threading.Tasks; using Microsoft.CodeAnalysis.CodeRefactorings; using Microsoft.CodeAnalysis.CSharp.ConvertForToForEach; using Microsoft.CodeAna...
// 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.Threading.Tasks; using Microsoft.CodeAnalysis.CodeRefactorings; using Microsoft.CodeAnalysis.CSharp.ConvertForToForEach; using Microsoft.CodeAna...
mit
C#
cc2976c69364d660a908911d02781db7bfcd3ffa
Update AbstractSourceData.cs
tsimafei-markhel/Fireworks.NET,sleshJdev/Fireworks.NET
src/FireworksNet.Tests/Explode/AbstractSourceData.cs
src/FireworksNet.Tests/Explode/AbstractSourceData.cs
using System; using System.Collections.Generic; using FireworksNet.Model; using NSubstitute; using FireworksNet.Algorithm.Implementation; using FireworksNet.Distributions; namespace FireworksNet.Tests.Explode { public abstract class AbstractSourceData { public static IEnumerable<object[]> DataForTestM...
using System; using System.Collections.Generic; using FireworksNet.Model; using NSubstitute; using FireworksNet.Algorithm.Implementation; using FireworksNet.Distributions; namespace FireworksNet.Tests.Explode { public abstract class AbstractSourceData { public static IEnumerable<object[]> DataForTestM...
mit
C#
8e7226e30eb2f1d607aab6b1ff7740f84cab89f9
set parent to null after removing the tab from the handler
bbqchickenrobot/Eto-1,PowerOfCode/Eto,PowerOfCode/Eto,bbqchickenrobot/Eto-1,bbqchickenrobot/Eto-1,PowerOfCode/Eto,l8s/Eto,l8s/Eto,l8s/Eto
Source/Eto/Forms/Controls/TabControl.cs
Source/Eto/Forms/Controls/TabControl.cs
using System; using System.Collections; using System.Linq; #if XAML using System.Windows.Markup; #endif namespace Eto.Forms { public interface ITabControl : IControl { int SelectedIndex { get; set; } void InsertTab (int index, TabPage page); void ClearTabs (); void RemoveTab (int index, TabPage page); ...
using System; using System.Collections; using System.Linq; #if XAML using System.Windows.Markup; #endif namespace Eto.Forms { public interface ITabControl : IControl { int SelectedIndex { get; set; } void InsertTab (int index, TabPage page); void ClearTabs (); void RemoveTab (int index, TabPage page); ...
bsd-3-clause
C#
9e131c86d5d0facdab9333d5d48d6c2b95aefc5f
Use SdkManager addin to install platform-tools
Redth/Cake.Android.Adb
build.cake
build.cake
#tool nuget:?package=NUnit.ConsoleRunner&version=3.6.0 #addin nuget:?package=Cake.Android.SdkManager var sln = "./Cake.Android.Adb.sln"; var nuspec = "./Cake.Android.Adb.nuspec"; var target = Argument ("target", "all"); var configuration = Argument ("configuration", "Release"); var NUGET_VERSION = Argument("nugetver...
#tool nuget:?package=NUnit.ConsoleRunner&version=3.6.0 var sln = "./Cake.Android.Adb.sln"; var nuspec = "./Cake.Android.Adb.nuspec"; var target = Argument ("target", "all"); var configuration = Argument ("configuration", "Release"); var NUGET_VERSION = Argument("nugetversion", "0.9999"); var SDK_URL_BASE = "https:/...
mit
C#
6a4cab17f325c7baefae4de70aa9bd53596576bd
Write information about updating appveyor build version
Krusen/ErgastApi.Net
build.cake
build.cake
#addin "Cake.FileHelpers" var target = Argument("target", "Default"); Task("Set-Build-Version") .Does(() => { var projectFile = "./src/ErgastApi/ErgastApi.csproj"; var versionPeekXpath = "/Project/PropertyGroup/Version/text()"; var versionPokeXpath = "/Project/PropertyGroup/Version"; var version ...
#addin "Cake.FileHelpers" var target = Argument("target", "Default"); Task("Set-Build-Version") .Does(() => { var projectFile = "./src/ErgastApi/ErgastApi.csproj"; var versionPeekXpath = "/Project/PropertyGroup/Version/text()"; var versionPokeXpath = "/Project/PropertyGroup/Version"; var version ...
unlicense
C#
7a1eb8c3ca9b2b21771a016d291b5ec227ee401d
Add missing ConfigureAwait to HttpGelfClient
mattwcole/gelf-extensions-logging
src/Gelf.Extensions.Logging/HttpGelfClient.cs
src/Gelf.Extensions.Logging/HttpGelfClient.cs
using System; using System.Net.Http; using System.Text; using System.Threading.Tasks; namespace Gelf.Extensions.Logging { public class HttpGelfClient : IGelfClient { private readonly HttpClient _httpClient; public HttpGelfClient(GelfLoggerOptions options) { var uri...
using System; using System.Net.Http; using System.Text; using System.Threading.Tasks; namespace Gelf.Extensions.Logging { public class HttpGelfClient : IGelfClient { private readonly HttpClient _httpClient; public HttpGelfClient(GelfLoggerOptions options) { var uri...
mit
C#
f6941f4c58059727da467b469a066586b4b45cef
bump explorer gui version
lysannschlegel/RDAExplorer
src/RDAExplorerGUI/Properties/AssemblyInfo.cs
src/RDAExplorerGUI/Properties/AssemblyInfo.cs
using System.Reflection; using System.Resources; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Windows; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated ...
using System.Reflection; using System.Resources; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Windows; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated ...
bsd-3-clause
C#
c7c2b1dfd45c8c5a6d0a71cb025b828487f6f6b4
Update src/Umbraco.Core/Services/IKeyValueService.cs
arknu/Umbraco-CMS,arknu/Umbraco-CMS,dawoe/Umbraco-CMS,dawoe/Umbraco-CMS,KevinJump/Umbraco-CMS,marcemarc/Umbraco-CMS,dawoe/Umbraco-CMS,JimBobSquarePants/Umbraco-CMS,umbraco/Umbraco-CMS,robertjf/Umbraco-CMS,marcemarc/Umbraco-CMS,umbraco/Umbraco-CMS,KevinJump/Umbraco-CMS,abjerner/Umbraco-CMS,KevinJump/Umbraco-CMS,robertjf...
src/Umbraco.Core/Services/IKeyValueService.cs
src/Umbraco.Core/Services/IKeyValueService.cs
using System.Collections; using System.Collections.Generic; namespace Umbraco.Cms.Core.Services { /// <summary> /// Manages the simplified key/value store. /// </summary> public interface IKeyValueService { /// <summary> /// Gets a value. /// </summary> /// <remarks>...
using System.Collections; using System.Collections.Generic; namespace Umbraco.Cms.Core.Services { /// <summary> /// Manages the simplified key/value store. /// </summary> public interface IKeyValueService { /// <summary> /// Gets a value. /// </summary> /// <remarks>...
mit
C#
fbad35aa9f25d46a8adb9eb1105aa22265a06d00
Add expected answer for day 13 part 2
martincostello/adventofcode,martincostello/adventofcode,martincostello/adventofcode,martincostello/adventofcode
tests/AdventOfCode.Tests/Puzzles/Y2017/Day13Tests.cs
tests/AdventOfCode.Tests/Puzzles/Y2017/Day13Tests.cs
// Copyright (c) Martin Costello, 2015. All rights reserved. // Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information. namespace MartinCostello.AdventOfCode.Puzzles.Y2017 { using Xunit; /// <summary> /// A class containing tests for the <see cref="Day...
// Copyright (c) Martin Costello, 2015. All rights reserved. // Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information. namespace MartinCostello.AdventOfCode.Puzzles.Y2017 { using Xunit; /// <summary> /// A class containing tests for the <see cref="Day...
apache-2.0
C#
d9b9bec52426904919f53ff3d132537716ca2341
Add field to modifier roughness
Saduras/TerrainGeneration,Saduras/TerrainGeneration,Saduras/TerrainGeneration
Assets/TerrainGeneration/Scripts/Editor/TerrainGeneratorWindow.cs
Assets/TerrainGeneration/Scripts/Editor/TerrainGeneratorWindow.cs
using UnityEngine; using UnityEditor; using System.Collections; public class TerrainGeneratorWindow : EditorWindow { Terrain m_terrain = null; int m_detail = 8; float m_roughness = 0.7f; float m_smoothCenter = 0.5f; float m_smoothGrade = 0.5f; float m_smoothThreshold = 0.1f; int m_smoothIterations = 2; [Men...
using UnityEngine; using UnityEditor; using System.Collections; public class TerrainGeneratorWindow : EditorWindow { Terrain m_terrain = null; int m_detail = 8; float m_smoothCenter = 0.5f; float m_smoothGrade = 0.5f; float m_smoothThreshold = 0.1f; int m_smoothIterations = 2; [MenuItem("Window/TerrainGenera...
mit
C#
96c6d4c639a3bcf1c82d88e28fb1ad20e63ae746
add missing model: ProGetPackageVersionExtended
lvermeulen/ProGet.Net
src/ProGet.Net/Native/Models/ProGetPackageVersionExtended.cs
src/ProGet.Net/Native/Models/ProGetPackageVersionExtended.cs
using System; // ReSharper disable InconsistentNaming namespace ProGet.Net.Native.Models { public class ProGetPackageVersionExtended { public int ProGetPackage_Id { get; set; } public string Package_Name { get; set; } public string Group_Name { get; set; } public string Versio...
namespace ProGet.Net.Native.Models { public class ProGetPackageVersionExtended { } }
mit
C#
fb4b10def254fa10d3275b694f44ab99ea26ece8
teste b
Thiago-Caramelo/patchsearch
Program.cs
Program.cs
using System; using System.Collections.Generic; using System.IO; using System.Text; namespace PatchSearch { // teste teste class Program { static void Main(string[] args) { if (args == null || args.Length == 0) { return; } ...
using System; using System.Collections.Generic; using System.IO; using System.Text; namespace PatchSearch { // teste class Program { static void Main(string[] args) { if (args == null || args.Length == 0) { return; } ...
mit
C#
c4265a38f17d4c89807cf231f3573b464f52327d
add clean operation
tsolarin/dotnet-clean
Program.cs
Program.cs
using System; using System.IO; namespace ConsoleApplication { public class Program { public static void Main(string[] args) { Console.WriteLine("Cleaning..."); try { if (Directory.Exists("./bin")) Directory.Delete("./bin"...
using System; namespace ConsoleApplication { public class Program { public static void Main(string[] args) { Console.WriteLine("Hello World!"); } } }
mit
C#
2b0b7d2d803f6a0b3e6ff159d9cefcd83edf11a1
test commit
Zergatul/Injector
Program.cs
Program.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Runtime.InteropServices; using System.Diagnostics; namespace Injector { class Program { // test static void Main(string[] args) { string dllName = @"C:\Users\Zergatul\Document...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Runtime.InteropServices; using System.Diagnostics; namespace Injector { class Program { static void Main(string[] args) { string dllName = @"C:\Users\Zergatul\Documents\Visual Studio ...
mit
C#
e624ddd219b81131ebfa8f4b5d3e6000dd2e8a2c
Add completed with failures as a final end status (although it might not be)
MattFarm/BusinessPlatformApps,MattFarm/BusinessPlatformApps,MattFarm/BusinessPlatformApps,MattFarm/BusinessPlatformApps,MattFarm/BusinessPlatformApps
Source/Actions/Microsoft.Deployment.Actions.MsCrmActions/CrmGetProfileStatus.cs
Source/Actions/Microsoft.Deployment.Actions.MsCrmActions/CrmGetProfileStatus.cs
namespace Microsoft.Deployment.Common.Actions.MsCrm { using Microsoft.Deployment.Common.ActionModel; using Microsoft.Deployment.Common.Actions; using Microsoft.Deployment.Common.Helpers; using Model; using Newtonsoft.Json; using System; using System.ComponentModel.Composition; using Sys...
namespace Microsoft.Deployment.Common.Actions.MsCrm { using Microsoft.Deployment.Common.ActionModel; using Microsoft.Deployment.Common.Actions; using Microsoft.Deployment.Common.Helpers; using Model; using Newtonsoft.Json; using System; using System.ComponentModel.Composition; using Sys...
mit
C#
1aede57687c7d01fa434de82c6b5fbb9950bb23b
Add test cases.
niarora/Playground
Program.cs
Program.cs
namespace Playground { using System; using System.Collections.Generic; using System.Linq; using Playground.Extensions; public static class Program { public static void Main() { TestRemovingDuplicates(new int[] { 1, 10, 3, 4, 5, 7, 8, 10, 123, 14, 1, 5, 5, 3, 15, 1, 12...
namespace Playground { using System; using System.Collections.Generic; using System.Linq; using Playground.Extensions; public static class Program { public static void Main() { TestRemovingDuplicates(new int[] { 1, 10, 3, 4, 5, 7, 8, 10, 123, 14, 1, 5, 5, 3, 15, 1, 12...
mit
C#
08cf2ba52a7b96fb2bcd6d99443758a46b170834
Update test
AmadeusW/roslyn,wvdd007/roslyn,reaction1989/roslyn,AmadeusW/roslyn,stephentoub/roslyn,weltkante/roslyn,weltkante/roslyn,bartdesmet/roslyn,mavasani/roslyn,wvdd007/roslyn,physhi/roslyn,aelij/roslyn,brettfo/roslyn,mgoertz-msft/roslyn,KirillOsenkov/roslyn,shyamnamboodiripad/roslyn,tannergooding/roslyn,mgoertz-msft/roslyn,C...
src/Features/LanguageServer/ProtocolUnitTests/Initialize/InitializeTests.cs
src/Features/LanguageServer/ProtocolUnitTests/Initialize/InitializeTests.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 System.Threading.Tasks; using Roslyn.Test.Utilities; using Xunit; using LSP = Microso...
// 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 System.Threading.Tasks; using Roslyn.Test.Utilities; using Xunit; using LSP = Microso...
mit
C#
15b2f30a760356fe3f4f24a4daac354bf268cf28
Add missing route
laurentkempe/HipChatConnect,laurentkempe/HipChatConnect
src/HipChatConnect/Controllers/Listeners/Github/GithubListenerController.cs
src/HipChatConnect/Controllers/Listeners/Github/GithubListenerController.cs
using System.Net; using System.Threading.Tasks; using HipChatConnect.Controllers.Listeners.Github.Models; using MediatR; using Microsoft.AspNetCore.Mvc; namespace HipChatConnect.Controllers.Listeners.Github { [Route("/github/listener")] public class GithubListenerController : Controller { private ...
using System.Net; using System.Threading.Tasks; using HipChatConnect.Controllers.Listeners.Github.Models; using MediatR; using Microsoft.AspNetCore.Mvc; namespace HipChatConnect.Controllers.Listeners.Github { public class GithubListenerController : Controller { private readonly IMediator _mediator; ...
mit
C#
577d703f03288a4e88d8a0e77e876e2922842584
Set version to 1.0
ALyman/Synapse
source/Synapse/Properties/AssemblyInfo.cs
source/Synapse/Properties/AssemblyInfo.cs
#region LICENSE // Copyright (c) 2011, Alex Lyman // All rights reserved. // // 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 retain the above copyright notice, this list of condi...
#region LICENSE // Copyright (c) 2011, Alex Lyman // All rights reserved. // // 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 retain the above copyright notice, this list of condi...
bsd-3-clause
C#
f8874cf0992e2e952318edcdc4d072efe1b102f0
Fix AssemblyFileVersion that got messed up in merge
sillsdev/icu-dotnet,conniey/icu-dotnet,ermshiperete/icu-dotnet,ermshiperete/icu-dotnet,conniey/icu-dotnet,sillsdev/icu-dotnet
source/icu.net/Properties/AssemblyInfo.cs
source/icu.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: AssemblyTitle("icu....
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("icu....
mit
C#
88bfa0dab7ba9794ea7b7803a123215c82473e57
Remove unnecessary fields/methods for lsp push diagnostics
mavasani/roslyn,gafter/roslyn,ErikSchierboom/roslyn,sharwell/roslyn,CyrusNajmabadi/roslyn,sharwell/roslyn,KevinRansom/roslyn,wvdd007/roslyn,AmadeusW/roslyn,ErikSchierboom/roslyn,stephentoub/roslyn,AmadeusW/roslyn,physhi/roslyn,wvdd007/roslyn,AmadeusW/roslyn,stephentoub/roslyn,tmat/roslyn,shyamnamboodiripad/roslyn,wvdd0...
src/VisualStudio/Xaml/Impl/Implementation/LanguageClient/XamlLanguageServerClient.cs
src/VisualStudio/Xaml/Impl/Implementation/LanguageClient/XamlLanguageServerClient.cs
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using System.ComponentModel.Composition; using Microsoft.CodeAnalysis.Diagnostics; using Microsoft.Co...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using System.ComponentModel.Composition; using Microsoft.CodeAnalysis.Diagnostics; using Microsoft.Co...
mit
C#
1193dd3d1cdad1a25c5fc7fe075b3d24990914d7
Rollback a change
dotMorten/AllJoynDotNet
src/AllJoynDotNet/Shared/AboutListener.cs
src/AllJoynDotNet/Shared/AboutListener.cs
using System; using System.Diagnostics; using System.Runtime.InteropServices; namespace AllJoynDotNet { public partial class AboutListener : AllJoynWrapper { private alljoyn_aboutlistener_callback callback; private AboutListener(alljoyn_aboutlistener_callback callback) : base(IntPtr.Zero) ...
using System; using System.Diagnostics; using System.Runtime.InteropServices; namespace AllJoynDotNet { public partial class AboutListener : AllJoynWrapper { private alljoyn_aboutlistener_callback callback; private AboutListener(alljoyn_aboutlistener_callback callback) : base(IntPtr.Zero) ...
apache-2.0
C#
acbb1ab6091d072365a18522a11b8020b16ff586
remove debug log
runceel/ReactiveProperty,runceel/ReactiveProperty,runceel/ReactiveProperty
Sample/XamarinAndroid/Views/ReactivePropertyBasicsActivity.cs
Sample/XamarinAndroid/Views/ReactivePropertyBasicsActivity.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Reactive.Linq; using Android.App; using Android.Content; using Android.OS; using Android.Runtime; using Android.Views; using Android.Widget; using Reactive.Bindings; using Reactive.Bindings.Extensions; using Sample.View...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Reactive.Linq; using Android.App; using Android.Content; using Android.OS; using Android.Runtime; using Android.Views; using Android.Widget; using Reactive.Bindings; using Reactive.Bindings.Extensions; using Sample.View...
mit
C#
268a4f33ce74a528b28f46c01b0a49ecc171d518
Fix typo error
aloneguid/config
src/Config.Net/TypeParsers/ShortParser.cs
src/Config.Net/TypeParsers/ShortParser.cs
using System; using System.Collections.Generic; using System.Globalization; using System.Text; namespace Config.Net.TypeParsers { class ShortParser : ITypeParser { public IEnumerable<Type> SupportedTypes => new[] { typeof(short) }; public bool TryParse(string value, Type t, out object result) ...
using System; using System.Collections.Generic; using System.Globalization; using System.Text; namespace Config.Net.TypeParsers { class ShortParser : ITypeParser { public IEnumerable<Type> SupportedTypes => new[] { typeof(int) }; public bool TryParse(string value, Type t, out object result) {...
mit
C#
8ef50ff42dab85eaae680274ccd7d3b25a78de2f
Add safety to ensure `RealmLiveUnmanaged` is not used with managed instances
ppy/osu,peppy/osu,NeoAdonis/osu,ppy/osu,ppy/osu,peppy/osu,NeoAdonis/osu,peppy/osu,NeoAdonis/osu
osu.Game/Database/RealmLiveUnmanaged.cs
osu.Game/Database/RealmLiveUnmanaged.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System; using Realms; #nullable enable namespace osu.Game.Database { /// <summary> /// Provides a method of working with unmanaged realm objects. /// ...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System; using Realms; #nullable enable namespace osu.Game.Database { /// <summary> /// Provides a method of working with unmanaged realm objects. /// ...
mit
C#
a6c6f1984936431ebb39cb823f374b3f1b02052c
Clean up using.
sjp/Schematic,sjp/Schematic,sjp/Schematic,sjp/SJP.Schema,sjp/Schematic
src/SJP.Schematic.Core/Utilities/Empty.cs
src/SJP.Schematic.Core/Utilities/Empty.cs
using System; using System.Collections.Generic; using System.Threading.Tasks; namespace SJP.Schematic.Core.Utilities { public static class Empty { public static Task<IReadOnlyCollection<IRelationalDatabaseTable>> Tables { get; } = Task.FromResult<IReadOnlyCollection<IRelationalDatabaseTable>>(Array.Em...
using System; using System.Collections.Generic; using System.Text; using System.Threading.Tasks; namespace SJP.Schematic.Core.Utilities { public static class Empty { public static Task<IReadOnlyCollection<IRelationalDatabaseTable>> Tables { get; } = Task.FromResult<IReadOnlyCollection<IRelationalDatab...
mit
C#
451eac594d35fc681e4431e093a0d985e2359626
Debug output on throttled throughput
OpenStreamDeck/StreamDeckSharp
src/StreamDeckSharp/Internals/Throttle.cs
src/StreamDeckSharp/Internals/Throttle.cs
using System; using System.Diagnostics; using System.Threading; namespace StreamDeckSharp.Internals { internal class Throttle { private readonly Stopwatch stopwatch = Stopwatch.StartNew(); private long sumBytesInWindow = 0; private int sleepCount = 0; public double BytesPerSec...
using System; using System.Diagnostics; using System.Threading; namespace StreamDeckSharp.Internals { internal class Throttle { private readonly Stopwatch stopwatch = Stopwatch.StartNew(); private long sumBytesInWindow = 0; public double BytesPerSecondLimit { get; set; } = double.Posi...
mit
C#
d5403032a94a956c8d91b934e4f4ef19894960c4
Fix CVC4 support (requires a new version that supports the reset command).
symbooglix/symbooglix,symbooglix/symbooglix,symbooglix/symbooglix
src/Symbooglix/Solver/CVC4SMTLIBSolver.cs
src/Symbooglix/Solver/CVC4SMTLIBSolver.cs
using System; using Symbooglix.Solver; namespace Symbooglix { namespace Solver { public class CVC4SMTLIBSolver : SimpleSMTLIBSolver { SMTLIBQueryPrinter.Logic LogicToUse = SMTLIBQueryPrinter.Logic.ALL_SUPPORTED; // Non standard public CVC4SMTLIBSolver(bool useNamedAttri...
using System; using Symbooglix.Solver; namespace Symbooglix { namespace Solver { public class CVC4SMTLIBSolver : SimpleSMTLIBSolver { SMTLIBQueryPrinter.Logic LogicToUse = SMTLIBQueryPrinter.Logic.ALL_SUPPORTED; // Non standard public CVC4SMTLIBSolver(bool useNamedAttri...
bsd-2-clause
C#
3cb095327b6d9e301c9d0bcd923bfc599348627e
Clean up Process.cs
Cyberboss/tgstation-server,Cyberboss/tgstation-server,tgstation/tgstation-server,tgstation/tgstation-server-tools,tgstation/tgstation-server
src/Tgstation.Server.Host/Core/Process.cs
src/Tgstation.Server.Host/Core/Process.cs
using System; using System.Text; using System.Threading.Tasks; namespace Tgstation.Server.Host.Core { /// <inheritdoc /> sealed class Process : IProcess { /// <inheritdoc /> public int Id { get; } /// <inheritdoc /> public Task Startup { get; } /// <inheritdoc /> public Task<int> Lifetime { get; } ...
using System; using System.Collections.Generic; using System.Text; using System.Threading.Tasks; namespace Tgstation.Server.Host.Core { /// <inheritdoc /> sealed class Process : IProcess { public int Id { get; } public Task Startup { get; } public Task<int> Lifetime { get; } readonly System.Diagnostics...
agpl-3.0
C#
945b34fe76a6892c9dce388f111d1fc5822d28af
fix typo
lesovsky/uber-scripts,lesovsky/uber-scripts,lesovsky/uber-scripts
cheatsheets/megacli.cs
cheatsheets/megacli.cs
MegaCli is a RAID utility For LSI MegaRAID Controllers LD - LogicalDrive PD - PhysicalDrive BBU - Backup Battery Unit # Get Info megacli adpcount # get controllers count megacli adpallinfo aall # get information about all adapters megacli adpbbucmd aall # get BBU information megacli ldi...
MegaCli is a RAID utility For LSI MegaRAID Controllers LD - LogicalDrive PD - PhysicalDrive BBU - Backup Battery Unit # Get Info megacli adpcount # get controllers count megacli adpallinfo aall # get information about all adapters megacli adpbbucmd aall # get BBU information megacli ldi...
mit
C#
a0ddbfb0b064f3597b5baf06f6378940c27618cc
Make sure the SafeChildProcessHandle is never GC'd by accident
red-gate/RedGate.AppHost
RedGate.AppHost.Client/SafeChildProcessHandle.cs
RedGate.AppHost.Client/SafeChildProcessHandle.cs
using System; using System.Windows.Threading; using RedGate.AppHost.Interfaces; using RedGate.AppHost.Remoting.WPF; namespace RedGate.AppHost.Client { internal class SafeChildProcessHandle : MarshalByRefObject, ISafeChildProcessHandle { private readonly Dispatcher m_UiThreadDispatcher; ...
using System; using System.Windows; using System.Windows.Threading; using RedGate.AppHost.Interfaces; using RedGate.AppHost.Remoting.WPF; namespace RedGate.AppHost.Client { internal class SafeChildProcessHandle : MarshalByRefObject, ISafeChildProcessHandle { private readonly Dispatcher m_UiT...
apache-2.0
C#
db9f9aaa13b4054755b69a607a0f398d9d268cd1
Bump version.
JohanLarsson/Gu.Wpf.NumericInput
Gu.Wpf.NumericInput/Properties/AssemblyInfo.cs
Gu.Wpf.NumericInput/Properties/AssemblyInfo.cs
using System.Reflection; using System.Resources; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Windows; using System.Windows.Markup; [assembly: AssemblyTitle("Gu.Wpf.NumericInput")] [assembly: AssemblyDescription("WPF textboxes for numeric input")] [assembly: AssemblyConfig...
using System.Reflection; using System.Resources; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Windows; using System.Windows.Markup; [assembly: AssemblyTitle("Gu.Wpf.NumericInput")] [assembly: AssemblyDescription("WPF textboxes for numeric input")] [assembly: AssemblyConfig...
mit
C#
06ffc916f97dab59ba0aa6c322e805e9b1b0dd93
Remove unused code and updated directory location.
emiranda04/aes
Utility.cs
Utility.cs
using System; using System.IO; namespace Cipher { class Utility { public static string directory = "/Users/emiranda/Documents/code/c#/cipher_files/"; /// <summary> /// Allows user to choose to display the password on the screen as is being typed. /// </summary> ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.IO; namespace Cipher { class Utility { public static string directory = @"c:\code\cypher_files"; /// <summary> /// Allows user to choose to displ...
mit
C#
fa7ab1cfe16fc50fef71185153ff005ecf59441d
Downgrade version for @Cyberboss
tgstation/tgstation-server,tgstation/tgstation-server-tools,Cyberboss/tgstation-server,Cyberboss/tgstation-server,tgstation/tgstation-server
Version.cs
Version.cs
using System.Reflection; // Version information for an assembly consists of the following four values: // // Major Version // Minor Version // Build Number // Revision // // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [asse...
using System.Reflection; // Version information for an assembly consists of the following four values: // // Major Version // Minor Version // Build Number // Revision // // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [asse...
agpl-3.0
C#
8a3fa53c2661662272a62699eed7d7a1f04407ea
Change mod description and settings labels
peppy/osu-new,smoogipoo/osu,ppy/osu,NeoAdonis/osu,UselessToucan/osu,ppy/osu,NeoAdonis/osu,smoogipooo/osu,UselessToucan/osu,peppy/osu,ppy/osu,peppy/osu,smoogipoo/osu,smoogipoo/osu,UselessToucan/osu,peppy/osu,NeoAdonis/osu
osu.Game/Rulesets/Mods/ModRandomOsu.cs
osu.Game/Rulesets/Mods/ModRandomOsu.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using osu.Framework.Bindables; using osu.Framework.Graphics.Sprites; using osu.Game.Beatmaps; using osu.Game.Configuration; using osu.Game.Graphics; namespace osu.Game.R...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using osu.Framework.Bindables; using osu.Framework.Graphics.Sprites; using osu.Game.Beatmaps; using osu.Game.Configuration; using osu.Game.Graphics; namespace osu.Game.R...
mit
C#
a36c80868247ff5a7fe1c180378e34e95732a905
Use Fit FillFode
NeoAdonis/osu,2yangk23/osu,ZLima12/osu,smoogipoo/osu,UselessToucan/osu,smoogipoo/osu,UselessToucan/osu,smoogipooo/osu,ppy/osu,ZLima12/osu,NeoAdonis/osu,peppy/osu,smoogipoo/osu,peppy/osu,peppy/osu-new,johnneijzen/osu,peppy/osu,johnneijzen/osu,ppy/osu,EVAST9919/osu,EVAST9919/osu,ppy/osu,NeoAdonis/osu,UselessToucan/osu,2y...
osu.Game/Screens/Play/DimmableVideo.cs
osu.Game/Screens/Play/DimmableVideo.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using osu.Framework.Allocation; using osu.Framework.Graphics; using osu.Framework.Graphics.Containers; using osu.Framework.Graphics.Video; using osu.Game.Graphics.Contai...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using osu.Framework.Allocation; using osu.Framework.Graphics; using osu.Framework.Graphics.Containers; using osu.Framework.Graphics.Video; using osu.Game.Graphics.Contai...
mit
C#
a290f7eeec4ecefb46dc4288eb98f94c909f492b
Revert left-over type change in SkinConfiguration
peppy/osu,UselessToucan/osu,smoogipoo/osu,UselessToucan/osu,peppy/osu,ppy/osu,smoogipooo/osu,NeoAdonis/osu,ppy/osu,smoogipoo/osu,smoogipoo/osu,NeoAdonis/osu,NeoAdonis/osu,peppy/osu,peppy/osu-new,UselessToucan/osu,ppy/osu
osu.Game/Skinning/SkinConfiguration.cs
osu.Game/Skinning/SkinConfiguration.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System.Collections.Generic; using osu.Game.Beatmaps.Formats; using osuTK.Graphics; namespace osu.Game.Skinning { /// <summary> /// An empty skin configura...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System.Collections.Generic; using osu.Game.Beatmaps.Formats; using osuTK.Graphics; namespace osu.Game.Skinning { /// <summary> /// An empty skin configura...
mit
C#
84bd467cd8e906a67d4a6961ada8d59e2fac3022
Validate nodes in ProjectCommandBase.
TyOverby/roslyn,gafter/roslyn,jmarolf/roslyn,abock/roslyn,kelltrick/roslyn,genlu/roslyn,stephentoub/roslyn,AlekseyTs/roslyn,DustinCampbell/roslyn,KiloBravoLima/roslyn,physhi/roslyn,bartdesmet/roslyn,bkoelman/roslyn,jamesqo/roslyn,physhi/roslyn,diryboy/roslyn,dpoeschl/roslyn,KevinH-MS/roslyn,amcasey/roslyn,physhi/roslyn...
src/VisualStudio/ProjectSystem/Microsoft.VisualStudio.ProjectSystem.Managed/VisualStudio/ProjectSystem/Designers/Input/ProjectCommandBase.cs
src/VisualStudio/ProjectSystem/Microsoft.VisualStudio.ProjectSystem.Managed/VisualStudio/ProjectSystem/Designers/Input/ProjectCommandBase.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.Tasks; using Microsoft.Threading; using Microsoft.VisualStudio.ProjectSystem.Designe...
// 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.Tasks; using Microsoft.Threading; using Microsoft.VisualStudio.ProjectSystem.Designe...
mit
C#
8d17e61119804993a816aaaee150000c9b6aa021
Add 0.9 and 0.95 handling to TCAPIVersion
RusticiSoftware/TinCan.NET,limey98/TinCan.NET,brianjmiller/TinCan.NET,nagyistoce/TinCan.NET
TinCan/TCAPIVersion.cs
TinCan/TCAPIVersion.cs
/* Copyright 2014 Rustici Software Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed t...
/* Copyright 2014 Rustici Software Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed t...
apache-2.0
C#