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
1b4475a6dc69d8f8c5314fb3dc7fe80c3931ea83
Update default build for .NET Core.
nuke-build/nuke,nuke-build/nuke,nuke-build/nuke,nuke-build/nuke
bootstrapping/Build.netcore.cs
bootstrapping/Build.netcore.cs
using System; using System.Linq; using Nuke.Common; using Nuke.Common.Git; using Nuke.Common.Tools.GitVersion; using Nuke.Core; using static Nuke.Common.Tools.DotNet.DotNetTasks; using static Nuke.Core.IO.FileSystemTasks; using static Nuke.Core.IO.PathConstruction; using static Nuke.Core.EnvironmentInfo; class Build ...
using System; using System.Linq; using Nuke.Common; using Nuke.Common.Git; using Nuke.Common.Tools.GitVersion; using Nuke.Core; using static Nuke.Common.Tools.DotNet.DotNetTasks; using static Nuke.Core.IO.FileSystemTasks; using static Nuke.Core.IO.PathConstruction; using static Nuke.Core.EnvironmentInfo; class Build ...
mit
C#
d171970ad2ab959a6050639f744bb26b9f8fc3c4
Make if block more readable
Tom94/osu-framework,peppy/osu-framework,ZLima12/osu-framework,DrabWeb/osu-framework,default0/osu-framework,ppy/osu-framework,DrabWeb/osu-framework,Tom94/osu-framework,EVAST9919/osu-framework,default0/osu-framework,Nabile-Rahmani/osu-framework,EVAST9919/osu-framework,smoogipooo/osu-framework,DrabWeb/osu-framework,smoogi...
osu.Framework/Configuration/BindableNumberWithPrecision.cs
osu.Framework/Configuration/BindableNumberWithPrecision.cs
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE using System; namespace osu.Framework.Configuration { public abstract class BindableNumberWithPrecision<T> : BindableNumber<T> where T : ...
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE using System; namespace osu.Framework.Configuration { public abstract class BindableNumberWithPrecision<T> : BindableNumber<T> where T : ...
mit
C#
676dec1c6324675d5c5bb8955105e228e1ab88b4
Update ObjectPool.cs
drawcode/labs-unity
gameobjects/ObjectPool.cs
gameobjects/ObjectPool.cs
using System.Collections; using System.Collections.Generic; using UnityEngine; public class ObjectPoolItem { public GameObject parentObject; public GameObject itemObject; } // The ObjectPool is the storage class for pooled objects of the same kind (e.g. "Pistol Bullet", or "Enemy A") // This is used by the O...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class ObjectPoolItem { public GameObject parentObject; public GameObject itemObject; } // The ObjectPool is the storage class for pooled objects of the same kind (e.g. "Pistol Bullet", or "Enemy A") // This is used by the O...
mit
C#
46753fe870eb6d00f2a089c48b170241c2db7270
Bump version to 0.20.0
ar3cka/Journalist
src/SolutionInfo.cs
src/SolutionInfo.cs
// <auto-generated/> using System.Reflection; [assembly: AssemblyProductAttribute("Journalist")] [assembly: AssemblyVersionAttribute("0.20.0")] [assembly: AssemblyInformationalVersionAttribute("0.20.0")] [assembly: AssemblyFileVersionAttribute("0.20.0")] [assembly: AssemblyCompanyAttribute("Anton Mednonogov")] namesp...
// <auto-generated/> using System.Reflection; [assembly: AssemblyProductAttribute("Journalist")] [assembly: AssemblyVersionAttribute("0.19.0")] [assembly: AssemblyInformationalVersionAttribute("0.19.0")] [assembly: AssemblyFileVersionAttribute("0.19.0")] [assembly: AssemblyCompanyAttribute("Anton Mednonogov")] namesp...
apache-2.0
C#
18dc62dbe5ea7083e5042d574339877a25f14c7b
Use file scoped namespaces
carbon/Amazon
src/Amazon.Iam/IamClient.cs
src/Amazon.Iam/IamClient.cs
#nullable enable using System.Net.Http; using System.Threading.Tasks; namespace Amazon.Iam; public sealed class IamClient : AwsClient { public const string Version = "2010-05-08"; public IamClient(AwsCredential credential) : base(AwsService.Iam, AwsRegion.USEast1, credential) { } ...
#nullable enable using System.Net.Http; using System.Threading.Tasks; namespace Amazon.Iam { public sealed class IamClient : AwsClient { public const string Version = "2010-05-08"; public IamClient(AwsCredential credential) : base(AwsService.Iam, AwsRegion.USEast1, cr...
mit
C#
26b3a976a95466172ea6444d520c2bd91ddb9ec2
Indent code
aloisdg/algo
Algo/FisherYates/FisherYates.cs
Algo/FisherYates/FisherYates.cs
using System; using System.Collections.Generic; namespace FisherYates { public static class FisherYates { /* ** http://en.wikipedia.org/wiki/Fisher%E2%80%93Yates_shuffle */ static readonly Random Rand = new Random(); public static IEnumerable<T> Shuffle<T>(this IEnumerable<T...
using System; using System.Collections.Generic; namespace FisherYates { public static class FisherYates { /* ** http://en.wikipedia.org/wiki/Fisher%E2%80%93Yates_shuffle */ static readonly Random Rand = new Random(); public static IEnumerable<T> Shuffle<T>(this IEnumerable<...
bsd-3-clause
C#
b9e572d63e5747fb997dc62f32537b0c34210a38
make block test names unique
ArsenShnurkov/BitSharp
BitSharp.Data.Test/BlockTest.cs
BitSharp.Data.Test/BlockTest.cs
using Microsoft.VisualStudio.TestTools.UnitTesting; using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Linq; using System.Text; using System.Threading.Tasks; namespace BitSharp.Data.Test { [TestClass] public class BlockTest { [TestMethod] ...
using Microsoft.VisualStudio.TestTools.UnitTesting; using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Linq; using System.Text; using System.Threading.Tasks; namespace BitSharp.Data.Test { [TestClass] public class BlockTest { [TestMethod] ...
unlicense
C#
be0ccefa9dfd26a589fcfee65f530b60510cb392
简化日志记录的扩展内容。 :expressionless:
Zongsoft/Zongsoft.Web
src/Http/ExceptionFilter.cs
src/Http/ExceptionFilter.cs
/* * Authors: * 钟峰(Popeye Zhong) <zongsoft@gmail.com> * * Copyright (C) 2017 Zongsoft Corporation <http://www.zongsoft.com> * * This file is part of Zongsoft.Web. * * Zongsoft.Web is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as publ...
/* * Authors: * 钟峰(Popeye Zhong) <zongsoft@gmail.com> * * Copyright (C) 2017 Zongsoft Corporation <http://www.zongsoft.com> * * This file is part of Zongsoft.Web. * * Zongsoft.Web is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as publ...
lgpl-2.1
C#
118a7661ff204a69886231a895821058ec9b71a1
Add methods and event handlers to IWinFormsWebBrowser
AJDev77/CefSharp,haozhouxu/CefSharp,twxstar/CefSharp,yoder/CefSharp,VioletLife/CefSharp,dga711/CefSharp,dga711/CefSharp,VioletLife/CefSharp,windygu/CefSharp,NumbersInternational/CefSharp,Haraguroicha/CefSharp,ITGlobal/CefSharp,NumbersInternational/CefSharp,rover886/CefSharp,gregmartinhtc/CefSharp,haozhouxu/CefSharp,rui...
CefSharp/IWinFormsWebBrowser.cs
CefSharp/IWinFormsWebBrowser.cs
// Copyright © 2010-2014 The CefSharp Authors. All rights reserved. // // Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. using System; namespace CefSharp { // Should rightfully live in the CefSharp.WinForms project, but the problem is that it's being used from C...
// Copyright © 2010-2014 The CefSharp Authors. All rights reserved. // // Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. namespace CefSharp { // Should rightfully live in the CefSharp.WinForms project, but the problem is that it's being used from CefSharp.Core ...
bsd-3-clause
C#
98ed73d3f3d20c94f41d9bc02929b9f7782da221
fix compiling error
sebas77/Svelto-ECS,sebas77/Svelto.ECS
Svelto.ECS/Extensions/Unity/GenericEntityDescriptorHolder.cs
Svelto.ECS/Extensions/Unity/GenericEntityDescriptorHolder.cs
#if UNITY_5 || UNITY_5_3_OR_NEWER namespace Svelto.ECS { public class GenericEntityDescriptorHolder<T>: UnityEngine.MonoBehaviour , IEntityDescriptorHolder where T: IEntityDescriptor, new() { public IEntityBuilder[] GetEntitiesToBuild() { return EntityDescriptorT...
#if UNITY_5 || UNITY_5_3_OR_NEWER namespace Svelto.ECS { public class GenericEntityDescriptorHolder<T>: UnityEngine.MonoBehaviour , IEntityDescriptorHolder where T: IEntityDescriptor, new() { public IEntityBuilder[] GetEntitiesToBuild() { return EntityDescriptorT...
mit
C#
37da9a1541c749094fae2bfca20d49f42953c18b
Remove the single-dispose requirement for DisposableToolTip
AmadeusW/roslyn,weltkante/roslyn,jmarolf/roslyn,dotnet/roslyn,bartdesmet/roslyn,AmadeusW/roslyn,MichalStrehovsky/roslyn,genlu/roslyn,mgoertz-msft/roslyn,swaroop-sridhar/roslyn,nguerrera/roslyn,tannergooding/roslyn,abock/roslyn,jasonmalinowski/roslyn,mgoertz-msft/roslyn,jcouv/roslyn,jasonmalinowski/roslyn,DustinCampbell...
src/EditorFeatures/Core.Wpf/QuickInfo/DisposableToolTip.cs
src/EditorFeatures/Core.Wpf/QuickInfo/DisposableToolTip.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.Diagnostics; using System.Threading; using System.Windows.Controls; using Microsoft.CodeAnalysis.Editor.Shared.Preview; namespace...
// 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.Diagnostics; using System.Threading; using System.Windows.Controls; using Microsoft.CodeAnalysis.Editor.Shared.Preview; namespace...
mit
C#
219054c1d918c4b1c54e6fb3cbec5248e0920a98
Fix warnings in HierarchyRepeaterLevel
riganti/dotvvm,riganti/dotvvm,riganti/dotvvm,riganti/dotvvm
src/Framework/Framework/Controls/HierarchyRepeaterLevel.cs
src/Framework/Framework/Controls/HierarchyRepeaterLevel.cs
using System; using System.Collections.Generic; using System.Text; using DotVVM.Framework.Binding; using DotVVM.Framework.Binding.Expressions; using DotVVM.Framework.Hosting; namespace DotVVM.Framework.Controls { /// <summary> /// A container for a level of the <see cref="HierarchyRepeater"/>. /// </summa...
using System; using System.Collections.Generic; using System.Text; using DotVVM.Framework.Binding; using DotVVM.Framework.Binding.Expressions; using DotVVM.Framework.Hosting; namespace DotVVM.Framework.Controls { /// <summary> /// A container for a level of the <see cref="HierarchyRepeater"/>. /// </summa...
apache-2.0
C#
a223e5ef4308e264fb23d84fc0dff931f30baa44
correct geo-replication row key
ASOS/woodpecker
src/Woodpecker.Core/Sql/AzureSqlDmvGeoReplicationPecker.cs
src/Woodpecker.Core/Sql/AzureSqlDmvGeoReplicationPecker.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Woodpecker.Core.Sql { public class AzureSqlDmvGeoReplicationPecker : AzureSqlDmvPeckerBase { private const string _query = @" select @@servername [collection_server_...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Woodpecker.Core.Sql { public class AzureSqlDmvGeoReplicationPecker : AzureSqlDmvPeckerBase { private const string _query = @" select @@servername [collection_server_...
mit
C#
8c7b085f996f60ff50d4f97505b40cc4f842726e
Fix test
exceptionless/Foundatio,FoundatioFx/Foundatio
test/Foundatio.AWS.Tests/Metrics/CloudWatchMetricsTests.cs
test/Foundatio.AWS.Tests/Metrics/CloudWatchMetricsTests.cs
using System; using System.Threading.Tasks; using Amazon; using Amazon.CloudWatch.Model; using Amazon.Runtime; using Foundatio.Metrics; using Foundatio.Tests.Metrics; using Foundatio.Tests.Utility; using Xunit; using Xunit.Abstractions; namespace Foundatio.AWS.Tests.Metrics { public class CloudWatchMetricsTests :...
using System; using System.Threading.Tasks; using Amazon; using Amazon.Runtime; using Foundatio.Metrics; using Foundatio.Tests.Metrics; using Foundatio.Tests.Utility; using Xunit; using Xunit.Abstractions; namespace Foundatio.AWS.Tests.Metrics { public class CloudWatchMetricsTests : MetricsClientTestBase { ...
apache-2.0
C#
aa750bb024ddc3d09ea6d41690807cb84855cf8e
Use cache to avoid runtime reflection.
MindTouch/NServiceKit,meebey/ServiceStack,ZocDoc/ServiceStack,nataren/NServiceKit,NServiceKit/NServiceKit,MindTouch/NServiceKit,timba/NServiceKit,MindTouch/NServiceKit,meebey/ServiceStack,NServiceKit/NServiceKit,ZocDoc/ServiceStack,nataren/NServiceKit,timba/NServiceKit,nataren/NServiceKit,ZocDoc/ServiceStack,ZocDoc/Ser...
src/ServiceStack.ServiceInterface/Validation/ValidationFilter.cs
src/ServiceStack.ServiceInterface/Validation/ValidationFilter.cs
using System; using ServiceStack.ServiceHost; using ServiceStack.FluentValidation; using ServiceStack.ServiceInterface.ServiceModel; using ServiceStack.Validation; using ServiceStack.WebHost.Endpoints; using ServiceStack.WebHost.Endpoints.Extensions; namespace ServiceStack.ServiceInterface.Validation { pub...
using System; using ServiceStack.ServiceHost; using ServiceStack.FluentValidation; using ServiceStack.ServiceInterface.ServiceModel; using ServiceStack.Validation; using ServiceStack.WebHost.Endpoints; using ServiceStack.WebHost.Endpoints.Extensions; namespace ServiceStack.ServiceInterface.Validation { pub...
bsd-3-clause
C#
9d9160b012a00bd4cc26c14ee5c4c2410d3a922e
Fix BitmapFontMultiline test to display correctly.
zmaruo/CocosSharp,zmaruo/CocosSharp,haithemaraissia/CocosSharp,MSylvia/CocosSharp,TukekeSoft/CocosSharp,MSylvia/CocosSharp,haithemaraissia/CocosSharp,hig-ag/CocosSharp,mono/CocosSharp,hig-ag/CocosSharp,mono/CocosSharp,TukekeSoft/CocosSharp
tests/tests/classes/tests/LabelTest/BitmapFontMultiLine.cs
tests/tests/classes/tests/LabelTest/BitmapFontMultiLine.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using CocosSharp; using System.Diagnostics; namespace tests { public class BitmapFontMultiLine : AtlasDemo { CCLabelBMFont label1, label2, label3; public BitmapFontMultiLine() { CCSize s; ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using CocosSharp; using System.Diagnostics; namespace tests { public class BitmapFontMultiLine : AtlasDemo { CCLabelBMFont label1, label2, label3; public BitmapFontMultiLine() { CCSize s; ...
mit
C#
905910e5d29c5cb835d9021597800faf4b2cf713
Remove unnecessary service registration.
Lombiq/Helpful-Extensions,Lombiq/Helpful-Extensions
Extensions/SiteTexts/Startup.cs
Extensions/SiteTexts/Startup.cs
using Lombiq.HelpfulExtensions.Extensions.SiteTexts.Services; using Microsoft.Extensions.DependencyInjection; using OrchardCore.Data.Migration; using OrchardCore.Modules; namespace Lombiq.HelpfulExtensions.Extensions.SiteTexts; [Feature(FeatureIds.SiteTexts)] public class Startup : StartupBase { public override v...
using Lombiq.HelpfulExtensions.Extensions.SiteTexts.Services; using Microsoft.Extensions.DependencyInjection; using OrchardCore.Data.Migration; using OrchardCore.Modules; namespace Lombiq.HelpfulExtensions.Extensions.SiteTexts; [Feature(FeatureIds.SiteTexts)] public class Startup : StartupBase { public override v...
bsd-3-clause
C#
2cadec415bc0445af3a849c2d77e3435642621f5
Configure awaits to not return to sync context. It's not necessary here.
mthamil/PlantUMLStudio,mthamil/PlantUMLStudio
PlantUmlEditor.Core/Dependencies/Update/ComponentUpdateChecker.cs
PlantUmlEditor.Core/Dependencies/Update/ComponentUpdateChecker.cs
using System; using System.IO; using System.Net; using System.Threading; using System.Threading.Tasks; using Utilities; using Utilities.Chronology; using Utilities.InputOutput; using Utilities.Net; namespace PlantUmlEditor.Core.Dependencies.Update { /// <summary> /// Checks for and downloads updates of third party c...
using System; using System.IO; using System.Net; using System.Threading; using System.Threading.Tasks; using Utilities; using Utilities.Chronology; using Utilities.InputOutput; using Utilities.Net; namespace PlantUmlEditor.Core.Dependencies.Update { /// <summary> /// Checks for and downloads updates of third party c...
apache-2.0
C#
5ee1d398c953c8ad6a9b51e15b3573f8e7b842e2
fix json1
askeip/tasks
JsonConversion/JsonConverter.cs
JsonConversion/JsonConverter.cs
using System.Linq; using Newtonsoft.Json; using Newtonsoft.Json.Linq; namespace JsonConversion { public class JsonConverter : IJsonConverter { public string Convert(string json) { var warehouseV2 = JsonConvert.DeserializeObject<WarehouseV2>(json); var product...
using System.Linq; using Newtonsoft.Json; using Newtonsoft.Json.Linq; namespace JsonConversion { public class JsonConverter : IJsonConverter { public string Convert(string json) { var warehouseV2 = JsonConvert.DeserializeObject<WarehouseV2>(json); var product...
mit
C#
a240279ad38e6d2302cf416321cfae11c5f75bfc
Update DefaultLanguagesBuilder.cs
aspnetboilerplate/module-zero-template,s-takatsu/module-zero-template,s-takatsu/module-zero-template,aspnetboilerplate/module-zero-template,s-takatsu/module-zero-template,aspnetboilerplate/module-zero-template
src/AbpCompanyName.AbpProjectName.EntityFramework/Migrations/SeedData/DefaultLanguagesBuilder.cs
src/AbpCompanyName.AbpProjectName.EntityFramework/Migrations/SeedData/DefaultLanguagesBuilder.cs
using System.Collections.Generic; using System.Linq; using Abp.Localization; using AbpCompanyName.AbpProjectName.EntityFramework; namespace AbpCompanyName.AbpProjectName.Migrations.SeedData { public class DefaultLanguagesBuilder { private readonly AbpProjectNameDbContext _context; public stati...
using System.Collections.Generic; using System.Linq; using Abp.Localization; using AbpCompanyName.AbpProjectName.EntityFramework; namespace AbpCompanyName.AbpProjectName.Migrations.SeedData { public class DefaultLanguagesBuilder { private readonly AbpProjectNameDbContext _context; public stati...
mit
C#
534d0c0380e824cd2f60e8297e49bee5684de937
Fix file name issue.
ValentinMinder/pocketcampus,ValentinMinder/pocketcampus,ValentinMinder/pocketcampus,ValentinMinder/pocketcampus,ValentinMinder/pocketcampus,ValentinMinder/pocketcampus,ValentinMinder/pocketcampus,ValentinMinder/pocketcampus,ValentinMinder/pocketcampus
Windows/Source/CloudPrint.WindowsRuntime/Services/FileUploader.cs
Windows/Source/CloudPrint.WindowsRuntime/Services/FileUploader.cs
using System; using System.IO; using System.Runtime.Serialization; using System.Runtime.Serialization.Json; using System.Threading.Tasks; using PocketCampus.Common.Services; using Windows.Web.Http; namespace PocketCampus.CloudPrint.Services { public sealed class FileUploader : IFileUploader { private ...
using System; using System.IO; using System.Runtime.Serialization; using System.Runtime.Serialization.Json; using System.Threading.Tasks; using PocketCampus.Common.Services; using Windows.Web.Http; namespace PocketCampus.CloudPrint.Services { public sealed class FileUploader : IFileUploader { private ...
bsd-3-clause
C#
681b4494ca5dd15a57be458f2c380c598c293106
Add method to return a header value from a HTTP response
codenesium/DataConversionExtensions
DataConversionExtensions/HTTPResponseHelper.cs
DataConversionExtensions/HTTPResponseHelper.cs
using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Linq; using System.Net.Http; using System.Net.Http.Headers; using System.Text; using System.Threading.Tasks; namespace Codenesium.DataConversionExtensions { public static class HTTPResponseHelper { public static HttpRe...
using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Linq; using System.Net.Http; using System.Net.Http.Headers; using System.Text; using System.Threading.Tasks; namespace Codenesium.DataConversionExtensions { public static class HTTPResponseHelper { public static HttpRe...
mit
C#
7172491746f5039959ffce317307c869f593e9de
remove all methods from swagger
hidden-sound-team/Hidden-Sound-API
HiddenSound.API/Swagger/HideOperationFilter.cs
HiddenSound.API/Swagger/HideOperationFilter.cs
using Swashbuckle.AspNetCore.SwaggerGen; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Swashbuckle.AspNetCore.Swagger; namespace HiddenSound.API.Swagger { public class HideOperationFilter : IDocumentFilter { public void Apply(SwaggerDocument swa...
using Swashbuckle.AspNetCore.SwaggerGen; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Swashbuckle.AspNetCore.Swagger; namespace HiddenSound.API.Swagger { public class HideOperationFilter : IDocumentFilter { public void Apply(SwaggerDocument swa...
apache-2.0
C#
4bc7641e9d7157405925346554232885a129ce93
Update ProductRepository.cs
ziyasal/Httwrap,Trendyol/Httwrap
Httwrap.Tests/ProductRepository.cs
Httwrap.Tests/ProductRepository.cs
using System; using System.Collections.Generic; namespace Httwrap.Tests { //REFERENCE: http://www.asp.net/web-api/overview/older-versions/creating-a-web-api-that-supports-crud-operations public class ProductRepository : IProductRepository { private readonly List<Product> _products = new List<Produ...
using System; using System.Collections.Generic; namespace Httwrap.Tests { public class ProductRepository : IProductRepository { private readonly List<Product> _products = new List<Product>(); private int _nextId = 1; public IEnumerable<Product> GetAll() { return _p...
mit
C#
923276951fb6676cc672371a87e8483fdd1e04cf
Update src/ServiceStack.ServiceInterface/ResponseFilterAttribute.cs
MindTouch/NServiceKit,MindTouch/NServiceKit,ZocDoc/ServiceStack,nataren/NServiceKit,NServiceKit/NServiceKit,nataren/NServiceKit,NServiceKit/NServiceKit,timba/NServiceKit,ZocDoc/ServiceStack,nataren/NServiceKit,NServiceKit/NServiceKit,timba/NServiceKit,nataren/NServiceKit,ZocDoc/ServiceStack,timba/NServiceKit,timba/NSer...
src/ServiceStack.ServiceInterface/ResponseFilterAttribute.cs
src/ServiceStack.ServiceInterface/ResponseFilterAttribute.cs
using System; using ServiceStack.ServiceHost; using ServiceStack.Common; namespace ServiceStack.ServiceInterface { /// <summary> /// Base class to create response filter attributes only for specific HTTP methods (GET, POST...) /// </summary> public abstract class ResponseFilterAttribute : Attribute, I...
using System; using ServiceStack.ServiceHost; using ServiceStack.Common; namespace ServiceStack.ServiceInterface { /// <summary> /// Base class to create response filter attributes only for specific HTTP methods (GET, POST...) /// </summary> public abstract class ResponseFilterAttribute : Attribute, I...
bsd-3-clause
C#
c3563b31c9507877d5f767e21c9ea6a0cb214c83
Remove unused constructor from TorSocks5Request.
nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet
WalletWasabi/Tor/Socks5/Models/Messages/TorSocks5Request.cs
WalletWasabi/Tor/Socks5/Models/Messages/TorSocks5Request.cs
using System; using WalletWasabi.Helpers; using WalletWasabi.Tor.Socks5.Models.Bases; using WalletWasabi.Tor.Socks5.Models.Fields.ByteArrayFields; using WalletWasabi.Tor.Socks5.Models.Fields.OctetFields; namespace WalletWasabi.Tor.Socks5.Models.Messages { public class TorSocks5Request : ByteArraySerializableBase { ...
using System; using WalletWasabi.Helpers; using WalletWasabi.Tor.Socks5.Models.Bases; using WalletWasabi.Tor.Socks5.Models.Fields.ByteArrayFields; using WalletWasabi.Tor.Socks5.Models.Fields.OctetFields; namespace WalletWasabi.Tor.Socks5.Models.Messages { public class TorSocks5Request : ByteArraySerializableBase { ...
mit
C#
7c5c092dad80672051d2ca24cb8c8b09e6e9ad2c
Update AssemblyInfo.cs
yugangw-msft/azure-sdk-for-net,jamestao/azure-sdk-for-net,markcowl/azure-sdk-for-net,stankovski/azure-sdk-for-net,jackmagic313/azure-sdk-for-net,yaakoviyun/azure-sdk-for-net,DheerendraRathor/azure-sdk-for-net,hyonholee/azure-sdk-for-net,hyonholee/azure-sdk-for-net,ayeletshpigelman/azure-sdk-for-net,jackmagic313/azure-s...
src/SDKs/CognitiveServices/dataPlane/Language/SpellCheck/BingSpellCheck/Properties/AssemblyInfo.cs
src/SDKs/CognitiveServices/dataPlane/Language/SpellCheck/BingSpellCheck/Properties/AssemblyInfo.cs
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. using System.Reflection; using System.Resources; [assembly: AssemblyTitle("Microsoft Azure Cognitive Services SpellCheck Client Library")] [assembly: AssemblyDes...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. using System.Reflection; using System.Resources; [assembly: AssemblyTitle("Microsoft Azure Cognitive Services SpellCheck Client Library")] [assembly: AssemblyDes...
mit
C#
593d238d6d2b1e52db208324f78434722a898a54
remove un-needed </br>
smbc-digital/iag-webapp,smbc-digital/iag-webapp,smbc-digital/iag-webapp
src/StockportWebapp/Views/stockportgov/Shared/Components/QuestionRenderer/Semantic/Textarea.cshtml
src/StockportWebapp/Views/stockportgov/Shared/Components/QuestionRenderer/Semantic/Textarea.cshtml
@model StockportWebapp.QuestionBuilder.Entities.Question @{ var limitValue = @Model.ValidatorData.Any(_ => _.Type == "max-length") ? @Model.ValidatorData.FirstOrDefault(_ => _.Type == "max-length").Value : "2000"; } <div class="form-section question-section"> @{ if (!string.IsNullOrEmpty(...
@model StockportWebapp.QuestionBuilder.Entities.Question @{ var limitValue = @Model.ValidatorData.Any(_ => _.Type == "max-length") ? @Model.ValidatorData.FirstOrDefault(_ => _.Type == "max-length").Value : "2000"; } <div class="form-section question-section"> @{ if (!string.IsNullOrEmpty(...
mit
C#
15c6a38a84ba16be8bf61634afd7cb9f2fe15c7d
Change GlacierJobParameters to class
carbon/Amazon
src/Amazon.S3/Models/GlacierJobParameters.cs
src/Amazon.S3/Models/GlacierJobParameters.cs
namespace Amazon.S3 { public sealed class GlacierJobParameters { public GlacierJobParameters(GlacierJobTier tier) { this.Tier = tier; } public GlacierJobTier Tier { get; } } }
namespace Amazon.S3 { public readonly struct GlacierJobParameters { public GlacierJobParameters(GlacierJobTier tier) { this.Tier = tier; } public GlacierJobTier Tier { get; } } } /* POST /ObjectName?restore&versionId=VersionID HTTP/1.1 Host: Buck...
mit
C#
5671801734ff0e61b866f46a3da3257536cae3b7
Stop PalasoImage leak in unit tests
StephenMcConnel/BloomDesktop,gmartin7/myBloomFork,andrew-polk/BloomDesktop,andrew-polk/BloomDesktop,BloomBooks/BloomDesktop,StephenMcConnel/BloomDesktop,gmartin7/myBloomFork,StephenMcConnel/BloomDesktop,gmartin7/myBloomFork,StephenMcConnel/BloomDesktop,BloomBooks/BloomDesktop,StephenMcConnel/BloomDesktop,BloomBooks/Blo...
src/BloomTests/Edit/BloomClipboardTests.cs
src/BloomTests/Edit/BloomClipboardTests.cs
using Bloom.Workspace; using NUnit.Framework; using Palaso.IO; using Palaso.UI.WindowsForms.ImageToolbox; namespace BloomTests.Edit { [TestFixture] [RequiresSTA] // or you get a ThreadStateException class BloomClipboardTests { private const string TestImageDir = "src/BloomTests/Edit/BloomClipboardTestImages"; ...
using Bloom.Workspace; using NUnit.Framework; using Palaso.IO; using Palaso.UI.WindowsForms.ImageToolbox; namespace BloomTests.Edit { [TestFixture] [RequiresSTA] // or you get a ThreadStateException class BloomClipboardTests { private const string TestImageDir = "src/BloomTests/Edit/BloomClipboardTestImages"; ...
mit
C#
06602662a17120037e041e9a826d1cfabf486fca
Add Pow to MathF compat file.
nbarbettini/corefx,yizhang82/corefx,Ermiar/corefx,nbarbettini/corefx,Ermiar/corefx,stone-li/corefx,parjong/corefx,ericstj/corefx,ViktorHofer/corefx,nchikanov/corefx,stone-li/corefx,fgreinacher/corefx,cydhaselton/corefx,the-dwyer/corefx,shimingsg/corefx,axelheer/corefx,seanshpark/corefx,parjong/corefx,twsouthwick/corefx...
src/Common/src/System/MathF.netstandard.cs
src/Common/src/System/MathF.netstandard.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.Runtime.CompilerServices; namespace System { // MathF emulation on platforms which don't support ...
// 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.Runtime.CompilerServices; namespace System { // MathF emulation on platforms which don't support ...
mit
C#
c5d9ea377d6bc91e38b10b293041731e4121bbbb
update website (old is down) (#646)
planetxamarin/planetxamarin,planetxamarin/planetxamarin,planetxamarin/planetxamarin,planetxamarin/planetxamarin
src/Firehose.Web/Authors/AchrafBenAlaya.cs
src/Firehose.Web/Authors/AchrafBenAlaya.cs
using Firehose.Web.Infrastructure; using System; using System.Collections.Generic; using System.Linq; using System.ServiceModel.Syndication; namespace Firehose.Web.Authors { public class AchrafBenAlaya : IAmACommunityMember { public string FirstName => "Achraf"; public string LastName => "Ben A...
using Firehose.Web.Infrastructure; using System; using System.Collections.Generic; using System.Linq; using System.ServiceModel.Syndication; namespace Firehose.Web.Authors { public class AchrafBenAlaya : IAmACommunityMember { public string FirstName => "Achraf"; public string LastName => "Ben A...
mit
C#
c33e3e32c5054687f9f3f0a7a3d4ab51932b840e
update assembly
Ackara/Mockaroo.NET
src/Mockaroo.Core/Properties/AssemblyInfo.cs
src/Mockaroo.Core/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#
80fbe15c147f69d530b1666ede8fd41060453d20
add provider
GrantLiang/gravel.dapper.webapi,GrantLiang/gravel.dapper.webapi
gravel.webapi/Startup.cs
gravel.webapi/Startup.cs
using System; using System.Web.Http; using gravel.webapi.Providers; using Microsoft.Owin; using Microsoft.Owin.Security.OAuth; using Owin; using xLab.webapi.Providers; [assembly: OwinStartup(typeof(gravel.webapi.Startup))] namespace gravel.webapi { public class Startup { public void Con...
using System; using System.Web.Http; using gravel.webapi.Providers; using Microsoft.Owin; using Microsoft.Owin.Security.OAuth; using Owin; [assembly: OwinStartup(typeof(gravel.webapi.Startup))] namespace gravel.webapi { public class Startup { public void Configuration(IAppBuilder app) ...
apache-2.0
C#
da5e72ddfe5ee855711e9985b62d49c7621d2e2f
Fix Typo
dotnet/wcf,dotnet/wcf,imcarolwang/wcf,mconnew/wcf,mconnew/wcf,StephenBonikowsky/wcf,imcarolwang/wcf,dotnet/wcf,mconnew/wcf,StephenBonikowsky/wcf,imcarolwang/wcf
src/System.ServiceModel.Security/tests/ServiceModel/SecureConversationSecurityTokenParametersTest.cs
src/System.ServiceModel.Security/tests/ServiceModel/SecureConversationSecurityTokenParametersTest.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.ServiceModel.Security.Tokens; using Infrastructure.Common; using Xunit; public static class SecureCo...
// 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.ServiceModel.Security.Tokens; using Infrastructure.Common; using Xunit; public static class SecureCo...
mit
C#
496c0b8952570d5c2bf93ed6732f61c600648e57
Update _2_MatchPhoneNumber.cs
samuilll/BeginnerExams,samuilll/BeginnerExams
ProgrammingFundamentalsExtended/RegulaExpressions/RegExLab/_2_MatchPhoneNumber/_2_MatchPhoneNumber.cs
ProgrammingFundamentalsExtended/RegulaExpressions/RegExLab/_2_MatchPhoneNumber/_2_MatchPhoneNumber.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; using System.Threading.Tasks; class _2_MatchPhoneNumber { static void Main(string[] args) { var text = Console.ReadLine(); var pattern = @"(?<=\s|)\+359([ -])2\1\d{3}\1\d{4}\b"; ...
using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; using System.Threading.Tasks; class _2_MatchPhoneNumber { static void Main(string[] args) { var text = Console.ReadLine(); var pattern = @"\+359([ -])2\1\d{3}\1\d{4}\b"; var reg...
mit
C#
c76ddc38c690bc4610a6299b12e319f75f3892aa
Fix craft library
gavazquez/LunaMultiPlayer,DaggerES/LunaMultiPlayer,gavazquez/LunaMultiPlayer,gavazquez/LunaMultiPlayer
Server/Message/Reader/CraftLibraryMsgReader.cs
Server/Message/Reader/CraftLibraryMsgReader.cs
using LunaCommon.Message.Data.CraftLibrary; using LunaCommon.Message.Interface; using LunaCommon.Message.Types; using Server.Client; using Server.Message.Reader.Base; using Server.System; using System; namespace Server.Message.Reader { public class CraftLibraryMsgReader : ReaderBase { private static r...
using LunaCommon.Message.Data.CraftLibrary; using LunaCommon.Message.Interface; using LunaCommon.Message.Types; using Server.Client; using Server.Message.Reader.Base; using Server.System; using System; namespace Server.Message.Reader { public class CraftLibraryMsgReader : ReaderBase { private static r...
mit
C#
bbfbb294f14c178950edbbf32ca22ec885fac94e
Add information to About page.
jpfultonzm/trainingsandbox,jpfultonzm/trainingsandbox,jpfultonzm/trainingsandbox
ZirMed.TrainingSandbox/Views/Home/About.cshtml
ZirMed.TrainingSandbox/Views/Home/About.cshtml
@{ ViewBag.Title = "About"; } <h2>@ViewBag.Title.</h2> <h3>@ViewBag.Message</h3> <p>Use this area to provide additional information. Here is more groovy info.</p> <p>Here is some more groovy information</p>
@{ ViewBag.Title = "About"; } <h2>@ViewBag.Title.</h2> <h3>@ViewBag.Message</h3> <p>Use this area to provide additional information. Here is more groovy info.</p>
mit
C#
4e2112094c0b416cb9166ca3387371ea02056658
Remove URL trailing slashes
loicteixeira/gj-unity-api
Assets/Plugins/GameJolt/Scripts/API/Constants.cs
Assets/Plugins/GameJolt/Scripts/API/Constants.cs
using UnityEngine; using System.Collections; namespace GameJolt.API { public static class Constants { public const string VERSION = "2.0.2"; public const string SETTINGS_ASSET_NAME = "GJAPISettings"; public const string SETTINGS_ASSET_FULL_NAME = SETTINGS_ASSET_NAME + ".asset"; public const string SETTINGS...
using UnityEngine; using System.Collections; namespace GameJolt.API { public static class Constants { public const string VERSION = "2.0.2"; public const string SETTINGS_ASSET_NAME = "GJAPISettings"; public const string SETTINGS_ASSET_FULL_NAME = SETTINGS_ASSET_NAME + ".asset"; public const string SETTINGS...
mit
C#
1e033e4a9f29e85083fe2db8765f90c7b0ee8a43
Fix the syntax error Travis works :D
Voxelgon/Voxelgon,Voxelgon/Voxelgon
Assets/Plugins/Voxelgon/Spacecraft/Spacecraft.cs
Assets/Plugins/Voxelgon/Spacecraft/Spacecraft.cs
using UnityEngine; using System.Collections; using System.Collections.Generic; public class Spacecraft : MonoBehaviour { }
using UnityEngine; using System.Collections; using System.Collections.Generic; public class Spacecraft : MonoBehaviour { } SYNTAX ERROR :D
apache-2.0
C#
6f5fd97dd5c10dc9d4b8246c0da909542675658f
Fix for issue #644 - If an interface is passed as type, bypass creation of class instance
borisdj/EFCore.BulkExtensions
EFCore.BulkExtensions/Helpers/GenericsHelpers.cs
EFCore.BulkExtensions/Helpers/GenericsHelpers.cs
using System; using System.Collections.Generic; using System.Linq; namespace EFCore.BulkExtensions.Helpers { /// <summary> /// This class helps to extract properties of the incoming type which have default sql values /// </summary> internal static class GenericsHelpers { internal static IE...
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; namespace EFCore.BulkExtensions.Helpers { internal static class GenericsHelpers { internal static IEnumerable<string> GetPropertiesDefaultValue<T>(this T value, Type type) where T : class { ...
mit
C#
c23e85603fa5af73d9126ca5fe43b84a1a258c34
fix build
WojcikMike/docs.particular.net
Snippets/Snippets_6/Sagas/SagaNotFoundHandler.cs
Snippets/Snippets_6/Sagas/SagaNotFoundHandler.cs
namespace Snippets6.Sagas { using System.Threading.Tasks; using NServiceBus; using NServiceBus.Sagas; #region saga-not-found public class SagaNotFoundHandler : IHandleSagaNotFound { public async Task Handle(object message, IMessageHandlerContext context) { await co...
namespace Snippets6.Sagas { using System.Threading.Tasks; using NServiceBus; using NServiceBus.Sagas; #region saga-not-found public class SagaNotFoundHandler : IHandleSagaNotFound { public async Task Handle(object message, IMessageProcessingContext context) { await...
apache-2.0
C#
de00421be72e3dc9e503cc5cce2d6c7d0158f110
Update AzureStorageBase.cs
tiksn/TIKSN-Framework
TIKSN.Core/Data/AzureStorage/AzureStorageBase.cs
TIKSN.Core/Data/AzureStorage/AzureStorageBase.cs
using Microsoft.Azure.Storage; using Microsoft.Extensions.Configuration; namespace TIKSN.Data.AzureStorage { public abstract class AzureStorageBase { private readonly IConfigurationRoot _configuration; private readonly string _connectionStringKey; protected AzureStorageBase(IConfigura...
using Microsoft.Extensions.Configuration; using Microsoft.WindowsAzure.Storage; namespace TIKSN.Data.AzureStorage { public abstract class AzureStorageBase { private readonly IConfigurationRoot _configuration; private readonly string _connectionStringKey; protected AzureStorageBase(ICo...
mit
C#
f2812518098721236bd5382f045fad6d67c4bb80
Update version
TrekBikes/Trek.BalihooApiClient
Trek.BalihooApiClient/Properties/AssemblyInfo.cs
Trek.BalihooApiClient/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#
ca0ecbb00d0e58fefa3e5f48cad5b4b019b31437
Fix oversight when getting rooted path
SnowflakePowered/snowflake,RonnChyran/snowflake,RonnChyran/snowflake,RonnChyran/snowflake,SnowflakePowered/snowflake,SnowflakePowered/snowflake
src/Snowflake.Framework/Filesystem/File.cs
src/Snowflake.Framework/Filesystem/File.cs
using System; using System.Collections.Generic; using System.IO; using System.Text; using Zio; namespace Snowflake.Filesystem { internal sealed class File : IFile, IReadOnlyFile { internal File(Directory parentDirectory, FileEntry file, Guid guid) { this.RawInfo = file; ...
using System; using System.Collections.Generic; using System.IO; using System.Text; using Zio; namespace Snowflake.Filesystem { internal sealed class File : IFile, IReadOnlyFile { internal File(Directory parentDirectory, FileEntry file, Guid guid) { this.RawInfo = file; ...
mpl-2.0
C#
e839f931592862116516733d22ef2234a358f169
Make them public
charlenni/Mapsui,charlenni/Mapsui
Mapsui/MRect2.cs
Mapsui/MRect2.cs
namespace Mapsui; public class MRect2 { public MPoint Max { get; } public MPoint Min { get; } public double MaxX => Max.X; public double MaxY => Max.Y; public double MinX => Min.X; public double MinY => Min.Y; public MPoint Centroid => new MPoint(Max.X - Min.X, Max.Y - Min.Y); publi...
namespace Mapsui; public class MRect2 { public MPoint Max { get; } public MPoint Min { get; } public double MaxX => Max.X; public double MaxY => Max.Y; public double MinX => Min.X; public double MinY => Min.Y; MPoint Centroid => new MPoint(Max.X - Min.X, Max.Y - Min.Y); double Widt...
mit
C#
a861ceb0018a5834a0be14ab226cbf667f677cc4
Clarify Parcel property types and removed getters/setters
goshippo/shippo-csharp-client
Shippo/Parcel.cs
Shippo/Parcel.cs
using System; using Newtonsoft.Json; namespace Shippo { [JsonObject (MemberSerialization.OptIn)] public class Parcel : ShippoId { [JsonProperty (PropertyName = "object_state")] public string ObjectState; [JsonProperty (PropertyName = "object_created")] public DateTime? ObjectC...
using System; using Newtonsoft.Json; namespace Shippo { [JsonObject (MemberSerialization.OptIn)] public class Parcel : ShippoId { [JsonProperty (PropertyName = "object_state")] public object ObjectState { get; set; } [JsonProperty (PropertyName = "object_created")] public obje...
apache-2.0
C#
14519941222b0e8316aaa2e58ec2b6b193f2b673
Update XP in skills page
jamioflan/LD38
Assets/Scripts/SkillTree_Manager.cs
Assets/Scripts/SkillTree_Manager.cs
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class SkillTree_Manager : MonoBehaviour { public GameObject amountXPObject; Text amountXPText; // Use this for initialization void Start () { amountXPText = amountXPObject.GetComponent<T...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class SkillTree_Manager : MonoBehaviour { // Use this for initialization void Start () { } // Update is called once per frame void Update () { } }
mit
C#
e9863a43eb39217474324ed8ea06b99e6d5e51be
Fix up spacing
Glimpse/Glimpse.Prototype,zanetdev/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,zanetdev/Glimpse.Prototype,pranavkm/Glimpse.Prototype,pranavkm/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,pranavkm/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,...
src/Glimpse.Owin.Sample/Startup.cs
src/Glimpse.Owin.Sample/Startup.cs
using Glimpse.Host.Web.Owin; using Microsoft.Framework.DependencyInjection; using Microsoft.Framework.DependencyInjection.Fallback; using Owin; using System.Collections.Generic; namespace Glimpse.Owin.Sample { public class Startup { public void Configuration(IAppBuilder app) { var ...
using Glimpse.Host.Web.Owin; using Microsoft.Framework.DependencyInjection; using Microsoft.Framework.DependencyInjection.Fallback; using Owin; using System.Collections.Generic; namespace Glimpse.Owin.Sample { public class Startup { public void Configuration(IAppBuilder app) { var ...
mit
C#
faf8b264893632362b41d5e545d2a8d98f625b00
Change implements of class 'Token'
lury-lang/lury-lexer
lury-lexer/Token.cs
lury-lexer/Token.cs
// // Token.cs // // Author: // Tomona Nanase <nanase@users.noreply.github.com> // // The MIT License (MIT) // // Copyright (c) 2015 Tomona Nanase // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal //...
// // Token.cs // // Author: // Tomona Nanase <nanase@users.noreply.github.com> // // The MIT License (MIT) // // Copyright (c) 2015 Tomona Nanase // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal //...
mit
C#
b323b3971ae5802830ddce671b36fb9c00a75226
remove checking of 000
NDark/ndinfrastructure,NDark/ndinfrastructure
DotNet/SystemDateTime/SystemDateTime.cs
DotNet/SystemDateTime/SystemDateTime.cs
/** @file SystemDateTime.cs @author NDark @date 201705118 file started. */ using UnityEngine; public static class SystemDateTime { // \/Date(-62135596800000)\/ // \/Date(1494837421000)\/ // \/Date(1494815636900)\/ // \/Date(1453789341467)\/ public static System.DateTime ConvertFromJSONDate( string _Str ) { ...
/** @file SystemDateTime.cs @author NDark @date 201705118 file started. */ using UnityEngine; public static class SystemDateTime { // \/Date(-62135596800000)\/ public static System.DateTime ConvertFromJSONDate( string _Str ) { const string KEY_Date = "Date" ; const string KEY_LeftBrace = "(" ; const s...
mit
C#
8f47eab2281918f6b3b44ef37727006a4244ba01
Bump version to 18792
HearthSim/HearthDb
HearthDb/Properties/AssemblyInfo.cs
HearthDb/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("Hea...
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("Hea...
mit
C#
eb3bc1866cdcb884bfeddaccb87637197197a4f3
Update AvaloniaRendererViewModel.cs
wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D
src/Core2D/Modules/Renderer.Avalonia/AvaloniaRendererViewModel.cs
src/Core2D/Modules/Renderer.Avalonia/AvaloniaRendererViewModel.cs
#nullable enable using System; using Core2D.ViewModels.Renderer; namespace Core2D.Modules.Renderer.Avalonia { public class AvaloniaRendererViewModel : NodeRendererViewModel { public AvaloniaRendererViewModel(IServiceProvider? serviceProvider) : base(serviceProvider, new AvaloniaDrawNodeFac...
#nullable disable using System; using Core2D.ViewModels.Renderer; namespace Core2D.Modules.Renderer.Avalonia { public class AvaloniaRendererViewModel : NodeRendererViewModel { public AvaloniaRendererViewModel(IServiceProvider? serviceProvider) : base(serviceProvider, new AvaloniaDrawNodeFa...
mit
C#
2ddad5d8ae4b8e34899bb10d4886e519740a0657
Add test for multiple types of multiple requests
pardahlman/RawRabbit,northspb/RawRabbit
src/RawRabbit.IntegrationTests/SimpleUse/MultipleRequestsTests.cs
src/RawRabbit.IntegrationTests/SimpleUse/MultipleRequestsTests.cs
using System; using System.Collections.Concurrent; using System.Diagnostics; using System.Linq; using System.Threading; using System.Threading.Tasks; using RawRabbit.Common; using RawRabbit.IntegrationTests.TestMessages; using RawRabbit.vNext; using Xunit; namespace RawRabbit.IntegrationTests.SimpleUse { public clas...
using System; using System.Collections.Concurrent; using System.Diagnostics; using System.Linq; using System.Threading; using System.Threading.Tasks; using RawRabbit.Common; using RawRabbit.IntegrationTests.TestMessages; using RawRabbit.vNext; using Xunit; namespace RawRabbit.IntegrationTests.SimpleUse { public clas...
mit
C#
6fa25ab9dbdb2f7348c996c4107c06784d0a79e5
Test - Improve reliability of JavaScriptObjectRepositoryFacts.CanRegisterJavascriptObjectBindWhenNamespaceIsNull
Livit/CefSharp,Livit/CefSharp,Livit/CefSharp,Livit/CefSharp
CefSharp.Test/JavascriptBinding/JavaScriptObjectRepositoryFacts.cs
CefSharp.Test/JavascriptBinding/JavaScriptObjectRepositoryFacts.cs
// Copyright © 2021 The CefSharp Authors. All rights reserved. // // Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. using CefSharp.Internals; using System.Collections.Generic; using Xunit; internal class NoNamespaceClass { public SomeElseClass SomeElseClass { get...
// Copyright © 2021 The CefSharp Authors. All rights reserved. // // Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. using CefSharp.Internals; using Xunit; internal class NoNamespaceClass { public SomeElseClass SomeElseClass { get; set; } public int Year { get...
bsd-3-clause
C#
b5a313cb2fa644434f5531fc44af686b10fd8739
Fix possible race condition in the Upgrade Callback
zeroc-ice/ice-builder-visualstudio
IceBuilder/UpgradeDialogProgress.cs
IceBuilder/UpgradeDialogProgress.cs
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace IceBuilder { public interface UpgradeProgressCallback { bool Canceled { get; ...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace IceBuilder { public interface UpgradeProgressCallback { bool Canceled { get; ...
bsd-3-clause
C#
776f5db22e713e0b603b330f8274c1ef26301051
Change RandomWheel<T> accessibility. It should not be visible from outside. Wheels should be created by Incident.Utils.CreateWheel.
kornelijepetak/incident-cs
IncidentCS/Utils/UtilsRandomizer.cs
IncidentCS/Utils/UtilsRandomizer.cs
using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Text; namespace IncidentCS { public class UtilsRandomizer : IUtilsRandomizer { public virtual IRandomWheel<T> CreateWheel<T>(Dictionary<T, double> chances, bool saveChances = true) { return new Rando...
using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Text; namespace IncidentCS { public class UtilsRandomizer : IUtilsRandomizer { public virtual IRandomWheel<T> CreateWheel<T>(Dictionary<T, double> chances, bool saveChances = true) { return new Rando...
mit
C#
07367aa0c4ba7e9d44d4727d904384e99c7b7e4e
add disconnect ack and nak codes
vforteli/RadiusServer
Flexinets.Radius.Core/PacketCode.cs
Flexinets.Radius.Core/PacketCode.cs
namespace Flexinets.Radius.Core { public enum PacketCode { AccessRequest = 1, AccessAccept = 2, AccessReject = 3, AccountingRequest = 4, AccountingResponse = 5, AccessChallenge = 11, StatusServer = 12, StatusClient = 13, DisconnectRequest ...
namespace Flexinets.Radius.Core { public enum PacketCode { AccessRequest = 1, AccessAccept = 2, AccessReject = 3, AccountingRequest = 4, AccountingResponse = 5, AccessChallenge = 11, StatusServer = 12, StatusClient = 13, DisconnectRequest ...
mit
C#
94dbe0d692ed0b4179de6ef0be503300f71edc2e
Move the replace filter to internal
k94ll13nn3/Strinken
src/Strinken/Filters/ReplaceFilter.cs
src/Strinken/Filters/ReplaceFilter.cs
// stylecop.header using Strinken.Parser; namespace Strinken.Filters { /// <summary> /// This filter takes some couples of arguments, and replace each occurrence of each first argument by the second. /// </summary> internal class ReplaceFilter : IFilter { /// <inheritdoc/> public s...
// stylecop.header using Strinken.Parser; namespace Strinken.Filters { /// <summary> /// This filter takes some couples of arguments, and replace each occurrence of each first argument by the second. /// </summary> public class ReplaceFilter : IFilter { /// <inheritdoc/> public str...
mit
C#
02309b23a8214a735559ba9a456b8a7caa9c5f6e
Make PowerShellScripts class static per review.
mrward/nuget,dolkensp/node.net,indsoft/NuGet2,xoofx/NuGet,indsoft/NuGet2,antiufo/NuGet2,themotleyfool/NuGet,dolkensp/node.net,jmezach/NuGet2,mrward/NuGet.V2,zskullz/nuget,chocolatey/nuget-chocolatey,mrward/NuGet.V2,chocolatey/nuget-chocolatey,zskullz/nuget,ctaggart/nuget,jholovacs/NuGet,alluran/node.net,oliver-feng/nug...
src/VisualStudio/PowershellScripts.cs
src/VisualStudio/PowershellScripts.cs
namespace NuGet.VisualStudio { public static class PowerShellScripts { public static readonly string Install = "install.ps1"; public static readonly string Uninstall = "uninstall.ps1"; public static readonly string Init = "init.ps1"; } }
namespace NuGet.VisualStudio { public class PowerShellScripts { public static readonly string Install = "install.ps1"; public static readonly string Uninstall = "uninstall.ps1"; public static readonly string Init = "init.ps1"; } }
apache-2.0
C#
d288e1644b762b3938ffdc0af6dc4b55c735d20e
fix tests
sachatrauwaen/OpenApp,sachatrauwaen/OpenApp,sachatrauwaen/OpenApp,sachatrauwaen/OpenApp,sachatrauwaen/OpenApp,sachatrauwaen/OpenApp
test/Satrabel.OpenApp.Tests/SpaTestModule.cs
test/Satrabel.OpenApp.Tests/SpaTestModule.cs
using System; using System.Threading.Tasks; using Abp.Application.Services.Dto; using Abp.AutoMapper; using Abp.Dependency; using Abp.Modules; using Abp.Configuration.Startup; using Abp.Net.Mail; using Abp.TestBase; using Abp.Zero.Configuration; using Abp.Zero.EntityFrameworkCore; using Satrabel.OpenApp.Tests.Dependenc...
using System; using System.Threading.Tasks; using Abp.Application.Services.Dto; using Abp.AutoMapper; using Abp.Dependency; using Abp.Modules; using Abp.Configuration.Startup; using Abp.Net.Mail; using Abp.TestBase; using Abp.Zero.Configuration; using Abp.Zero.EntityFrameworkCore; using Satrabel.OpenApp.Tests.Dependenc...
mit
C#
3a68b29f95d62aa1a5da9d99b5d5152886149000
clean compatibility
SpringIT/moneysharp
compatibility/MoneySharp.NETSTANDARD11/Class1.cs
compatibility/MoneySharp.NETSTANDARD11/Class1.cs
namespace MoneySharp.NETSTANDARD11 { public class Class1 { public Class1() { } } }
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using RestSharp; namespace MoneySharp.NETSTANDARD11 { public class Class1 { public Class1() { } } }
apache-2.0
C#
2d5f144e9f95d83b389b29d1b53b6a564533c257
Bump version to 1.4.1
milkshakesoftware/PreMailer.Net,kendallb/PreMailer.Net,tobio/PreMailer.Net,CodeAnimal/PreMailer.Net,rohk/PreMailer.Net,CarterTsai/PreMailer.Net
PreMailer.Net/GlobalAssemblyInfo.cs
PreMailer.Net/GlobalAssemblyInfo.cs
using System; using System.Reflection; using System.Runtime.InteropServices; [assembly: ComVisible(false)] [assembly: CLSCompliant(true)] [assembly: AssemblyProduct("PreMailer.Net")] [assembly: AssemblyCompany("Milkshake Software")] [assembly: AssemblyCopyright("Copyright © Milkshake Software 2015")] [assembly: Ass...
using System; using System.Reflection; using System.Runtime.InteropServices; [assembly: ComVisible(false)] [assembly: CLSCompliant(true)] [assembly: AssemblyProduct("PreMailer.Net")] [assembly: AssemblyCompany("Milkshake Software")] [assembly: AssemblyCopyright("Copyright © Milkshake Software 2015")] [assembly: Ass...
mit
C#
e909baad42d6eee1b09cb342deac7077b04d2811
Clean bundle configs.
beta-tank/TicTacToe,beta-tank/TicTacToe,beta-tank/TicTacToe
TicTacToe/App_Start/BundleConfig.cs
TicTacToe/App_Start/BundleConfig.cs
using System.Web; using System.Web.Optimization; namespace TicTacToe { public class BundleConfig { // For more information on bundling, visit http://go.microsoft.com/fwlink/?LinkId=301862 public static void RegisterBundles(BundleCollection bundles) { bundles.Add(new ScriptB...
using System.Web; using System.Web.Optimization; namespace TicTacToe { public class BundleConfig { // For more information on bundling, visit http://go.microsoft.com/fwlink/?LinkId=301862 public static void RegisterBundles(BundleCollection bundles) { bundles.Add(new ScriptB...
mit
C#
62cd8ae776f65ee33b7f1a2bb911be4575543db6
Bump v1.1.1.7351
karronoli/tiny-sato
TinySato/Properties/AssemblyInfo.cs
TinySato/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // アセンブリに関する一般情報は以下の属性セットをとおして制御されます。 // アセンブリに関連付けられている情報を変更するには、 // これらの属性値を変更してください。 [assembly: AssemblyTitle("TinySato")] [assembly: AssemblyDescription("You can construct and send SBPL packet to Sato printer. Sat...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // アセンブリに関する一般情報は以下の属性セットをとおして制御されます。 // アセンブリに関連付けられている情報を変更するには、 // これらの属性値を変更してください。 [assembly: AssemblyTitle("TinySato")] [assembly: AssemblyDescription("You can construct and send SBPL packet to Sato printer. Sat...
apache-2.0
C#
1711cbae3f66c8857b2dda471de7c9ab23a43b14
Revert AssemblyVersion to 2.1.0 because there are no breaking changes in this version
jhendrixMSFT/azure-sdk-for-net,begoldsm/azure-sdk-for-net,begoldsm/azure-sdk-for-net,begoldsm/azure-sdk-for-net,mihymel/azure-sdk-for-net,jhendrixMSFT/azure-sdk-for-net,jhendrixMSFT/azure-sdk-for-net,mihymel/azure-sdk-for-net,mihymel/azure-sdk-for-net
src/ResourceManagement/TrafficManager/Microsoft.Azure.Management.TrafficManager/Properties/AssemblyInfo.cs
src/ResourceManagement/TrafficManager/Microsoft.Azure.Management.TrafficManager/Properties/AssemblyInfo.cs
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. using System.Reflection; using System.Resources; using System.Runtime.InteropServices; [assembly: AssemblyTitle("Microsoft Azure Traffic Manager Management Libra...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. using System.Reflection; using System.Resources; using System.Runtime.InteropServices; [assembly: AssemblyTitle("Microsoft Azure Traffic Manager Management Libra...
mit
C#
bb46f72f9ee3e48b6d723e634119eb737cb086fb
Fix `Pippidon` crash on empty beatmap conversion
ppy/osu,peppy/osu,ppy/osu,peppy/osu,peppy/osu,ppy/osu
Templates/Rulesets/ruleset-scrolling-example/osu.Game.Rulesets.Pippidon/Beatmaps/PippidonBeatmapConverter.cs
Templates/Rulesets/ruleset-scrolling-example/osu.Game.Rulesets.Pippidon/Beatmaps/PippidonBeatmapConverter.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System.Collections.Generic; using System.Linq; using System.Threading; using osu.Game.Beatmaps; using osu.Game.Rulesets.Objects; using osu.Game.Rulesets.Objects.Ty...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System.Collections.Generic; using System.Linq; using System.Threading; using osu.Game.Beatmaps; using osu.Game.Rulesets.Objects; using osu.Game.Rulesets.Objects.Ty...
mit
C#
9274847dc937b526d8caf1b8a7cf282b1b28473a
Update CompositeExceptionTelemeter.cs
tiksn/TIKSN-Framework
TIKSN.Core/Analytics/Telemetry/CompositeExceptionTelemeter.cs
TIKSN.Core/Analytics/Telemetry/CompositeExceptionTelemeter.cs
using System; using System.Collections.Generic; using System.Diagnostics; using System.Threading.Tasks; using TIKSN.Configuration; namespace TIKSN.Analytics.Telemetry { public class CompositeExceptionTelemeter : IExceptionTelemeter { private readonly IPartialConfiguration<CommonTelemetryOptions> commo...
using System; using System.Collections.Generic; using System.Diagnostics; using System.Threading.Tasks; using TIKSN.Configuration; namespace TIKSN.Analytics.Telemetry { public class CompositeExceptionTelemeter : IExceptionTelemeter { private readonly IPartialConfiguration<CommonTelemetryOptions> commo...
mit
C#
e24eabca4bc88d876999a7d1b083c64f707f8158
Update ServiceProviderCollection.cs
tiksn/TIKSN-Framework
TIKSN.Framework.IntegrationTests/ServiceProviderCollection.cs
TIKSN.Framework.IntegrationTests/ServiceProviderCollection.cs
using Xunit; namespace TIKSN.Framework.IntegrationTests { [CollectionDefinition("ServiceProviderCollection")] public class ServiceProviderCollection : ICollectionFixture<ServiceProviderFixture> { } }
using Xunit; namespace TIKSN.Framework.IntegrationTests { [CollectionDefinition("ServiceProviderCollection")] public class ServiceProviderCollection : ICollectionFixture<ServiceProviderFixture> { } }
mit
C#
017ce98f54db983f05c5f6476b40b7fcc54ce9f8
Fix parameter order when constructing NinePatchSubtexture in NineSliceSprite
prime31/Nez,Blucky87/Nez,prime31/Nez,prime31/Nez,ericmbernier/Nez
Nez.Portable/ECS/Components/Renderables/Sprites/NineSliceSprite.cs
Nez.Portable/ECS/Components/Renderables/Sprites/NineSliceSprite.cs
using Nez.Sprites; using Nez.Textures; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; namespace Nez { public class NineSliceSprite : Sprite { public new float width { get { return _finalRenderRect.Width; } set { _finalRenderRect.Width = (int)value; _destRectsDirty = tru...
using Nez.Sprites; using Nez.Textures; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; namespace Nez { public class NineSliceSprite : Sprite { public new float width { get { return _finalRenderRect.Width; } set { _finalRenderRect.Width = (int)value; _destRectsDirty = tru...
mit
C#
bd2a1b8871744bc96a66adf5b27d02ca6d500bb5
Add FirstNonGenericCoreInterface Method
libinqi/Sharp-Architecture,libinqi/Sharp-Architecture,libinqi/Sharp-Architecture
Solutions/SharpArch.Web.Http.Castle/WindsorControllerExtensions.cs
Solutions/SharpArch.Web.Http.Castle/WindsorControllerExtensions.cs
namespace SharpArch.Web.Http.Castle { using System; using System.Linq; using System.Reflection; using global::Castle.Core; using global::Castle.MicroKernel.Registration; using global::Castle.Windsor; using SharpArch.Domain; /// <summary> /// Contains Castle Windsor related HTTP con...
namespace SharpArch.Web.Http.Castle { using System; using System.Linq; using System.Reflection; using global::Castle.Core; using global::Castle.MicroKernel.Registration; using global::Castle.Windsor; using SharpArch.Domain; /// <summary> /// Contains Castle Windsor related HTTP con...
bsd-3-clause
C#
02f582a3f80993177dc06dbbc322679e23f99bd3
Add hold note tick judgement.
naoey/osu,ZLima12/osu,peppy/osu-new,DrabWeb/osu,2yangk23/osu,smoogipooo/osu,ppy/osu,naoey/osu,ZLima12/osu,NeoAdonis/osu,smoogipoo/osu,Damnae/osu,UselessToucan/osu,DrabWeb/osu,UselessToucan/osu,EVAST9919/osu,2yangk23/osu,johnneijzen/osu,peppy/osu,johnneijzen/osu,peppy/osu,NeoAdonis/osu,DrabWeb/osu,tacchinotacchi/osu,Dre...
osu.Game.Rulesets.Mania/Judgements/HoldNoteTickJudgement.cs
osu.Game.Rulesets.Mania/Judgements/HoldNoteTickJudgement.cs
// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE namespace osu.Game.Rulesets.Mania.Judgements { public class HoldNoteTickJudgement : ManiaJudgement { public override int NumericResultForScore(Man...
// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE namespace osu.Game.Rulesets.Mania.Judgements { public class HoldNoteTickJudgement : ManiaJudgement { } }
mit
C#
567dfa92ed23631989a164dd0d9987845b19f5ee
Add font assets to the Android project.
hig-ag/CocosSharp,zmaruo/CocosSharp,TukekeSoft/CocosSharp,mono/CocosSharp,MSylvia/CocosSharp,netonjm/CocosSharp,MSylvia/CocosSharp,hig-ag/CocosSharp,TukekeSoft/CocosSharp,netonjm/CocosSharp,zmaruo/CocosSharp,haithemaraissia/CocosSharp,mono/CocosSharp,haithemaraissia/CocosSharp
tests/tests/Resources/Resource.Designer.cs
tests/tests/Resources/Resource.Designer.cs
#pragma warning disable 1591 // ------------------------------------------------------------------------------ // <autogenerated> // This code was generated by a tool. // Mono Runtime Version: 4.0.30319.17020 // // Changes to this file may cause incorrect behavior and will be lost if // the code ...
#pragma warning disable 1591 //------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.18051 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerate...
mit
C#
8da9f38438baf8a0483a9d77795ade1bdd58195c
Fix #619 -Changed NuGetPackage name for Mvc5 proj
Glimpse/Glimpse,rho24/Glimpse,flcdrg/Glimpse,paynecrl97/Glimpse,elkingtonmcb/Glimpse,gabrielweyer/Glimpse,Glimpse/Glimpse,elkingtonmcb/Glimpse,gabrielweyer/Glimpse,rho24/Glimpse,sorenhl/Glimpse,codevlabs/Glimpse,flcdrg/Glimpse,dudzon/Glimpse,rho24/Glimpse,Glimpse/Glimpse,paynecrl97/Glimpse,codevlabs/Glimpse,rho24/Glimp...
source/Glimpse.Mvc5/Properties/AssemblyInfo.cs
source/Glimpse.Mvc5/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using Glimpse.Core.Extensibility; [assembly: ComVisible(false)] [assembly: Guid("751c5691-28de-4b8d-ba4d-dde77a91efa9")] [assembly: AssemblyTitle("Glimpse for ASP.NET MVC 5 Assembly")] [assembly: AssemblyDescription...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using Glimpse.Core.Extensibility; [assembly: ComVisible(false)] [assembly: Guid("751c5691-28de-4b8d-ba4d-dde77a91efa9")] [assembly: AssemblyTitle("Glimpse for ASP.NET MVC 4 Assembly")] [assembly: AssemblyDescription...
apache-2.0
C#
768cef57c71a6fa76b0dc15c4721ad27fe4059f1
fix cs
qianlifeng/Wox,Wox-launcher/Wox,Wox-launcher/Wox,qianlifeng/Wox,qianlifeng/Wox
Wox.Core/Resource/AvailableLanguages.cs
Wox.Core/Resource/AvailableLanguages.cs
using System.Collections.Generic; namespace Wox.Core.Resource { internal static class AvailableLanguages { public static Language English = new Language("en", "English"); public static Language Chinese = new Language("zh-cn", "中文"); public static Language Chinese_TW = new Language("zh-t...
using System.Collections.Generic; namespace Wox.Core.Resource { internal static class AvailableLanguages { public static Language English = new Language("en", "English"); public static Language Chinese = new Language("zh-cn", "中文"); public static Language Chinese_TW = new Language("zh-t...
mit
C#
ca55c3d757f2db83bef2368459900e2e3ff4f79a
Make sure that authorization of TraktCalendarUserDVDMoviesRequest is required
henrikfroehling/TraktApiSharp
Source/Tests/TraktApiSharp.Tests/Experimental/Requests/Calendars/OAuth/TraktCalendarUserDVDMoviesRequestTests.cs
Source/Tests/TraktApiSharp.Tests/Experimental/Requests/Calendars/OAuth/TraktCalendarUserDVDMoviesRequestTests.cs
namespace TraktApiSharp.Tests.Experimental.Requests.Calendars.OAuth { using FluentAssertions; using Microsoft.VisualStudio.TestTools.UnitTesting; using TraktApiSharp.Experimental.Requests.Calendars.OAuth; using TraktApiSharp.Objects.Get.Calendars; using TraktApiSharp.Requests; [TestClass] ...
namespace TraktApiSharp.Tests.Experimental.Requests.Calendars.OAuth { using FluentAssertions; using Microsoft.VisualStudio.TestTools.UnitTesting; using TraktApiSharp.Experimental.Requests.Calendars.OAuth; using TraktApiSharp.Objects.Get.Calendars; [TestClass] public class TraktCalendarUserDVDM...
mit
C#
ffd971eab2c56a6ee030e27afe7ac56720d326fa
Update my present URL
KKKas/ConfuserEx,JPVenson/ConfuserEx,AgileJoshua/ConfuserEx,yuligang1234/ConfuserEx,yeaicc/ConfuserEx,Desolath/ConfuserEx3,MetSystem/ConfuserEx,mirbegtlax/ConfuserEx,fretelweb/ConfuserEx,yuligang1234/ConfuserEx,JPVenson/ConfuserEx,HalidCisse/ConfuserEx,apexrichard/ConfuserEx,engdata/ConfuserEx,mirbegtlax/ConfuserEx,arp...
Confuser.Renamer/RickRoller.cs
Confuser.Renamer/RickRoller.cs
using System; using System.Linq; using Confuser.Core; using Confuser.Core.Services; using dnlib.DotNet; using dnlib.DotNet.Emit; namespace Confuser.Renamer { // For my dearest Reflector devs, this is my Christmas present. public static class RickRoller { const string Injection = "\"onclick=\"return(false);\"style...
using System; using System.Linq; using Confuser.Core; using Confuser.Core.Services; using dnlib.DotNet; using dnlib.DotNet.Emit; namespace Confuser.Renamer { // For my dearest Reflector devs, this is my Christmas present. public static class RickRoller { const string Injection = "\"onclick=\"return(false);\"style...
mit
C#
e0b91d5470b68275714780a7f302408728c04007
Update AssemblyInfo.cs
atata-framework/atata-bootstrap,atata-framework/atata-bootstrap
src/Atata.Bootstrap/Properties/AssemblyInfo.cs
src/Atata.Bootstrap/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyTitle("Atata.Bootstrap")] [assembly: AssemblyDescription("A set of Atata components for Bootstrap Framework.")] [assembly: Guid("ad6d1f54-007e-4c7d-8a2b-4a176cf00484")] [assembly: AssemblyCompany("Yevgeniy Shunevych")] [assembl...
using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyTitle("Atata.Bootstrap")] [assembly: AssemblyCompany("Yevgeniy Shunevych")] [assembly: AssemblyProduct("Atata.Bootstrap")] [assembly: AssemblyCopyright("Copyright © Yevgeniy Shunevych 2016")] [assembly: AssemblyCulture("")] [ass...
apache-2.0
C#
336bc1868948c01db4ba72be49c2b959099e542d
Disable CanRecurseFromRoot test (#27252)
ravimeda/corefx,ptoonen/corefx,Jiayili1/corefx,ViktorHofer/corefx,wtgodbe/corefx,wtgodbe/corefx,ericstj/corefx,mmitche/corefx,shimingsg/corefx,ravimeda/corefx,ericstj/corefx,ravimeda/corefx,ravimeda/corefx,ravimeda/corefx,ravimeda/corefx,mmitche/corefx,wtgodbe/corefx,Jiayili1/corefx,ptoonen/corefx,ptoonen/corefx,shimin...
src/System.IO.FileSystem/tests/Enumeration/RootTests.netcoreapp.cs
src/System.IO.FileSystem/tests/Enumeration/RootTests.netcoreapp.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.IO.Enumeration; using System.Linq; using Xunit; namespace System.IO.Tests.Enumeration { public cl...
// 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.IO.Enumeration; using System.Linq; using Xunit; namespace System.IO.Tests.Enumeration { public cl...
mit
C#
c3ac348baf16add40e8bf3029f068b5ea767360b
bump 1.0.10
crunchie84/HaagsTranslator
src/HaagsTranslator/Properties/AssemblyInfo.cs
src/HaagsTranslator/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("Ha...
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("Ha...
mit
C#
109a7c12ead989348f5f02cb4e47d9ff1a3ea5fd
update delegate type
adamhathcock/sharpcompress,adamhathcock/sharpcompress,adamhathcock/sharpcompress
src/SharpCompress/Writers/IWriterExtensions.cs
src/SharpCompress/Writers/IWriterExtensions.cs
using System; using System.IO; using System.Linq; using System.Linq.Expressions; namespace SharpCompress.Writers { public static class IWriterExtensions { public static void Write(this IWriter writer, string entryPath, Stream source) { writer.Write(entryPath, source, null); ...
using System; using System.IO; using System.Linq; using System.Linq.Expressions; namespace SharpCompress.Writers { public static class IWriterExtensions { public static void Write(this IWriter writer, string entryPath, Stream source) { writer.Write(entryPath, source, null); ...
mit
C#
d34df99cd485808bbfd56d78adae423d92d142d1
Add a DebuggerDisplay attr
0xd4d/dnlib,jorik041/dnlib,Arthur2e5/dnlib,yck1509/dnlib,modulexcite/dnlib,picrap/dnlib,ZixiangBoy/dnlib,kiootic/dnlib,ilkerhalil/dnlib
dot10/PE/ImageDataDirectory.cs
dot10/PE/ImageDataDirectory.cs
using System; using System.Diagnostics; using System.IO; using dot10.IO; namespace dot10.PE { /// <summary> /// Represents the IMAGE_DATA_DIRECTORY PE section /// </summary> [DebuggerDisplay("{virtualAddress.val} {dataSize}")] public class ImageDataDirectory : FileSection { RVA virtualAddress; uint dataSize;...
using System; using System.IO; using dot10.IO; namespace dot10.PE { /// <summary> /// Represents the IMAGE_DATA_DIRECTORY PE section /// </summary> public class ImageDataDirectory : FileSection { RVA virtualAddress; uint dataSize; /// <summary> /// Returns the IMAGE_DATA_DIRECTORY.VirtualAddress field ...
mit
C#
b4b9e78f406797a57a1ce9ce814c213f830d9740
Add Web API configuration
jmptrader/AspNet-Server-Template,kriasoft/aspnet-starter-kit,giokats/AspNet-Server-Template,hcngo/craft-exercise-intuit,koistya/aspnet-starter-kit,kriasoft/AspNet-Server-Template,koistya/aspnet-starter-kit,kriasoft/aspnet-starter-kit,hcngo/craft-exercise-intuit,jmptrader/AspNet-Server-Template
src/App.Server/Startup.cs
src/App.Server/Startup.cs
// Copyright (c) KriaSoft, LLC. All rights reserved. // Licensed under the Apache License, Version 2.0. See LICENSE.txt in the project root for license information. using System.Web.Http; using App.Server.Data; using App.Server.Services; using Microsoft.AspNet.Identity; using Microsoft.AspNet.Identity.Owin; using...
// Copyright (c) KriaSoft, LLC. All rights reserved. // Licensed under the Apache License, Version 2.0. See LICENSE.txt in the project root for license information. using App.Server.Data; using App.Server.Services; using Microsoft.AspNet.Identity; using Microsoft.AspNet.Identity.Owin; using Microsoft.Owin; using O...
mit
C#
1f8ecd0c94cbff7ad27259ebe36dad7bdbb77ba3
Reorganize property order
c0shea/IdParser
IdParser/IdentificationCard.cs
IdParser/IdentificationCard.cs
using System; using System.Collections.Generic; namespace IdParser { public class IdentificationCard { public IssuerIdentificationNumber IssuerIdentificationNumber { get; set; } public Version AamvaVersionNumber { get; set; } public byte JurisdictionVersionNumber { get; set; } ...
using System; using System.Collections.Generic; namespace IdParser { public class IdentificationCard { public IssuerIdentificationNumber IssuerIdentificationNumber { get; set; } public Version AamvaVersionNumber { get; set; } public byte JurisdictionVersionNumber { get; set; } ...
mit
C#
a39503f9346d895e29e28f58483dfbdab609830e
Add city property
jnnfrlocke/VendingMachineNew,jnnfrlocke/VendingMachineNew,jnnfrlocke/VendingMachineNew
Models/Machines.cs
Models/Machines.cs
using System.Data.Entity; using System.Security.Claims; using System.Threading.Tasks; using Microsoft.AspNet.Identity; using Microsoft.AspNet.Identity.EntityFramework; using System.ComponentModel.DataAnnotations; namespace VendingMachineNew.Models { public class Machines { [Key] public int Id ...
using System.Data.Entity; using System.Security.Claims; using System.Threading.Tasks; using Microsoft.AspNet.Identity; using Microsoft.AspNet.Identity.EntityFramework; using System.ComponentModel.DataAnnotations; namespace VendingMachineNew.Models { public class Machines { [Key] public int Id ...
mit
C#
2233327096c33a77ca497458e0ae4239cf55883e
Add IsNull()/IsNotNull() helper extensions
ppy/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,peppy/osu-framework
osu.Framework/Extensions/ObjectExtensions/ObjectExtensions.cs
osu.Framework/Extensions/ObjectExtensions/ObjectExtensions.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. #nullable enable using System.Diagnostics; namespace osu.Framework.Extensions.ObjectExtensions { /// <summary> /// Extensions that apply to all 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.Diagnostics; #nullable enable namespace osu.Framework.Extensions.ObjectExtensions { /// <summary> /// Extensions that apply to all objects. ///...
mit
C#
742fabd30a6a681b85843c902bfd2794996d380b
Remove "Stop" hos
gigya/microdot
tests/Gigya.Microdot.Orleans.Hosting.UnitTests/Microservice/WarmupTestService/WarmupTestServiceHostWithSiloHostFake.cs
tests/Gigya.Microdot.Orleans.Hosting.UnitTests/Microservice/WarmupTestService/WarmupTestServiceHostWithSiloHostFake.cs
using System.Threading; using System.Threading.Tasks; using Gigya.Microdot.Fakes; using Gigya.Microdot.Hosting.HttpService; using Gigya.Microdot.Hosting.Validators; using Gigya.Microdot.Interfaces; using Gigya.Microdot.Interfaces.Logging; using Gigya.Microdot.Orleans.Hosting.UnitTests.Microservice.CalculatorService; u...
using System.Threading; using System.Threading.Tasks; using Gigya.Microdot.Fakes; using Gigya.Microdot.Hosting.HttpService; using Gigya.Microdot.Hosting.Validators; using Gigya.Microdot.Interfaces; using Gigya.Microdot.Interfaces.Logging; using Gigya.Microdot.Orleans.Hosting.UnitTests.Microservice.CalculatorService; u...
apache-2.0
C#
ed32f9e4a5ea8f6b4a7d28a951b694628b989047
Fix crash error when login state is invalid
csf-dev/agiil,csf-dev/agiil,csf-dev/agiil,csf-dev/agiil
Agiil.Web/Services/Auth/LoginStateReader.cs
Agiil.Web/Services/Auth/LoginStateReader.cs
using System; using Agiil.Domain.Auth; using Agiil.Web.Models.Shared; using CSF.ORM; namespace Agiil.Web.Services.Auth { public class LoginStateReader { readonly IIdentityReader userReader; readonly IEntityData data; public LoginStateModel GetLoginState() { var use...
using System; using Agiil.Domain.Auth; using Agiil.Web.Models.Shared; using CSF.ORM; namespace Agiil.Web.Services.Auth { public class LoginStateReader { readonly IIdentityReader userReader; readonly IEntityData data; public LoginStateModel GetLoginState() { var use...
mit
C#
fee3e6834a9958446f8fe0dc63cb883f9d8c6518
use the full path to the py script
jtroe/please,ResourceDataInc/please,gregoryjscott/please,ResourceDataInc/please,jtroe/please,gregoryjscott/please,ResourceDataInc/please,jtroe/please,gregoryjscott/please
app/Library/Scripts/Tasks/RunScripts.cs
app/Library/Scripts/Tasks/RunScripts.cs
using System; using System.IO; using Simpler; namespace Library.Scripts.Tasks { public class RunScripts : InTask<RunScripts.Input> { public class Input { public string ConnectionName { get; set; } public Script[] Scripts { get; set; } } public RunSql Ru...
using System; using System.IO; using Simpler; namespace Library.Scripts.Tasks { public class RunScripts : InTask<RunScripts.Input> { public class Input { public string ConnectionName { get; set; } public Script[] Scripts { get; set; } } public RunSql Ru...
mit
C#
922484c0f5e6618c842350c958e4f69173209c4f
Check path before trying to write value expressions to avoid NullReferenceExceptions when a value's path isn't populated.
SilkStack/Silk.Data.SQL.ORM
Silk.Data.SQL.ORM/Schema/EntityModelHelper.cs
Silk.Data.SQL.ORM/Schema/EntityModelHelper.cs
using Silk.Data.Modelling; using Silk.Data.Modelling.Analysis; using Silk.Data.Modelling.Mapping; using Silk.Data.SQL.Expressions; using Silk.Data.SQL.ORM.Queries; namespace Silk.Data.SQL.ORM.Schema { public abstract class EntityModelHelper<T> where T : class { public PropertyInfoField From { get; } ...
using Silk.Data.Modelling; using Silk.Data.Modelling.Analysis; using Silk.Data.Modelling.Mapping; using Silk.Data.SQL.Expressions; using Silk.Data.SQL.ORM.Queries; namespace Silk.Data.SQL.ORM.Schema { public abstract class EntityModelHelper<T> where T : class { public PropertyInfoField From { get; } ...
mit
C#
228d20e8f74f03475f9e3fda916dcbca3cd30df8
Remove attribute aliases for NUnit specific test and simplify namespace using.
telerik/JustMockLite
Telerik.JustMock.NUnit.Tests/EventsFixture.cs
Telerik.JustMock.NUnit.Tests/EventsFixture.cs
/* JustMock Lite Copyright © 2010-2015 Telerik AD 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 ...
/* JustMock Lite Copyright © 2010-2015 Telerik AD 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 ...
apache-2.0
C#
b2c26379df71044e064c5848480e152611958e0c
Change comments header
Minesweeper-6-Team-Project-Telerik/Minesweeper-6
src2/WpfMinesweeper/Properties/AssemblyInfo.cs
src2/WpfMinesweeper/Properties/AssemblyInfo.cs
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="AssemblyInfo.cs" company="Telerik Academy"> // Teamwork Project "Minesweeper-6" // </copyright> // <summary> // AssemblyInfo.cs // </summary> // ------------------------------...
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="AssemblyInfo.cs" company=""> // // </copyright> // <summary> // AssemblyInfo.cs // </summary> // -----------------------------------------------------------------------------...
mit
C#
94e1138925ba969f1c49694851733d119f5975df
remove unused field Xamarin.iOS 8.6.0.2
robinlaide/monotouch-samples,a9upam/monotouch-samples,YOTOV-LIMITED/monotouch-samples,nelzomal/monotouch-samples,YOTOV-LIMITED/monotouch-samples,iFreedive/monotouch-samples,YOTOV-LIMITED/monotouch-samples,a9upam/monotouch-samples,andypaul/monotouch-samples,robinlaide/monotouch-samples,a9upam/monotouch-samples,nelzomal/...
TicTacToe/TicTacToe/Model/TTTMessageServer.cs
TicTacToe/TicTacToe/Model/TTTMessageServer.cs
using System; using Foundation; using System.Collections.Generic; using System.Linq; namespace TicTacToe { public class TTTMessageServer { public event EventHandler<MessageEvenArg> MessagesAdded; List<TTTMessage> messages; List<TTTMessage> favoriteMessages; public TTTMessageServer () { messages = new ...
using System; using Foundation; using System.Collections.Generic; using System.Linq; namespace TicTacToe { public class TTTMessageServer { public event EventHandler<MessageEvenArg> MessagesAdded; public static readonly NSString AddedMessageIndexesUserInfoKey = (NSString)"AddedMessageIndexesUserInfoKey"; List<T...
mit
C#
20e3cfdc7b74e481f1e1f1a173f581e3f9d9ae7f
Update build.cake
jamesmontemagno/Xamarin.Plugins,predictive-technology-laboratory/Xamarin.Plugins
Vibrate/build.cake
Vibrate/build.cake
#addin "Cake.FileHelpers" var TARGET = Argument ("target", Argument ("t", "NuGetPack")); var version = EnvironmentVariable ("APPVEYOR_BUILD_VERSION") ?? Argument("version", "0.0.9999"); Task ("Build").Does (() => { const string sln = "./Vibrate.sln"; const string cfg = "Release"; NuGetRestore (sln); if ...
#addin "Cake.FileHelpers" var TARGET = Argument ("target", Argument ("t", "Build")); var version = EnvironmentVariable ("APPVEYOR_BUILD_VERSION") ?? Argument("version", "0.0.9999"); Task ("Build").Does (() => { const string sln = "./Vibrate.sln"; const string cfg = "Release"; NuGetRestore (sln); if (!Is...
mit
C#
412b4b4f7885fb8ca4af291505155ec674f96dd1
Revert "ajout d'une variable locale"
Gabyche/Wheeels
Wheeels/Program.cs
Wheeels/Program.cs
using System; using System.Collections.Generic; using System.Linq; using System.Windows.Forms; namespace Wheeels { static class Program { /// <summary> /// Point d'entrée principal de l'application. /// </summary> [STAThread] static void Main() { App...
using System; using System.Collections.Generic; using System.Linq; using System.Windows.Forms; namespace Wheeels { static class Program { /// <summary> /// Point d'entrée principal de l'application. /// </summary> [STAThread] static void Main() { App...
mit
C#
4cb2ef0e95fd5b562e500539be5ee95d427bd6ac
Update TestEnvironment.cs
SixLabors/Fonts
tests/SixLabors.Fonts.Tests/TestEnvironment.cs
tests/SixLabors.Fonts.Tests/TestEnvironment.cs
// Copyright (c) Six Labors. // Licensed under the Apache License, Version 2.0. using System; using System.IO; using System.Linq; using System.Reflection; namespace SixLabors.Fonts.Tests { internal static class TestEnvironment { private const string SixLaborsSolutionFileName = "SixLabors.Fonts.sln"; ...
// Copyright (c) Six Labors. // Licensed under the Apache License, Version 2.0. using System; using System.IO; using System.Linq; namespace SixLabors.Fonts.Tests { internal static class TestEnvironment { private const string SixLaborsSolutionFileName = "SixLabors.Fonts.sln"; private const str...
apache-2.0
C#
51759555af84e1f4d993a680fadcc59457567c58
Bump version
GMJS/gmjs_ocs_dpt
IPOCS_Programmer/Properties/AssemblyInfo.cs
IPOCS_Programmer/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 ...
mit
C#
5deedee5733ed858792e370479ac6d066d0e7a63
Add sticky note 'GC Handicapping System'
croquet-australia/website-application,croquet-australia/website-application,croquet-australia/croquet-australia.com.au,croquet-australia/croquet-australia.com.au,croquet-australia/croquet-australia-website,croquet-australia/croquet-australia.com.au,croquet-australia/website-application,croquet-australia/website-applica...
source/CroquetAustralia.Website/Layouts/Shared/Sidebar.cshtml
source/CroquetAustralia.Website/Layouts/Shared/Sidebar.cshtml
<div class="sticky-notes"> <div class="sticky-note"> <i class="pin"></i> <div class="content green"> <h1> GC Handicapping System </h1> <p> New <a href="/disciplines/golf-croquet/resources">GC Handicapping System</a> comes into effe...
<div class="sticky-notes"> </div>
mit
C#
83c6a90e763ccdef4cbc1824db8757f8e8676a7d
Fix double-calculation in ColoumbForce. Turns out as a nice optimisation, though requires recalibrating physical constants.
drewnoakes/boing
Boing/Forces/ColoumbForce.cs
Boing/Forces/ColoumbForce.cs
namespace Boing { public sealed class ColoumbForce : IGlobalForce { public ColoumbForce(float repulsion = 20000, float maxDistance = float.MaxValue) { Repulsion = repulsion; MaxDistance = maxDistance; } public float Repulsion { get; set; } public ...
namespace Boing { public sealed class ColoumbForce : IGlobalForce { public ColoumbForce(float repulsion = 20000, float maxDistance = float.MaxValue) { Repulsion = repulsion; MaxDistance = maxDistance; } public float Repulsion { get; set; } public ...
apache-2.0
C#
c330501080c9c35a262b19b60fbaa2c3104e670b
move variable
ravjotsingh9/StockTradingApplication
ClientServer/Server/Users.cs
ClientServer/Server/Users.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Server { public class Users { /** //Dictionary<string, int> stockShares stores stock's name and shares public class userInfo { public string cashBalance { get; s...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Server { public class Users { /** //Dictionary<string, int> stockShares stores stock's name and shares public class userInfo { public string cashBalance { get; s...
apache-2.0
C#