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
f5138a9ba1b07f3df2d491ecd1ab1dc2bab1fb73
Update CronExtension.cs
WeihanLi/WeihanLi.Common,WeihanLi/WeihanLi.Common,WeihanLi/WeihanLi.Common
src/WeihanLi.Common/Extensions/CronExtension.cs
src/WeihanLi.Common/Extensions/CronExtension.cs
using System; using System.Collections.Generic; using WeihanLi.Common.Helpers.Cron; // ReSharper disable once CheckNamespace namespace WeihanLi.Extensions { public static class CronExtension { /// <summary> /// GetNextOccurrence /// </summary> /// <param name="expression">cron ...
using System; using System.Collections.Generic; using WeihanLi.Common.Helpers.Cron; // ReSharper disable once CheckNamespace namespace WeihanLi.Extensions { public static class CronExtension { /// <summary> /// GetNextOccurrence /// </summary> /// <param name="expression">cron ...
mit
C#
fd502f1b14823c795ba84a12d5a5a75b926b3a74
Remove the legacy support and switch to MEF-provided JoinableTaskContext
MobileEssentials/Merq
src/Vsix/Merq.Vsix/Components/AsyncManagerProvider.cs
src/Vsix/Merq.Vsix/Components/AsyncManagerProvider.cs
using System; using System.ComponentModel; using System.ComponentModel.Composition; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using Merq.Properties; using Microsoft.VisualStudio.Shell; using Microsoft.VisualStudio.Shell.Interop; using Microsoft.VisualStudio.Threading; namespace Merq...
using System; using System.ComponentModel; using System.ComponentModel.Composition; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using Merq.Properties; using Microsoft.VisualStudio.Shell; using Microsoft.VisualStudio.Shell.Interop; using Microsoft.VisualStudio.Threading; namespace Merq...
mit
C#
1bc5f3618417a15fe1fd0f44e705e4911d5adacd
Adjust test usage
NeoAdonis/osu,peppy/osu,peppy/osu,ppy/osu,NeoAdonis/osu,ppy/osu,smoogipoo/osu,UselessToucan/osu,smoogipoo/osu,ppy/osu,NeoAdonis/osu,smoogipooo/osu,peppy/osu,peppy/osu-new,UselessToucan/osu,UselessToucan/osu,smoogipoo/osu
osu.Game.Rulesets.Catch.Tests/CatchSkinColourDecodingTest.cs
osu.Game.Rulesets.Catch.Tests/CatchSkinColourDecodingTest.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 NUnit.Framework; using osu.Framework.IO.Stores; using osu.Game.Rulesets.Catch.Skinning; using osu.Game.Skinning; using osuTK.Graphics; namespace osu.Game.Rulesets....
// 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.IO.Stores; using osu.Game.Rulesets.Catch.Skinning; using osu.Game.Skinning; using osuTK.Graphics; namespace osu.Game.Rulesets....
mit
C#
b1b01c1fb6afcc55c5326c2e99c3f396a88866a5
Update SebastianFeldmann.cs
planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell
src/Firehose.Web/Authors/SebastianFeldmann.cs
src/Firehose.Web/Authors/SebastianFeldmann.cs
using System; using System.Collections.Generic; using System.Linq; using System.ServiceModel.Syndication; using System.Web; using Firehose.Web.Infrastructure; namespace Firehose.Web.Authors { public class SebastianFeldmann : IAmACommunityMember { public string FirstName => "Sebastian"; public s...
using System; using System.Collections.Generic; using System.Linq; using System.ServiceModel.Syndication; using System.Web; using Firehose.Web.Infrastructure; namespace Firehose.Web.Authors { public class SebastianFeldmann : IAmACommunityMember { public string FirstName => "Sebastian"; public s...
mit
C#
80c5e1468fab6658bdc4fe3e287b93ec27aaeaac
Remove www
planetxamarin/planetxamarin,planetxamarin/planetxamarin,planetxamarin/planetxamarin,planetxamarin/planetxamarin
src/Firehose.Web/Authors/StefanDeVogelaere.cs
src/Firehose.Web/Authors/StefanDeVogelaere.cs
using System; using System.Collections.Generic; using Firehose.Web.Infrastructure; namespace Firehose.Web.Authors { public class StefanDeVogelaere : IAmACommunityMember { public string FirstName => "Stefan"; public string GitHubHandle => "stefandevo"; public string LastName => "de Vog...
using System; using System.Collections.Generic; using Firehose.Web.Infrastructure; namespace Firehose.Web.Authors { public class StefanDeVogelaere : IAmACommunityMember { public string FirstName => "Stefan"; public string GitHubHandle => "stefandevo"; public string LastName => "de Vog...
mit
C#
a323ab0d4b677d93b1171dceb5b49f76bab1d9f1
Rephrase the Skipped sample to use runtime skips rather than declarative skips, demonstrating how runtime skips are superior: we have case-by-case skippability, implicit skips by conditionally avoiding executing a case, and the ability to avoid instantiating a test class if it is entirely marked as skipped.
fixie/fixie
src/Fixie.Samples/Skipped/CustomConvention.cs
src/Fixie.Samples/Skipped/CustomConvention.cs
namespace Fixie.Samples.Skipped { using System; public class CustomConvention : Convention { public CustomConvention() { Classes .InTheSameNamespaceAs(typeof(CustomConvention)) .NameEndsWith("Tests"); Methods .OrderBy...
namespace Fixie.Samples.Skipped { using System; using System.Reflection; public class CustomConvention : Convention { public CustomConvention() { Classes .InTheSameNamespaceAs(typeof(CustomConvention)) .NameEndsWith("Tests"); Met...
mit
C#
a192d0f7257b2a89d3ba3fb387b75572b5fdebc8
Simplify AssertException value formatting now that those cases are better handled by MatchException.
fixie/fixie
src/Fixie.Tests/Assertions/AssertException.cs
src/Fixie.Tests/Assertions/AssertException.cs
namespace Fixie.Tests.Assertions { using System; using System.Collections.Generic; using System.Text; using static System.Environment; public class AssertException : Exception { public static string FilterStackTraceAssemblyPrefix = typeof(AssertException).Namespace + "."; publi...
namespace Fixie.Tests.Assertions { using System; using System.Collections.Generic; using System.Text; using static System.Environment; public class AssertException : Exception { public static string FilterStackTraceAssemblyPrefix = typeof(AssertException).Namespace + "."; publi...
mit
C#
023a0b6b055a24cb758102ac17a2cdff04d332d4
Order the files and dirs
devedse/DeveImageOptimizer
DeveImageOptimizer/Helpers/FileHelperMethods.cs
DeveImageOptimizer/Helpers/FileHelperMethods.cs
using DeveImageOptimizer.State.StoringProcessedDirectories; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; namespace DeveImageOptimizer.Helpers { public static class FileHelperMethods { public static void SafeDeleteTempFile(string path) {...
using DeveImageOptimizer.State.StoringProcessedDirectories; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; namespace DeveImageOptimizer.Helpers { public static class FileHelperMethods { public static void SafeDeleteTempFile(string path) {...
mit
C#
2b522a74e565ed2329858ef2e8f60a924d5513de
Fix failing test for abstract get-set indexer
JakeGinnivan/ApiApprover
src/PublicApiGenerator/PropertyNameBuilder.cs
src/PublicApiGenerator/PropertyNameBuilder.cs
using System; using System.CodeDom; using Mono.Cecil; namespace PublicApiGenerator { public static class PropertyNameBuilder { public static string AugmentPropertyNameWithPropertyModifierMarkerTemplate(PropertyDefinition propertyDefinition, MemberAttributes getAccessorAttributes, MemberAttr...
using System; using System.CodeDom; using Mono.Cecil; namespace PublicApiGenerator { public static class PropertyNameBuilder { public static string AugmentPropertyNameWithPropertyModifierMarkerTemplate(PropertyDefinition propertyDefinition, MemberAttributes getAccessorAttributes, MemberAttr...
mit
C#
64061631467878f31f5b31015674b079f55c3837
Update assembly info for Image change
AzureAutomationTeam/azure-powershell,devigned/azure-powershell,devigned/azure-powershell,ClogenyTechnologies/azure-powershell,ClogenyTechnologies/azure-powershell,ClogenyTechnologies/azure-powershell,devigned/azure-powershell,devigned/azure-powershell,AzureAutomationTeam/azure-powershell,ClogenyTechnologies/azure-power...
src/ResourceManager/Compute/Commands.Compute/Properties/AssemblyInfo.cs
src/ResourceManager/Compute/Commands.Compute/Properties/AssemblyInfo.cs
// ---------------------------------------------------------------------------------- // // Copyright Microsoft Corporation // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apac...
// ---------------------------------------------------------------------------------- // // Copyright Microsoft Corporation // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apac...
apache-2.0
C#
064faeb08543ff79e3caccad41a7953ebd71dff5
Update version in .dll
magico13/MagiCore
MagiCore/Properties/AssemblyInfo.cs
MagiCore/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("Ma...
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("Ma...
mit
C#
227cc5846e8068e9d1d85f94965b8e37d5d74c4c
Fix #44 freezing NativeListener on mono 4.2.1
xplicit/HyperFastCgi,xplicit/HyperFastCgi,xplicit/HyperFastCgi
src/HyperFastCgi/Listeners/NativeListener.cs
src/HyperFastCgi/Listeners/NativeListener.cs
using System; using System.Runtime.InteropServices; using HyperFastCgi.Interfaces; using HyperFastCgi.Configuration; using HyperFastCgi.Transports; using HyperFastCgi.Helpers.Logging; using System.Threading; namespace HyperFastCgi.Listeners { [Config(typeof(ListenerConfig))] public class NativeListener : IWebListen...
using System; using System.Runtime.InteropServices; using HyperFastCgi.Interfaces; using HyperFastCgi.Configuration; using HyperFastCgi.Transports; using HyperFastCgi.Helpers.Logging; using System.Threading; namespace HyperFastCgi.Listeners { [Config(typeof(ListenerConfig))] public class NativeListener : IWebListen...
mit
C#
3f743e128e79f4f8476ea36fcba602380b1cc1dc
Comment update to verify webhook
GusJassal/agri-nmp,GusJassal/agri-nmp,GusJassal/agri-nmp,GusJassal/agri-nmp
PDF/src/PDF.Server/Controllers/PDFController.cs
PDF/src/PDF.Server/Controllers/PDFController.cs
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Configuration; using Microsoft.EntityFrameworkCore; using PDF.Models; using Microsoft.AspNetCore.Http; using Newtonsoft.Json; using Microsoft.Extensions.Logging; ...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Configuration; using Microsoft.EntityFrameworkCore; using PDF.Models; using Microsoft.AspNetCore.Http; using Newtonsoft.Json; using Microsoft.Extensions.Logging; ...
apache-2.0
C#
e3e9fe5580d13ef921f485c554f5409c0230264e
Update System Programming Lab2 Sybmol.cs
pugachAG/univ,pugachAG/univ,pugachAG/univ
SystemProgramming/Lab2/Lab2/Automaton/Sybmol.cs
SystemProgramming/Lab2/Lab2/Automaton/Sybmol.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Lab2.Automaton { public abstract class SymbolBase { } public class CharSymbol : SymbolBase { public char Value { get; set; } public CharSymbol(char value)...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Lab2.Automaton { public abstract class SymbolBase { } public class CharSymbol : SymbolBase { public char Value { get; set; } public CharSymbol(char value)...
mit
C#
f41c94f70d623c3ca6620b9e35d6699e2dc186f0
Remove usings
lovewitty/SDammann.WebApi.Versioning,Sebazzz/SDammann.WebApi.Versioning,yonglehou/SDammann.WebApi.Versioning,Sebazzz/SDammann.WebApi.Versioning,Sebazzz/SDammann.WebApi.Versioning,yonglehou/SDammann.WebApi.Versioning,lovewitty/SDammann.WebApi.Versioning,yonglehou/SDammann.WebApi.Versioning,Sebazzz/SDammann.WebApi.Versio...
src/SDammann.WebApi.Versioning/Documentation/VersionedApiExplorer.cs
src/SDammann.WebApi.Versioning/Documentation/VersionedApiExplorer.cs
namespace SDammann.WebApi.Versioning.Documentation { using System; using System.Collections.ObjectModel; using System.Web.Http; using System.Web.Http.Description; /// <summary> /// Represents an <see cref="IApiExplorer" /> that supports API versioning /// </summary> public class Ve...
namespace SDammann.WebApi.Versioning.Documentation { using System; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Diagnostics.Contracts; using System.Globalization; using System.Linq; using System.Net.Http; using System...
apache-2.0
C#
cb82e493ff5e3926d5f370d2096387c7b13e523a
Update MainPage.xaml.cs
shrutinambiar/xamarin-forms-tinted-image
CrossPlatformTintedImage/CrossPlatformTintedImage/CrossPlatformTintedImage/MainPage.xaml.cs
CrossPlatformTintedImage/CrossPlatformTintedImage/CrossPlatformTintedImage/MainPage.xaml.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Xamarin.Forms; namespace CrossPlatformTintedImage { public partial class MainPage : ContentPage { bool shouldTint = true; public MainPage() { InitializeCom...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Xamarin.Forms; namespace CrossPlatformTintedImage { public partial class MainPage : ContentPage { bool shouldTint = true; public MainPage() { InitializeC...
mit
C#
8922c908e33f55286e9e5f2dc40304b5e941e2c1
Solve build related issue
Promact/trappist,Promact/trappist,Promact/trappist,Promact/trappist,Promact/trappist
Trappist/src/Promact.Trappist.Repository/Questions/QuestionRepository.cs
Trappist/src/Promact.Trappist.Repository/Questions/QuestionRepository.cs
using System.Collections.Generic; using Promact.Trappist.DomainModel.Models.Question; using System.Linq; using Promact.Trappist.DomainModel.DbContext; namespace Promact.Trappist.Repository.Questions { public class QuestionRepository : IQuestionRepository { private readonly TrappistDbContext _dbContext...
using System.Collections.Generic; using Promact.Trappist.DomainModel.Models.Question; using System.Linq; using Promact.Trappist.DomainModel.DbContext; namespace Promact.Trappist.Repository.Questions { public class QuestionRepository : IQuestionRepository { private readonly TrappistDbContext _dbContext...
mit
C#
51564d04c02665b7db3abad47d04fe1079a77905
Remove a test that tests Dictionary
aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore
test/Microsoft.AspNet.Mvc.Core.Test/MvcOptionsTest.cs
test/Microsoft.AspNet.Mvc.Core.Test/MvcOptionsTest.cs
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using Xunit; namespace Microsoft.AspNet.Mvc { public class MvcOptionsTest { [Fact] public void MaxValidationError...
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using Xunit; namespace Microsoft.AspNet.Mvc { public class MvcOptionsTest { [Fact] public void MaxValidationError...
apache-2.0
C#
0c6833ca95636f0d6806f078ada43e61a1e0e01c
Update smoke test for microgenerator
jskeet/google-cloud-dotnet,googleapis/google-cloud-dotnet,jskeet/google-cloud-dotnet,googleapis/google-cloud-dotnet,googleapis/google-cloud-dotnet,jskeet/google-cloud-dotnet,jskeet/google-cloud-dotnet,jskeet/gcloud-dotnet,jskeet/google-cloud-dotnet
apis/Google.Cloud.Asset.V1/Google.Cloud.Asset.V1.SmokeTests/AssetServiceSmokeTest.cs
apis/Google.Cloud.Asset.V1/Google.Cloud.Asset.V1.SmokeTests/AssetServiceSmokeTest.cs
// Copyright 2019 Google LLC // // 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 // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
// Copyright 2019 Google LLC // // 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 // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
apache-2.0
C#
ec57ae3ec69f3996311379e3da4f405e50bbbee0
Update VCardController.cs - Added missing paren for metadata
nihaue/SampleNdefParserApiApp,nihaue/SampleNdefParserApiApp
QuickLearn.Samples/QuickLearn.Samples.NDEFApiApp/Controllers/VCardController.cs
QuickLearn.Samples/QuickLearn.Samples.NDEFApiApp/Controllers/VCardController.cs
using NdefLibrary.Ndef; using QuickLearn.Samples.NdefApiApp.Models; using Swashbuckle.Swagger.Annotations; using System; using System.IO; using System.Linq; using System.Net; using System.Web.Http; using TRex.Metadata; using VcardLibrary; namespace QuickLearn.Samples.NdefApiApp.Controllers { [RoutePrefix("vcard")...
using NdefLibrary.Ndef; using QuickLearn.Samples.NdefApiApp.Models; using Swashbuckle.Swagger.Annotations; using System; using System.IO; using System.Linq; using System.Net; using System.Web.Http; using TRex.Metadata; using VcardLibrary; namespace QuickLearn.Samples.NdefApiApp.Controllers { [RoutePrefix("vcard")...
mit
C#
ec6cf902a061f3db3239bf0d795d60f25c9ce4c3
Update Install9ParametersEditor.xaml.cs
Sitecore/Sitecore-Instance-Manager
src/SIM.Tool.Windows/UserControls/Install/ParametersEditor/Install9ParametersEditor.xaml.cs
src/SIM.Tool.Windows/UserControls/Install/ParametersEditor/Install9ParametersEditor.xaml.cs
using SIM.Sitecore9Installer; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using...
using SIM.Sitecore9Installer; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using...
mit
C#
6200ef87d39e71a2ae06e41f3cc9ac8ef05d7621
Update twitter handle
planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell
src/Firehose.Web/Authors/FrancoisxavierCat.cs
src/Firehose.Web/Authors/FrancoisxavierCat.cs
using System; using System.Collections.Generic; using System.Linq; using System.ServiceModel.Syndication; using System.Web; using Firehose.Web.Infrastructure; namespace Firehose.Web.Authors { public class FrancoisxavierCat : IAmAMicrosoftMVP, IFilterMyBlogPosts { public string FirstName => "Francois-Xav...
using System; using System.Collections.Generic; using System.Linq; using System.ServiceModel.Syndication; using System.Web; using Firehose.Web.Infrastructure; namespace Firehose.Web.Authors { public class FrancoisxavierCat : IAmAMicrosoftMVP, IFilterMyBlogPosts { public string FirstName => "Francois-Xav...
mit
C#
74c369c25ea866ff71350346d6c33d1d383e2593
Add Semaphore creation extension methods that take an ACL (#42377)
cshung/coreclr,cshung/coreclr,cshung/coreclr,cshung/coreclr,cshung/coreclr,cshung/coreclr
src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.Semaphore.cs
src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.Semaphore.cs
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. #nullable enable using Microsoft.Win32.SafeHandles; using System; using System.Runtime.InteropServices; internal st...
// 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 Microsoft.Win32.SafeHandles; using System; using System.Runtime.InteropServices; internal static partial clas...
mit
C#
f8373bf961c59ae5b9dd149cda168169dfa93164
Fix bug where childeren are closed when parent cannot be closed
Caliburn-Micro/Caliburn.Micro,serenabenny/Caliburn.Micro
src/Caliburn.Micro.Core/DefaultCloseStrategy.cs
src/Caliburn.Micro.Core/DefaultCloseStrategy.cs
using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; namespace Caliburn.Micro { /// <summary> /// Used to gather the results from multiple child elements which may or may not prevent closing. /// </summary> /// <typeparam name="T">The type of child element.</typepara...
using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; namespace Caliburn.Micro { /// <summary> /// Used to gather the results from multiple child elements which may or may not prevent closing. /// </summary> /// <typeparam name="T">The type of child element.</typepara...
mit
C#
5c7e09c05f177c3cec72d95f4dcab8f0c7c33ac3
Update Global.asax.cs
ellern/champs-room,ellern/champs-room
src/Global.asax.cs
src/Global.asax.cs
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Http; using System.Web.Mvc; using System.Web.Optimization; using System.Web.Routing; namespace ChampsRoom { public class MvcApplication : System.Web.HttpApplication { protected void Application_Start(...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Http; using System.Web.Mvc; using System.Web.Optimization; using System.Web.Routing; namespace ChampsRoom { public class MvcApplication : System.Web.HttpApplication { protected void Application_Start(...
mit
C#
a723791611c2232a87bf58c14cf9b9258c486cbd
fix version number
nerai/CMenu
src/ConsoleMenu/Properties/AssemblyInfo.cs
src/ConsoleMenu/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: AssemblyTit...
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: AssemblyTit...
mit
C#
3fd2436722cffe8eb806fe7fedbaacaff18eb61a
Make GitHhb pane register link work.
github/VisualStudio,github/VisualStudio,github/VisualStudio
src/GitHub.App/ViewModels/LoggedOutViewModel.cs
src/GitHub.App/ViewModels/LoggedOutViewModel.cs
using System; using System.ComponentModel.Composition; using GitHub.Exports; using GitHub.Extensions; using GitHub.Models; using System.Reactive.Linq; using GitHub.Services; using GitHub.UI; using GitHub.ViewModels; using ReactiveUI; using System.Reactive; using System.Reactive.Subjects; using GitHub.Info; namespace G...
using System; using System.ComponentModel.Composition; using GitHub.Exports; using GitHub.Extensions; using GitHub.Models; using System.Reactive.Linq; using GitHub.Services; using GitHub.UI; using GitHub.ViewModels; using ReactiveUI; using System.Reactive; using System.Reactive.Subjects; namespace GitHub.VisualStudio....
mit
C#
ad64470f2b9fdd7f82570f9a7faa77868dfd8965
Implement Sound nugget
feliwir/openSage,feliwir/openSage
src/OpenSage.Game/FX/FXNuggets/SoundFXNugget.cs
src/OpenSage.Game/FX/FXNuggets/SoundFXNugget.cs
using OpenSage.Audio; using OpenSage.Content; using OpenSage.Data.Ini; namespace OpenSage.FX { public sealed class SoundFXNugget : FXNugget { internal static SoundFXNugget Parse(IniParser parser) => parser.ParseBlock(FieldParseTable); private static readonly IniParseTable<SoundFXNugget> Field...
using OpenSage.Data.Ini; namespace OpenSage.FX { public sealed class SoundFXNugget : FXNugget { internal static SoundFXNugget Parse(IniParser parser) => parser.ParseBlock(FieldParseTable); private static readonly IniParseTable<SoundFXNugget> FieldParseTable = FXNuggetFieldParseTable.Concat(ne...
mit
C#
252874ca95b3b314512544f8cfc4ec1caa701df0
Update server side API for single multiple answer question
Promact/trappist,Promact/trappist,Promact/trappist,Promact/trappist,Promact/trappist
Trappist/src/Promact.Trappist.Core/Controllers/QuestionsController.cs
Trappist/src/Promact.Trappist.Core/Controllers/QuestionsController.cs
using Microsoft.AspNetCore.Mvc; using Promact.Trappist.DomainModel.Models.Question; using Promact.Trappist.Repository.Questions; using System; namespace Promact.Trappist.Core.Controllers { [Route("api/question")] public class QuestionsController : Controller { private readonly IQuestionRepository ...
using Microsoft.AspNetCore.Mvc; using Promact.Trappist.DomainModel.Models.Question; using Promact.Trappist.Repository.Questions; using System; namespace Promact.Trappist.Core.Controllers { [Route("api/question")] public class QuestionsController : Controller { private readonly IQuestionRepository ...
mit
C#
dabe180213755f165a14e483c5dd6d23199dceb6
Use correct queue name in length commands
InEngine-NET/InEngine.NET,InEngine-NET/InEngine.NET,InEngine-NET/InEngine.NET
src/InEngine.Core/Queue/Commands/Length.cs
src/InEngine.Core/Queue/Commands/Length.cs
using System; using CommandLine; namespace InEngine.Core.Queue.Commands { public class Length : AbstractCommand { public override void Run() { var broker = Broker.Make(); var leftPadding = 15; Warning("Primary Queue:"); InfoText("Pending".PadLeft...
using System; using CommandLine; namespace InEngine.Core.Queue.Commands { public class Length : AbstractCommand { public override void Run() { var broker = Broker.Make(); var leftPadding = 15; Warning("Primary Queue:"); InfoText("Pending".PadLeft...
mit
C#
d15eb90c27593692b2b252656fcbd2e297d8d268
clean up
BigBabay/AsyncConverter,BigBabay/AsyncConverter
AsyncConverter/AsyncHelpers/AwaitEliders/MethodAwaitElider.cs
AsyncConverter/AsyncHelpers/AwaitEliders/MethodAwaitElider.cs
using JetBrains.ProjectModel; using JetBrains.ReSharper.Psi.CSharp; using JetBrains.ReSharper.Psi.CSharp.Tree; namespace AsyncConverter.AsyncHelpers.AwaitEliders { [SolutionComponent] internal class MethodAwaitElider : ICustomAwaitElider { public bool CanElide(ICSharpDeclaration declarationOrClosur...
using JetBrains.ProjectModel; using JetBrains.ReSharper.Psi.CSharp; using JetBrains.ReSharper.Psi.CSharp.Tree; namespace AsyncConverter.AsyncHelpers.AwaitEliders { [SolutionComponent] internal class MethodAwaitElider : ICustomAwaitElider { public bool CanElide(ICSharpDeclaration declarationOrClosur...
mit
C#
126660e6d19c43701750619910d94ed10b13bfae
modify update
SoftFx/FDK,SoftFx/FDK,SoftFx/FDK,SoftFx/FDK,SoftFx/FDK,SoftFx/FDK,SoftFx/FDK,SoftFx/FDK
Examples/CSharp/DataTradeExamples/ModifyTradeRecordExample.cs
Examples/CSharp/DataTradeExamples/ModifyTradeRecordExample.cs
namespace DataTradeExamples { using System; using SoftFX.Extended; class ModifyTradeRecordExample : Example { public ModifyTradeRecordExample(string address, string username, string password) : base(address, username, password) { } protected override void R...
namespace DataTradeExamples { using System; using SoftFX.Extended; class ModifyTradeRecordExample : Example { public ModifyTradeRecordExample(string address, string username, string password) : base(address, username, password) { } protected override void R...
mit
C#
91396e561f44c6992a359071d62ef64da78bbaa4
Deal with IDE1006
hfloyd/Umbraco-CMS,JimBobSquarePants/Umbraco-CMS,leekelleher/Umbraco-CMS,abryukhov/Umbraco-CMS,bjarnef/Umbraco-CMS,madsoulswe/Umbraco-CMS,tcmorris/Umbraco-CMS,leekelleher/Umbraco-CMS,mattbrailsford/Umbraco-CMS,tompipe/Umbraco-CMS,mattbrailsford/Umbraco-CMS,tcmorris/Umbraco-CMS,tcmorris/Umbraco-CMS,robertjf/Umbraco-CMS,...
src/Umbraco.Web/Properties/AssemblyInfo.cs
src/Umbraco.Web/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; [assembly: AssemblyTitle("Umbraco.Web")] [assembly: AssemblyDescription("Umbraco Web")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyProduct("Umbraco CMS")] [assembly: ComVisible(false)] [assem...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; [assembly: AssemblyTitle("Umbraco.Web")] [assembly: AssemblyDescription("Umbraco Web")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyProduct("Umbraco CMS")] [assembly: ComVisible(false)] [assem...
mit
C#
1f62bfa91f89d3c73517fdcc477b1c94e6c5f763
add CheckChangesOnUpdate option
linpiero/Serenity,volkanceylan/Serenity,volkanceylan/Serenity,WasimAhmad/Serenity,linpiero/Serenity,WasimAhmad/Serenity,rolembergfilho/Serenity,linpiero/Serenity,linpiero/Serenity,dfaruque/Serenity,dfaruque/Serenity,dfaruque/Serenity,dfaruque/Serenity,WasimAhmad/Serenity,rolembergfilho/Serenity,dfaruque/Serenity,linpie...
Serenity.Data/Mapping/MasterDetailRelationAttribute.cs
Serenity.Data/Mapping/MasterDetailRelationAttribute.cs
using System; namespace Serenity.Data.Mapping { [AttributeUsage(AttributeTargets.Property, AllowMultiple = false)] public sealed class MasterDetailRelationAttribute : Attribute { public MasterDetailRelationAttribute(string foreignKey) { Check.NotNullOrEmpty(foreignKey,...
using System; namespace Serenity.Data.Mapping { [AttributeUsage(AttributeTargets.Property, AllowMultiple = false)] public sealed class MasterDetailRelationAttribute : Attribute { public MasterDetailRelationAttribute(string foreignKey) { Check.NotNullOrEmpty(foreignKey,...
mit
C#
5de6b2f16f885a167fd27757d4b1b75c303ca63e
Remove unnecessary extensions
mrahhal/Konsola
src/Konsola/Parsing/IConsole.cs
src/Konsola/Parsing/IConsole.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Konsola.Parsing { public interface IConsole { void Write(WriteKind kind, string value); } public static class ConsoleExtensions { public static void WriteLine(this IConsole @this, WriteKind kind, string value) ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Konsola.Parsing { public interface IConsole { void Write(WriteKind kind, string value); } public static class ConsoleExtensions { public static void WriteLine(this IConsole @this, WriteKind kind, string value) ...
mit
C#
f0a5c37dadbfa13ee67510af03c7cd5ad91e7277
Add a request type
flagbug/Espera.Network
Espera.Network/NetworkMessageType.cs
Espera.Network/NetworkMessageType.cs
namespace Espera.Network { public enum NetworkMessageType { Push, Response, Request } }
namespace Espera.Network { public enum NetworkMessageType { Push, Response } }
mit
C#
f438421d00ee231c0ed6ac0222f13c0a3cfe847c
Use chevron down for drop downs.
bigfont/orchard-cms-modules-and-themes,bigfont/orchard-cms-modules-and-themes,bigfont/orchard-cms-modules-and-themes,bigfont/orchard-cms-modules-and-themes,bigfont/orchard-cms-modules-and-themes
Orchard.Source.1.8.1/src/Orchard.Web/Themes/Bootstrap_3_2_0_Base/Views/MenuItem.cshtml
Orchard.Source.1.8.1/src/Orchard.Web/Themes/Bootstrap_3_2_0_Base/Views/MenuItem.cshtml
@{ // odd formatting in this file is to cause more attractive results in the output. var items = Enumerable.Cast<dynamic>((System.Collections.IEnumerable)Model); } @{ if (!HasText(Model.Text)) { @DisplayChildren(Model) } else { if ((bool)Model.Selected) { ...
@{ // odd formatting in this file is to cause more attractive results in the output. var items = Enumerable.Cast<dynamic>((System.Collections.IEnumerable)Model); } @{ if (!HasText(Model.Text)) { @DisplayChildren(Model) } else { if ((bool)Model.Selected) { ...
bsd-3-clause
C#
d22a1865c92e796e1de94900e092607091ffc9c7
bump up assembly version
Azure/durabletask,affandar/durabletask,yonglehou/durabletask,ddobric/durabletask,jasoneilts/durabletask
Framework/Properties/AssemblyInfo.cs
Framework/Properties/AssemblyInfo.cs
// ---------------------------------------------------------------------------------- // Copyright Microsoft Corporation // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www....
// ---------------------------------------------------------------------------------- // Copyright Microsoft Corporation // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www....
apache-2.0
C#
d65510a95f7e44c401b1a6934493c658cfe8717a
fix ContractReferenceAssemblyAttribute tfm (#187)
theraot/Theraot
Framework.Core/System/Diagnostics/Contracts/ContractReferenceAssemblyAttribute.cs
Framework.Core/System/Diagnostics/Contracts/ContractReferenceAssemblyAttribute.cs
#if LESSTHAN_NET40 // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. namespace System.Diagnostics.Contracts { /// <summary> /// Attribute that specifies...
#if LESSTHAN_NET45 // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. namespace System.Diagnostics.Contracts { /// <summary> /// Attribute that specifies...
mit
C#
f98c463365120a1786c3c2ad0edbb5dba027813c
Fix warning.
DustinCampbell/roslyn,brettfo/roslyn,swaroop-sridhar/roslyn,physhi/roslyn,davkean/roslyn,brettfo/roslyn,MichalStrehovsky/roslyn,reaction1989/roslyn,jmarolf/roslyn,KirillOsenkov/roslyn,physhi/roslyn,agocke/roslyn,jasonmalinowski/roslyn,tmat/roslyn,VSadov/roslyn,shyamnamboodiripad/roslyn,mavasani/roslyn,AlekseyTs/roslyn,...
src/EditorFeatures/CSharp/Wrapping/SeparatedSyntaxList/CSharpParameterWrapper.cs
src/EditorFeatures/CSharp/Wrapping/SeparatedSyntaxList/CSharpParameterWrapper.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.Linq; using Microsoft.CodeAnalysis.CSharp.CodeGeneration; using Microsoft.CodeAnalysis.CSharp.Syntax; using Microsoft.CodeAnalysis.Text; using M...
// 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.Composition; using System.Linq; using Microsoft.CodeAnalysis.CodeRefactorings; using Microsoft.CodeAnalysis.CSharp.CodeGeneration; using Microso...
mit
C#
2c34c866895a6520be7e9ba59f201d8ac60f0f69
Fix automapper configuration
LachezarTomov/CastService,LachezarTomov/CastService,LachezarTomov/CastService
CastService/Web/CastService.Web/Global.asax.cs
CastService/Web/CastService.Web/Global.asax.cs
using CastService.Web.Infrastructure.Mapping; using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Web; using System.Web.Mvc; using System.Web.Optimization; using System.Web.Routing; namespace CastService.Web { public class MvcApplication : System.Web.HttpApplic...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using System.Web.Optimization; using System.Web.Routing; namespace CastService.Web { public class MvcApplication : System.Web.HttpApplication { protected void Application_Start() { ...
apache-2.0
C#
a3db59cf847a6f0d69180b42e1760cae585f2edc
Update CustomersService.cs
ServiceStack/ServiceStack.Examples,zhaokunfay/ServiceStack.Examples,zhaokunfay/ServiceStack.Examples,ServiceStack/ServiceStack.Examples,ServiceStack/ServiceStack.Examples,zhaokunfay/ServiceStack.Examples,ServiceStack/ServiceStack.Examples,zhaokunfay/ServiceStack.Examples
src/ServiceStack.Northwind/ServiceStack.Northwind.ServiceInterface/CustomersService.cs
src/ServiceStack.Northwind/ServiceStack.Northwind.ServiceInterface/CustomersService.cs
namespace ServiceStack.Northwind.ServiceInterface { using ServiceStack.Northwind.ServiceModel.Operations; using ServiceStack.Northwind.ServiceModel.Types; using ServiceStack.OrmLite; using ServiceStack.ServiceInterface; public class CustomersService : Service { public CustomersResponse Get(Customers ...
namespace ServiceStack.Northwind.ServiceInterface { using ServiceStack.Northwind.ServiceModel.Operations; using ServiceStack.Northwind.ServiceModel.Types; using ServiceStack.OrmLite; using ServiceStack.ServiceInterface; public class CustomersService : Service { public IDbConnectionFactory DbFactory {...
bsd-3-clause
C#
cf15e0e3be075017065a1a691f12e487e4a383eb
Fix failure to format error message
tannergooding/roslyn,brettfo/roslyn,genlu/roslyn,bartdesmet/roslyn,aelij/roslyn,AmadeusW/roslyn,ErikSchierboom/roslyn,diryboy/roslyn,stephentoub/roslyn,shyamnamboodiripad/roslyn,KirillOsenkov/roslyn,tannergooding/roslyn,panopticoncentral/roslyn,heejaechang/roslyn,ErikSchierboom/roslyn,weltkante/roslyn,tannergooding/ros...
src/Workspaces/SharedUtilitiesAndExtensions/Compiler/CSharp/Lightup/SyntaxFactoryEx.cs
src/Workspaces/SharedUtilitiesAndExtensions/Compiler/CSharp/Lightup/SyntaxFactoryEx.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 Microsoft.CodeAnalysis.CSharp.Syntax; #if CODE_STYLE using System; using System.Linq; using System.Linq.Expr...
// 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 Microsoft.CodeAnalysis.CSharp.Syntax; #if CODE_STYLE using System; using System.Linq; using System.Linq.Expr...
mit
C#
9d44a2fba4b65bcb50ae1bdfeaee0ed2ea8d0fd5
Use runtime information
axelheer/nein-linq,BenJenkinson/nein-linq
test/NeinLinq.Tests/EntityAsyncQuery/Context.cs
test/NeinLinq.Tests/EntityAsyncQuery/Context.cs
using NeinLinq.Fakes.DbAsyncQuery; using Microsoft.EntityFrameworkCore; using System.Runtime.InteropServices; namespace NeinLinq.Tests.EntityAsyncQuery { public class Context : DbContext { public DbSet<Dummy> Dummies { get; set; } protected override void OnConfiguring(DbContextOptionsBuilder ...
using NeinLinq.Fakes.DbAsyncQuery; using Microsoft.EntityFrameworkCore; using System; namespace NeinLinq.Tests.EntityAsyncQuery { public class Context : DbContext { public DbSet<Dummy> Dummies { get; set; } protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder) ...
mit
C#
35b9a7e59f7705c92161f5d62148ab33af02aec5
Remove IAcknowledgedResponse implementation from IRevertModelSnapshotResponse
elastic/elasticsearch-net,elastic/elasticsearch-net
src/Nest/XPack/MachineLearning/RevertModelSnapshot/RevertModelSnapshotResponse.cs
src/Nest/XPack/MachineLearning/RevertModelSnapshot/RevertModelSnapshotResponse.cs
using System.Runtime.Serialization; namespace Nest { public interface IRevertModelSnapshotResponse : IResponse { [DataMember(Name ="model")] ModelSnapshot Model { get; } } public class RevertModelSnapshotResponse : ResponseBase, IRevertModelSnapshotResponse { public ModelSnapshot Model { get; internal set...
using System.Runtime.Serialization; namespace Nest { public interface IRevertModelSnapshotResponse : IAcknowledgedResponse { [DataMember(Name ="model")] ModelSnapshot Model { get; } } public class RevertModelSnapshotResponse : AcknowledgedResponseBase, IRevertModelSnapshotResponse { public ModelSnapshot M...
apache-2.0
C#
3ab7807f315292c6000d612074327a9e93afe4f3
Rename Length property
mstrother/BmpListener
BmpListener/Bmp/BmpHeader.cs
BmpListener/Bmp/BmpHeader.cs
using System; using System.Linq; using BmpListener; using BmpListener.Extensions; namespace BmpListener.Bmp { public class BmpHeader { private readonly int bmpVersion = 3; public BmpHeader(byte[] data) { Version = data.First(); if (Version != bmpVersion) ...
using System; using System.Linq; using BmpListener; using BmpListener.Extensions; namespace BmpListener.Bmp { public class BmpHeader { private readonly int bmpVersion = 3; public BmpHeader(byte[] data) { Version = data.First(); if (Version != bmpVersion) ...
mit
C#
17b8963cf8db3f908359905bded8907f49398503
simplify CreateSpriteText in markdown table cell
smoogipoo/osu,UselessToucan/osu,NeoAdonis/osu,smoogipooo/osu,UselessToucan/osu,NeoAdonis/osu,ppy/osu,ppy/osu,peppy/osu-new,peppy/osu,peppy/osu,smoogipoo/osu,NeoAdonis/osu,smoogipoo/osu,peppy/osu,UselessToucan/osu,ppy/osu
osu.Game/Graphics/Containers/Markdown/OsuMarkdownTableCell.cs
osu.Game/Graphics/Containers/Markdown/OsuMarkdownTableCell.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 Markdig.Extensions.Tables; using osu.Framework.Allocation; using osu.Framework.Graphics; using osu.Framework.Graphics.Containers.Markdown; using osu.Framework.Graph...
// 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 Markdig.Extensions.Tables; using osu.Framework.Allocation; using osu.Framework.Graphics; using osu.Framework.Graphics.Containers.Markdown; using osu.Framework.Graph...
mit
C#
4768697e72847ab94da6aa6655033b29df26f075
Clean up Course Level tests to follow style cop
CodeBlueDev/CodeBlueDev.PluralSight.Core.Models
Source/CodeBlueDev.PluralSight.Core.Models.Test/CourseLevelDeserializationTests.cs
Source/CodeBlueDev.PluralSight.Core.Models.Test/CourseLevelDeserializationTests.cs
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="CourseLevelDeserializationTests.cs" company="CodeBlueDev"> // All rights reserved. // </copyright> // <summary> // Tests deserialization of PluralSight CourseLevel values. // ...
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="CourseLevelDeserializationTests.cs" company="CodeBlueDev"> // All rights reserved. // </copyright> // <summary> // Tests deserialization of PluralSight CourseLevel values. // ...
mit
C#
f012f13ea1846a36543a2cf81df0ca3174f08ddd
remove unused property 'OnCreate'.
jwChung/Experimentalism,jwChung/Experimentalism
test/ExperimentUnitTest/FakeTestFixture.cs
test/ExperimentUnitTest/FakeTestFixture.cs
using System; namespace Jwc.Experiment { public class FakeTestFixture : ITestFixture { private readonly string _stringValue = Guid.NewGuid().ToString(); private readonly string _intValue = Guid.NewGuid().ToString(); private readonly Func<object, object> _onCreate; public FakeT...
using System; namespace Jwc.Experiment { public class FakeTestFixture : ITestFixture { private readonly string _stringValue = Guid.NewGuid().ToString(); private readonly string _intValue = Guid.NewGuid().ToString(); private readonly Func<object, object> _onCreate; public FakeT...
mit
C#
2e64e0b28e5c38dec426f13542b8fa9dd1ddbe3e
use backing field instead of auto property.
jwChung/Experimentalism,jwChung/Experimentalism
test/ExperimentUnitTest/FakeTestFixture.cs
test/ExperimentUnitTest/FakeTestFixture.cs
using System; namespace Jwc.Experiment { public class FakeTestFixture : ITestFixture { private Func<object, object> _onCreate = x => null; public Func<object, object> OnCreate { get { return _onCreate; } set {...
using System; namespace Jwc.Experiment { public class FakeTestFixture : ITestFixture { public Func<object, object> OnCreate { get; set; } public object Create(object request) { return OnCreate(request); } } }
mit
C#
98621c507f28275a1ca3f37703d6022f0b85cea7
set uwp min size to 1,1
bit-foundation/bit-framework,bit-foundation/bit-framework,bit-foundation/bit-framework,bit-foundation/bit-framework
src/CSharpClient/Bit.CSharpClient.Prism/UWP/BitApplication.cs
src/CSharpClient/Bit.CSharpClient.Prism/UWP/BitApplication.cs
#if UWP using Bit.ViewModel; using System.Linq; using System.Reflection; using Windows.Foundation; using Windows.UI.ViewManagement; using Windows.UI.Xaml; using Xamarin.Essentials; namespace Bit.UWP { public class BitApplication : Windows.UI.Xaml.Application { public BitApplication() { ...
#if UWP using Bit.ViewModel; using System.Linq; using System.Reflection; using Windows.UI.Xaml; using Xamarin.Essentials; namespace Bit.UWP { public class BitApplication : Windows.UI.Xaml.Application { public BitApplication() { UnhandledException += BitApplication_UnhandledExceptio...
mit
C#
5526e465b450aa7cf8dc2e4d5065dd25fef78434
Fix formatting
CyrusNajmabadi/roslyn,jasonmalinowski/roslyn,jasonmalinowski/roslyn,mavasani/roslyn,jasonmalinowski/roslyn,shyamnamboodiripad/roslyn,shyamnamboodiripad/roslyn,CyrusNajmabadi/roslyn,dotnet/roslyn,bartdesmet/roslyn,dotnet/roslyn,dotnet/roslyn,bartdesmet/roslyn,mavasani/roslyn,shyamnamboodiripad/roslyn,CyrusNajmabadi/rosl...
src/Features/CSharp/Portable/ConvertToRecord/CSharpConvertToRecordRefactoringProvider.cs
src/Features/CSharp/Portable/ConvertToRecord/CSharpConvertToRecordRefactoringProvider.cs
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using System.Composition; using System.Threading.Tasks; using Microsoft.CodeAnalysis.CodeRefactorings...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using System.Composition; using System.Threading.Tasks; using Microsoft.CodeAnalysis.CodeRefactorings...
mit
C#
957f483a35629f069ad13cc7d97ccaca7ee2f078
Call Dispose on TestCluster
ASP-NET-Core-Boilerplate/Templates,ASP-NET-Core-Boilerplate/Templates,RehanSaeed/ASP.NET-MVC-Boilerplate,ASP-NET-MVC-Boilerplate/Templates,RehanSaeed/ASP.NET-MVC-Boilerplate,ASP-NET-Core-Boilerplate/Templates,RehanSaeed/ASP.NET-MVC-Boilerplate,ASP-NET-MVC-Boilerplate/Templates
Source/OrleansTemplate/Tests/OrleansTemplate.Server.IntegrationTest/Fixtures/ClusterFixture.cs
Source/OrleansTemplate/Tests/OrleansTemplate.Server.IntegrationTest/Fixtures/ClusterFixture.cs
namespace OrleansTemplate.Server.IntegrationTest.Fixtures { using System; using Orleans.TestingHost; public class ClusterFixture : IDisposable { public ClusterFixture() { var builder = new TestClusterBuilder(); builder.AddClientBuilderConfigurator<TestClientBuild...
namespace OrleansTemplate.Server.IntegrationTest.Fixtures { using System; using Orleans.TestingHost; public class ClusterFixture : IDisposable { public ClusterFixture() { var builder = new TestClusterBuilder(); builder.AddClientBuilderConfigurator<TestClientBuild...
mit
C#
5b1ef65cf97589d162917af6693aac044170e225
Normalize variables for Tile
XNAWizards/mst-boredom-remover
mst-boredom-remover/mst-boredom-remover/engine/Tile.cs
mst-boredom-remover/mst-boredom-remover/engine/Tile.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace mst_boredom_remover { class Tile { public int id; public Position position; public TileType tileType; public enum TileModifier { Blazing, Freezing, ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace mst_boredom_remover { class Tile { public int id; public Position position; public TileType tile_type; public enum TileModifier { Blazing, Freezing, ...
mpl-2.0
C#
8e0f525588a5d0e997b5a15da50045ebbb719434
Rewrite existing test scene somewhat
ppy/osu,peppy/osu-new,peppy/osu,peppy/osu,smoogipooo/osu,smoogipoo/osu,smoogipoo/osu,smoogipoo/osu,UselessToucan/osu,ppy/osu,NeoAdonis/osu,NeoAdonis/osu,UselessToucan/osu,UselessToucan/osu,ppy/osu,NeoAdonis/osu,peppy/osu
osu.Game.Tests/Visual/Gameplay/TestSceneStarCounter.cs
osu.Game.Tests/Visual/Gameplay/TestSceneStarCounter.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 NUnit.Framework; using osu.Framework.Graphics; using osu.Framework.Utils; using osu.Game.Graphics.Sprites; using osu.Game.Graphics.UserInterface; using osuTK; name...
// 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.Graphics; using osu.Framework.Graphics.Sprites; using osu.Framework.Utils; using osu.Game.Graphics.Sprites; using osu.Game.Grap...
mit
C#
7656d0fb3f206ff1d6a65417b5fc71d4adb1d9f6
Fix NullReferenceException when using the NLogLogger default constructor
D3-LucaPiombino/MassTransit,jsmale/MassTransit
src/Loggers/MassTransit.NLogIntegration/Logging/NLogLogger.cs
src/Loggers/MassTransit.NLogIntegration/Logging/NLogLogger.cs
// Copyright 2007-2015 Chris Patterson, Dru Sellers, Travis Smith, et. al. // // 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 ...
// Copyright 2007-2015 Chris Patterson, Dru Sellers, Travis Smith, et. al. // // Licensed under the Apache License, Version 2.0 (the "License"); you may not use // this file except in compliance with the License. You may obtain a copy of the // License at // // http://www.apache.org/licenses/LICENSE-2.0 ...
apache-2.0
C#
e3a37688e5079e1086b1cf628a2559c2c9e4aca1
Remove unnecessary blank line
xuweixuwei/corefx,weltkante/corefx,brett25/corefx,ViktorHofer/corefx,xuweixuwei/corefx,parjong/corefx,cartermp/corefx,KrisLee/corefx,alexandrnikitin/corefx,stone-li/corefx,Priya91/corefx-1,andyhebear/corefx,stephenmichaelf/corefx,twsouthwick/corefx,billwert/corefx,akivafr123/corefx,richlander/corefx,CherryCxldn/corefx,...
src/System.Text.RegularExpressions/src/System/Text/RegularExpressions/RegexTree.cs
src/System.Text.RegularExpressions/src/System/Text/RegularExpressions/RegexTree.cs
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. // RegexTree is just a wrapper for a node tree with some // global information attached. using System.Collections.Generic; namespace System.Text.RegularExpressions { ...
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. // RegexTree is just a wrapper for a node tree with some // global information attached. using System.Collections.Generic; namespace System.Text.RegularExpressions { ...
mit
C#
81c559986f3cfcc582621de0991972b5975befda
Change AsNoFilter() query parameter type to IQueryable<T>
zzzprojects/EntityFramework-Plus
src/shared/Z.EF.Plus.QueryFilterInterceptor.Shared/Extensions/IDbSet.AsNoFilter.cs
src/shared/Z.EF.Plus.QueryFilterInterceptor.Shared/Extensions/IDbSet.AsNoFilter.cs
// Description: Entity Framework Bulk Operations & Utilities (EF Bulk SaveChanges, Insert, Update, Delete, Merge | LINQ Query Cache, Deferred, Filter, IncludeFilter, IncludeOptimize | Audit) // Website & Documentation: https://github.com/zzzprojects/Entity-Framework-Plus // Forum & Issues: https://github.com/zzzprojec...
// Description: Entity Framework Bulk Operations & Utilities (EF Bulk SaveChanges, Insert, Update, Delete, Merge | LINQ Query Cache, Deferred, Filter, IncludeFilter, IncludeOptimize | Audit) // Website & Documentation: https://github.com/zzzprojects/Entity-Framework-Plus // Forum & Issues: https://github.com/zzzprojec...
mit
C#
b42d071d6210ae70b69d93dd2ba669646f865ebe
Print answer after first run
xPaw/adventofcode-solutions,xPaw/adventofcode-solutions,xPaw/adventofcode-solutions
2021/Answers/Program.cs
2021/Answers/Program.cs
using System; using System.Diagnostics; using System.Globalization; using System.Text; using AdventOfCode2021; Console.OutputEncoding = Encoding.UTF8; CultureInfo.DefaultThreadCurrentCulture = CultureInfo.InvariantCulture; var day = DateTime.Today.Day; var runs = 1; if (args.Length > 0) { if (args[0] != "today" &&...
using System; using System.Diagnostics; using System.Globalization; using System.Text; using AdventOfCode2021; Console.OutputEncoding = Encoding.UTF8; CultureInfo.DefaultThreadCurrentCulture = CultureInfo.InvariantCulture; var day = DateTime.Today.Day; var runs = 1; if (args.Length > 0) { if (args[0] != "today" &&...
unlicense
C#
d3b6bf1e21355ec28cb3a01ad72a329528ad5668
fix mismatched variable name
ajepst/XlsToEf,ajepst/XlsToEf,ajepst/XlsToEf
src/XlsToEf.Example/ExampleBaseClassIdField/BuildXlsxOrderTableMatcher.cs
src/XlsToEf.Example/ExampleBaseClassIdField/BuildXlsxOrderTableMatcher.cs
using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading.Tasks; using MediatR; using XlsToEf.Example.Domain; using XlsToEf.Import; namespace XlsToEf.Example.ExampleBaseClassIdField { public class BuildXlsxOrderTableMatcher : IAsyncRequestHandler<XlsxOrderColumnMatcherQuery, Impo...
using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading.Tasks; using MediatR; using XlsToEf.Example.Domain; using XlsToEf.Import; namespace XlsToEf.Example.ExampleBaseClassIdField { public class BuildXlsxOrderTableMatcher : IAsyncRequestHandler<XlsxOrderColumnMatcherQuery, Impo...
mit
C#
61772452a7b6842c4cff0c5bf1bfa75733df2d38
Revert Multiple_DropDownList.cshtml, it will post a empty value that will effect the post value.
lingxyd/CMS,jtm789/CMS,jtm789/CMS,techwareone/Kooboo-CMS,lingxyd/CMS,Kooboo/CMS,andyshao/CMS,Kooboo/CMS,techwareone/Kooboo-CMS,lingxyd/CMS,Kooboo/CMS,jtm789/CMS,techwareone/Kooboo-CMS,andyshao/CMS,andyshao/CMS
Kooboo.CMS/Kooboo.CMS.Web/Views/Shared/EditorTemplates/Multiple_DropDownList.cshtml
Kooboo.CMS/Kooboo.CMS.Web/Views/Shared/EditorTemplates/Multiple_DropDownList.cshtml
@model object @{ Layout = ViewBag.Layout ?? "_TR.cshtml"; ViewData.TemplateInfo.HtmlFieldPrefix = ViewData.TemplateInfo.HtmlFieldPrefix.Replace(ViewData.ModelMetadata.PropertyName, "").Trim('.'); var propertyName = ViewData["name"] == null ? ViewData.ModelMetadata.PropertyName : ViewData["name"].ToString()...
@model object @{ Layout = ViewBag.Layout ?? "_TR.cshtml"; ViewData.TemplateInfo.HtmlFieldPrefix = ViewData.TemplateInfo.HtmlFieldPrefix.Replace(ViewData.ModelMetadata.PropertyName, "").Trim('.'); var propertyName = ViewData["name"] == null ? ViewData.ModelMetadata.PropertyName : ViewData["name"].ToString()...
bsd-3-clause
C#
fd41470449ec7f3dfb0564b9db430b78fe8f5a92
Update regex to find resource name & type from path (#2028)
amarzavery/AutoRest,Azure/autorest,veronicagg/autorest,veronicagg/autorest,lmazuel/autorest,dsgouda/autorest,lmazuel/autorest,sergey-shandar/autorest,amarzavery/AutoRest,vishrutshah/autorest,jianghaolu/AutoRest,dsgouda/autorest,amarzavery/AutoRest,ljhljh235/AutoRest,lmazuel/autorest,ljhljh235/AutoRest,jianghaolu/AutoRe...
src/modeler/AutoRest.Swagger/Validation/Core/JsonValidationLogListener.cs
src/modeler/AutoRest.Swagger/Validation/Core/JsonValidationLogListener.cs
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. using AutoRest.Core.Logging; using AutoRest.Swagger.Validation.Core; using Newtonsoft.Json; using System.Collections.Generic; using System.Linq; using System.Tex...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. using AutoRest.Core.Logging; using AutoRest.Swagger.Validation.Core; using Newtonsoft.Json; using System.Collections.Generic; using System.Linq; using System.Tex...
mit
C#
4581432a4812dd07744601b13febd3969a6d4237
Fix warning
mvdwetering/BlpFiletype
BlpFiletype/BlpFileType.cs
BlpFiletype/BlpFileType.cs
using PaintDotNet; using PaintDotNet.Data; using SereniaBLPLib; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; namespace PdnBlpFileType { public class BlpFileType : FileType { public BlpFileType() : base...
using PaintDotNet; using PaintDotNet.Data; using SereniaBLPLib; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; namespace PdnBlpFileType { public class BlpFileType : FileType { public BlpFileType() : base...
mit
C#
f986ecb4d1770e83dcbd9e91870bd0f1121ca2de
Fix invalid example test name for dictionaries exercise
exercism/xcsharp,exercism/xcsharp
exercises/concept/dictionaries/.meta/Example.cs
exercises/concept/dictionaries/.meta/Example.cs
using System; using System.Collections.Generic; public static class DialingCodes { public static Dictionary<int, string> GetEmptyDictionary() { return new Dictionary<int, string>(); } public static Dictionary<int, string> GetExistingDictionary() { return new Dictionary<int, string>...
using System; using System.Collections.Generic; public static class DialingCodes_example { public static Dictionary<int, string> GetEmptyDictionary() { return new Dictionary<int, string>(); } public static Dictionary<int, string> GetExistingDictionary() { return new Dictionary<int,...
mit
C#
fe199f2b38e9d9a89333870001cdf568c56bb685
Fix get entry assembly (#182)
NServiceBusSqlPersistence/NServiceBus.SqlPersistence
src/SqlPersistence/ScriptLocation.cs
src/SqlPersistence/ScriptLocation.cs
using System; using System.IO; using System.Reflection; using NServiceBus; static class ScriptLocation { public static string FindScriptDirectory(SqlDialect dialect) { var currentDirectory = GetCurrentDirectory(); return Path.Combine(currentDirectory, "NServiceBus.Persistence.Sql", dialect.Nam...
using System; using System.IO; using System.Reflection; using NServiceBus; static class ScriptLocation { public static string FindScriptDirectory(SqlDialect dialect) { var codeBase = Assembly.GetEntryAssembly().CodeBase; var currentDirectory = Directory.GetParent(new Uri(codeBase).LocalPath).F...
mit
C#
acfa18bf23eacec9ff042c833dde2324375d21de
Add usage of IsShip check
iridinite/shiftdrive
Client/Asteroid.cs
Client/Asteroid.cs
/* ** Project ShiftDrive ** (C) Mika Molenkamp, 2016. */ using System; using System.IO; using Microsoft.Xna.Framework; namespace ShiftDrive { /// <summary> /// A <seealso cref="GameObject"/> representing a single asteroid. /// </summary> internal sealed class Asteroid : GameObject { private...
/* ** Project ShiftDrive ** (C) Mika Molenkamp, 2016. */ using System; using System.IO; using Microsoft.Xna.Framework; namespace ShiftDrive { /// <summary> /// A <seealso cref="GameObject"/> representing a single asteroid. /// </summary> internal sealed class Asteroid : GameObject { private...
bsd-3-clause
C#
21f8bf5f5af1f9058879f34ae111eeb28fc8f8ff
Add constructor to reference
contentful/contentful.net
Contentful.Core/Models/Management/Reference.cs
Contentful.Core/Models/Management/Reference.cs
using System; using System.Collections.Generic; using System.Text; namespace Contentful.Core.Models.Management { /// <summary> /// Represents a reference link returned from the Contentful API. /// Allows you to easily model reference fields when creating new entries. /// </summary> public class Re...
using System; using System.Collections.Generic; using System.Text; namespace Contentful.Core.Models.Management { /// <summary> /// Represents a reference link returned from the Contentful API. /// Allows you to easily model reference fields when creating new entries. /// </summary> public class Re...
mit
C#
f9fdf228b384046e48baa6daba396318a1ea9f24
Enable test parallelization on local.
CXuesong/WikiClientLibrary
UnitTestProject1/Assembly.cs
UnitTestProject1/Assembly.cs
using Xunit; // This is a work-around for #11. // https://github.com/CXuesong/WikiClientLibrary/issues/11 // We are using Bot Password on CI, which may naturally evade the issue. // [assembly: CollectionBehavior(DisableTestParallelization = true)]
using Xunit; // This is a work-around for #11. // https://github.com/CXuesong/WikiClientLibrary/issues/11 // We are using Bot Password on CI, which may naturally evade the issue. #if !ENV_CI_BUILD [assembly: CollectionBehavior(DisableTestParallelization = true)] #endif
apache-2.0
C#
d3750b47cde9114fdf99b0967db328f8a0f02585
Add error handling.
brianrob/coretests,brianrob/coretests
managed/machine_info/Program.cs
managed/machine_info/Program.cs
using System; using System.IO; namespace machine_info { class Program { static void Main(string[] args) { foreach(DriveInfo driveInfo in DriveInfo.GetDrives()) { try { Console.WriteLine($"Name: {driveInfo.Name}, Format...
using System; using System.IO; namespace machine_info { class Program { static void Main(string[] args) { foreach(DriveInfo driveInfo in DriveInfo.GetDrives()) { Console.WriteLine($"Name: {driveInfo.Name}, Format: {driveInfo.DriveFormat}, Type: {driveInf...
mit
C#
c78de4c7a94c4a647f6b6991b744fca865188b64
Add documentation line.
dimitardanailov/TwitterBackupBackendAndAngularjs,dimitardanailov/TwitterBackupBackendAndAngularjs,dimitardanailov/TwitterBackupBackendAndAngularjs
TwitterWebApplicationRepositories/MongoDb/MongoDbRepository.cs
TwitterWebApplicationRepositories/MongoDb/MongoDbRepository.cs
using ClientConfigurations; using MongoDB.Driver; using MongoDB.Driver.Builders; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace TwitterWebApplicationRepositories { /// <summary> /// This implementation used the MongoDB C# Driver, s...
using ClientConfigurations; using MongoDB.Driver; using MongoDB.Driver.Builders; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace TwitterWebApplicationRepositories { /// <summary> /// This implementation used the MongoDB C# Driver, s...
mit
C#
24e2c69804f88cc55b40395df6161727973cffc4
add a simple null check for json element
brnkhy/MapzenGo,brnkhy/MapzenGo
Assets/MapzenGo/Models/Factories/Factory.cs
Assets/MapzenGo/Models/Factories/Factory.cs
using System; using System.Collections.Generic; using System.Linq; using Assets.MapzenGo.Models.Plugins; using UnityEngine; namespace MapzenGo.Models.Factories { public class Factory : Plugin { public bool MergeMeshes; public float Order = 1; public virtual string XmlTag {get { return ...
using System; using System.Collections.Generic; using System.Linq; using Assets.MapzenGo.Models.Plugins; using UnityEngine; namespace MapzenGo.Models.Factories { public class Factory : Plugin { public bool MergeMeshes; public float Order = 1; public virtual string XmlTag {get { return ...
mit
C#
564a24951d05a611dd435be26ed2b8a2126094b0
Remove expiration date of DesignScript
DynamoDS/designscript-archive,samuto/designscript,DynamoDS/designscript-archive,DynamoDS/designscript-archive,DynamoDS/designscript-archive,samuto/designscript,DynamoDS/designscript-archive,samuto/designscript,samuto/designscript,samuto/designscript,samuto/designscript
Core/ProtoCore/Utils/Validity.cs
Core/ProtoCore/Utils/Validity.cs
using System; namespace ProtoCore.Utils { public class Validity { public static void Assert(bool cond) { if (!cond) throw new Exceptions.CompilerInternalException(""); } public static void Assert(bool cond, string message) { ...
using System; namespace ProtoCore.Utils { public class Validity { public static void Assert(bool cond) { if (!cond) throw new Exceptions.CompilerInternalException(""); } public static void Assert(bool cond, string message) { ...
apache-2.0
C#
f7b98393a9efc955813eca4f81940949e261d3ee
Add HttpCode convenience property to exception
rackerlabs/RackspaceCloudOfficeApiClient
Rackspace.CloudOffice/ApiException.cs
Rackspace.CloudOffice/ApiException.cs
using System; using System.Dynamic; using System.IO; using System.Net; using Newtonsoft.Json; namespace Rackspace.CloudOffice { public class ApiException : Exception { public dynamic Response { get; private set; } public HttpStatusCode? HttpCode { get; private set; } public ApiExcepti...
using System; using System.Dynamic; using System.IO; using System.Net; using Newtonsoft.Json; namespace Rackspace.CloudOffice { public class ApiException : Exception { public dynamic Response { get; private set; } public ApiException(WebException ex) : base(GetErrorMessage(ex), ex) { ...
mit
C#
b639a71f8e954bb39cec5ebd529205210c03687a
use options in all calls of serializer and set dateformat to ISO8601 (a better default IMO)
YoloDev/elephanet,jmkelly/elephanet,jmkelly/elephanet,YoloDev/elephanet
Elephanet/Serialization/JilJsonConverter.cs
Elephanet/Serialization/JilJsonConverter.cs
using Jil; namespace Elephanet.Serialization { public class JilJsonConverter : IJsonConverter { private readonly Options _options; public JilJsonConverter() { _options = new Options(includeInherited: true, dateFormat:DateTimeFormat.ISO8601); } public string...
using Jil; namespace Elephanet.Serialization { public class JilJsonConverter : IJsonConverter { private readonly Options _options; public JilJsonConverter() { _options = new Options(includeInherited: true); } public string Serialize<T>(T entity) { ...
mit
C#
7f940693521c299c46812a16909418c2238a9587
Modify the MeidoHook interface to allow communicating to the plugins they need to stop. That way they can release whatever resources they're holding or stop threads/timers to have running seperate from the main thread. This will make it possible to have MeidoBot stop the entire program from top-down.
IvionSauce/MeidoBot
MeidoCommon/MeidoCommon.cs
MeidoCommon/MeidoCommon.cs
using System; using System.Collections.Generic; namespace MeidoCommon { public interface IMeidoHook { // Things the plugin provides us with. string Name { get; } string Version { get; } Dictionary<string, string> Help { get; } // Things we provide to the plugin. ...
using System; using System.Collections.Generic; namespace MeidoCommon { public interface IMeidoHook { string Name { get; } string Version { get; } Dictionary<string, string> Help { get; } string Prefix { set; } } public interface IIrcMessage { string Messag...
bsd-2-clause
C#
18aeef8e6fae5897dcff5b3ad43d3afdb0e81485
Make method virtual so clients can decorate behavior.
themotleyfool/AspNet.WebApi.HtmlMicrodataFormatter
source/AspNet.WebApi.HtmlMicrodataFormatter/DocumentationController.cs
source/AspNet.WebApi.HtmlMicrodataFormatter/DocumentationController.cs
using System; using System.Web.Http; using System.Web.Http.Controllers; using System.Web.Http.Description; namespace AspNet.WebApi.HtmlMicrodataFormatter { public class DocumentationController : ApiController { public IDocumentationProviderEx DocumentationProvider { get; set; } protected over...
using System; using System.Linq; using System.Web.Http; using System.Web.Http.Controllers; using System.Web.Http.Description; namespace AspNet.WebApi.HtmlMicrodataFormatter { public class DocumentationController : ApiController { public IDocumentationProviderEx DocumentationProvider { get; set; } ...
apache-2.0
C#
9691f78cbf0d1e4fa9abaf3213592ec59302c0bd
Test directory creation access by creating a directory (not a file)
arkivverket/arkade5,arkivverket/arkade5,arkivverket/arkade5
src/Arkivverket.Arkade.GUI/Util/ArkadeProcessingAreaLocationSetting.cs
src/Arkivverket.Arkade.GUI/Util/ArkadeProcessingAreaLocationSetting.cs
using System.IO; using Arkivverket.Arkade.Core.Base; using Arkivverket.Arkade.GUI.Properties; namespace Arkivverket.Arkade.GUI.Util { public static class ArkadeProcessingAreaLocationSetting { public static string Get() { Settings.Default.Reload(); return Set...
using System.IO; using Arkivverket.Arkade.Core.Base; using Arkivverket.Arkade.GUI.Properties; namespace Arkivverket.Arkade.GUI.Util { public static class ArkadeProcessingAreaLocationSetting { public static string Get() { Settings.Default.Reload(); return Set...
agpl-3.0
C#
9fb7b8febd2b8bf5fd2f2a1f3cfe2acfd09a08ca
Update ModuleAModule.cs
HansKrJensrud/Prism-Samples-Wpf
HelloWorld/Modules/ModuleA/ModuleAModule.cs
HelloWorld/Modules/ModuleA/ModuleAModule.cs
using ModuleA.Views; using Prism.Modularity; using Prism.Regions; namespace ModuleA { public class ModuleAModule : IModule { IRegionManager _regionManager; public ModuleAModule(IRegionManager regionManager) { _regionManager = regionManager; } public void I...
using ModuleA.Views; using Prism.Modularity; using Prism.Regions; namespace ModuleA { public class ModuleAModule : IModule { IRegionManager _regionManager; public ModuleAModule(IRegionManager regionManager) { _regionManager = regionManager; } public void I...
mit
C#
56d867d48ea75d11beaa735a8f8d6e40e935277f
Add OS-differing paths
Mako88/dxx-tracker
RebirthTracker/RebirthTracker/Configuration.cs
RebirthTracker/RebirthTracker/Configuration.cs
using System.Runtime.InteropServices; namespace RebirthTracker { /// <summary> /// Class to keep track of OS-specific configuration settings /// </summary> public static class Configuration { /// <summary> /// Get the folder where files should be stored /// </summary> ...
namespace RebirthTracker { /// <summary> /// Class to keep track of OS-specific configuration settings /// </summary> public static class Configuration { /// <summary> /// Get the folder where files should be stored /// </summary> public static string GetDataDir() ...
mit
C#
078f6bb112800048f596abea3dc1d6e7f9c82f19
Add new GetSchemaOverload to mock
Laoujin/SolrNet,Laoujin/SolrNet,18098924759/SolrNet,erandr/SolrNet,doss78/SolrNet,mausch/SolrNet,tombeany/SolrNet,vladen/SolrNet,vmanral/SolrNet,tombeany/SolrNet,drakeh/SolrNet,chang892886597/SolrNet,vladen/SolrNet,chang892886597/SolrNet,erandr/SolrNet,erandr/SolrNet,chang892886597/SolrNet,18098924759/SolrNet,SolrNet/S...
SampleSolrApp.Tests/MSolrReadOnlyOperations.cs
SampleSolrApp.Tests/MSolrReadOnlyOperations.cs
using System; using System.Collections.Generic; using Moroco; using SolrNet; using SolrNet.Commands.Parameters; using SolrNet.Impl; using SolrNet.Schema; namespace SampleSolrApp.Tests { public class MSolrReadOnlyOperations<T> : ISolrReadOnlyOperations<T> { public MFunc<ISolrQuery, QueryOptions, SolrQueryR...
using System; using System.Collections.Generic; using Moroco; using SolrNet; using SolrNet.Commands.Parameters; using SolrNet.Impl; using SolrNet.Schema; namespace SampleSolrApp.Tests { public class MSolrReadOnlyOperations<T> : ISolrReadOnlyOperations<T> { public MFunc<ISolrQuery, QueryOptions, SolrQueryR...
apache-2.0
C#
7ec4b3f289f32e444ea9d89caa59a2361528f6d2
Use FindObject, not Instance property!
Tarocco/roaring-fangs-unity
Source/RoaringFangs/Utility/SingletonHelper.cs
Source/RoaringFangs/Utility/SingletonHelper.cs
/* The MIT License (MIT) Copyright (c) 2016 Roaring Fangs Entertainment Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy,...
/* The MIT License (MIT) Copyright (c) 2016 Roaring Fangs Entertainment Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy,...
mit
C#
184b3059ce7f104458b6514bdde38058bbdce1df
Check for parent controller on same object too, not just parents
PearMed/Pear-Interaction-Engine
Assets/Pear.InteractionEngine/Scripts/Controllers/Editor/ControllerBehaviorEditor.cs
Assets/Pear.InteractionEngine/Scripts/Controllers/Editor/ControllerBehaviorEditor.cs
using Pear.InteractionEngine.Utils; using System; using UnityEditor; using UnityEngine; namespace Pear.InteractionEngine.Controllers { [CustomEditor(typeof(ControllerBehaviorBase), true)] [CanEditMultipleObjects] public class ControllerBehaviorEditor : Editor { // The controller property SerializedProperty _c...
using Pear.InteractionEngine.Utils; using System; using UnityEditor; using UnityEngine; namespace Pear.InteractionEngine.Controllers { [CustomEditor(typeof(ControllerBehaviorBase), true)] [CanEditMultipleObjects] public class ControllerBehaviorEditor : Editor { // The controller property SerializedProperty _c...
mit
C#
4ecefc64709c4b2966bd9817e556cd7052a16e9f
Add fade-in feature to FadingMusic
plrusek/NitoriWare,Barleytree/NitoriWare,NitorInc/NitoriWare,Barleytree/NitoriWare,NitorInc/NitoriWare
Assets/Scripts/Audio/FadingMusic.cs
Assets/Scripts/Audio/FadingMusic.cs
using System.Collections; using System.Collections.Generic; using UnityEngine; public class FadingMusic : MonoBehaviour { #pragma warning disable 0649 [SerializeField] private bool fadeInFirst; [SerializeField] private float fadeSpeed; #pragma warning restore 0649 private AudioSource _audioSourc...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class FadingMusic : MonoBehaviour { #pragma warning disable 0649 [SerializeField] private float fadeSpeed; #pragma warning restore 0649 private AudioSource _audioSource; private bool started; void Awake() { ...
mit
C#
7fd82d5b4e3e91715be39a66cc2c578a435d02d3
Mark fields explicitly private
Perspektyva/EconomySim
World/Range.cs
World/Range.cs
namespace World { public struct IntRange { private int lowerInclusive; private int upperInclusive; private IntRange(int lowerInclusive, int upperInclusive) { this.lowerInclusive = lowerInclusive; this.upperInclusive = upperInclusive; } p...
namespace World { public struct IntRange { int lowerInclusive; int upperInclusive; private IntRange(int lowerInclusive, int upperInclusive) { this.lowerInclusive = lowerInclusive; this.upperInclusive = upperInclusive; } public static Int...
mit
C#
327c8f5ca6a954fbb271a4f05362e084f56350f3
Bump version
transistor1/SQLFormatterPlugin
Properties/AssemblyInfo.cs
Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("SQ...
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("SQ...
bsd-3-clause
C#
e36c91f13be59b369ccee465425f3c523fc11f5c
Test available only where the drive support multi-queries
nhibernate/nhibernate-core,ManufacturingIntelligence/nhibernate-core,hazzik/nhibernate-core,alobakov/nhibernate-core,lnu/nhibernate-core,ManufacturingIntelligence/nhibernate-core,fredericDelaporte/nhibernate-core,livioc/nhibernate-core,hazzik/nhibernate-core,nkreipke/nhibernate-core,ngbrown/nhibernate-core,gliljas/nhib...
src/NHibernate.Test/NHSpecificTest/NH1508/Fixture.cs
src/NHibernate.Test/NHSpecificTest/NH1508/Fixture.cs
using System; using NHibernate.Driver; using NUnit.Framework; namespace NHibernate.Test.NHSpecificTest.NH1508 { [TestFixture] public class Fixture : BugTestCase { [TestFixtureSetUp] public void CheckMultiQuerySupport() { TestFixtureSetUp(); IDriver driver = sessions.ConnectionProvider.Driv...
using System; using System.Collections; using System.Collections.Generic; using NHibernate.Criterion; using NUnit.Framework; namespace NHibernate.Test.NHSpecificTest.NH1508 { [TestFixture] public class Fixture : BugTestCase { protected override void OnSetUp() { Person john = new Person(); ...
lgpl-2.1
C#
1fb3a9f794a9792789c2d2bd4a06fc590713f1f6
Update pruebaLINQ.cs
Beelzenef/GestionMenu
LINQ/pruebaLINQ.cs
LINQ/pruebaLINQ.cs
using System; using System.Linq; namespace ConLINQ { class pruebaLINQ { // Usando WHERE string _LastName = "Prescott"; IQueryable<Employee> emps = from e in Employees where e.LastName == _LastName select e; ...
using System; using System.Linq; namespace ConLINQ { class pruebaLINQ { // Usando WHERE string _LastName = "Prescott"; IQueryable<Employee> emps = from e in Employees where e.LastName == _LastName select e; ...
mit
C#
1e7d4d88f2c3d4e6dacb5c58ad7fed721d506654
Fix netfx test failure
ericstj/corefx,mmitche/corefx,mmitche/corefx,ericstj/corefx,ptoonen/corefx,shimingsg/corefx,mmitche/corefx,wtgodbe/corefx,wtgodbe/corefx,ViktorHofer/corefx,Jiayili1/corefx,Jiayili1/corefx,ericstj/corefx,BrennanConroy/corefx,ericstj/corefx,Jiayili1/corefx,shimingsg/corefx,ViktorHofer/corefx,wtgodbe/corefx,ericstj/corefx...
src/System.Runtime.InteropServices/tests/System/Runtime/InteropServices/Marshal/PrelinkTests.cs
src/System.Runtime.InteropServices/tests/System/Runtime/InteropServices/Marshal/PrelinkTests.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.Collections.Generic; using System.Globalization; using System.Reflection; using Xunit; namespace Syste...
// 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.Collections.Generic; using System.Globalization; using System.Reflection; using Xunit; namespace Syste...
mit
C#
5054fe4af9d79ce0c274302924147368a52cf69a
Add Format methods.
joshyy/LogPile
LogPile/LogPile.cs
LogPile/LogPile.cs
/* * This is free and unencumbered software released into the public domain. * * Anyone is free to copy, modify, publish, use, compile, sell, or * distribute this software, either in source code form or as a compiled * binary, for any purpose, commercial or non-commercial, and by any * means. * * In jurisdict...
/* * This is free and unencumbered software released into the public domain. * * Anyone is free to copy, modify, publish, use, compile, sell, or * distribute this software, either in source code form or as a compiled * binary, for any purpose, commercial or non-commercial, and by any * means. * * In jurisdict...
unlicense
C#
64bb0d486c4f076e45aeffd66f8de83aa4700253
Enable move sequence override
NitorInc/NitoriWare,Barleytree/NitoriWare,Barleytree/NitoriWare,NitorInc/NitoriWare
Assets/Resources/Microgames/DollDance/Scripts/Sequence/DollDanceSequence.cs
Assets/Resources/Microgames/DollDance/Scripts/Sequence/DollDanceSequence.cs
using System; using System.Collections.Generic; using System.Linq; using UnityEngine; [Serializable] public class DollDanceSequence : MonoBehaviour { public enum Move { Idle, Up, Down, Left, Right } [Header("Debug fields")] [SerializeField] bool enableOverrideMoves; [SerializeField] Move[] o...
using System; using System.Collections.Generic; using System.Linq; using UnityEngine; [Serializable] public class DollDanceSequence : MonoBehaviour { public enum Move { Idle, Up, Down, Left, Right } [Header("Debug fields")] [SerializeField] bool pointAllDirections; [Header("Number of sequential...
mit
C#
4d526237d012bbfea42fe9e4e9d75db92d8dabc9
Split ClassWithLengthConstrainedConstructorArgument test class
sergeyshushlyapin/AutoFixture,AutoFixture/AutoFixture,sean-gilliam/AutoFixture,zvirja/AutoFixture,adamchester/AutoFixture,sergeyshushlyapin/AutoFixture,Pvlerick/AutoFixture,adamchester/AutoFixture
Src/AutoFixtureUnitTest/DataAnnotations/StringLengthArgumentSupportTests.cs
Src/AutoFixtureUnitTest/DataAnnotations/StringLengthArgumentSupportTests.cs
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Text; using Ploeh.AutoFixture; using Xunit; namespace Ploeh.AutoFixtureUnitTest.DataAnnotations { public class StringLengthArgumentSupportTests { [Fact] public void Fixt...
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Text; using Ploeh.AutoFixture; using Xunit; namespace Ploeh.AutoFixtureUnitTest.DataAnnotations { public class StringLengthArgumentSupportTests { [Fact] public void Fixt...
mit
C#
baca60021daee1dfe21629269bda4594b4f16175
Revise base parameter naming to resolve Roslyn indicator
larsbrubaker/MatterControl,unlimitedbacon/MatterControl,unlimitedbacon/MatterControl,larsbrubaker/MatterControl,jlewin/MatterControl,unlimitedbacon/MatterControl,mmoening/MatterControl,jlewin/MatterControl,mmoening/MatterControl,jlewin/MatterControl,mmoening/MatterControl,larsbrubaker/MatterControl,jlewin/MatterControl...
PartPreviewWindow/View3D/IObject3DEditor.cs
PartPreviewWindow/View3D/IObject3DEditor.cs
/* Copyright (c) 2016, Lars Brubaker, John Lewin All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and...
/* Copyright (c) 2016, Lars Brubaker, John Lewin All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and...
bsd-2-clause
C#
b483785319ac22cdcb81aa9abe7ee21b2bc88371
Add cancellationToken
CatPhat/Fabrik.SimpleBus
src/Fabrik.SimpleBus.Demo/Program.cs
src/Fabrik.SimpleBus.Demo/Program.cs
using System; using System.Threading; using System.Threading.Tasks; namespace Fabrik.SimpleBus.Demo { class Program { static void Main(string[] args) { new Program().Run(); } private void Run() { var bus = new In...
using System; using System.Threading; using System.Threading.Tasks; namespace Fabrik.SimpleBus.Demo { class Program { static void Main(string[] args) { new Program().Run(); } private void Run() { var bus = new In...
mit
C#
03d0d050abd55938e6d75085153d70b4ee738498
fix RazorWebSite example to work on .NET Core 3
andrewlock/NetEscapades.AspNetCore.SecurityHeaders,andrewlock/NetEscapades.AspNetCore.SecurityHeaders,andrewlock/NetEscapades.AspNetCore.SecurityHeaders,andrewlock/NetEscapades.AspNetCore.SecurityHeaders
test/RazorWebSite/Startup.cs
test/RazorWebSite/Startup.cs
using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.DependencyInjection; namespace RazorWebSite { public class Startup { // This method gets called by the runtime. Use this method to add services to the container. pu...
using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.DependencyInjection; namespace RazorWebSite { public class Startup { // This method gets called by the runtime. Use this method to add services to the container. pu...
mit
C#
77de01c1baa94dbc0af9bee81658164b9ab068be
add localhost 127.0.0.1 for ipv4
IvanZheng/IFramework,IvanZheng/IFramework,IvanZheng/IFramework
Src/iFramework.Plugins/IFramework.WebApi/IPRestriction/IPRestrictFilterAttribute.cs
Src/iFramework.Plugins/IFramework.WebApi/IPRestriction/IPRestrictFilterAttribute.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; using System.Web.Http.Controllers; using System.Web.Http.Filters; using IFramework.Infrastructure; using System.Web.Http; using System.Net.Http; using System.Net; namespace IFram...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; using System.Web.Http.Controllers; using System.Web.Http.Filters; using IFramework.Infrastructure; using System.Web.Http; using System.Net.Http; using System.Net; namespace IFram...
mit
C#
854e2effc2443a96e850c04f20e7e40d793d5a64
添加MemberInfo.GetAttributes
zkweb-framework/ZKWeb,zkweb-framework/ZKWeb,zkweb-framework/ZKWeb,303248153/ZKWeb,zkweb-framework/ZKWeb,zkweb-framework/ZKWeb,zkweb-framework/ZKWeb
ZKWeb.Utils/Extensions/MemberInfoExtensions.cs
ZKWeb.Utils/Extensions/MemberInfoExtensions.cs
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Text; using System.Threading.Tasks; using ZKWeb.Utils.Functions; namespace ZKWeb.Utils.Extensions { /// <summary> /// 成员信息的扩展函数 /// </summary> public static class MemberInfoExtensions { /// <sum...
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Text; using System.Threading.Tasks; using ZKWeb.Utils.Functions; namespace ZKWeb.Utils.Extensions { /// <summary> /// 成员信息的扩展函数 /// </summary> public static class MemberInfoExtensions { /// <sum...
mit
C#
a55b77f7f8ac8035da6b4181237f02326cc91f24
Remove correct page on back button press
rotorgames/Rg.Plugins.Popup,rotorgames/Rg.Plugins.Popup
Rg.Plugins.Popup/Platforms/Android/Popup.cs
Rg.Plugins.Popup/Platforms/Android/Popup.cs
using System; using System.Linq; using Android.Content; using Android.OS; using Rg.Plugins.Popup.Droid.Impl; using Rg.Plugins.Popup.Droid.Renderers; using Rg.Plugins.Popup.Services; using Xamarin.Forms; namespace Rg.Plugins.Popup { public static class Popup { internal static event EventHandler OnIniti...
using System; using System.Linq; using Android.Content; using Android.OS; using Rg.Plugins.Popup.Droid.Impl; using Rg.Plugins.Popup.Droid.Renderers; using Rg.Plugins.Popup.Services; using Xamarin.Forms; namespace Rg.Plugins.Popup { public static class Popup { internal static event EventHandler OnIniti...
mit
C#
5be22916bb80ca652099369e6a69b2cee955fca5
Add test coverage against frequency ramp increasing between fail animation and fail screen
smoogipoo/osu,NeoAdonis/osu,smoogipoo/osu,ppy/osu,peppy/osu,peppy/osu,smoogipooo/osu,NeoAdonis/osu,peppy/osu,NeoAdonis/osu,ppy/osu,ppy/osu,smoogipoo/osu
osu.Game.Tests/Visual/Gameplay/TestSceneFailAnimation.cs
osu.Game.Tests/Visual/Gameplay/TestSceneFailAnimation.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 NUnit.Framework; using osu.Framework.Graphics.Containers; using osu.Game.Configuration; using osu.Game.Rulesets; using osu.Game.Rulesets.Mods; using o...
// 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 NUnit.Framework; using osu.Framework.Graphics.Containers; using osu.Game.Configuration; using osu.Game.Rulesets; using osu.Game.Rulesets.Mods; using o...
mit
C#
9475d3bb08b05b5e69708d37f2c603ddc66c8635
Add support for `Mandate` in `ChargePaymentMethodDetailsAcssDebit`
stripe/stripe-dotnet
src/Stripe.net/Entities/Charges/ChargePaymentMethodDetails/ChargePaymentMethodDetailsAcssDebit.cs
src/Stripe.net/Entities/Charges/ChargePaymentMethodDetails/ChargePaymentMethodDetailsAcssDebit.cs
namespace Stripe { using Newtonsoft.Json; using Stripe.Infrastructure; public class ChargePaymentMethodDetailsAcssDebit : StripeEntity<ChargePaymentMethodDetailsAcssDebit> { /// <summary> /// Uniquely identifies this particular bank account. You can use this attribute to check /...
namespace Stripe { using Newtonsoft.Json; using Stripe.Infrastructure; public class ChargePaymentMethodDetailsAcssDebit : StripeEntity<ChargePaymentMethodDetailsAcssDebit> { /// <summary> /// Uniquely identifies this particular bank account. You can use this attribute to check /...
apache-2.0
C#
22d9a39a1e0c197d923f507fccac8fa91678b1a9
Remove unnecessary using
MahApps/MahApps.Metro,ye4241/MahApps.Metro,Evangelink/MahApps.Metro,batzen/MahApps.Metro,xxMUROxx/MahApps.Metro
src/MahApps.Metro/MahApps.Metro.Shared/Controls/Dialogs/MetroDialogAutomationPeer.cs
src/MahApps.Metro/MahApps.Metro.Shared/Controls/Dialogs/MetroDialogAutomationPeer.cs
using System.Windows.Automation.Peers; namespace MahApps.Metro.Controls.Dialogs { public class MetroDialogAutomationPeer : FrameworkElementAutomationPeer { public MetroDialogAutomationPeer(BaseMetroDialog owner) : base(owner) { } protected override string GetClassN...
using System; using System.Windows.Automation.Peers; namespace MahApps.Metro.Controls.Dialogs { public class MetroDialogAutomationPeer : FrameworkElementAutomationPeer { public MetroDialogAutomationPeer(BaseMetroDialog owner) : base(owner) { } protected override st...
mit
C#