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
978fdd31093e139323bf500b90aafe3aed6638e0
Set expires header to max when response is intented to be cached, so browsers will not use try-get pattern for those resources next time.
bit-foundation/bit-framework,bit-foundation/bit-framework,bit-foundation/bit-framework,bit-foundation/bit-framework
Foundation/Server/Foundation.Api/Middlewares/OwinCacheResponseMiddleware.cs
Foundation/Server/Foundation.Api/Middlewares/OwinCacheResponseMiddleware.cs
using System.Threading.Tasks; using Microsoft.Owin; using System.Linq; using System; using Foundation.Api.Implementations; namespace Foundation.Api.Middlewares { public class OwinCacheResponseMiddleware : DefaultOwinActionFilterMiddleware { public OwinCacheResponseMiddleware() { } ...
using System.Threading.Tasks; using Microsoft.Owin; using System.Linq; using System; using Foundation.Api.Implementations; using System.Threading; namespace Foundation.Api.Middlewares { public class OwinCacheResponseMiddleware : DefaultOwinActionFilterMiddleware { public OwinCacheResponseMiddleware() ...
mit
C#
b44bfe7d00584c154d76836f238e943fa95af59f
Set line ending according to the enviroment in ReFormatXML
cezarypiatek/VanillaTransformer
Src/VanillaTransformer/PostTransformations/XML/ReFormatXMLTransformation.cs
Src/VanillaTransformer/PostTransformations/XML/ReFormatXMLTransformation.cs
using System; using System.IO; using System.Xml; namespace VanillaTransformer.PostTransformations.XML { public class ReFormatXMLTransformation:IPostTransformation { public string Name { get { return "ReFormatXML"; } } public string Execute(string configContent) { var settin...
using System.IO; using System.Xml; namespace VanillaTransformer.PostTransformations.XML { public class ReFormatXMLTransformation:IPostTransformation { public string Name { get { return "ReFormatXML"; } } public string Execute(string configContent) { var settings = new XmlWr...
mit
C#
85c4f388c6f0d743ad8e40596caddf0fe32f1dda
Fix header tags for Environment and Metrics (#1700)
dotnet/dotnet-docker,MichaelSimons/dotnet-docker,MichaelSimons/dotnet-docker,dotnet/dotnet-docker
samples/aspnetapp/aspnetapp/Pages/Index.cshtml
samples/aspnetapp/aspnetapp/Pages/Index.cshtml
@page @using System.Runtime.InteropServices @using System.IO @using System.Diagnostics @model IndexModel @{ ViewData["Title"] = "Home page"; var process = Process.GetCurrentProcess(); } <div class="text-center"> <h1 class="display-4">Welcome to .NET Core</h1> <h5>Environment</h5> <p...
@page @using System.Runtime.InteropServices @using System.IO @using System.Diagnostics @model IndexModel @{ ViewData["Title"] = "Home page"; var process = Process.GetCurrentProcess(); } <div class="text-center"> <h1 class="display-4">Welcome to .NET Core</h1> <h5>Environment</h1> <p...
mit
C#
745cc8e5cba478dd23384e1990059d0c8ac01af2
Fix v11 main
Azure/azure-sdk-for-java,selvasingh/azure-sdk-for-java,selvasingh/azure-sdk-for-java,selvasingh/azure-sdk-for-java,Azure/azure-sdk-for-java,Azure/azure-sdk-for-java,Azure/azure-sdk-for-java,Azure/azure-sdk-for-java
net/Azure.Storage.Blobs.V11.PerfStress/Program.cs
net/Azure.Storage.Blobs.V11.PerfStress/Program.cs
using Azure.Test.PerfStress; using System; using System.Threading.Tasks; namespace Azure.Storage.Blobs.V11.PerfStress { class Program { static async Task Main(string[] args) { await PerfStressProgram.Main(typeof(Program).Assembly, args); } } }
using System; namespace Azure.Storage.Blobs.V11.PerfStress { class Program { static void Main(string[] args) { Console.WriteLine("Hello World!"); } } }
mit
C#
0838a58b146cf25d6ee3650464e8468575b82606
Add columns
Catel/Catel.Benchmarks
src/Catel.Benchmarks.Shared/BenchmarkConfig.cs
src/Catel.Benchmarks.Shared/BenchmarkConfig.cs
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="BenchmarkConfig.cs" company="Catel development team"> // Copyright (c) 2008 - 2016 Catel development team. All rights reserved. // </copyright> // ------------------------------...
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="BenchmarkConfig.cs" company="Catel development team"> // Copyright (c) 2008 - 2016 Catel development team. All rights reserved. // </copyright> // ------------------------------...
mit
C#
b83f8d899de527bdc1af074a4a051b75bab6ca8c
Add missing BiasPref to FullyConnLayer
cbovar/ConvNetSharp
src/ConvNetSharp.Flow/Layers/FullyConnLayer.cs
src/ConvNetSharp.Flow/Layers/FullyConnLayer.cs
using System; using ConvNetSharp.Flow.Ops; using ConvNetSharp.Volume; namespace ConvNetSharp.Flow.Layers { public class FullyConnLayer<T> : LayerBase<T> where T : struct, IEquatable<T>, IFormattable { private readonly int _neuronCount; private bool _initialized; private T _biasPref; ...
using System; using ConvNetSharp.Flow.Ops; using ConvNetSharp.Volume; namespace ConvNetSharp.Flow.Layers { public class FullyConnLayer<T> : LayerBase<T> where T : struct, IEquatable<T>, IFormattable { private readonly int _neuronCount; private Variable<T> _bias; public FullyConnLayer(...
mit
C#
7c0547b4ee00f053b87124b55cc65ac1ed7d47e0
Replace todo
2yangk23/osu,naoey/osu,johnneijzen/osu,ZLima12/osu,peppy/osu,smoogipooo/osu,EVAST9919/osu,ppy/osu,ZLima12/osu,UselessToucan/osu,NeoAdonis/osu,EVAST9919/osu,DrabWeb/osu,peppy/osu,peppy/osu-new,UselessToucan/osu,peppy/osu,DrabWeb/osu,naoey/osu,DrabWeb/osu,naoey/osu,NeoAdonis/osu,NeoAdonis/osu,UselessToucan/osu,smoogipoo/...
osu.Game/Graphics/UserInterface/FocusedTextBox.cs
osu.Game/Graphics/UserInterface/FocusedTextBox.cs
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using OpenTK.Graphics; using osu.Framework.Input; using System; namespace osu.Game.Graphics.UserInterface { /// <summary> /// A textbox which holds focus eager...
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using OpenTK.Graphics; using osu.Framework.Input; using System; namespace osu.Game.Graphics.UserInterface { /// <summary> /// A textbox which holds focus eager...
mit
C#
d4c1b09a9b170a345a175b7585da71d92aa72134
Increment minor version
emoacht/SnowyImageCopy
Source/SnowyImageCopy/Properties/AssemblyInfo.cs
Source/SnowyImageCopy/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 // ass...
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 // ass...
mit
C#
4cd21fabf34e59956740ad78f5703285baced4b7
Remove extra newlines
ppy/osu,DrabWeb/osu,2yangk23/osu,smoogipoo/osu,peppy/osu-new,UselessToucan/osu,ZLima12/osu,smoogipoo/osu,EVAST9919/osu,peppy/osu,UselessToucan/osu,ZLima12/osu,smoogipoo/osu,naoey/osu,smoogipooo/osu,EVAST9919/osu,naoey/osu,johnneijzen/osu,naoey/osu,NeoAdonis/osu,UselessToucan/osu,DrabWeb/osu,ppy/osu,DrabWeb/osu,peppy/os...
osu.Game/Graphics/UserInterface/TriangleButton.cs
osu.Game/Graphics/UserInterface/TriangleButton.cs
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using System.Collections.Generic; using osu.Framework.Allocation; using osu.Framework.Graphics; using osu.Framework.Graphics.Containers; using osu.Game.Graphics.Backgro...
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using System.Collections.Generic; using osu.Framework.Allocation; using osu.Framework.Graphics; using osu.Framework.Graphics.Containers; using osu.Game.Graphics.Backgro...
mit
C#
e8455dc1e41ca92d0f9d1118af1187da88aba740
Fix incorrect hash usage
peppy/osu-new,johnneijzen/osu,DrabWeb/osu,UselessToucan/osu,ppy/osu,NeoAdonis/osu,naoey/osu,UselessToucan/osu,peppy/osu,EVAST9919/osu,ppy/osu,DrabWeb/osu,NeoAdonis/osu,smoogipoo/osu,UselessToucan/osu,smoogipoo/osu,naoey/osu,peppy/osu,smoogipooo/osu,2yangk23/osu,2yangk23/osu,EVAST9919/osu,ZLima12/osu,peppy/osu,ZLima12/o...
osu.Game/Online/API/Requests/GetBeatmapRequest.cs
osu.Game/Online/API/Requests/GetBeatmapRequest.cs
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using osu.Game.Beatmaps; using osu.Game.Online.API.Requests.Responses; namespace osu.Game.Online.API.Requests { public class GetBeatmapRequest : APIRequest<APIBeat...
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using osu.Game.Beatmaps; using osu.Game.Online.API.Requests.Responses; namespace osu.Game.Online.API.Requests { public class GetBeatmapRequest : APIRequest<APIBeat...
mit
C#
d20a3a3d9bb6b82e9d99c983dcb87c23ec73851a
allow global route prefix registration as string
WebApiContrib/WebAPIContrib.Core,WebApiContrib/WebAPIContrib.Core
src/WebApiContrib.Core/MvcOptionsExtensions.cs
src/WebApiContrib.Core/MvcOptionsExtensions.cs
using System; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.ApplicationModels; using Microsoft.AspNetCore.Mvc.Routing; using WebApiContrib.Core.Binding; using WebApiContrib.Core.Routing; namespace WebApiContrib.Core { public static class MvcOptionsExtensions { public static void UseGl...
using System; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.ApplicationModels; using Microsoft.AspNetCore.Mvc.Routing; using WebApiContrib.Core.Binding; using WebApiContrib.Core.Routing; namespace WebApiContrib.Core { public static class MvcOptionsExtensions { public static void UseGl...
mit
C#
4bc324f040b3bfaca1e57af88f00558a6237d6bc
Rename parameter to make more sense
UselessToucan/osu,smoogipoo/osu,peppy/osu,smoogipoo/osu,smoogipooo/osu,ppy/osu,ppy/osu,NeoAdonis/osu,peppy/osu,UselessToucan/osu,UselessToucan/osu,ppy/osu,smoogipoo/osu,NeoAdonis/osu,NeoAdonis/osu,peppy/osu,peppy/osu-new
osu.Game/Graphics/UserInterface/ProgressBar.cs
osu.Game/Graphics/UserInterface/ProgressBar.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 osu.Framework.Graphics; using osu.Framework.Graphics.Shapes; using osu.Framework.Graphics.UserInterface; using osuTK.Graphics; namespace osu.Game.Gr...
// 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 osu.Framework.Graphics; using osu.Framework.Graphics.Shapes; using osu.Framework.Graphics.UserInterface; using osuTK.Graphics; namespace osu.Game.Gr...
mit
C#
ef86fdf4a50fb7de19cdc6c2679daa7ef40579fc
Fix merging of 5.0.2
hazzik/nhibernate-core,gliljas/nhibernate-core,nhibernate/nhibernate-core,lnu/nhibernate-core,gliljas/nhibernate-core,fredericDelaporte/nhibernate-core,RogerKratz/nhibernate-core,ManufacturingIntelligence/nhibernate-core,hazzik/nhibernate-core,ngbrown/nhibernate-core,hazzik/nhibernate-core,fredericDelaporte/nhibernate-...
src/NHibernate/Impl/SessionIdLoggingContext.cs
src/NHibernate/Impl/SessionIdLoggingContext.cs
using System; #if !NETSTANDARD2_0 && !NETCOREAPP2_0 using System.Runtime.Remoting.Messaging; #else using System.Threading; #endif namespace NHibernate.Impl { public class SessionIdLoggingContext : IDisposable { #if NETSTANDARD2_0 || NETCOREAPP2_0 private static readonly Lazy<AsyncLocal<Guid?>> _currentSessionId =...
using System; #if !NETSTANDARD2_0 && !NETCOREAPP2_0 using System.Runtime.Remoting.Messaging; #else using System.Threading; #endif namespace NHibernate.Impl { public class SessionIdLoggingContext : IDisposable { #if NETSTANDARD2_0 || NETCOREAPP2_0 private static readonly Lazy<AsyncLocal<Guid?>> _currentSessionId =...
lgpl-2.1
C#
2b0caeb056ccc42353f8d6c93edaccd5c747cb3d
Fix comparison
nuke-build/nuke,nuke-build/nuke,nuke-build/nuke,nuke-build/nuke
source/Nuke.Common/Tools/VSWhere/VSWhereTasks.cs
source/Nuke.Common/Tools/VSWhere/VSWhereTasks.cs
// Copyright 2019 Maintainers of NUKE. // Distributed under the MIT License. // https://github.com/nuke-build/nuke/blob/master/LICENSE using System; using System.Collections.Generic; using System.Linq; using Nuke.Common.IO; using Nuke.Common.Tooling; using Nuke.Common.Utilities; namespace Nuke.Common.Tools.VSWhere { ...
// Copyright 2019 Maintainers of NUKE. // Distributed under the MIT License. // https://github.com/nuke-build/nuke/blob/master/LICENSE using System; using System.Collections.Generic; using System.Linq; using Nuke.Common.IO; using Nuke.Common.Tooling; using Nuke.Common.Utilities; namespace Nuke.Common.Tools.VSWhere { ...
mit
C#
24cdc68f5976520fdeaf8b645edc266fce7606e8
Refactor ComparisionReport.cs
Ackara/Daterpillar
src/Daterpillar.Core/Compare/ComparisonReport.cs
src/Daterpillar.Core/Compare/ComparisonReport.cs
using System.Collections; using System.Collections.Generic; using System.Runtime.Serialization; namespace Gigobyte.Daterpillar.Compare { public class ComparisonReport : IEnumerable<Discrepancy> { public ComparisonReport() { Discrepancies = new List<Discrepancy>(); } ...
using System.Collections; using System.Collections.Generic; using System.Runtime.Serialization; namespace Gigobyte.Daterpillar.Compare { [DataContract] public class ComparisonReport : IEnumerable<Discrepancy> { public Counter Counters; [DataMember] public Outcome Summary { get; se...
mit
C#
449fd1d52bd1616b70a115890d6a0987d261c407
Switch AspNet middleware over to using Authorizer
peterblazejewicz/Glimpse.Prototype,zanetdev/Glimpse.Prototype,Glimpse/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,Glimpse/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,zanetdev/Glimpse.Prototype,pranavkm/Glimpse.Prototype,Glimpse/Glimpse.Prot...
src/Glimpse.Host.Web.AspNet/GlimpseMiddleware.cs
src/Glimpse.Host.Web.AspNet/GlimpseMiddleware.cs
using System.Threading.Tasks; using Microsoft.AspNet.Builder; using Glimpse.Web; using System; namespace Glimpse.Host.Web.AspNet { public class GlimpseMiddleware { private readonly RequestDelegate _innerNext; private readonly MasterRequestRuntime _runtime; private readonly ISettings _s...
using System.Threading.Tasks; using Microsoft.AspNet.Builder; using Glimpse.Web; using System; namespace Glimpse.Host.Web.AspNet { public class GlimpseMiddleware { private readonly RequestDelegate _innerNext; private readonly MasterRequestRuntime _runtime; private readonly ISettings _s...
mit
C#
bd3d935d8f82c5de62dc2308ab8183405b9cb7c8
Fix Issues #3
linezero/NETCoreBBS,linezero/NETCoreBBS
src/NetCoreBBS/Views/Shared/_PagerPartial.cshtml
src/NetCoreBBS/Views/Shared/_PagerPartial.cshtml
@{ var pageindex = Convert.ToInt32(ViewBag.PageIndex); var pagecount = Convert.ToInt32(ViewBag.PageCount); var path = Context.Request.Path.Value; var query = string.Empty; var querys = Context.Request.Query; foreach (var item in querys) { if (!item.Key.Equals("page")) { ...
@{ var pageindex = Convert.ToInt32(ViewBag.PageIndex); var pagecount = Convert.ToInt32(ViewBag.PageCount); var path = Context.Request.Path.Value; var query = string.Empty; var querys = Context.Request.Query; foreach (var item in querys) { if (!item.Key.Equals("page")) { ...
mit
C#
323a8089acd78e5af41ec483818fbe8567e7daeb
rename response
guitarrapc/AzureFunctionsIntroduction
src/PreCompileEnvironmentVariables/MyFunction.cs
src/PreCompileEnvironmentVariables/MyFunction.cs
using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Http; using System.Threading.Tasks; using Microsoft.Azure.WebJobs.Host; using Newtonsoft.Json; namespace PreCompileEnvironmentVariables { public class MyFunction { public static async Task<HttpRespons...
using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Http; using System.Threading.Tasks; using Microsoft.Azure.WebJobs.Host; using Newtonsoft.Json; namespace PreCompileEnvironmentVariables { public class MyFunction { public static async Task<HttpRespons...
mit
C#
830afe52096961bde1f33201f63e376c654811ce
Make spinner blueprint update values more frequently. Also handle right-click
ppy/osu,EVAST9919/osu,UselessToucan/osu,smoogipoo/osu,smoogipoo/osu,NeoAdonis/osu,johnneijzen/osu,peppy/osu,EVAST9919/osu,peppy/osu,smoogipoo/osu,UselessToucan/osu,smoogipooo/osu,NeoAdonis/osu,peppy/osu,NeoAdonis/osu,2yangk23/osu,ppy/osu,UselessToucan/osu,johnneijzen/osu,2yangk23/osu,ppy/osu,peppy/osu-new
osu.Game.Rulesets.Osu/Edit/Blueprints/Spinners/SpinnerPlacementBlueprint.cs
osu.Game.Rulesets.Osu/Edit/Blueprints/Spinners/SpinnerPlacementBlueprint.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 osu.Framework.Input.Events; using osu.Game.Rulesets.Edit; using osu.Game.Rulesets.Osu.Edit.Blueprints.Spinners.Components; using osu.Game.Rulesets.Osu...
// 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.Graphics; using osu.Framework.Input.Events; using osu.Game.Rulesets.Edit; using osu.Game.Rulesets.Osu.Edit.Blueprints.Spinners.Components; using osu.G...
mit
C#
6c5cafe41599d159808b5437c40b7924385715ad
update levy monthly run date whilst investigation continues with payments
SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice
src/SFA.DAS.EmployerFinance.Jobs/ScheduledJobs/ImportLevyDeclarationsJob.cs
src/SFA.DAS.EmployerFinance.Jobs/ScheduledJobs/ImportLevyDeclarationsJob.cs
using System.Threading.Tasks; using Microsoft.Azure.WebJobs; using Microsoft.Extensions.Logging; using NServiceBus; using SFA.DAS.EmployerFinance.Messages.Commands; namespace SFA.DAS.EmployerFinance.Jobs.ScheduledJobs { public class ImportLevyDeclarationsJob { private readonly IMessageSession _message...
using System.Threading.Tasks; using Microsoft.Azure.WebJobs; using Microsoft.Extensions.Logging; using NServiceBus; using SFA.DAS.EmployerFinance.Messages.Commands; namespace SFA.DAS.EmployerFinance.Jobs.ScheduledJobs { public class ImportLevyDeclarationsJob { private readonly IMessageSession _message...
mit
C#
c893a67f60ff651fefb250e78410884e65a13d04
Update Timer for Levy to 23rd
SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice
src/SFA.DAS.EmployerFinance.Jobs/ScheduledJobs/ImportLevyDeclarationsJob.cs
src/SFA.DAS.EmployerFinance.Jobs/ScheduledJobs/ImportLevyDeclarationsJob.cs
using System.Threading.Tasks; using Microsoft.Azure.WebJobs; using Microsoft.Extensions.Logging; using NServiceBus; using SFA.DAS.EmployerFinance.Messages.Commands; namespace SFA.DAS.EmployerFinance.Jobs.ScheduledJobs { public class ImportLevyDeclarationsJob { private readonly IMessageSession _message...
using System.Threading.Tasks; using Microsoft.Azure.WebJobs; using Microsoft.Extensions.Logging; using NServiceBus; using SFA.DAS.EmployerFinance.Messages.Commands; namespace SFA.DAS.EmployerFinance.Jobs.ScheduledJobs { public class ImportLevyDeclarationsJob { private readonly IMessageSession _message...
mit
C#
bea152a5e4228158474081373ac2140c19c1bbaf
Update AboutViewModel.cs
nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet
WalletWasabi.Fluent/ViewModels/AboutViewModel.cs
WalletWasabi.Fluent/ViewModels/AboutViewModel.cs
using System; using System.IO; using System.Reactive; using System.Reactive.Linq; using System.Reactive.Threading.Tasks; using System.Windows.Input; using ReactiveUI; using WalletWasabi.Fluent.ViewModels.Dialogs; using WalletWasabi.Fluent.ViewModels.Navigation; using WalletWasabi.Helpers; using WalletWasabi.Logging; us...
using System; using System.IO; using System.Reactive; using System.Reactive.Linq; using System.Reactive.Threading.Tasks; using System.Windows.Input; using ReactiveUI; using WalletWasabi.Fluent.ViewModels.Dialogs; using WalletWasabi.Fluent.ViewModels.Navigation; using WalletWasabi.Helpers; using WalletWasabi.Logging; us...
mit
C#
cfeb6a12825a04203ad997940be541d17be9c6f7
Allow channel to be updated post-construction more than once
ppy/osu-framework,ZLima12/osu-framework,ppy/osu-framework,peppy/osu-framework,ZLima12/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,ppy/osu-framework
osu.Framework/Audio/Track/BassAmplitudes.cs
osu.Framework/Audio/Track/BassAmplitudes.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 ManagedBass; namespace osu.Framework.Audio.Track { /// <summary> /// Computes and caches amplitudes for a bass channel. /// </summary> public class...
// 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. // 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 ...
mit
C#
7304c094d3246bdc68d6223b22922fd58462f0b7
remove using System from LR/Statement.cs
nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet
WalletWasabi/Crypto/ZeroKnowledge/LinearRelation/Statement.cs
WalletWasabi/Crypto/ZeroKnowledge/LinearRelation/Statement.cs
using NBitcoin.Secp256k1; using System.Collections.Generic; using System.Linq; using WalletWasabi.Helpers; namespace WalletWasabi.Crypto.ZeroKnowledge.LinearRelation { public class Statement { public Statement(params Equation[] equations) : this(equations as IEnumerable<Equation>) { } public Statement(IE...
using NBitcoin.Secp256k1; using System; using System.Collections.Generic; using System.Linq; using WalletWasabi.Helpers; namespace WalletWasabi.Crypto.ZeroKnowledge.LinearRelation { public class Statement { public Statement(params Equation[] equations) : this(equations as IEnumerable<Equation>) { } publi...
mit
C#
7dc65ec9645e71bd790f5e157bf757ebfd6748c4
Add missing required types
johnneijzen/osu,peppy/osu,ppy/osu,UselessToucan/osu,2yangk23/osu,EVAST9919/osu,smoogipoo/osu,UselessToucan/osu,johnneijzen/osu,smoogipooo/osu,NeoAdonis/osu,smoogipoo/osu,ppy/osu,ppy/osu,2yangk23/osu,EVAST9919/osu,NeoAdonis/osu,peppy/osu,NeoAdonis/osu,peppy/osu-new,peppy/osu,smoogipoo/osu,UselessToucan/osu
osu.Game.Tests/Visual/Editor/TestSceneTimingScreen.cs
osu.Game.Tests/Visual/Editor/TestSceneTimingScreen.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System; using System.Collections.Generic; using NUnit.Framework; using osu.Framework.Allocation; using osu.Game.Rulesets.Osu; using osu.Game.Screens.Edit.Timing; n...
// 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 NUnit.Framework; using osu.Framework.Allocation; using osu.Game.Rulesets.Osu; using osu.Game.Screens.Edit.Timing; namespace osu.Game.Tests.Visual.Editor { [Tes...
mit
C#
08b3bc222d79a8d2a846ee11c1e300832d91a9d6
Revert "Fix potential crash in tests when attempting to lookup key bindings in cases the lookup is not available"
peppy/osu,ppy/osu,ppy/osu,NeoAdonis/osu,NeoAdonis/osu,peppy/osu,NeoAdonis/osu,peppy/osu,ppy/osu
osu.Game/Configuration/DevelopmentOsuConfigManager.cs
osu.Game/Configuration/DevelopmentOsuConfigManager.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.Platform; using osu.Framework.Testing; namespace osu.Game.Configuration { [ExcludeFromDynamicCompile] public class DevelopmentOsuConfigManage...
// 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.Platform; using osu.Framework.Testing; namespace osu.Game.Configuration { [ExcludeFromDynamicCompile] public class DevelopmentOsuConfigManage...
mit
C#
37495c34faa7a02852934d2d9db0dab9e2492a66
Fix possible nullreference
peppy/osu,johnneijzen/osu,UselessToucan/osu,naoey/osu,johnneijzen/osu,peppy/osu,peppy/osu-new,EVAST9919/osu,DrabWeb/osu,NeoAdonis/osu,NeoAdonis/osu,2yangk23/osu,ZLima12/osu,ppy/osu,NeoAdonis/osu,UselessToucan/osu,smoogipoo/osu,peppy/osu,naoey/osu,DrabWeb/osu,ZLima12/osu,2yangk23/osu,ppy/osu,smoogipoo/osu,EVAST9919/osu,...
osu.Game/Beatmaps/ControlPoints/ControlPoint.cs
osu.Game/Beatmaps/ControlPoints/ControlPoint.cs
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using System; namespace osu.Game.Beatmaps.ControlPoints { public class ControlPoint : IComparable<ControlPoint>, IEquatable<ControlPoint> { /// <summar...
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using System; namespace osu.Game.Beatmaps.ControlPoints { public class ControlPoint : IComparable<ControlPoint>, IEquatable<ControlPoint> { /// <summar...
mit
C#
db7330b5050bcbfef29fa04d5d6deb81423e15f0
Change variable name
nwoedf/HandShapeVisualizationPlatform
HandShapeVisualizationPlatform/CSVDataSetModel.cs
HandShapeVisualizationPlatform/CSVDataSetModel.cs
// author: Tommy // created time:6/24/2014 11:27:15 PM // organizatioin:CURE lab, CUHK // copyright: 2014-2015 // CLR: 4.0.30319.17929 // project link:https://github.com/huangfuyang/Sign-Language-with-Kinect using System; using System.Collections.Generic; using System.Data; using System.Linq; using Sys...
// author: Tommy // created time:6/24/2014 11:27:15 PM // organizatioin:CURE lab, CUHK // copyright: 2014-2015 // CLR: 4.0.30319.17929 // project link:https://github.com/huangfuyang/Sign-Language-with-Kinect using System; using System.Collections.Generic; using System.Data; using System.Linq; using Sys...
apache-2.0
C#
ff44e6732f48dfb6091b6489a318fbb132adb5da
delete seed method
Xzq70r4/Organizer,Xzq70r4/Organizer,Xzq70r4/Organizer
Source/Organizer.Data/Migrations/Configuration.cs
Source/Organizer.Data/Migrations/Configuration.cs
namespace Organizer.Data.Migrations { using System.Data.Entity.Migrations; using Microsoft.AspNet.Identity; using Organizer.Models; internal sealed class Configuration : DbMigrationsConfiguration<OrganizerDbContext> { private UserManager<User> userManager; public Configuration() ...
namespace Organizer.Data.Migrations { using System; using System.Data.Entity.Migrations; using System.Linq; using Microsoft.AspNet.Identity; using Microsoft.AspNet.Identity.EntityFramework; using Organizer.Models; internal sealed class Configuration : DbMigrationsConfiguration<OrganizerDb...
mit
C#
a20f5baa4721d769db30158ce396635de8955a8d
Remove unused using
nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet
WalletWasabi.Fluent/Controls/InfoMessage.axaml.cs
WalletWasabi.Fluent/Controls/InfoMessage.axaml.cs
using Avalonia; using Avalonia.Controls; namespace WalletWasabi.Fluent.Controls { public class InfoMessage : Label { public static readonly StyledProperty<int> IconSizeProperty = AvaloniaProperty.Register<ContentArea, int>(nameof(IconSize), 20); public int IconSize { get => GetValue(IconSizeProperty); ...
using Avalonia; using Avalonia.Controls; using Avalonia.Media; namespace WalletWasabi.Fluent.Controls { public class InfoMessage : Label { public static readonly StyledProperty<int> IconSizeProperty = AvaloniaProperty.Register<ContentArea, int>(nameof(IconSize), 20); public int IconSize { get => GetValu...
mit
C#
9290253072ce61788f9b19cab64a8cfee85de6f4
Delete Hello console
krisdimova/kasskata-Lessons
01.Intro/Intro.cs
01.Intro/Intro.cs
namespace _01.Intro { using System; class Intro { static void Main() { } } }
namespace _01.Intro { using System; class Intro { static void Main() { Console.WriteLine("Hello"); } } }
mit
C#
ea9d46b2372caa2f549e2ecfe9ee2af20fe02891
Add recaptcha tag helper.
LykkeCity/CompetitionPlatform,LykkeCity/CompetitionPlatform,LykkeCity/CompetitionPlatform
src/CompetitionPlatform/Views/_ViewImports.cshtml
src/CompetitionPlatform/Views/_ViewImports.cshtml
@using CompetitionPlatform @using CompetitionPlatform.Models @using CompetitionPlatform.Models.AccountViewModels @using CompetitionPlatform.Models.ManageViewModels @using Microsoft.AspNetCore.Identity @addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers @addTagHelper *, PaulMiami.AspNetCore.Mvc.Recaptcha
@using CompetitionPlatform @using CompetitionPlatform.Models @using CompetitionPlatform.Models.AccountViewModels @using CompetitionPlatform.Models.ManageViewModels @using Microsoft.AspNetCore.Identity @addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
mit
C#
6efecc45ee7cf420f86e62823b2b791995d0b673
Hide the implementation details
joemcbride/graphql-dotnet,joemcbride/graphql-dotnet,graphql-dotnet/graphql-dotnet,graphql-dotnet/graphql-dotnet,graphql-dotnet/graphql-dotnet
src/GraphQL/Subscription/ISubscriptionExecuter.cs
src/GraphQL/Subscription/ISubscriptionExecuter.cs
using System.Threading.Tasks; namespace GraphQL.Subscription { public interface ISubscriptionExecuter { Task<SubscriptionExecutionResult> SubscribeAsync(ExecutionOptions config); } }
using System.Threading.Tasks; using GraphQL.Execution; namespace GraphQL.Subscription { public interface ISubscriptionExecuter : IDocumentExecuter { Task<SubscriptionExecutionResult> SubscribeAsync(ExecutionOptions config); } }
mit
C#
32f9c6a2e2347b1fcc12553d90cc2038deb418e3
Create ShowOnGitHubCmd command in ctor
punker76/simple-music-player
src/SimpleMusicPlayer/ViewModels/MainViewModel.cs
src/SimpleMusicPlayer/ViewModels/MainViewModel.cs
using System.Linq; using System.Windows; using System.Windows.Input; using ReactiveUI; using SimpleMusicPlayer.Core; using SimpleMusicPlayer.Core.Interfaces; using SimpleMusicPlayer.Core.Player; using TinyIoC; namespace SimpleMusicPlayer.ViewModels { public class MainViewModel : ReactiveObject, IKeyHandler { ...
using System.Linq; using System.Windows; using System.Windows.Input; using ReactiveUI; using SimpleMusicPlayer.Core; using SimpleMusicPlayer.Core.Interfaces; using SimpleMusicPlayer.Core.Player; using TinyIoC; namespace SimpleMusicPlayer.ViewModels { public class MainViewModel : ReactiveObject, IKeyHandler { ...
mit
C#
6f41916241ef59f86d45ffebed58557674b64878
Remove unused code
dotnetcore/CAP,dotnetcore/CAP,ouraspnet/cap,dotnetcore/CAP
src/DotNetCore.CAP.AmazonSQS/TopicNormalizer.cs
src/DotNetCore.CAP.AmazonSQS/TopicNormalizer.cs
using System; namespace DotNetCore.CAP.AmazonSQS { public static class TopicNormalizer { public static string NormalizeForAws(this string origin) { if (origin.Length > 256) { throw new ArgumentOutOfRangeException(nameof(origin) + " character string lengt...
using System; namespace DotNetCore.CAP.AmazonSQS { public static class TopicNormalizer { public static string NormalizeForAws(this string origin) { if (origin.Length > 256) { throw new ArgumentOutOfRangeException(nameof(origin) + " character string lengt...
mit
C#
79fac317080b855ba010464b0c7e16a59b736360
Rename StripeDefaultCard to DefaultCard on Recipient
stripe/stripe-dotnet,richardlawley/stripe.net
src/Stripe.net/Entities/Recipients/Recipient.cs
src/Stripe.net/Entities/Recipients/Recipient.cs
namespace Stripe { using System; using System.Collections.Generic; using Newtonsoft.Json; using Stripe.Infrastructure; public class Recipient : StripeEntity, IHasId, IHasMetadata, IHasObject { [JsonProperty("id")] public string Id { get; set; } [JsonProperty("object")] ...
namespace Stripe { using System; using System.Collections.Generic; using Newtonsoft.Json; using Stripe.Infrastructure; public class Recipient : StripeEntity, IHasId, IHasMetadata, IHasObject { [JsonProperty("id")] public string Id { get; set; } [JsonProperty("object")] ...
apache-2.0
C#
a787c7805012c53c7d5b876a04ee2d8a7ef26a52
modify KlaviyoEvent.cs
zxed/net-klaviyo
thrunk/klaviyo.net/klaviyo.net/KlaviyoEvent.cs
thrunk/klaviyo.net/klaviyo.net/KlaviyoEvent.cs
using System; using System.Collections.Generic; using System.Linq; using System.Runtime.Serialization; using System.Text; namespace klaviyo.net { [DataContract] public class KlaviyoEvent { public KlaviyoEvent() { CustomerProperties = new CustomerProperties(); Proper...
using System; using System.Collections.Generic; using System.Linq; using System.Runtime.Serialization; using System.Text; namespace klaviyo.net { [DataContract] public class KlaviyoEvent { public KlaviyoEvent() { CustomerProperties = new CustomerProperties(); Proper...
mit
C#
b5fb7b14f50ebb64222fa2cb76d962f988b202ed
Fix nullable annotation in IsNullOrWhiteSpace
tom-englert/TomsToolbox
src/TomsToolbox.Essentials/NullabeExtensions.cs
src/TomsToolbox.Essentials/NullabeExtensions.cs
namespace TomsToolbox.Essentials { using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Linq; /// <summary> /// Replacements for some common methods with extra nullable annotations. /// </summary> public static class NullableExtensions { /// <su...
namespace TomsToolbox.Essentials { using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Linq; /// <summary> /// Replacements for some common methods with extra nullable annotations. /// </summary> public static class NullableExtensions { /// <su...
mit
C#
28f11debcf6d18d06d136984714b33b5375a382f
Add constructor
Distant/MetroTileEditor
Data/BlockData.cs
Data/BlockData.cs
using System; using UnityEngine; namespace MetroTileEditor { [Serializable] public class BlockData { public string blockType = "basic_cube"; public bool placed; public string[] materialIDs; public bool breakable; public bool isTriggerOnly; public bool exclu...
using System; using UnityEngine; namespace MetroTileEditor { [Serializable] public class BlockData { public string blockType = "basic_cube"; public bool placed; public string[] materialIDs; public bool breakable; public bool isTriggerOnly; public bool exclu...
mit
C#
2ecd783d72baa5e8752cebfedb96c12a54370e73
Improve Launcher code
pvdstel/cgppm
src/cgppm/Launcher.cs
src/cgppm/Launcher.cs
using cgppm.Netpbm; using System; using System.Collections.Generic; using System.IO; using System.Linq; namespace cgppm { public class Launcher { [STAThread] public static void Main(string[] args) { List<string> switches = args.Where(s => s[0] == '-' || s[0] == '/').Select...
using cgppm.Netpbm; using System; using System.Collections.Generic; using System.IO; using System.Linq; namespace cgppm { public class Launcher { private static IEnumerable<string> switches; private static IEnumerable<string> files; [STAThread] public static void Main(string[]...
mpl-2.0
C#
aed0562ddd2282a1bae6210f924f42be0b7cc43c
Update Zcash to Fundingstream
coinfoundry/miningcore,coinfoundry/miningcore,coinfoundry/miningcore,coinfoundry/miningcore
src/Miningcore/Blockchain/Equihash/DaemonResponses/GetBlockSubsidyResponse.cs
src/Miningcore/Blockchain/Equihash/DaemonResponses/GetBlockSubsidyResponse.cs
/* Copyright 2017 Coin Foundry (coinfoundry.org) Authors: Oliver Weichhold (oliver@weichhold.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 ...
/* Copyright 2017 Coin Foundry (coinfoundry.org) Authors: Oliver Weichhold (oliver@weichhold.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 ...
mit
C#
b000f7962586674e94172a97da1849445606228d
Bump version
pescuma/progressmonitor
csharp/ProgressMonitor/Properties/AssemblyInfo.cs
csharp/ProgressMonitor/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: Assembly...
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: Assembly...
mit
C#
0c5b7ec2c6711094474a8f2dddc5503ebfc635b6
Improve custom resource test
robv8r/FluentValidation,roend83/FluentValidation,olcayseker/FluentValidation,deluxetiky/FluentValidation,roend83/FluentValidation,pacificIT/FluentValidation,mgmoody42/FluentValidation,glorylee/FluentValidation,regisbsb/FluentValidation,GDoronin/FluentValidation,IRlyDontKnow/FluentValidation,cecilphillip/FluentValidatio...
src/FluentValidation.Tests/LocalisedMessagesTester.cs
src/FluentValidation.Tests/LocalisedMessagesTester.cs
#region License // Copyright (c) Jeremy Skinner (http://www.jeremyskinner.co.uk) // // 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...
#region License // Copyright (c) Jeremy Skinner (http://www.jeremyskinner.co.uk) // // 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...
apache-2.0
C#
9309d779c74b2ea8747c4b719be395e91e0f201f
Call SetWaitNotificationRequired
SuperJMN/Avalonia,jkoritzinsky/Avalonia,wieslawsoltes/Perspex,SuperJMN/Avalonia,akrisiun/Perspex,jkoritzinsky/Avalonia,Perspex/Perspex,wieslawsoltes/Perspex,AvaloniaUI/Avalonia,grokys/Perspex,AvaloniaUI/Avalonia,SuperJMN/Avalonia,SuperJMN/Avalonia,wieslawsoltes/Perspex,grokys/Perspex,wieslawsoltes/Perspex,SuperJMN/Aval...
src/Avalonia.Base/Threading/AvaloniaSynchronizationContext.cs
src/Avalonia.Base/Threading/AvaloniaSynchronizationContext.cs
using System; using System.Threading; namespace Avalonia.Threading { /// <summary> /// SynchronizationContext to be used on main thread /// </summary> public class AvaloniaSynchronizationContext : SynchronizationContext { public interface INonPumpingPlatformWaitProvider { ...
using System; using System.Threading; namespace Avalonia.Threading { /// <summary> /// SynchronizationContext to be used on main thread /// </summary> public class AvaloniaSynchronizationContext : SynchronizationContext { public interface INonPumpingPlatformWaitProvider { ...
mit
C#
5df5ea45b95dc3a127e2c763a492e00799eeb08f
Fix spelling Costa Rica
tinohager/Nager.Date,tinohager/Nager.Date,tinohager/Nager.Date
Src/Nager.Date/PublicHolidays/CostaRicaProvider.cs
Src/Nager.Date/PublicHolidays/CostaRicaProvider.cs
using Nager.Date.Model; using System; using System.Collections.Generic; using System.Linq; namespace Nager.Date.PublicHolidays { public class CostaRicaProvider : CatholicBaseProvider { public override IEnumerable<PublicHoliday> Get(int year) { //Costa Rica //https://en....
using Nager.Date.Model; using System; using System.Collections.Generic; using System.Linq; namespace Nager.Date.PublicHolidays { public class CostaRicaProvider : CatholicBaseProvider { public override IEnumerable<PublicHoliday> Get(int year) { //Costa Rica //https://en....
mit
C#
b04e20a2286a0234bf0746b5fc282c60456f56d7
Modify the AutomaticPackageCurator query so that it will be case insensitive.
KuduApps/NuGetGallery,KuduApps/NuGetGallery,ScottShingler/NuGetGallery,ScottShingler/NuGetGallery,JetBrains/ReSharperGallery,grenade/NuGetGallery_download-count-patch,projectkudu/SiteExtensionGallery,projectkudu/SiteExtensionGallery,grenade/NuGetGallery_download-count-patch,JetBrains/ReSharperGallery,grenade/NuGetGalle...
Website/PackageCurators/AutomaticPackageCurator.cs
Website/PackageCurators/AutomaticPackageCurator.cs
using System; using System.Linq; using System.Web.Mvc; using NuGet; namespace NuGetGallery { public abstract class AutomaticPackageCurator : IAutomaticPackageCurator { public abstract void Curate( Package galleryPackage, IPackage nugetPackage); protected virtual T GetS...
using System.Diagnostics.Contracts; using System.Linq; using System.Web.Mvc; using NuGet; namespace NuGetGallery { public abstract class AutomaticPackageCurator : IAutomaticPackageCurator { public abstract void Curate( Package galleryPackage, IPackage nugetPackage); pr...
apache-2.0
C#
88f6f9f6c702171369b6956776a133a99f8bbca9
Change formatting.
Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW
src/MitternachtBot/Common/TypeReaders/BotCommandTypeReader.cs
src/MitternachtBot/Common/TypeReaders/BotCommandTypeReader.cs
using System; using System.Linq; using System.Threading.Tasks; using Discord.Commands; using Microsoft.Extensions.DependencyInjection; using Mitternacht.Modules.CustomReactions.Services; using Mitternacht.Services; namespace Mitternacht.Common.TypeReaders { public class CommandTypeReader : TypeReader { public overr...
using System; using System.Linq; using System.Threading.Tasks; using Discord.Commands; using Microsoft.Extensions.DependencyInjection; using Mitternacht.Modules.CustomReactions.Services; using Mitternacht.Services; namespace Mitternacht.Common.TypeReaders { public class CommandTypeReader : TypeReader { public overr...
mit
C#
da2e7314f89c1c2d3b15f2b35eef6e8692ebb883
Clarify comment.
sharadagrawal/Roslyn,dotnet/roslyn,aelij/roslyn,MatthieuMEZIL/roslyn,agocke/roslyn,jmarolf/roslyn,khyperia/roslyn,bbarry/roslyn,ErikSchierboom/roslyn,jeffanders/roslyn,Maxwe11/roslyn,tmat/roslyn,physhi/roslyn,thomaslevesque/roslyn,khellang/roslyn,ValentinRueda/roslyn,AdamSpeight2008/roslyn-AdamSpeight2008,pdelvo/roslyn...
src/Workspaces/Core/Portable/Utilities/BKTree.Node.cs
src/Workspaces/Core/Portable/Utilities/BKTree.Node.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Microsoft.CodeAnalysis.Text; namespace Roslyn.Utilities { internal partial class BKTree { private struct Node { // The string this node corresponds to. Specifi...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Microsoft.CodeAnalysis.Text; namespace Roslyn.Utilities { internal partial class BKTree { private struct Node { // The string this node corresponds to. Stored ...
apache-2.0
C#
f115bb340143dec599f0714f7aa7f887676c2ac7
update mapi claims type
ZA-PT/Obsidian,ZA-PT/Obsidian,ZA-PT/Obsidian,ZA-PT/Obsidian
src/Obsidian.Application/ManagementAPIClaimsType.cs
src/Obsidian.Application/ManagementAPIClaimsType.cs
using System; using System.Collections.Generic; using System.Text; namespace Obsidian.Application { /// <summary> /// Contains ClaimType string about Management API in Obsidian /// </summary> public static class ManagementAPIClaimsType { private const string _obsidianManagementAPIPrefix = ...
using System; using System.Collections.Generic; using System.Text; namespace Obsidian.Application { /// <summary> /// Contains ClaimType string about Management API in Obsidian /// </summary> public static class ManagementAPIClaimsType { private const string _obsidianManagementAPIPrefix = ...
apache-2.0
C#
4dbcc1422b2ad1319e0ddeffcc7c2f1902dd9dcf
add overload for ray table
mrvux/kgp
src/KGP.Direct3D11/Textures/RayTableTexture.cs
src/KGP.Direct3D11/Textures/RayTableTexture.cs
using KGP.Direct3D11.Descriptors; using Microsoft.Kinect; using SharpDX; using SharpDX.Direct3D11; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace KGP.Direct3D11.Textures { /// <summary> /// Ray table texture, used to perform depth/...
using KGP.Direct3D11.Descriptors; using Microsoft.Kinect; using SharpDX; using SharpDX.Direct3D11; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace KGP.Direct3D11.Textures { /// <summary> /// Ray table texture, used to perform depth/...
mit
C#
60d4807161ef9be2c09f00830ce851ab163279dd
Update AssemblyInfo.cs
Kyrodan/hidrive-dotnet-sdk
src/Kyrodan.HiDrive/Properties/AssemblyInfo.cs
src/Kyrodan.HiDrive/Properties/AssemblyInfo.cs
using System.Resources; 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. [ass...
using System.Resources; 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. [ass...
mit
C#
c2ce340130605c3001e8c6b20376f8f25769f21f
Add error checking to `p`.
mono/sdb,mono/sdb
src/Commands/PrintCommand.cs
src/Commands/PrintCommand.cs
/* * SDB - Mono Soft Debugger Client * Copyright 2013 Alex Rønne Petersen * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any late...
/* * SDB - Mono Soft Debugger Client * Copyright 2013 Alex Rønne Petersen * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any late...
mit
C#
a7dbc83326a76d90ac0c742c756d1cc37c5aa081
Fix the build
mono/maccore,jorik041/maccore,cwensley/maccore
src/Foundation/NSCalendar.cs
src/Foundation/NSCalendar.cs
// // This file describes the API that the generator will produce // // Authors: // Miguel de Icaza // // Copyright 2012 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 w...
// // This file describes the API that the generator will produce // // Authors: // Miguel de Icaza // // Copyright 2012 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 w...
apache-2.0
C#
33f34c9421cfcfab602c4a57235f0453c1b7ace8
Build fix 2
ashmind/SharpLab,ashmind/SharpLab,ashmind/SharpLab,ashmind/SharpLab,ashmind/SharpLab,ashmind/SharpLab
source/Server/Common/Diagnostics/AssemblyLog.cs
source/Server/Common/Diagnostics/AssemblyLog.cs
using System.Diagnostics; using System.IO; using Mono.Cecil; namespace SharpLab.Server.Common.Diagnostics { public static class AssemblyLog { #if DEBUG private static readonly AsyncLocal<string> _pathFormat = new AsyncLocal<string>(); public static void Enable(string pathFormat) ...
using System.Diagnostics; using System.IO; #if DEBUG using System.Threading; #endif using Mono.Cecil; namespace SharpLab.Server.Common.Diagnostics { public static class AssemblyLog { #if DEBUG private static readonly AsyncLocal<string> _pathFormat = new AsyncLocal<string>(); p...
bsd-2-clause
C#
a08e9ef7d1c28a67c808aa473df28751a950117f
Fix build bug
cnurse/Naif.Core
src/Naif.Core/Models/User.cs
src/Naif.Core/Models/User.cs
using System.Collections.Generic; namespace Naif.Core.Models { public class User { public User() { Created = System.DateTime.MinValue; Roles = new List<Role>(); LastUpdated = System.DateTime.MinValue; } public System.DateTime Created ...
using System.Collections.Generic; namespace Naif.Core.Models { public class User { public User() { Created = System.DateTime.MinValue; Roles = new List<Role>(); LastUpdated = System.DateTime.MinValue; } public System.DateTime Created ...
mit
C#
0f348406ded518a105bd93d87fb4989deabd3cf2
Append new line at EOF
Archie-Yang/PcscDotNet
src/PcscDotNet/SCardShare.cs
src/PcscDotNet/SCardShare.cs
namespace PcscDotNet { /// <summary> /// Indicates whether other applications may form connections to the card. /// </summary> public enum SCardShare { /// <summary> /// This application demands direct control of the reader, so it is not available to other applications. /// <...
namespace PcscDotNet { /// <summary> /// Indicates whether other applications may form connections to the card. /// </summary> public enum SCardShare { /// <summary> /// This application demands direct control of the reader, so it is not available to other applications. /// <...
mit
C#
0edd533eba15931d91529ab6394c2be9c1ecc66c
Increase AuthorBage.HoverText db table column length
ssh-git/training-manager,ssh-git/training-manager,ssh-git/training-manager,ssh-git/training-manager
src/TM.Shared/AuthorBadge.cs
src/TM.Shared/AuthorBadge.cs
using System.ComponentModel.DataAnnotations; namespace TM.Shared { public class AuthorBadge { [StringLength(400)] public string ImageSiteUrl { get; set; } [StringLength(100)] public string ImageName { get; set; } [StringLength(400)] public string Link { get; set; } [...
using System.ComponentModel.DataAnnotations; namespace TM.Shared { public class AuthorBadge { [StringLength(400)] public string ImageSiteUrl { get; set; } [StringLength(100)] public string ImageName { get; set; } [StringLength(400)] public string Link { get; set; } [...
mit
C#
6d338d1be4e5f419e18fea15bfaabe05d2d5ccf8
Fix failing test
jammycakes/dolstagis.web,jammycakes/dolstagis.web,jammycakes/dolstagis.web
src/Dolstagis.Tests/Web/Owin/OwinFixtureBase.cs
src/Dolstagis.Tests/Web/Owin/OwinFixtureBase.cs
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; using Dolstagis.Web.Owin; namespace Dolstagis.Tests.Web.Owin { public class OwinFixtureBase { /// <summary> /// Creates a ...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; using Dolstagis.Web.Owin; namespace Dolstagis.Tests.Web.Owin { public class OwinFixtureBase { /// <summary> /// Creates a ...
mit
C#
07cd4bbc7f20ca427d7de2a62b235a52627fa234
Disable test parallelism
filipw/dotnet-script,filipw/dotnet-script
src/Dotnet.Script.Tests/ScriptExecutionTests.cs
src/Dotnet.Script.Tests/ScriptExecutionTests.cs
using System.IO; using Xunit; namespace Dotnet.Script.Tests { [Collection("IntegrationTests")] public class ScriptExecutionTests { [Fact] public void ShouldExecuteHelloWorld() { var result = Execute(Path.Combine("HelloWorld", "HelloWorld.csx")); Assert.Contai...
using System.IO; using Xunit; namespace Dotnet.Script.Tests { public class ScriptExecutionTests { [Fact] public void ShouldExecuteHelloWorld() { var result = Execute(Path.Combine("HelloWorld", "HelloWorld.csx")); Assert.Contains("Hello World", result); } ...
mit
C#
ea0ed95ca0344cdb10bf58b0e491c59234a0bc0d
Fix time bug with scrobbles
realworld666/lastfm,Brijen/lastfm
src/IF.Lastfm.Core/Api/Helpers/ApiExtensions.cs
src/IF.Lastfm.Core/Api/Helpers/ApiExtensions.cs
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Reflection; namespace IF.Lastfm.Core.Api.Helpers { public static class ApiExtensions { public static T GetAttribute<T>(this Enum enumValue) where T : Attribute { return...
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Reflection; namespace IF.Lastfm.Core.Api.Helpers { public static class ApiExtensions { public static T GetAttribute<T>(this Enum enumValue) where T : Attribute { return...
mit
C#
7113d1f60d60878d0d79dc98b3819ef75ab521e2
Fix issue with nulll image icon in tabbed navigation container
rid00z/FreshMvvm,bbqchickenrobot/FreshMvvm,takenet/FreshMvvm,asednev/FreshMvvm,Mark-RSK/FreshMvvm,keannan5390/FreshMvvm
src/FreshMvvm/FreshTabbedNavigationContainer.cs
src/FreshMvvm/FreshTabbedNavigationContainer.cs
using System; using Xamarin.Forms; using System.Collections.Generic; namespace FreshMvvm { public class FreshTabbedNavigationContainer : TabbedPage, IFreshNavigationService { public FreshTabbedNavigationContainer () { RegisterNavigation (); } protected void Reg...
using System; using Xamarin.Forms; using System.Collections.Generic; namespace FreshMvvm { public class FreshTabbedNavigationContainer : TabbedPage, IFreshNavigationService { public FreshTabbedNavigationContainer () { RegisterNavigation (); } protected void Reg...
apache-2.0
C#
3870e7fdaab526d201d7c5424699f71e34f3e8cc
Implement supported parts of Spn/UpnEndpointIdentity
KKhurin/wcf,imcarolwang/wcf,mconnew/wcf,MattGal/wcf,MattGal/wcf,iamjasonp/wcf,zhenlan/wcf,zhenlan/wcf,mconnew/wcf,iamjasonp/wcf,StephenBonikowsky/wcf,khdang/wcf,KKhurin/wcf,hongdai/wcf,ElJerry/wcf,dotnet/wcf,shmao/wcf,StephenBonikowsky/wcf,imcarolwang/wcf,hongdai/wcf,imcarolwang/wcf,ElJerry/wcf,dotnet/wcf,ericstj/wcf,k...
src/System.Private.ServiceModel/src/System/ServiceModel/SpnEndpointIdentity.cs
src/System.Private.ServiceModel/src/System/ServiceModel/SpnEndpointIdentity.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.IdentityModel.Claims; using System.Runtime; using System.Security.Principal; namespace System.ServiceModel { public class SpnEndpointIdentity : Endpo...
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System.IdentityModel.Claims; using System.Runtime; using System.Security.Principal; namespace System.ServiceModel { public class SpnEndpointIdentity : Endpo...
mit
C#
dcb6fed27192f8b27991ede6f68c045fb7c7c550
Update AGameManager.cs
Nicolas-Constanty/UnityTools
Assets/UnityTools/MonoBehaviour/AGameManager.cs
Assets/UnityTools/MonoBehaviour/AGameManager.cs
using System; using System.Collections.Generic; using System.Reflection; using UnityEngine; using UnityTools.DesignPatern; // ReSharper disable once CheckNamespace namespace UnityTools { public abstract class AGameManager<T, TE> : Singleton<T> where T : MonoBehaviour where TE : struct, IConvertibl...
using System; using System.Collections.Generic; using System.Reflection; using UnityEngine; using UnityTools.DesignPatern; // ReSharper disable once CheckNamespace namespace UnityTools { public abstract class AGameManager<T, TE> : Singleton<T> where T : MonoBehaviour where TE : struct, IConvertibl...
mit
C#
beef9fd2c373779403182eeae27d8cad067cadb4
Fix code completion not working.
mrward/monodevelop-dnx-addin
src/MonoDevelop.Dnx/MonoDevelop.Dnx/XProject.cs
src/MonoDevelop.Dnx/MonoDevelop.Dnx/XProject.cs
// // XProject.cs // // Author: // Matt Ward <matt.ward@xamarin.com> // // Copyright (c) 2015 Xamarin Inc. (http://xamarin.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 wi...
// // XProject.cs // // Author: // Matt Ward <matt.ward@xamarin.com> // // Copyright (c) 2015 Xamarin Inc. (http://xamarin.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 wi...
mit
C#
0afd9c25fb3d48463a87f87de44081577bb1a840
Update version of .Variants
ProgramFOX/Chess.NET
ChessDotNet.Variants/Properties/AssemblyInfo.cs
ChessDotNet.Variants/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("Ch...
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("Ch...
mit
C#
e71e96c576f00af271ad6b9e7e6061bf03cd6871
Fix build
DaveSenn/Stomp.Net
.Src/Examples/Stomp.Net.Example.SendReceive/Program.cs
.Src/Examples/Stomp.Net.Example.SendReceive/Program.cs
#region Usings using System; using Apache.NMS; using Apache.NMS.Stomp; using Extend; #endregion namespace Stomp.Net.Example.Producer { public class Program { #region Constants private const String Destination = "TestQ"; private const String Host = "HOST"; private const Strin...
#region Usings using System; using Apache.NMS; using Apache.NMS.Stomp; using Extend; #endregion namespace Stomp.Net.Example.Producer { public class Program { #region Constants private const String Destination = "TestQ"; private const String Host = "HOST"; private const Strin...
mit
C#
27d2f9fd7ba59511586b3ae2769101d9d37ccdff
Update JsonUtility.cs
OfficeDev/PnP-Sites-Core,OfficeDev/PnP-Sites-Core,phillipharding/PnP-Sites-Core,phillipharding/PnP-Sites-Core,OfficeDev/PnP-Sites-Core
Core/OfficeDevPnP.Core/Utilities/JsonUtility.cs
Core/OfficeDevPnP.Core/Utilities/JsonUtility.cs
using Newtonsoft.Json; namespace OfficeDevPnP.Core.Utilities { /// <summary> /// Utility class that supports the serialization from Json to type and vice versa /// </summary> public static class JsonUtility { /// <summary> /// Serializes an object of type T to a json string ...
using System.Web.Script.Serialization; namespace OfficeDevPnP.Core.Utilities { /// <summary> /// Utility class that supports the serialization from Json to type and vice versa /// </summary> public static class JsonUtility { /// <summary> /// Serializes an object of type T to a jso...
mit
C#
a60909415d2b26cb951645cdbc5b684edc4de34b
Add an overload of `AddSystemFonts`
SixLabors/Fonts
src/SixLabors.Fonts/FontCollectionExtensions.cs
src/SixLabors.Fonts/FontCollectionExtensions.cs
// Copyright (c) Six Labors. // Licensed under the Apache License, Version 2.0. using System; namespace SixLabors.Fonts { /// <summary> /// Extension methods for <see cref="IFontCollection"/>. /// </summary> public static class FontCollectionExtensions { /// <summary> /// Adds the ...
// Copyright (c) Six Labors. // Licensed under the Apache License, Version 2.0. namespace SixLabors.Fonts { /// <summary> /// Extension methods for <see cref="IFontCollection"/>. /// </summary> public static class FontCollectionExtensions { /// <summary> /// Adds the fonts from the ...
apache-2.0
C#
4ffacef1b103f4ee0ee3212f2a5d7949acc35132
Clean up Utf8StringPerf benchmark
ericstj/corefxlab,ericstj/corefxlab,KrzysztofCwalina/corefxlab,stephentoub/corefxlab,whoisj/corefxlab,stephentoub/corefxlab,stephentoub/corefxlab,joshfree/corefxlab,stephentoub/corefxlab,adamsitnik/corefxlab,ericstj/corefxlab,tarekgh/corefxlab,benaadams/corefxlab,ericstj/corefxlab,dotnet/corefxlab,ahsonkhan/corefxlab,w...
tests/Benchmarks/System.Text.Utf8/Utf8StringPerf.cs
tests/Benchmarks/System.Text.Utf8/Utf8StringPerf.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 BenchmarkDotNet.Attributes; namespace System.Text.Utf8.Benchmarks { public class Utf8StringPerf { ...
// 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 BenchmarkDotNet.Attributes; namespace System.Text.Utf8.Benchmarks { public class Utf8StringPerf { ...
mit
C#
545dabff307bca42e1527748195c2ad9007ba567
Use generic implementation
peppy/osu-framework,ppy/osu-framework,ZLima12/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,ZLima12/osu-framework
osu.Framework/Input/JoystickButtonEventManager.cs
osu.Framework/Input/JoystickButtonEventManager.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.Framework.Graphics; using osu.Framework.Input.Events; using osu.Framework.Input.States; namespace osu.Framework.Input { p...
// 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.Framework.Graphics; using osu.Framework.Input.Events; using osu.Framework.Input.States; namespace osu.Framework.Input { p...
mit
C#
75aba48634fc279152cfadec683fbec29e969e14
fix seucrity issue for subnav links
Mozu/mozu-dotnet-webtoolkit,sanjaymandadi/mozu-dotnet-webtoolkit
Mozu.Api.WebToolKit/Filters/ConfigurationAuthFilter.cs
Mozu.Api.WebToolKit/Filters/ConfigurationAuthFilter.cs
using System; using System.Threading.Tasks; using System.Web.Mvc; using Mozu.Api.Logging; using Mozu.Api.Resources.Platform; using Mozu.Api.Security; namespace Mozu.Api.WebToolKit.Filters { [AttributeUsage(AttributeTargets.Method)] public class ConfigurationAuthFilter : ActionFilterAttribute { pri...
using System; using System.Threading.Tasks; using System.Web.Mvc; using Mozu.Api.Logging; using Mozu.Api.Resources.Platform; using Mozu.Api.Security; namespace Mozu.Api.WebToolKit.Filters { [AttributeUsage(AttributeTargets.Method)] public class ConfigurationAuthFilter : ActionFilterAttribute { pri...
mit
C#
90cda7a0ce9fab9c08d8e9e4bf805dd0407d6ea2
reformat app builder
wangkanai/Detection
src/DependencyInjection/DetectionBuilder.cs
src/DependencyInjection/DetectionBuilder.cs
// Copyright (c) 2014-2020 Sarin Na Wangkanai, All Rights Reserved. // The Apache v2. See License.txt in the project root for license information. using System; namespace Microsoft.Extensions.DependencyInjection { /// <summary> /// Helper functions for configuring detection services. /// </summary> pu...
// Copyright (c) 2014-2020 Sarin Na Wangkanai, All Rights Reserved. // The Apache v2. See License.txt in the project root for license information. using System; namespace Microsoft.Extensions.DependencyInjection { /// <summary> /// Helper functions for configuring detection services. /// </summary> ...
apache-2.0
C#
0b447d3ddd73e0bc1c47514f242930ac13475e98
Remove ViewLogic Validation on Edit Settings Screen
tommcclean/PortalCMS,tommcclean/PortalCMS,tommcclean/PortalCMS
Portal.CMS.Web/Areas/Admin/Views/Settings/_Edit.cshtml
Portal.CMS.Web/Areas/Admin/Views/Settings/_Edit.cshtml
@model Portal.CMS.Web.Areas.Admin.ViewModels.Settings.EditViewModel @{ Layout = ""; } @using (Html.BeginForm("Edit", "Settings", FormMethod.Post)) { @Html.AntiForgeryToken() @Html.HiddenFor(x => x.SettingId) @Html.ValidationMessage("SettingName") <div class="control-group float-container"> ...
@model Portal.CMS.Web.Areas.Admin.ViewModels.Settings.EditViewModel @{ Layout = ""; } @using (Html.BeginForm("Edit", "Settings", FormMethod.Post)) { @Html.AntiForgeryToken() @Html.HiddenFor(x => x.SettingId) @Html.ValidationMessage("SettingName") <div class="control-group float-container"> ...
mit
C#
7f72bcd0aac12b180bbcc463e074def4e957be5f
Add instant-timestamp conversions
PietroProperties/holms.platformclient.net
csharp/HOLMS.Platform/HOLMS.Platform/Support/Conversions/DateTimeConversions.cs
csharp/HOLMS.Platform/HOLMS.Platform/Support/Conversions/DateTimeConversions.cs
using System; using Google.Protobuf.WellKnownTypes; using NodaTime; namespace HOLMS.Support.Conversions { public static class DateTimeConversions { public static Timestamp ToTS(this DateTime dt) => Timestamp.FromDateTime(dt.ToUniversalTime()); public static LocalDate ToLD(this Timesta...
using System; using Google.Protobuf.WellKnownTypes; using NodaTime; namespace HOLMS.Support.Conversions { public static class DateTimeConversions { public static Timestamp ToTS(this DateTime dt) => Timestamp.FromDateTime(dt.ToUniversalTime()); public static LocalDate ToLD(this Timesta...
mit
C#
ef0bf06b202803fffa76c327c5c65ba26b11fc43
Add default message to CurrencyNotFoundException.
chtoucas/Narvalo.NET,chtoucas/Narvalo.NET
src/Narvalo.Finance/CurrencyNotFoundException.cs
src/Narvalo.Finance/CurrencyNotFoundException.cs
// Copyright (c) Narvalo.Org. All rights reserved. See LICENSE.txt in the project root for license information. namespace Narvalo.Finance { using System; using Narvalo.Finance.Properties; /// <summary> /// The exception thrown when a method is invoked which attempts to construct /// a currency t...
// Copyright (c) Narvalo.Org. All rights reserved. See LICENSE.txt in the project root for license information. namespace Narvalo.Finance { using System; /// <summary> /// The exception thrown when a method is invoked which attempts to construct /// a currency that is not available. /// </summary...
bsd-2-clause
C#
64c6155ae76cf6e3eef083a9839fd3ef5df6bac3
Fix ResultLimitAttribute to actually throw on error conditions
scz2011/WebApi,congysu/WebApi,LianwMS/WebApi,chimpinano/WebApi,abkmr/WebApi,lungisam/WebApi,yonglehou/WebApi,chimpinano/WebApi,yonglehou/WebApi,lewischeng-ms/WebApi,LianwMS/WebApi,lewischeng-ms/WebApi,scz2011/WebApi,lungisam/WebApi,abkmr/WebApi,congysu/WebApi
src/System.Web.Http/ResultLimitAttribute.cs
src/System.Web.Http/ResultLimitAttribute.cs
using System.Collections; using System.Diagnostics.Contracts; using System.Linq; using System.Net.Http; using System.Web.Http.Common; using System.Web.Http.Controllers; using System.Web.Http.Filters; using System.Web.Http.Properties; using System.Web.Http.Query; namespace System.Web.Http { /// <summary> /// T...
using System.Collections; using System.Diagnostics.Contracts; using System.Linq; using System.Net.Http; using System.Web.Http.Common; using System.Web.Http.Controllers; using System.Web.Http.Filters; using System.Web.Http.Properties; using System.Web.Http.Query; namespace System.Web.Http { /// <summary> /// T...
mit
C#
3c7ddabc948e10c351557ac95915e09bb3846ae1
use interface context
WojcikMike/docs.particular.net
Snippets/Snippets_6/Headers/OutgoingBehavior.cs
Snippets/Snippets_6/Headers/OutgoingBehavior.cs
namespace Snippets6.Headers { using System; using System.Threading.Tasks; using NServiceBus.OutgoingPipeline; using NServiceBus.Pipeline; #region header-outgoing-behavior public class OutgoingBehavior : Behavior<IOutgoingPhysicalMessageContext> { public override async Task Invoke(I...
namespace Snippets6.Headers { using System; using System.Threading.Tasks; using NServiceBus.OutgoingPipeline; using NServiceBus.Pipeline; #region header-outgoing-behavior public class OutgoingBehavior : Behavior<OutgoingPhysicalMessageContext> { public override async Task Invoke(Ou...
apache-2.0
C#
18947f4c6d2d16e5e1493a13c6a2460829face8c
Revert "Make DisposeMethodKind internal to avoid conflicts"
mavasani/roslyn-analyzers,pakdev/roslyn-analyzers,dotnet/roslyn-analyzers,pakdev/roslyn-analyzers,mavasani/roslyn-analyzers,dotnet/roslyn-analyzers
src/Utilities/Compiler/DisposeMethodKind.cs
src/Utilities/Compiler/DisposeMethodKind.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. namespace Analyzer.Utilities { /// <summary> /// Describes different kinds of Dispose-like methods. /// </summary> public enum DisposeMethodK...
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. namespace Analyzer.Utilities { /// <summary> /// Describes different kinds of Dispose-like methods. /// </summary> internal enum DisposeMetho...
mit
C#
64762d9af8db3c7fb1d842e24fb7146421b8bc23
Fix documentation.
SonnevilleJ/Investing,SonnevilleJ/Investing
Sonneville.Fidelity.Shell/Interface/ICommand.cs
Sonneville.Fidelity.Shell/Interface/ICommand.cs
using System; using System.Collections.Generic; using System.IO; namespace Sonneville.Fidelity.Shell.Interface { public interface ICommand : IDisposable { /// <summary> /// The name of the command. Users will invoke the command by typing the name of the command. /// </summary> ...
using System; using System.Collections.Generic; using System.IO; namespace Sonneville.Fidelity.Shell.Interface { public interface ICommand : IDisposable { /// <summary> /// The name of the command. Users will invoke the command by typing the name of the command. /// </summary> ...
mit
C#
4adde4f0de10a1edcc2cc067e0fb7a7edcf988e8
Update `SpecFlowHooks` to add screenshot files to SpecFlow output
atata-framework/atata-samples
SpecFlow/AtataSamples.SpecFlow/SpecFlowHooks.cs
SpecFlow/AtataSamples.SpecFlow/SpecFlowHooks.cs
using Atata; using TechTalk.SpecFlow; using TechTalk.SpecFlow.Infrastructure; namespace AtataSamples.SpecFlow { [Binding] public sealed class SpecFlowHooks { private readonly ISpecFlowOutputHelper _outputHelper; public SpecFlowHooks(ISpecFlowOutputHelper outputHelper) { ...
using Atata; using TechTalk.SpecFlow; namespace AtataSamples.SpecFlow { [Binding] public sealed class SpecFlowHooks { // For additional details on SpecFlow hooks see http://go.specflow.org/doc-hooks [BeforeTestRun] public static void SetUpTestRun() { AtataConte...
apache-2.0
C#
016afaa9fb875105388791ea274f6918f642e1a3
Exclude test utility from coverage
tsqllint/tsqllint,tsqllint/tsqllint
TSQLLint.Tests/Helpers/RuleViolationComparer.cs
TSQLLint.Tests/Helpers/RuleViolationComparer.cs
using System; using System.Collections; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using TSQLLint.Lib.Rules.RuleViolations; namespace TSQLLint.Tests.Helpers { [ExcludeFromCodeCoverage] public class RuleViolationComparer : IComparer, IComparer<RuleViolation> { public in...
using System; using System.Collections; using System.Collections.Generic; using TSQLLint.Lib.Rules.RuleViolations; namespace TSQLLint.Tests.Helpers { public class RuleViolationComparer : IComparer, IComparer<RuleViolation> { public int Compare(object x, object y) { if (!(x is RuleVi...
mit
C#
b6e46643c40645b9d96996c38afee6b463895e63
Update comments
nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet
WalletWasabi.Fluent/ViewModels/MainViewModel.cs
WalletWasabi.Fluent/ViewModels/MainViewModel.cs
using NBitcoin; using ReactiveUI; using System.Reactive; using WalletWasabi.Gui.ViewModels; using WalletWasabi.Fluent.ViewModels.Dialogs; using System; using Global = WalletWasabi.Gui.Global; namespace WalletWasabi.Fluent.ViewModels { public class MainViewModel : ViewModelBase, IScreen, IDialogHost { private Globa...
using NBitcoin; using ReactiveUI; using System.Reactive; using WalletWasabi.Gui.ViewModels; using WalletWasabi.Fluent.ViewModels.Dialogs; using System; using Global = WalletWasabi.Gui.Global; namespace WalletWasabi.Fluent.ViewModels { public class MainViewModel : ViewModelBase, IScreen, IDialogHost { private Globa...
mit
C#
69a2838f0f3c0d97f11024a4113ab69e60b47929
Extend Locations & EndPointCommands models
MagedAlNaamani/DynThings,MagedAlNaamani/DynThings,cmoussalli/DynThings,MagedAlNaamani/DynThings,cmoussalli/DynThings,MagedAlNaamani/DynThings,cmoussalli/DynThings,cmoussalli/DynThings
DynThings.Data.Models/ModelsExtensions/Location.cs
DynThings.Data.Models/ModelsExtensions/Location.cs
///////////////////////////////////////////////////////////////// // Created by : Caesar Moussalli // // TimeStamp : 31-1-2016 // // Content : Extend the properties of Location Model // // Notes : Don't add Behavior in this class ...
///////////////////////////////////////////////////////////////// // Created by : Caesar Moussalli // // TimeStamp : 31-1-2016 // // Content : Extend the properties of Location Model // // Notes : Don't add Behavior in this class ...
mit
C#
0a32b360b0e006bf9c053aa1a81f1132587895d8
Fix for previous minor refactoring.
lemestrez/aspnetboilerplate,ilyhacker/aspnetboilerplate,ddNils/aspnetboilerplate,takintsft/aspnetboilerplate,ddNils/aspnetboilerplate,ryancyq/aspnetboilerplate,4nonym0us/aspnetboilerplate,4nonym0us/aspnetboilerplate,Saviio/aspnetboilerplate,ryancyq/aspnetboilerplate,lvjunlei/aspnetboilerplate,verdentk/aspnetboilerplate...
src/Abp/Auditing/AuditingInterceptorRegistrar.cs
src/Abp/Auditing/AuditingInterceptorRegistrar.cs
using System; using System.Linq; using Abp.Dependency; using Castle.Core; using Castle.MicroKernel; namespace Abp.Auditing { internal class AuditingInterceptorRegistrar { private readonly IIocManager _iocManager; private readonly IAuditingConfiguration _auditingConfiguration; public A...
using System; using System.Linq; using Abp.Dependency; using Castle.Core; using Castle.MicroKernel; namespace Abp.Auditing { internal class AuditingInterceptorRegistrar { private readonly IAuditingConfiguration _auditingConfiguration; private readonly IIocManager _iocManager; public A...
mit
C#
bd6d408c6fb80f299ff0506559024e9398f8ed86
bump version
raml-org/raml-dotnet-parser-2,raml-org/raml-dotnet-parser-2
source/Raml.Parser/Properties/AssemblyInfo.cs
source/Raml.Parser/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("RAML.Parser")] [assembly: AssemblyDescri...
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("RAML.Parser")] [assembly: AssemblyDescri...
apache-2.0
C#
9edecc81ff798bab6762dc34207e5547c8ceae2c
Use invoke explicitly
FlorianRappl/AngleSharp,AngleSharp/AngleSharp,FlorianRappl/AngleSharp,FlorianRappl/AngleSharp,AngleSharp/AngleSharp,AngleSharp/AngleSharp,AngleSharp/AngleSharp,AngleSharp/AngleSharp,FlorianRappl/AngleSharp
src/AngleSharp/Extensions/EventLoopExtensions.cs
src/AngleSharp/Extensions/EventLoopExtensions.cs
namespace AngleSharp.Extensions { using System; /// <summary> /// A set of useful extensions for the event loop. /// </summary> static class EventLoopExtensions { /// <summary> /// Enqueues another action without considering the cancellation token. /// </summary> ...
namespace AngleSharp.Extensions { using System; /// <summary> /// A set of useful extensions for the event loop. /// </summary> static class EventLoopExtensions { /// <summary> /// Enqueues another action without considering the cancellation token. /// </summary> ...
mit
C#
e7ee3cc771268de13a6d876585299d5d5364eb2e
remove useless attribute
StefanoFiumara/Harry-Potter-Unity
Assets/Scripts/HarryPotterUnity/UI/SubMenuManager.cs
Assets/Scripts/HarryPotterUnity/UI/SubMenuManager.cs
using HarryPotterUnity.UI.Menu; using JetBrains.Annotations; using UnityEngine; namespace HarryPotterUnity.UI { public class SubMenuManager : MonoBehaviour { private BaseMenu _currentMenu; public void ShowMenu(BaseMenu menu) { if (menu.IsOpen) { ...
using HarryPotterUnity.UI.Menu; using JetBrains.Annotations; using UnityEngine; namespace HarryPotterUnity.UI { public class SubMenuManager : MonoBehaviour { private BaseMenu _currentMenu; [UsedImplicitly] public void ShowMenu(BaseMenu menu) { if (menu.IsOp...
mit
C#
4ec026b934a59f9c42fa5029204b670af9366b01
add comment to GenericSerializationInfo
peopleware/net-ppwcode-util-oddsandends
src/II/Serialization/GenericSerializationInfo.cs
src/II/Serialization/GenericSerializationInfo.cs
// Copyright 2014 by PeopleWare n.v.. // // 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 agree...
// Copyright 2014 by PeopleWare n.v.. // // 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 agree...
apache-2.0
C#
63564ccb5b1946e948e73a4a777b40f84ec0ed38
修改 HelloWorldController "Index" action 回傳View Item.
NemoChenTW/MvcMovie,NemoChenTW/MvcMovie,NemoChenTW/MvcMovie
src/MvcMovie/Controllers/HelloWorldController.cs
src/MvcMovie/Controllers/HelloWorldController.cs
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNet.Mvc; using Microsoft.Extensions.WebEncoders; // For more information on enabling MVC for empty projects, visit http://go.microsoft.com/fwlink/?LinkID=397860 namespace MvcMovie.Controllers { pub...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNet.Mvc; using Microsoft.Extensions.WebEncoders; // For more information on enabling MVC for empty projects, visit http://go.microsoft.com/fwlink/?LinkID=397860 namespace MvcMovie.Controllers { pub...
apache-2.0
C#
0aeb48a64b24a2910c86d99c7272975d8c50e32e
Update AbpFluentValidationLanguageManager.cs
verdentk/aspnetboilerplate,ilyhacker/aspnetboilerplate,carldai0106/aspnetboilerplate,carldai0106/aspnetboilerplate,aspnetboilerplate/aspnetboilerplate,verdentk/aspnetboilerplate,ryancyq/aspnetboilerplate,ryancyq/aspnetboilerplate,verdentk/aspnetboilerplate,aspnetboilerplate/aspnetboilerplate,ryancyq/aspnetboilerplate,c...
src/Abp.FluentValidation/FluentValidation/AbpFluentValidationLanguageManager.cs
src/Abp.FluentValidation/FluentValidation/AbpFluentValidationLanguageManager.cs
using System.Collections.Generic; using System.Globalization; using Abp.Extensions; using Abp.FluentValidation.Configuration; using Abp.Localization; using Abp.Localization.Sources; using LanguageManager = FluentValidation.Resources.LanguageManager; namespace Abp.FluentValidation { public class AbpFluentValidatio...
using System.Collections.Generic; using System.Globalization; using Abp.Extensions; using Abp.FluentValidation.Configuration; using Abp.Localization; using Abp.Localization.Sources; using LanguageManager = FluentValidation.Resources.LanguageManager; namespace Abp.FluentValidation { public class AbpFluentValidatio...
mit
C#
d209ba0dd53d25992b1ad530c85912bf14df14b0
Update AssemblyInfo.cs
fredatgithub/UsefulFunctions
FluentAssertionsUnitTests/Properties/AssemblyInfo.cs
FluentAssertionsUnitTests/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // Les informations générales relatives à un assembly dépendent de // l'ensemble d'attributs suivant. Changez les valeurs de ces attributs pour modifier les informations // associées à un assembly. [assembly: Assemb...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // Les informations générales relatives à un assembly dépendent de // l'ensemble d'attributs suivant. Changez les valeurs de ces attributs pour modifier les informations // associées à un assembly. [assembly: Assemb...
mit
C#
95c4b4c94069390e7093f31dcfe6b0ff3a10f9c0
Kill extra method
khellang/nancy-bootstrapper-prototype
src/Nancy.Core/Scanning/ScanningStrategies.cs
src/Nancy.Core/Scanning/ScanningStrategies.cs
namespace Nancy.Core.Scanning { using System; using System.Reflection; public static class ScanningStrategies { private static readonly Assembly NancyAssembly = typeof(IEngine).GetTypeInfo().Assembly; public static ScanningStrategy All { get; } = assembly => true; public stat...
namespace Nancy.Core.Scanning { using System; using System.Reflection; public static class ScanningStrategies { public static readonly Assembly NancyAssembly = typeof(IEngine).GetTypeInfo().Assembly; public static ScanningStrategy All { get; } = assembly => true; public stati...
apache-2.0
C#
194384e68bc2e2f82b5c16567de5a47f71495da6
add SqlConnection explicit cast operator
NServiceKit/NServiceKit.OrmLite,NServiceKit/NServiceKit.OrmLite
src/ServiceStack.OrmLite/OrmLiteConnection.cs
src/ServiceStack.OrmLite/OrmLiteConnection.cs
using System.Data; using System.Data.SqlClient; namespace ServiceStack.OrmLite { /// <summary> /// Wrapper IDbConnection class to allow for connection sharing, mocking, etc. /// </summary> public class OrmLiteConnection : IDbConnection { private readonly OrmLiteConnectionFactory factory; private...
using System.Data; namespace ServiceStack.OrmLite { /// <summary> /// Wrapper IDbConnection class to allow for connection sharing, mocking, etc. /// </summary> public class OrmLiteConnection : IDbConnection { private readonly OrmLiteConnectionFactory factory; private IDbConnection dbConnection; private bo...
bsd-3-clause
C#
cf3e5f34d8f345b34b969f5718d74980d4fdc04a
Tag DataPoints with the class they were made from
CB17Echo/DroneSafety,CB17Echo/DroneSafety,CB17Echo/DroneSafety
AzureFunctions/Models/DataPoint.csx
AzureFunctions/Models/DataPoint.csx
using Microsoft.Azure.Documents.Spatial; using System; public abstract class DataPoint { public DateTime Time { get; set; } public Point Location { get; set; } public string Type { get { return GetType().Name; } } }
using Microsoft.Azure.Documents.Spatial; using System; public abstract class DataPoint { public DateTime Time { get; set; } public Point Location { get; set; } }
apache-2.0
C#
449328a6aedb4fa738ed165cc773546195ca1541
Add Add method
mtsuker/GitTest1
ConsoleApp1/ConsoleApp1/Feature1.cs
ConsoleApp1/ConsoleApp1/Feature1.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ConsoleApp1 { class Feature1 { public int Add() { int x1 = 1; int x2 = 2; int sum = x1 + x2; return sum; } }...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ConsoleApp1 { class Feature1 { } }
mit
C#
3a572abb2d6c110edfa8566566cd4a44fcec02b4
Comment update
noobot/noobot,Workshop2/noobot
src/Noobot.Domain/MessagingPipeline/Request/IncomingMessage.cs
src/Noobot.Domain/MessagingPipeline/Request/IncomingMessage.cs
using Noobot.Domain.MessagingPipeline.Response; namespace Noobot.Domain.MessagingPipeline.Request { public class IncomingMessage { /// <summary> /// The Slack UserId of whoever sent the message /// </summary> public string UserId { get; set; } /// <summary> ///...
using Noobot.Domain.MessagingPipeline.Response; namespace Noobot.Domain.MessagingPipeline.Request { public class IncomingMessage { /// <summary> /// The Slack UserId of whoever sent the message /// </summary> public string UserId { get; set; } /// <summary> ///...
mit
C#
92b766fa0a545141449ce09d832865f33b898c4d
Add GetAll() to org.freedesktop.DBus.Properties interface
Tragetaschen/dbus-sharp,arfbtwn/dbus-sharp,mono/dbus-sharp,Tragetaschen/dbus-sharp,arfbtwn/dbus-sharp,openmedicus/dbus-sharp,mono/dbus-sharp,openmedicus/dbus-sharp
src/DBus.cs
src/DBus.cs
// Copyright 2006 Alp Toker <alp@atoker.com> // This software is made available under the MIT License // See COPYING for details using System; using System.Collections.Generic; using NDesk.DBus; namespace org.freedesktop.DBus { [Flags] public enum NameFlag : uint { None = 0, AllowReplacement = 0x1, ReplaceEx...
// Copyright 2006 Alp Toker <alp@atoker.com> // This software is made available under the MIT License // See COPYING for details using System; using NDesk.DBus; namespace org.freedesktop.DBus { [Flags] public enum NameFlag : uint { None = 0, AllowReplacement = 0x1, ReplaceExisting = 0x2, DoNotQueue = 0x4, ...
mit
C#
2f55cf5ab7fed58abce5e0accfe16e5814a96add
use system default title in SelectColorDialog, if no title is specified
lytico/xwt,TheBrainTech/xwt,mono/xwt,hwthomas/xwt,directhex/xwt,sevoku/xwt,akrisiun/xwt,antmicro/xwt,hamekoz/xwt,mminns/xwt,mminns/xwt,iainx/xwt,cra0zy/xwt,steffenWi/xwt,residuum/xwt
Xwt.Gtk/Xwt.GtkBackend/SelectColorDialogBackend.cs
Xwt.Gtk/Xwt.GtkBackend/SelectColorDialogBackend.cs
// // SelectColorDialogBackend.cs // // Author: // Lluis Sanchez <lluis@xamarin.com> // // Copyright (c) 2012 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 with...
// // SelectColorDialogBackend.cs // // Author: // Lluis Sanchez <lluis@xamarin.com> // // Copyright (c) 2012 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 with...
mit
C#
549ceb7c15c85d29699e31f17d3622a7262dfbff
Load only if the file given exists
Torrunt/vimage
vimage/Source/Program.cs
vimage/Source/Program.cs
// vimage - http://torrunt.net/vimage // Corey Zeke Womack (Torrunt) - me@torrunt.net using System; namespace vimage { class Program { static void Main(string[] args) { string file; if (args.Length == 0) return; else file = a...
// vimage - http://torrunt.net/vimage // Corey Zeke Womack (Torrunt) - me@torrunt.net using System; namespace vimage { class Program { static void Main(string[] args) { string file; if (args.Length == 0) { #if DEBUG //file = @"C:\Users\Corey...
mit
C#
ed7388f3cc36d3a7a66212ababe183d45434ed23
fix IsoCode doc link in Subdivision.cs
maxmind/GeoIP2-dotnet
MaxMind.GeoIP2/Model/Subdivision.cs
MaxMind.GeoIP2/Model/Subdivision.cs
#region using MaxMind.Db; using System.Collections.Generic; using System.Text.Json.Serialization; #endregion namespace MaxMind.GeoIP2.Model { /// <summary> /// Contains data for the subdivisions associated with an IP address. /// Do not use any of the subdivision names as a database or dictionar...
#region using MaxMind.Db; using System.Collections.Generic; using System.Text.Json.Serialization; #endregion namespace MaxMind.GeoIP2.Model { /// <summary> /// Contains data for the subdivisions associated with an IP address. /// Do not use any of the subdivision names as a database or dictionar...
apache-2.0
C#