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
0ca78fb08ef1c53023cab7b05ef07ad3da41d1d6
bump version
Fody/Publicize
CommonAssemblyInfo.cs
CommonAssemblyInfo.cs
using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyTitle("Publicize")] [assembly: AssemblyProduct("Publicize")] [assembly: ComVisible(false)] [assembly: AssemblyVersion("0.9.0.0")] [assembly: AssemblyFileVersion("0.9.0.0")]
using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyTitle("Publicize")] [assembly: AssemblyProduct("Publicize")] [assembly: ComVisible(false)] [assembly: AssemblyVersion("0.8.0.0")] [assembly: AssemblyFileVersion("0.8.0.0")]
mit
C#
3f070e20ba49dbca8f6f80f9d1167c7d09f7e0b1
Print the sha which was excluded from version calculation
dazinator/GitVersion,GitTools/GitVersion,dpurge/GitVersion,JakeGinnivan/GitVersion,asbjornu/GitVersion,gep13/GitVersion,ermshiperete/GitVersion,onovotny/GitVersion,ParticularLabs/GitVersion,JakeGinnivan/GitVersion,gep13/GitVersion,JakeGinnivan/GitVersion,GitTools/GitVersion,ermshiperete/GitVersion,onovotny/GitVersion,a...
src/GitVersionCore/VersionFilters/ShaVersionFilter.cs
src/GitVersionCore/VersionFilters/ShaVersionFilter.cs
using System; using System.Collections.Generic; using System.Linq; using GitVersion.VersionCalculation.BaseVersionCalculators; namespace GitVersion.VersionFilters { public class ShaVersionFilter : IVersionFilter { private readonly IEnumerable<string> shas; public ShaVersionFilter(IEnumerable<...
using System; using System.Collections.Generic; using System.Linq; using GitVersion.VersionCalculation.BaseVersionCalculators; namespace GitVersion.VersionFilters { public class ShaVersionFilter : IVersionFilter { private readonly IEnumerable<string> shas; public ShaVersionFilter(IEnumerable<...
mit
C#
6116e4a2b65dfcd11da7d04c2f39dda2b5cb4312
Fix namespace
mdavid/manos-spdy,jmptrader/manos,mdavid/manos-spdy,jacksonh/manos,jacksonh/manos,jacksonh/manos,mdavid/manos-spdy,jmptrader/manos,jacksonh/manos,mdavid/manos-spdy,mdavid/manos-spdy,mdavid/manos-spdy,jmptrader/manos,jacksonh/manos,jmptrader/manos,jmptrader/manos,jmptrader/manos,mdavid/manos-spdy,jacksonh/manos,jmptrade...
src/Manos/Manos.Server.Testing/MockHttpTransaction.cs
src/Manos/Manos.Server.Testing/MockHttpTransaction.cs
using System; namespace Manos.Server.Testing { public class MockHttpTransaction { public MockHttpTransaction () { } } }
using System; namespace Mango.Server.Testing { public class MockHttpTransaction { public MockHttpTransaction () { } } }
mit
C#
7ce03971103f601ad6009a1321d1b8edbe4b16f1
Update EGamePlayers.cs
pushyka/chess-all
Model/EGamePlayers.cs
Model/EGamePlayers.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace chess.Model { /* Enum representing the player values for chess and tictactoe. */ public enum EGamePlayers { White, Black, X, O } }
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace chess.Model { /* Enum representing the various game pieces for chess and tictactoe. */ public enum EGamePlayers { White, Black, X, O } }
mit
C#
ae224222d528fd7a72fb87fd2d278ad53bf1a183
Change glimpse security policy
EmilPD/Common-News,EmilPD/Common-News,EmilPD/Common-News
src/Web/CommonNews.Web/App_Start/GlimpseSecurityPolicy.cs
src/Web/CommonNews.Web/App_Start/GlimpseSecurityPolicy.cs
// Uncomment this class to provide custom runtime policy for Glimpse namespace CommonNews.Web { using Glimpse.AspNet.Extensions; using Glimpse.Core.Extensibility; public class GlimpseSecurityPolicy : IRuntimePolicy { public RuntimeEvent ExecuteOn { // The RuntimeEvent.Exe...
/* // Uncomment this class to provide custom runtime policy for Glimpse using Glimpse.AspNet.Extensions; using Glimpse.Core.Extensibility; namespace CommonNews.Web { public class GlimpseSecurityPolicy:IRuntimePolicy { public RuntimePolicy Execute(IRuntimePolicyContext policyContext) { ...
mit
C#
4bb2f84ede9be4efbb0ee980e8ad8464e9bab301
add META to CommandType.cs
McSherry/AppsAgainstHumanity
CsNetLib2/CommandType.cs
CsNetLib2/CommandType.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CsNetLib2 { public enum CommandType { JOIN, ACKN, REFU, NICK, NACC, NDNY, CLNF, CLJN, CLEX, SMSG, RMSG, BDCS, PONG, GSTR, RSTR, BLCK, WHTE...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CsNetLib2 { public enum CommandType { JOIN, ACKN, REFU, NICK, NACC, NDNY, CLNF, CLJN, CLEX, SMSG, RMSG, BDCS, PONG, GSTR, RSTR, BLCK, WHTE...
apache-2.0
C#
0cd9ddb448f3be4bbea004fafda06c749f2925fe
Add diacritic detection to CharSetDetector
blakeohare/crayon,blakeohare/crayon,blakeohare/crayon,blakeohare/crayon,blakeohare/crayon,blakeohare/crayon,blakeohare/crayon,blakeohare/crayon
Localization/CharSetDetector.cs
Localization/CharSetDetector.cs
using System.Collections.Generic; namespace Localization { public enum CharType { UNKNOWN, BASIC_SET, LETTER, ACCENTED, NUMBER, HIRAGANA, KATAKANA, KANJI, } public class CharSetDetector { private static Di...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Localization { public enum CharType { UNKNOWN, BASIC_SET, LETTER, ACCENTED, NUMBER, HIRAGANA, KATAKANA, ...
mit
C#
d965d8f20494dc1d20e78087f8ea2903bd0b9efc
Test commit from Visual Studio
yishn/GTPWrapper
GTPWrapper/GTPWrapper.cs
GTPWrapper/GTPWrapper.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace GTPWrapper { public class GTPWrapper { public GTPWrapper() { } public string Command(string input) { return "="; } } }
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace GTPWrapper { public class GTPWrapper { public GTPWrapper() { } public string Command(string input) { return ""; } } }
mit
C#
804005337bded004aa853277578a76bfe73b0447
add doc for the Misc API client
devkhan/octokit.net,cH40z-Lord/octokit.net,gabrielweyer/octokit.net,khellang/octokit.net,forki/octokit.net,octokit-net-test-org/octokit.net,nsnnnnrn/octokit.net,shiftkey-tester-org-blah-blah/octokit.net,TattsGroup/octokit.net,shiftkey-tester-org-blah-blah/octokit.net,nsrnnnnn/octokit.net,dampir/octokit.net,hahmed/octok...
Octokit/IMiscellaneousClient.cs
Octokit/IMiscellaneousClient.cs
using System; #if NET_45 using System.Collections.ObjectModel; #endif using System.Diagnostics.CodeAnalysis; using System.Threading.Tasks; namespace Octokit { /// <summary> /// /// A client for GitHub's miscellaneous APIs. /// </summary> /// <remarks> /// See the <a href="http://developer.github.c...
using System; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Threading.Tasks; namespace Octokit { public interface IMiscellaneousClient { [SuppressMessage("Microsoft.Design", "CA1024:UsePropertiesWhereAppropriate")] Task<IReadOnlyDictionary<string, Uri>> ...
mit
C#
fa7da473d0cff9de49ba2911a8b57d68fc4f0641
Fix LogComponent using wrong entity prototype
space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14
Content.Server/GameObjects/Components/Botany/LogComponent.cs
Content.Server/GameObjects/Components/Botany/LogComponent.cs
using System.Threading.Tasks; using Content.Shared.GameObjects.Components.Tag; using Content.Shared.GameObjects.EntitySystems.ActionBlocker; using Content.Shared.Interfaces.GameObjects.Components; using Content.Shared.Utility; using Robust.Shared.GameObjects; namespace Content.Server.GameObjects.Components.Botany { ...
using System.Threading.Tasks; using Content.Shared.GameObjects.Components.Tag; using Content.Shared.GameObjects.EntitySystems.ActionBlocker; using Content.Shared.Interfaces.GameObjects.Components; using Content.Shared.Utility; using Robust.Shared.GameObjects; namespace Content.Server.GameObjects.Components.Botany { ...
mit
C#
260f1450af21767aea3eb8ff9325fccfaa4090cb
Test fix
Shuttle/shuttle-core-infrastructure,Shuttle/Shuttle.Core.Infrastructure
Shuttle.Core.Infrastructure.Tests/StreamExtensionsFixture.cs
Shuttle.Core.Infrastructure.Tests/StreamExtensionsFixture.cs
using System.IO; using NUnit.Framework; namespace Shuttle.Core.Infrastructure.Tests { [TestFixture] public class StreamExtensionsFixture { [Test] public void Should_be_able_to_convert_a_stream_to_an_array_of_bytes() { var stream = new MemoryStream(new byte[] {0, 1, 2, 3,...
using System.IO; using NUnit.Framework; namespace Shuttle.Core.Infrastructure.Tests { [TestFixture] public class StreamExtensionsFixture { [Test] public void Should_be_able_to_convert_a_stream_to_an_array_of_bytes() { var stream = new MemoryStream(new byte[] {0, 1, 2, 3,...
bsd-3-clause
C#
d80fe92ea6664d63e14e973b4e18e37868ba0567
Remove unnecessary check for SharpZipLib dll.
cloudfoundry/IronFrame,cloudfoundry-incubator/if_warden,cloudfoundry-incubator/IronFrame,stefanschneider/IronFrame,cloudfoundry-incubator/if_warden,stefanschneider/IronFrame,cloudfoundry/IronFrame,cloudfoundry-incubator/IronFrame
IronFoundry.Container/ContainerHostDependencyHelper.cs
IronFoundry.Container/ContainerHostDependencyHelper.cs
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Reflection; namespace IronFoundry.Container { public class ContainerHostDependencyHelper { const string ContainerHostAssemblyName = "IronFoundry.Container.Host"; readonly Assembly containerHostAss...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Reflection; namespace IronFoundry.Container { public class ContainerHostDependencyHelper { const string ContainerHostAssemblyName = "IronFoundry.Container.Host"; readonly Assembly containerHostAss...
apache-2.0
C#
7d741f2c6052795b4b5c9c555efc634295d791d2
fix extension reference
monoman/PackageManagerAddin
NuPackAddin.Commands/PackageReferenceCommandHandler.cs
NuPackAddin.Commands/PackageReferenceCommandHandler.cs
using System; using System.IO; using System.Collections.Generic; using System.Linq; using System.Text; using MonoDevelop.Components.Commands; using MonoDevelop.Core; using MonoDevelop.Projects; using MonoDevelop.Ide.Gui.Components; using MonoDevelop.Ide; using NuPackAddin.Dialogs; using NuPackAddin.Extensions; name...
using System; using System.IO; using System.Collections.Generic; using System.Linq; using System.Text; using MonoDevelop.Components.Commands; using MonoDevelop.Core; using MonoDevelop.Projects; using MonoDevelop.Ide.Gui.Components; using MonoDevelop.Ide; using NuPackAddin.Dialogs; namespace NuPackAddin.Commands { ...
apache-2.0
C#
93f92fb846208edf1c6a53f16aef7ac8bf1647bd
Format DescribeRequest
carbon/Amazon
src/Amazon.Ec2/Actions/DescribeRequest.cs
src/Amazon.Ec2/Actions/DescribeRequest.cs
#nullable enable using System.Collections.Generic; using System.Globalization; namespace Amazon.Ec2 { public abstract class DescribeRequest { public int? MaxResults { get; set; } public string? NextToken { get; set; } public List<Filter> Filters { get; } = new List<Filt...
#nullable enable using System; using System.Collections.Generic; namespace Amazon.Ec2 { public abstract class DescribeRequest { public int? MaxResults { get; set; } public string? NextToken { get; set; } public List<Filter> Filters { get; } = new List<Filter>(); ...
mit
C#
ba1c9bc8e47919a3d901675a4de37fb8287a932b
Set RemoteEndPoint for UDP connections
kerryjiang/SuperSocket,kerryjiang/SuperSocket
src/SuperSocket.Channel/UdpPipeChannel.cs
src/SuperSocket.Channel/UdpPipeChannel.cs
using System; using System.Buffers; using System.Net; using System.Net.Sockets; using System.Threading; using System.Threading.Tasks; using SuperSocket.ProtoBase; namespace SuperSocket.Channel { public class UdpPipeChannel<TPackageInfo> : VirtualChannel<TPackageInfo>, IChannelWithSessionIdentifier { pr...
using System; using System.Buffers; using System.Net; using System.Net.Sockets; using System.Threading; using System.Threading.Tasks; using SuperSocket.ProtoBase; namespace SuperSocket.Channel { public class UdpPipeChannel<TPackageInfo> : VirtualChannel<TPackageInfo>, IChannelWithSessionIdentifier { pr...
apache-2.0
C#
576c1bf81c1b2d741f032644c7bacf95f6cfe226
add comment
bordoley/RxApp
RxApp.Android/Interfaces.cs
RxApp.Android/Interfaces.cs
using System; using System.ComponentModel; namespace RxApp { public interface IRxApplication : IAndroidApplication { void OnActivityCreated(IRxActivity activity); } // FIXME: Consider exposing Activity callbacks as observables // obvious example is OnOptionsItemSelected. Its a slippery sl...
using System; using System.ComponentModel; namespace RxApp { public interface IRxApplication : IAndroidApplication { void OnActivityCreated(IRxActivity activity); } public interface IRxActivity : IActivity, IViewFor { } public interface IRxActivity<TViewModel> : IRxActivity, IVie...
apache-2.0
C#
4be4cfc564c7d381ce6bceaa64716bd3e2304111
Set Browsable to false to hide DockPanel.Skin property.
RadarNyan/dockpanelsuite,angelapper/dockpanelsuite,compborg/dockpanelsuite,Romout/dockpanelsuite,transistor1/dockpanelsuite,dockpanelsuite/dockpanelsuite,shintadono/dockpanelsuite,joelbyren/dockpanelsuite,xo-energy/dockpanelsuite
WinFormsUI/Docking/DockPanel.Appearance.cs
WinFormsUI/Docking/DockPanel.Appearance.cs
using System; namespace WeifenLuo.WinFormsUI.Docking { using System.ComponentModel; public partial class DockPanel { private DockPanelSkin m_dockPanelSkin = VS2005Theme.CreateVisualStudio2005(); [LocalizedCategory("Category_Docking")] [LocalizedDescription("DockPanel_DockPanelSkin...
using System; namespace WeifenLuo.WinFormsUI.Docking { using System.ComponentModel; public partial class DockPanel { private DockPanelSkin m_dockPanelSkin = VS2005Theme.CreateVisualStudio2005(); [LocalizedCategory("Category_Docking")] [LocalizedDescription("DockPanel_DockPanelSkin...
mit
C#
c4a1d7c53bc254e997789cc8cc4479fdfda1403d
fix callback
WojcikMike/docs.particular.net,eclaus/docs.particular.net,pedroreys/docs.particular.net,pashute/docs.particular.net,yuxuac/docs.particular.net
Snippets/Snippets_3/Callback/Callback.cs
Snippets/Snippets_3/Callback/Callback.cs
namespace MyServer.Callback { using System; using NServiceBus; public class Callback { class PlaceOrder : ICommand { } class PlaceOrderResponse : IMessage { public object Response { get; set; } } public void CallbackSnippet() ...
namespace MyServer.Callback { using System; using NServiceBus; public class Callback { class PlaceOrder : ICommand { } class PlaceOrderResponse : IMessage { public object Response { get; set; } } public void CallbackSnippet() ...
apache-2.0
C#
412ba6ac9919ba53669cd212359f150b7b60cfe9
make error message explicit
shana/NullGuard,ulrichb/NullGuard,Fody/NullGuard
Tests/Verifier.cs
Tests/Verifier.cs
using System; using System.Diagnostics; using System.IO; using System.Text.RegularExpressions; using NUnit.Framework; public static class Verifier { public static void Verify(string beforeAssemblyPath, string afterAssemblyPath) { var before = Validate(beforeAssemblyPath); var after = Validate(afterAssembl...
using System; using System.Diagnostics; using System.IO; using System.Text.RegularExpressions; using NUnit.Framework; public static class Verifier { public static void Verify(string beforeAssemblyPath, string afterAssemblyPath) { var before = Validate(beforeAssemblyPath); var after = Validate(afterAssembl...
mit
C#
4d3bfb14097a6dd41220b040603d68d832cd7611
Fix compilation issue
pamidur/aspect-injector
AspectInjector.Broker/AccessModifiers.cs
AspectInjector.Broker/AccessModifiers.cs
using System; using System.Collections.Generic; using System.Text; namespace AspectInjector.Broker { [Flags] public enum AccessModifiers { Private = 1, Protected = 2, Internal = 4, ProtectedInternal = 8, Public = 16 } }
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace AspectInjector.Broker { [Flags] public enum AccessModifiers { Private = 1, Protected = 2, Internal = 4, ProtectedInternal = 8, Public = 16 } }
apache-2.0
C#
85a1a1d4e981e184f2f5d91c41a4d3be2a4ea3fa
Remove one virtual call from StreamHelpers.ValidateCopyToArgs (#8361)
parjong/coreclr,mskvortsov/coreclr,wateret/coreclr,neurospeech/coreclr,AlexGhiondea/coreclr,poizan42/coreclr,cmckinsey/coreclr,qiudesong/coreclr,JosephTremoulet/coreclr,sagood/coreclr,AlexGhiondea/coreclr,mmitche/coreclr,yeaicc/coreclr,alexperovich/coreclr,botaberg/coreclr,cmckinsey/coreclr,ruben-ayrapetyan/coreclr,krk...
src/mscorlib/src/System/IO/StreamHelpers.CopyValidation.cs
src/mscorlib/src/System/IO/StreamHelpers.CopyValidation.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. namespace System.IO { /// <summary>Provides methods to help in the implementation of Stream-derived types.</summ...
// 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.IO { /// <summary>Provides methods to help in the implementation of Stream-derived types.</summ...
mit
C#
88e55fa7685aa901564003e0f60efdde3ca99c24
Fix code analysis issue
spritely/Foundations.WebApi
Foundations.WebApi/GlobalSuppressions.cs
Foundations.WebApi/GlobalSuppressions.cs
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="GlobalSuppressions.cs"> // Copyright (c) 2017. All rights reserved. Licensed under the MIT license. See LICENSE file in // the project root for full license information. /...
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="GlobalSuppressions.cs"> // Copyright (c) 2017. All rights reserved. Licensed under the MIT license. See LICENSE file in // the project root for full license information. /...
mit
C#
0f4be1f966800ff5eeda575f4dbdb66bb428cd51
Add test: CanRequestChunkEncodedAsync
nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet
MagicalCryptoWallet.Tests/TorTests.cs
MagicalCryptoWallet.Tests/TorTests.cs
using MagicalCryptoWallet.TorSocks5; using System; using System.Collections.Generic; using System.Net.Http; using System.Text; using System.Text.RegularExpressions; using System.Threading.Tasks; using Xunit; namespace MagicalCryptoWallet.Tests { // Tor must be running public class TorTests : IClassFixture<Shared...
using MagicalCryptoWallet.TorSocks5; using System; using System.Collections.Generic; using System.Net.Http; using System.Text; using System.Threading.Tasks; using Xunit; namespace MagicalCryptoWallet.Tests { // Tor must be running public class TorTests : IClassFixture<SharedFixture> { private SharedFixture Sh...
mit
C#
f7d4f3be06f0cb451af656eca806dcfc03c5cf2c
Remove Cache From Print Version
mazzimo/blog,mazzimo/blog
Mazzimo/Controllers/HomeController.cs
Mazzimo/Controllers/HomeController.cs
using Mazzimo.Models; using Mazzimo.Repositories; using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; namespace Mazzimo.Controllers { public class HomeController : Controller { IPostRepository _postRepo; IResumeRepos...
using Mazzimo.Models; using Mazzimo.Repositories; using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; namespace Mazzimo.Controllers { public class HomeController : Controller { IPostRepository _postRepo; IResumeRepos...
cc0-1.0
C#
5c4c3612ccca83f788880ada7f00018963e2928c
Include info level.
MindscapeHQ/raygun4net,MindscapeHQ/raygun4net,MindscapeHQ/raygun4net
Mindscape.Raygun4Net.Xamarin.iOS.Unified/RaygunLogLevel.cs
Mindscape.Raygun4Net.Xamarin.iOS.Unified/RaygunLogLevel.cs
using System; namespace Mindscape.Raygun4Net.Xamarin.iOS.Unified { public enum RaygunLogLevel { Error, Warning, Info, Debug, Verbose } }
using System; namespace Mindscape.Raygun4Net.Xamarin.iOS.Unified { public enum RaygunLogLevel { Error, Warning, Debug, Verbose } }
mit
C#
ecc9bdf91fe67d88e08834b95967913276aeb8b2
Rename "Keep Size" to "Original Size"
ivanz/PicasaUploader,ivanz/PicasaUploader
PicasaUploader/Utilities/ImageSize.cs
PicasaUploader/Utilities/ImageSize.cs
// // Copyright (c) 2009 Ivan N. Zlatev <contact@i-nz.net> // // Authors: // Ivan N. Zlatev <contact@i-nz.net> // // License: MIT/X11 - See LICENSE.txt // using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Drawing; namespace PicasaUploader { class Ima...
// // Copyright (c) 2009 Ivan N. Zlatev <contact@i-nz.net> // // Authors: // Ivan N. Zlatev <contact@i-nz.net> // // License: MIT/X11 - See LICENSE.txt // using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Drawing; namespace PicasaUploader { class Ima...
mit
C#
c78886489d837bdc5a560cb1d41fee63c7657a94
Update ServiceProviderFixture.cs
tiksn/TIKSN-Framework
TIKSN.Framework.IntegrationTests/ServiceProviderFixture.cs
TIKSN.Framework.IntegrationTests/ServiceProviderFixture.cs
using System; using System.Collections.Generic; using Autofac; using Autofac.Extensions.DependencyInjection; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Hosting; using TIKSN.Data.Mongo; using TIKSN.DependencyInjection; using TIKSN.Framework.IntegrationTests.Data.Mongo; namespace TIKSN.Framewor...
using System; using System.Collections.Generic; using Autofac; using Autofac.Extensions.DependencyInjection; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Hosting; using TIKSN.Data.Mongo; using TIKSN.DependencyInjection; using TIKSN.Framework.IntegrationTests.Data.Mongo; namespace TIKSN.Framewor...
mit
C#
cd377e64450d8e6274a90a3e90ef6d77c5e1f078
Fix incorrect balance
nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet
WalletWasabi.Gui/Controls/WalletExplorer/WalletViewModel.cs
WalletWasabi.Gui/Controls/WalletExplorer/WalletViewModel.cs
using System; using System.Collections.ObjectModel; using System.Composition; using System.Linq; using System.Reactive.Linq; using AvalonStudio.Extensibility; using AvalonStudio.Shell; using NBitcoin; using ReactiveUI; using WalletWasabi.Gui.ViewModels; using WalletWasabi.Models; namespace WalletWasabi.Gui.Controls.Wa...
using System; using System.Collections.ObjectModel; using System.Composition; using System.Linq; using System.Reactive.Linq; using AvalonStudio.Extensibility; using AvalonStudio.Shell; using NBitcoin; using ReactiveUI; using WalletWasabi.Gui.ViewModels; using WalletWasabi.Models; namespace WalletWasabi.Gui.Controls.Wa...
mit
C#
0f4510fa1a612fff0d369f525b64169a4e14d6b5
add main ctor
pashchuk/Numerical-methods,pashchuk/Numerical-methods
CSharp/Nums/SeidelMethod.cs
CSharp/Nums/SeidelMethod.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Nums { public class SeidelMethod { #region Fields private Matrix<double> _matrix; private double[] _vector; #endregion #region Properties #endregion #region Costructors ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Nums { class SeidelMethod { } }
mit
C#
0f8eebb053f7bf4392066c970335f9789cf6a6c0
Simplify C# headless blinky sample
dotMorten/samples,sewong/samples,Sumahitha/samples,ricl/samples,MasayukiNagase/samples,javiddhankwala/samples,HerrickSpencer/samples,jayhopeter/samples,sewong/samples,rachitb777/samples,parameshbabu/samples,sewong/samples,jessekaplan/samples,MagicBunny/samples,Sumahitha/samples,sewong/samples,rachitb777/samples,dotMort...
BlinkyHeadless/CS/StartupTask.cs
BlinkyHeadless/CS/StartupTask.cs
/* Copyright(c) Microsoft Open Technologies, Inc. All rights reserved. The MIT License(MIT) 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 with...
/* Copyright(c) Microsoft Open Technologies, Inc. All rights reserved. The MIT License(MIT) 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 with...
mit
C#
c368ec23e2282750276780bbb4c6aafd3556f8f3
refactor HoganCompiler to only build the ScriptEngine once ala CoffeeScriptCompiler
wolfgang42/SquishIt,farans/SquishIt,jetheredge/SquishIt,Worthaboutapig/SquishIt,0liver/SquishIt,AlexCuse/SquishIt,AlexCuse/SquishIt,0liver/SquishIt,farans/SquishIt,Worthaboutapig/AC-SquishIt,wolfgang42/SquishIt,AlexCuse/SquishIt,Worthaboutapig/AC-SquishIt,jetheredge/SquishIt,farans/SquishIt,AlexCuse/SquishIt,jetheredge...
SquishIt.Hogan/Hogan/HoganCompiler.cs
SquishIt.Hogan/Hogan/HoganCompiler.cs
using System.IO; using System.Reflection; using Jurassic; namespace SquishIt.Hogan.Hogan { public class HoganCompiler { static string _hogan; static ScriptEngine _engine; public string Compile(string input) { return HoganEngine.CallGlobalFunction<string>("compile",...
using System.IO; using System.Reflection; using Jurassic; namespace SquishIt.Hogan.Hogan { public class HoganCompiler { private static string _hogan; private readonly ScriptEngine _scriptEngine; public HoganCompiler() { _scriptEngine = new ScriptEngine {EnableDebug...
mit
C#
a16e5be5e74f8956e087abfb920bb7e625ae8bca
fix issue serializing duration
IUMDPI/IUMediaHelperApps
Common/Models/OperationResult.cs
Common/Models/OperationResult.cs
using System; using System.Collections.Generic; using System.IO; using System.Threading.Tasks; using System.Xml; using System.Xml.Serialization; namespace Common.Models { public abstract class OperationReport { private TimeSpan _duration; [XmlAttribute("Timestamp")] public DateTime Ti...
using System; using System.Collections.Generic; using System.IO; using System.Threading.Tasks; using System.Xml; using System.Xml.Serialization; namespace Common.Models { public abstract class OperationReport { [XmlAttribute("Timestamp")] public DateTime Timestamp { get; set; } public ...
apache-2.0
C#
f2a10913cea8171255bcb15dc64afbfe34cde8a4
add missing copyright
RachelTucker/ds3_net_sdk,SpectraLogic/ds3_net_sdk,shabtaisharon/ds3_net_sdk,SpectraLogic/ds3_net_sdk,shabtaisharon/ds3_net_sdk,RachelTucker/ds3_net_sdk,SpectraLogic/ds3_net_sdk,shabtaisharon/ds3_net_sdk,RachelTucker/ds3_net_sdk
Ds3/Runtime/RuntimeUtils.cs
Ds3/Runtime/RuntimeUtils.cs
/* * ****************************************************************************** * Copyright 2014-2016 Spectra Logic Corporation. All Rights Reserved. * Licensed under the Apache License, Version 2.0 (the "License"). You may not use * this file except in compliance with the License. A copy of the License ...
using System; namespace Ds3.Runtime { public static class RuntimeUtils { public static bool IsRunningOnMono() { return Type.GetType("Mono.Runtime") != null; } } }
apache-2.0
C#
09b2abe4192f8395f5d6b3d9b44d5423a9283440
Remove unused operator.
Iscgx/GCL
GCL.Syntax/Data/NodeArea.cs
GCL.Syntax/Data/NodeArea.cs
using System; using System.Collections.Generic; using System.Linq; namespace GCL.Syntax.Data { public class NodeArea : HashSet<Element> { private int hashCode = 0; public NodeArea() { } public NodeArea(IEnumerable<Element> collection) : base(collection) { ...
using System; using System.Collections.Generic; using System.Linq; namespace GCL.Syntax.Data { public class NodeArea : HashSet<Element> { private int hashCode = 0; public NodeArea() { } public NodeArea(IEnumerable<Element> collection) : base(collection) { ...
mit
C#
61bf25333a37e4b8f339a65a0787a0066dc5485a
Update Bugsnag.PCL UnWrap extension method
awseward/Bugsnag.NET,awseward/Bugsnag.NET
Bugsnag.PCL/Extensions/Extensions.cs
Bugsnag.PCL/Extensions/Extensions.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; namespace Bugsnag.PCL.Extensions { static class Extensions { /// <remarks>Not sure I'm really thrilled with this...</remarks> public static IEnumerable<Exception> Unwrap(this Exception ex) ...
using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; namespace Bugsnag.PCL.Extensions { static class Extensions { /// <remarks>Not sure I'm really thrilled with this...</remarks> public static IEnumerable<Exception> Unwrap(this Exception ex) ...
mit
C#
1d2733ddc810c0dd92c09c32d158c46df60ca7b2
add some comments and timeout parameter to send
vforteli/RadiusServer
Classes/RadiusClient.cs
Classes/RadiusClient.cs
using System; using System.Net; using System.Net.Sockets; using System.Threading; using System.Threading.Tasks; namespace Flexinets.Radius { public class RadiusClient { private readonly UdpClient _udpClient; private readonly RadiusDictionary _dictionary; public RadiusClient(IPEndPoint...
using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Sockets; using System.Text; using System.Threading; using System.Threading.Tasks; namespace Flexinets.Radius { public class RadiusClient { private readonly UdpClient _udpClient; private readon...
mit
C#
dff9958db34117dd9496cd74f99d1fea11873196
Update AutofacExtensions.cs
galaktor/autofac-extensions
AutofacExtensions.cs
AutofacExtensions.cs
using System; using Autofac.Builder; namespace Autofac { // TODO: move these into extra DLL within Autofac package! consider extra package if this grows into more... public static class AutofacExtensions { /// <summary> /// Forces resolve of a single instance of T. Useful for servi...
using System; using Autofac.Builder; namespace Autofac { // TODO: move these into extra DLL within Autofac package! consider extra package if this grows into more... public static class AutofacExtensions { /// <summary> /// Forces resolve of a single instance of T. Useful for servi...
mit
C#
c78421497eb3baaf0f50c244d638e91bc4021cd4
move logging middleware to capture api too
Pondidum/Magistrate,Pondidum/Magistrate,Pondidum/Magistrate,Pondidum/Magistrate
Sample.Host/Program.cs
Sample.Host/Program.cs
using System; using System.Security.Claims; using Ledger.Stores; using Magistrate; using Microsoft.Owin.Hosting; using Serilog; namespace Sample.Host { class Program { static void Main(string[] args) { var host = WebApp.Start("http://localhost:4444", app => { Log.Logger = new LoggerConfiguration() ...
using System; using System.Security.Claims; using Ledger.Stores; using Magistrate; using Microsoft.Owin.Hosting; using Serilog; namespace Sample.Host { class Program { static void Main(string[] args) { var host = WebApp.Start("http://localhost:4444", app => { //add a login provider here //app.Use<...
lgpl-2.1
C#
d77ca5e124fb77331983dabf6aee25ecaed9e6ca
Add a sample code with commented assignments
anjdreas/roslyn-analyzers
SampleConsoleApp/Program.cs
SampleConsoleApp/Program.cs
namespace SampleConsoleApp { internal static class Program { private static void Main() { // ObjectInitializer_AssignAll enable var foo = new Foo { // Commented assignments after opening brace. // PropCommented1 = 1, ...
namespace SampleConsoleApp { internal static class Program { private static void Main(string[] args) { // ObjectInitializer_AssignAll enable var foo2 = new Foo { }; //Foo foo = new Foo //{ // //PropInt = 1, ...
mit
C#
732417852fa45eb4b7315eb713f82e6bd867df22
Revert "Missing ; -.-"
TheScienceOfCode/Sibelius.Web,TheScienceOfCode/Sibelius.Web,TheScienceOfCode/Sibelius.Web
Sibelius.Web/Data/Global.cs
Sibelius.Web/Data/Global.cs
using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace Sibelius.Web.Data { public static class Global { public static readonly string Connection = Environment.GetEnvironmentVariable("CUSTOMCONNSTR_MONGOLAB_URI"); //"mongodb:/...
using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace Sibelius.Web.Data { public static class Global { public static readonly string Connection = //Environment.GetEnvironmentVariable("CUSTOMCONNSTR_MONGOLAB_URI"); "mongodb:/...
mit
C#
4bcf1193affb0885ae9fe984ee53a8d91f2cf8db
Test new collaboration
bioepic-blake/RPG
RPG3/SkeletonWorrior.cs
RPG3/SkeletonWorrior.cs
using System; namespace RPG3 { public class SkeletonWorrior : enermy { public string weaponName { get; set; } public SkeletonWorrior(string name, string WeaponS) : base(name) { weaponName = WeaponS; } public void Ignore() { } public override int _DamageSet() { _weaponDamage += 9; r...
using System; namespace RPG3 { public class SkeletonWorrior : enermy { public string weaponName { get; set; } public SkeletonWorrior(string name, string WeaponS) :base(name) { weaponName = WeaponS; } public override int _DamageSet() { _weaponDamage += 9; return _weaponDamage; } publi...
mit
C#
6f39ee9bb2c83769cadcef69113bef59e1a248c1
add stats to the tests
RPCS3/discord-bot
Tests/LogParsingProfiler.cs
Tests/LogParsingProfiler.cs
using System; using System.IO.Pipelines; using System.Linq; using System.Threading; using System.Threading.Tasks; using CompatBot; using CompatBot.EventHandlers.LogParsing; using CompatBot.EventHandlers.LogParsing.ArchiveHandlers; using CompatBot.EventHandlers.LogParsing.SourceHandlers; using NUnit.Framework; namespa...
using System.IO.Pipelines; using System.Threading; using System.Threading.Tasks; using CompatBot.EventHandlers.LogParsing; using CompatBot.EventHandlers.LogParsing.ArchiveHandlers; using CompatBot.EventHandlers.LogParsing.SourceHandlers; using NUnit.Framework; namespace Tests { [TestFixture] public class LogP...
lgpl-2.1
C#
db00e53b349b627d6f8fd3b3b639e594286093d8
Add new status fields
Inumedia/SlackAPI
SlackAPI/UserProfile.cs
SlackAPI/UserProfile.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SlackAPI { public class UserProfile { public string first_name; public string last_name; public string real_name; public string email; public st...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SlackAPI { public class UserProfile { public string first_name; public string last_name; public string real_name; public string email; public st...
mit
C#
00658f992321a9290b65692de0effec7c12fec08
Disable running IL2CPU in process.
jp2masa/Cosmos,zarlo/Cosmos,tgiphil/Cosmos,CosmosOS/Cosmos,zarlo/Cosmos,trivalik/Cosmos,CosmosOS/Cosmos,tgiphil/Cosmos,jp2masa/Cosmos,CosmosOS/Cosmos,fanoI/Cosmos,trivalik/Cosmos,trivalik/Cosmos,jp2masa/Cosmos,CosmosOS/Cosmos,fanoI/Cosmos,fanoI/Cosmos,zarlo/Cosmos,tgiphil/Cosmos,zarlo/Cosmos
Users/Matthijs/DebugCompiler/MyEngine.cs
Users/Matthijs/DebugCompiler/MyEngine.cs
using System; using System.IO; using Cosmos.Build.Common; using Cosmos.TestRunner.Core; using NUnit.Framework; namespace DebugCompiler { [TestFixture] public class RunKernels { [TestCaseSource(typeof(MySource), nameof(MySource.ProvideData))] public void Test(Type kernelToRun) { ...
using System; using System.IO; using Cosmos.Build.Common; using Cosmos.TestRunner.Core; using NUnit.Framework; namespace DebugCompiler { [TestFixture] public class RunKernels { [TestCaseSource(typeof(MySource), nameof(MySource.ProvideData))] public void Test(Type kernelToRun) { ...
bsd-3-clause
C#
e184ce9af8688dba3440a4d81cb5431640a52906
move declaration to top (#711)
MarkPieszak/aspnetcore-angular2-universal,MarkPieszak/aspnetcore-angular2-universal,MarkPieszak/aspnetcore-angular2-universal,MarkPieszak/aspnetcore-angular2-universal
Views/Shared/_Layout.cshtml
Views/Shared/_Layout.cshtml
<!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <base href="@(Url.Content("~/"))" /> <title>@ViewData["Title"]</title> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> @Html.Raw(ViewData["Meta"]) @Html.Raw(ViewData["Links"]) <link rel="stylesheet" href="...
<!DOCTYPE html> <html> <head> <base href="@(Url.Content("~/"))" /> <title>@ViewData["Title"]</title> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> @Html.Raw(ViewData["Meta"]) @Html.Raw(ViewData["Links"]) <link rel="stylesheet" href="http...
mit
C#
93c805ba243ce19c504c228e5f2db0a38695eb85
revert gtk osx
nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet
WalletWasabi.Gui/Program.cs
WalletWasabi.Gui/Program.cs
using Avalonia; using AvalonStudio.Shell; using System; using System.IO; using System.Runtime.InteropServices; using System.Threading.Tasks; using WalletWasabi.Gui.ViewModels; using WalletWasabi.Logging; namespace WalletWasabi.Gui { internal class Program { #pragma warning disable IDE1006 // Naming Styles privat...
using Avalonia; using AvalonStudio.Shell; using System; using System.IO; using System.Runtime.InteropServices; using System.Threading.Tasks; using WalletWasabi.Gui.ViewModels; using WalletWasabi.Logging; namespace WalletWasabi.Gui { internal class Program { #pragma warning disable IDE1006 // Naming Styles privat...
mit
C#
907bf70cd3c0fe466014e43a001f62c70bac3c8f
Change -> PropertyChange
afit/HVoIPM
StateUpdateEventArgs.cs
StateUpdateEventArgs.cs
using System; using System.Collections.Generic; using System.Text; using LothianProductions.VoIP.State; namespace LothianProductions.VoIP { public class StateUpdateEventArgs : EventArgs { public StateUpdateEventArgs( IList<DevicePropertyChange> deviceChanges, IList<LinePropertyChange> lineChanges, ...
using System; using System.Collections.Generic; using System.Text; using LothianProductions.VoIP.State; namespace LothianProductions.VoIP { public class StateUpdateEventArgs : EventArgs { public StateUpdateEventArgs( IList<DeviceChange> deviceChanges, IList<LineChange> lineChanges, IList<CallCha...
mit
C#
cc324ee74f42ec89aeec3066f8b7095f9a16c512
Call correct overload of log.FatalAsync
mbrit/MetroLog,thomasgalliker/MetroLog,thomasgalliker/MetroLog,mbrit/MetroLog,onovotny/MetroLog,onovotny/MetroLog,mbrit/MetroLog,onovotny/MetroLog,thomasgalliker/MetroLog
MetroLog.Shared.WinRT/GlobalCrashHandler.cs
MetroLog.Shared.WinRT/GlobalCrashHandler.cs
extern alias pcl; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Windows.UI.Xaml; namespace MetroLog { public static class GlobalCrashHandler { public static void Configure() { Application.Current.Unhandled...
extern alias pcl; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Windows.UI.Xaml; namespace MetroLog { public static class GlobalCrashHandler { public static void Configure() { Application.Current.Unhandled...
mit
C#
f55dd05faa8ab85b815e805b896d317ccf0594c2
Fix test
zr40/kyru-dotnet,zr40/kyru-dotnet
Tests/KademliaIdTest.cs
Tests/KademliaIdTest.cs
using Kyru.Network; using MbUnit.Framework; namespace Tests { internal sealed class KademliaIdTest { [Test, ExpectedInvalidOperationException] public void AllZeroIdMustNotHaveKademliaBucket() { var id = new KademliaId(new byte[20]); id.KademliaBucket(); } [Test] public void TestK...
using Kyru.Network; using MbUnit.Framework; namespace Tests { internal sealed class KademliaIdTest { [Test, ExpectedInvalidOperationException] public void AllZeroIdMustNotHaveKademliaBucket() { var id = new KademliaId(new byte[20]); id.KademliaBucket(); } [Test] public void TestK...
bsd-3-clause
C#
22b7f19cdd860476ae32ad55793408f0e9f824a7
Add missing methods
mausch/ReadOnlyCollections
ReadOnlyCollectionsInterfaces/Interfaces.cs
ReadOnlyCollectionsInterfaces/Interfaces.cs
using System; namespace System.Collections.Generic { #if NET40 public interface IReadOnlyCollection<out T> : IEnumerable<T> { #elif NET20 || NET35 public interface IReadOnlyCollection<T> : IEnumerable<T> { #endif int Count { get; } } #if NET40 public interface IReadOnlyList<out T> :...
using System; namespace System.Collections.Generic { #if NET40 public interface IReadOnlyCollection<out T> : IEnumerable<T> { #elif NET20 || NET35 public interface IReadOnlyCollection<T> : IEnumerable<T> { #endif int Count { get; } } #if NET40 public interface IReadOnlyList<out T> :...
apache-2.0
C#
7f6638b6d39447d733e83c820cff4b18df716009
Test was improved.
Nirklav/BinSerializer
Tests/SerializeTests.cs
Tests/SerializeTests.cs
using Microsoft.VisualStudio.TestTools.UnitTesting; using System; using System.IO; using ThirtyNineEighty.BinSerializer; namespace Tests { [TestClass] public class SerializeTests { [Type("Test")] class Test { [Field("a")] public string StrField; [Field("i")] public int...
using Microsoft.VisualStudio.TestTools.UnitTesting; using System; using System.IO; using ThirtyNineEighty.BinSerializer; namespace Tests { [TestClass] public class SerializeTests { [Type("Test")] class Test { [Field("a")] public string StrField; [Field("i")] public int...
mit
C#
7f8ab2352a6ff93938533ab811a9b73687505df3
add horizontal ruler
bjornhol/furry-bear,bjornhol/furry-bear,bjornhol/furry-bear
Views/Home/Index.cshtml
Views/Home/Index.cshtml
 <div class="text-center"> <h3>Furry Bear</h3> <hr/> <p>Database connection: @ViewBag.Online</p> </div>
 <div class="text-center"> <h3>Furry Bear</h3> <p>Database connection: @ViewBag.Online</p> </div>
mit
C#
a9bc5be4cbe75893ba1248e79eaa012e2274f284
Make convlayer tests more complete
hiperz/ConvNetSharp,cbovar/ConvNetSharp
src/ConvNetSharp.Tests/ConvLayerTests.cs
src/ConvNetSharp.Tests/ConvLayerTests.cs
using NUnit.Framework; namespace ConvNetSharp.Tests { [TestFixture] public class ConvLayerTests { [Test] public void GradientWrtInputCheck() { const int inputWidth = 30; const int inputHeight = 30; const int inputDepth = 2; // Create...
using NUnit.Framework; namespace ConvNetSharp.Tests { [TestFixture] public class ConvLayerTests { [Test] public void GradientWrtInputCheck() { const int inputWidth = 10; const int inputHeight = 10; const int inputDepth = 2; // Create...
mit
C#
108f4311720c9d991c8312db7571fbc712ec39b3
add includePatientCoUsers for appointmentsRequest
SnapMD/connectedcare-sdk,dhawalharsora/connectedcare-sdk
SnapMD.VirtualCare.ApiModels/Scheduling/AppointmentsRequest.cs
SnapMD.VirtualCare.ApiModels/Scheduling/AppointmentsRequest.cs
using System.Collections.Generic; namespace SnapMD.VirtualCare.ApiModels.Scheduling { /// <summary> /// Request model for Appointments search filter /// </summary> /// <seealso cref="SnapMD.VirtualCare.ApiModels.Scheduling.AvailabilityBlocksRequest" /> public class AppointmentsRequest : Availabil...
using System.Collections.Generic; namespace SnapMD.VirtualCare.ApiModels.Scheduling { /// <summary> /// Request model for Appointments search filter /// </summary> /// <seealso cref="SnapMD.VirtualCare.ApiModels.Scheduling.AvailabilityBlocksRequest" /> public class AppointmentsRequest : Availabil...
apache-2.0
C#
b71a73f8b054f3bb4f56139d3bf6d75cce0069d1
increment patch version,
jwChung/Experimentalism,jwChung/Experimentalism
build/CommonAssemblyInfo.cs
build/CommonAssemblyInfo.cs
using System.Reflection; using System.Resources; using System.Runtime.InteropServices; [assembly: AssemblyCompany("Jin-Wook Chung")] [assembly: AssemblyCopyright("Copyright (c) 2014, Jin-Wook Chung")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] [assembly: Co...
using System.Reflection; using System.Resources; using System.Runtime.InteropServices; [assembly: AssemblyCompany("Jin-Wook Chung")] [assembly: AssemblyCopyright("Copyright (c) 2014, Jin-Wook Chung")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] [assembly: Co...
mit
C#
3a45b388996980a72e2d8ae518dd59d6cbe5e05c
Fix insane oversight in `SynchronizationContext` implementation
smoogipooo/osu-framework,peppy/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,ppy/osu-framework,peppy/osu-framework,ppy/osu-framework
osu.Framework/Threading/SchedulerSynchronizationContext.cs
osu.Framework/Threading/SchedulerSynchronizationContext.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.Threading; #nullable enable namespace osu.Framework.Threading { /// <summary> /// A synchronisation context which posts all continuatiuons to a sch...
// 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.Threading; #nullable enable namespace osu.Framework.Threading { /// <summary> /// A synchronisation context which posts all continuatiuons to a sch...
mit
C#
aedfdce87296abec5f9f572408de333bf0a9e8ed
Update values in calculator test
NeoAdonis/osu,ppy/osu,smoogipoo/osu,smoogipooo/osu,ppy/osu,NeoAdonis/osu,peppy/osu,peppy/osu,peppy/osu,NeoAdonis/osu,smoogipoo/osu,ppy/osu,peppy/osu-new,smoogipoo/osu
osu.Game.Rulesets.Osu.Tests/OsuDifficultyCalculatorTest.cs
osu.Game.Rulesets.Osu.Tests/OsuDifficultyCalculatorTest.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.Game.Beatmaps; using osu.Game.Rulesets.Difficulty; using osu.Game.Rulesets.Osu.Difficulty; using osu.Game.Rulesets.Osu.Mods; using osu.Ga...
// 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.Game.Beatmaps; using osu.Game.Rulesets.Difficulty; using osu.Game.Rulesets.Osu.Difficulty; using osu.Game.Rulesets.Osu.Mods; using osu.Ga...
mit
C#
9d95388b63208bfa8a9ec7971e58e8a8cd7adddc
Update unit test
sonvister/Binance
test/Binance.Tests/Api/RateLimiterTest.cs
test/Binance.Tests/Api/RateLimiterTest.cs
using Binance.Api; using System; using System.Diagnostics; using System.Threading.Tasks; using Xunit; namespace Binance.Tests.Api { public class RateLimiterTest { [Fact] public void ConfigureThrows() { var rateLimiter = new RateLimiter(); Assert.Throws<Argument...
using Binance.Api; using System; using System.Diagnostics; using System.Threading.Tasks; using Xunit; namespace Binance.Tests.Api { public class RateLimiterTest { [Fact] public void ConfigureThrows() { var rateLimiter = new RateLimiter(); Assert.Throws<Argument...
mit
C#
68cfa03584203785afd98f747dfb997d11d0f3b5
remove spurious readline at end of main program
ilovepi/Compiler,ilovepi/Compiler
compiler/Program/Program.cs
compiler/Program/Program.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using compiler.frontend; namespace Program { class Program { static void Main(string[] args) { Lexer l = new Lexer(@"..\..\testdata\big.txt"); Token t; ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using compiler.frontend; namespace Program { class Program { static void Main(string[] args) { Lexer l = new Lexer(@"..\..\testdata\test029.txt"); Token ...
mit
C#
ac11aa295230ba2da8f09847d44bcba8636788bc
Improve error handling when parsing ACL records
openchain/openchain
src/Openchain.Ledger/Validation/DynamicPermissionLayout.cs
src/Openchain.Ledger/Validation/DynamicPermissionLayout.cs
// Copyright 2015 Coinprism, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agree...
// Copyright 2015 Coinprism, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agree...
apache-2.0
C#
e1cd71b4809e02b6b631204f9259fa0e11d32f6e
Fix wrong type for linkbuttons
roman-yagodin/R7.HelpDesk,roman-yagodin/R7.HelpDesk
R7.HelpDesk/AdminSettings.ascx.designer.cs
R7.HelpDesk/AdminSettings.ascx.designer.cs
using System; using System.Web.UI.WebControls; namespace R7.HelpDesk { public partial class AdminSettings { protected Panel pnlAdminSettings; protected Panel pnlAdministratorRole; protected Panel pnlUploFilesPath; protected Panel pnlTagsAdmin; protected Panel pnlRoles; protected Button btnA...
using System; using System.Web.UI.WebControls; namespace R7.HelpDesk { public partial class AdminSettings { protected Panel pnlAdminSettings; protected Panel pnlAdministratorRole; protected Panel pnlUploFilesPath; protected Panel pnlTagsAdmin; protected Panel pnlRoles; protected Button btnA...
mit
C#
575b4ad81691588df3e2b83278bfc52d48a6b2aa
Make QueuedSender a partial class so we can extend it with Identity later on
mattgwagner/CertiPay.Common
CertiPay.Common.Notifications/Notifications/QueuedSender.cs
CertiPay.Common.Notifications/Notifications/QueuedSender.cs
using CertiPay.Common.Logging; using CertiPay.Common.WorkQueue; using System.Threading.Tasks; namespace CertiPay.Common.Notifications { /// <summary> /// Sends notifications to the background worker queue for async processing and retries /// </summary> public partial class QueuedSender : INoti...
using CertiPay.Common.Logging; using CertiPay.Common.WorkQueue; using System.Threading.Tasks; namespace CertiPay.Common.Notifications { /// <summary> /// Sends notifications to the background worker queue for async processing and retries /// </summary> public class QueuedSender : //IIdentityMe...
mit
C#
fec3bbc6d1f79b0d8d9933af44bc9d16d89493d4
Change default repo path
MistyKuu/bitbucket-for-visual-studio,MistyKuu/bitbucket-for-visual-studio
Source/GitClientVS.Infrastructure/Paths.cs
Source/GitClientVS.Infrastructure/Paths.cs
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; namespace GitClientVS.Infrastructure { public static class Paths { public static string GitClientStorageDirectory => Path.Combine(Environment.GetFolderPath(Environment.S...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; namespace GitClientVS.Infrastructure { public static class Paths { public static string GitClientStorageDirectory => Path.Combine(Environment.GetFolderPath(Environment.S...
mit
C#
32e7d2916c44d6a9e9d69c6b63520cfd2b36cd79
read model db will migrate on start
andreyleskov/GridDomain,linkelf/GridDomain
GridDomain.Tests.Acceptance/BalloonDomain/BalloonContext.cs
GridDomain.Tests.Acceptance/BalloonDomain/BalloonContext.cs
using GridDomain.Tests.Common; using GridDomain.Tests.Common.Configuration; using Microsoft.EntityFrameworkCore; namespace GridDomain.Tests.Acceptance.BalloonDomain { public class BalloonContext : DbContext { public BalloonContext() : base( new DbContextOptionsBuilder().UseSqlServer(new Aut...
using GridDomain.Tests.Common; using GridDomain.Tests.Common.Configuration; using Microsoft.EntityFrameworkCore; namespace GridDomain.Tests.Acceptance.BalloonDomain { public class BalloonContext : DbContext { public BalloonContext() : base(new DbContextOptionsBuilder().UseSqlServer(new AutoTestLocalDbC...
apache-2.0
C#
9c3138b67b74c89be81b7461efcff02ecd921928
Fix tests
ASP-NET-MVC-Boilerplate/Templates,ASP-NET-MVC-Boilerplate/Templates
Tests/Boxed.Templates.FunctionalTest/OrleansTemplateTest.cs
Tests/Boxed.Templates.FunctionalTest/OrleansTemplateTest.cs
namespace Boxed.Templates.FunctionalTest; using System; using System.Threading.Tasks; using Boxed.DotnetNewTest; using Xunit; using Xunit.Abstractions; [Trait("Template", "Orleans")] public class OrleansTemplateTest { private const string TemplateName = "orleans"; private const string SolutionFileName = "Orle...
namespace Boxed.Templates.FunctionalTest; using System; using System.Threading.Tasks; using Boxed.DotnetNewTest; using Xunit; using Xunit.Abstractions; [Trait("Template", "Orleans")] public class OrleansTemplateTest { private const string TemplateName = "orleans"; private const string SolutionFileName = "Orle...
mit
C#
ae10d36fb05efabcc0812ddc8e73667a6ed00336
remove 1.x language detection path (#3420)
quisquous/cactbot,quisquous/cactbot,quisquous/cactbot,quisquous/cactbot,quisquous/cactbot,quisquous/cactbot
plugin/CactbotEventSource/FFXIVPlugin.cs
plugin/CactbotEventSource/FFXIVPlugin.cs
using Advanced_Combat_Tracker; using System; using CactbotEventSource.loc; namespace Cactbot { public class FFXIVPlugin { private ILogger logger_; public FFXIVPlugin(ILogger logger) { logger_ = logger; } public string GetLocaleString() { switch (GetLanguageId()) { case 1: ...
using Advanced_Combat_Tracker; using System; using CactbotEventSource.loc; namespace Cactbot { public class FFXIVPlugin { private ILogger logger_; public FFXIVPlugin(ILogger logger) { logger_ = logger; } public string GetLocaleString() { switch (GetLanguageId()) { case 1: ...
apache-2.0
C#
885900435a10db81f00cff05196fe38410d885c6
Fix typo
kgiszewski/BasecampApiNet,kgiszewski/BasecampApiNet
src/BasecampApiNet/Models/TodoResultModel.cs
src/BasecampApiNet/Models/TodoResultModel.cs
using System; using Newtonsoft.Json; namespace BasecampApiNet.Models { public class TodoResultModel : ResultModelBase { [JsonProperty("todolist_id")] public int TodoListId { get; set; } [JsonProperty("position")] public int Position { get; set; } [JsonProperty("conten...
using System; using Newtonsoft.Json; namespace BasecampApiNet.Models { public class TodoResultModel : ResultModelBase { [JsonProperty("todolist_id")] public int TodoListId { get; set; } [JsonProperty("position")] public int Position { get; set; } [JsonProperty("conten...
mit
C#
f3d75dd862cd6f85604990537dc908cfa1936e8a
Fix bug with slow loading high scores
vlesierse/codebreaker,vlesierse/codebreaker,vlesierse/codebreaker
src/CodeBreaker.WebApp/Storage/ScoreStore.cs
src/CodeBreaker.WebApp/Storage/ScoreStore.cs
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using CodeBreaker.Core; using CodeBreaker.Core.Storage; using Microsoft.EntityFrameworkCore; namespace CodeBreaker.WebApp.Storage { public class ScoreStore : IScoreStore { private readonly CodeBreakerDbCont...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using CodeBreaker.Core; using CodeBreaker.Core.Storage; using Microsoft.EntityFrameworkCore; namespace CodeBreaker.WebApp.Storage { public class ScoreStore : IScoreStore { private readonly CodeBreakerDbCont...
mit
C#
251930ce5ff97dbe21db6478086abd44fad2168a
Check for active connections in each iteration
oschwald/HttpMock,mattolenik/HttpMock,hibri/HttpMock,zhdusurfin/HttpMock
src/HttpMock.Integration.Tests/PortHelper.cs
src/HttpMock.Integration.Tests/PortHelper.cs
using System; using System.Linq; using System.Net; using System.Net.NetworkInformation; namespace HttpMock.Integration.Tests { internal static class PortHelper { internal static int FindLocalAvailablePortForTesting() { const int minPort = 1024; var random = new Random(); var maxPort...
using System; using System.Linq; using System.Net.NetworkInformation; namespace HttpMock.Integration.Tests { internal static class PortHelper { internal static int FindLocalAvailablePortForTesting() { IPGlobalProperties properties = IPGlobalProperties.GetIPGlobalProperties(); var activeTcpConne...
mit
C#
024768d7ebb4c1ecf1bd6397a0a364965f2f9d0a
Switch over support commands from using the query class
modulexcite/ZocMon,ZocDoc/ZocMon,ZocDoc/ZocMon,ZocDoc/ZocMon,modulexcite/ZocMon,modulexcite/ZocMon
ZocMon/ZocMon/ZocMonLib/Framework/StorageCommandsSupport.cs
ZocMon/ZocMon/ZocMonLib/Framework/StorageCommandsSupport.cs
using System.Data; using System.Linq; namespace ZocMonLib { public class StorageCommandsSupport : IStorageCommandsSupport { public string SelectCurrentReduceStatus(IDbConnection conn) { const string sql = @"SELECT TOP(1) IsReducing FROM Settings"; var result = DatabaseS...
using System.Data; using System.Linq; namespace ZocMonLib { public class StorageCommandsSupport : IStorageCommandsSupport { public string SelectCurrentReduceStatus(IDbConnection conn) { var result = DatabaseSqlHelper.CreateListWithConnection<bool>(conn, StorageCommandsSqlServerQuery...
apache-2.0
C#
f0fb4220b5cfc0656466f2ed9f551d0365fd9105
Fix documentation confusion in a similar way to r3a00fecf9d42.
zaccharles/nodatime,BenJenkinson/nodatime,malcolmr/nodatime,nodatime/nodatime,nodatime/nodatime,BenJenkinson/nodatime,zaccharles/nodatime,zaccharles/nodatime,malcolmr/nodatime,malcolmr/nodatime,zaccharles/nodatime,zaccharles/nodatime,jskeet/nodatime,zaccharles/nodatime,malcolmr/nodatime,jskeet/nodatime
src/NodaTime/Annotations/MutableAttribute.cs
src/NodaTime/Annotations/MutableAttribute.cs
// Copyright 2013 The Noda Time Authors. All rights reserved. // Use of this source code is governed by the Apache License 2.0, // as found in the LICENSE.txt file. using System; namespace NodaTime.Annotations { /// <summary> /// Indicates that a type is mutable. Some members of this type /// allow state ...
// Copyright 2013 The Noda Time Authors. All rights reserved. // Use of this source code is governed by the Apache License 2.0, // as found in the LICENSE.txt file. using System; namespace NodaTime.Annotations { /// <summary> /// Indicates that a type is immutable. Some members of this type /// a...
apache-2.0
C#
9712e000abee4a5f0898d91ff491daf2d8ecbb31
Update PackagedProduct.cs
ADAPT/ADAPT
source/ADAPT/Products/PackagedProduct.cs
source/ADAPT/Products/PackagedProduct.cs
/******************************************************************************* * Copyright (C) 2020 AgGateway and ADAPT Contributors * Copyright (C) 2020 Syngenta * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 *...
/******************************************************************************* * Copyright (C) 2020 AgGateway and ADAPT Contributors * Copyright (C) 2020 Syngenta * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 *...
epl-1.0
C#
ecd47d28f9f168e94704baf0775089c2f02e3a50
Initialize GitRepositoryConfigurer with an IGitExecutor
appharbor/appharbor-cli
src/AppHarbor/GitRepositoryConfigurer.cs
src/AppHarbor/GitRepositoryConfigurer.cs
namespace AppHarbor { public class GitRepositoryConfigurer { private readonly IGitExecutor _executor; public GitRepositoryConfigurer(IGitExecutor executor) { _executor = executor; } } }
namespace AppHarbor { public class GitRepositoryConfigurer { } }
mit
C#
9bdd59d50efb62e128fc1d047302d2d18cbc216d
Mark ParseError.message as readonly
arlobelshee/Fools.net,Minions/Fools.net,JayBazuzi/Fools.net
src/Core/Gibberish/Parsing/ParseError.cs
src/Core/Gibberish/Parsing/ParseError.cs
using System.Collections.Generic; using System.Linq; using JetBrains.Annotations; namespace Gibberish { public class ParseError { [StringFormatMethod("baseMesage")] private ParseError([NotNull] string baseMessage, [NotNull] params object[] messageParams) { message = string.Format(baseMessage, messageParams)...
using System.Collections.Generic; using System.Linq; using JetBrains.Annotations; namespace Gibberish { public class ParseError { [StringFormatMethod("baseMesage")] private ParseError([NotNull] string baseMessage, [NotNull] params object[] messageParams) { message = string.Format(baseMessage, messageParams)...
bsd-3-clause
C#
995318ecf3d6508bcc233326ad1fb7e60f2e6e0b
Fix inline cache assignment issue
stevedesmond-ca/dotnet-libyear
src/LibYear.Lib/PackageVersionChecker.cs
src/LibYear.Lib/PackageVersionChecker.cs
using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; using LibYear.Lib.FileTypes; using NuGet.Common; using NuGet.Protocol.Core.Types; namespace LibYear.Lib { public class PackageVersionChecker : IPackageVersionChecker { private readonly PackageMetadataResource...
using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; using LibYear.Lib.FileTypes; using NuGet.Common; using NuGet.Protocol.Core.Types; namespace LibYear.Lib { public class PackageVersionChecker : IPackageVersionChecker { private readonly PackageMeta...
mit
C#
1af9d889e0f905db1ae6a01d44afc0f621ed8bd6
Update index.cshtml
KovalNikita/apmathcloud
SITE/index.cshtml
SITE/index.cshtml
@{ var txt = DateTime.Now; // C# int m = 1; int b = 1; double t_0 = 1; double t_end = 100; double z_0 = 0; double z_d = 10; double t1 = t_0; double t2 = t_end; double h = 0.1; double width = 0.05; } <html> <head> <script type="text/javascript" src="https://www.google.com/jsapi?autoload={ ...
@{ var txt = DateTime.Now; // C# int m = 1; int b = 1; double t_0 = 1; double t_end = 100; double z_0 = 0; double z_d = 10; double t1 = t_0; double t2 = t_end; double h = 0.1; double width = 0.05; } <html> <head> <!--Load the AJAX API--> <script type="text/javascript" src="https://www.google.com/jsapi"></...
mit
C#
74f778fc02d0fae4abcf45fde7fae9ab22ef0c37
Add all operating system in the platform resolver
wangkanai/Detection
src/Services/Defaults/PlatformService.cs
src/Services/Defaults/PlatformService.cs
// Copyright (c) 2014-2020 Sarin Na Wangkanai, All Rights Reserved. // The Apache v2. See License.txt in the project root for license information. using Wangkanai.Detection.Extensions; using Wangkanai.Detection.Models; namespace Wangkanai.Detection.Services { public class PlatformService : IPlatformService { ...
// Copyright (c) 2014-2020 Sarin Na Wangkanai, All Rights Reserved. // The Apache v2. See License.txt in the project root for license information. using Wangkanai.Detection.Extensions; using Wangkanai.Detection.Models; namespace Wangkanai.Detection.Services { public class PlatformService : IPlatformService { ...
apache-2.0
C#
18cad6aada3ad36e0563bf7ba6aa3f60e9e6bb96
Fix connection string check
NServiceBusSqlPersistence/NServiceBus.SqlPersistence
src/TestHelper/MySqlConnectionBuilder.cs
src/TestHelper/MySqlConnectionBuilder.cs
using System; using MySql.Data.MySqlClient; public static class MySqlConnectionBuilder { public static MySqlConnection Build() { var connection = Environment.GetEnvironmentVariable("MySQLConnectionString"); if (string.IsNullOrWhiteSpace(connection)) { throw new Exception("My...
using System; using MySql.Data.MySqlClient; public static class MySqlConnectionBuilder { public static MySqlConnection Build() { var connection = Environment.GetEnvironmentVariable("MySQLConnectionString"); if (string.IsNullOrWhiteSpace("MySQLConnectionString")) { throw new ...
mit
C#
416eff8cca987433808d1c343da2764dff83b219
Check for null before we dispose
mono/SkiaSharp,mono/SkiaSharp,mono/SkiaSharp,mono/SkiaSharp,mono/SkiaSharp,mono/SkiaSharp,mono/SkiaSharp
views/SkiaSharp.Views.Desktop/SKGLControl.cs
views/SkiaSharp.Views.Desktop/SKGLControl.cs
using System; using System.ComponentModel; using System.Windows.Forms; using OpenTK; namespace SkiaSharp.Views { public class SKGLControl : GLControl { private readonly bool designMode; private GRContext grContext; private GRBackendRenderTargetDesc renderTarget; public SKGLControl() { designMode = De...
using System; using System.ComponentModel; using System.Windows.Forms; using OpenTK; namespace SkiaSharp.Views { public class SKGLControl : GLControl { private readonly bool designMode; private GRContext grContext; private GRBackendRenderTargetDesc renderTarget; public SKGLControl() { designMode = De...
mit
C#
24fe669b40716f00b5d527e17f4aa3d0cf652db9
Simplify fetching the temporary path
markfinal/BuildAMation,markfinal/BuildAMation,markfinal/BuildAMation,markfinal/BuildAMation,markfinal/BuildAMation
testpackages/CopyTest1/dev/CopyTest1.cs
testpackages/CopyTest1/dev/CopyTest1.cs
// Automatically generated by Opus v0.50 namespace CopyTest1 { class CopySingleFileTest : FileUtilities.CopyFile { public CopySingleFileTest() { this.SetRelativePath(this, "data", "testfile.txt"); this.UpdateOptions += delegate(Opus.Core.IModule module, Opus.Core....
// Automatically generated by Opus v0.50 namespace CopyTest1 { class CopySingleFileTest : FileUtilities.CopyFile { public CopySingleFileTest() { this.SetRelativePath(this, "data", "testfile.txt"); this.UpdateOptions += delegate(Opus.Core.IModule module, Opus.Core....
bsd-3-clause
C#
e85930073d2ad471979b6e8f93e6c5962412ba23
Remove dead code
qiudesong/coreclr,YongseopKim/coreclr,gkhanna79/coreclr,JonHanna/coreclr,AlexGhiondea/coreclr,mmitche/coreclr,botaberg/coreclr,James-Ko/coreclr,ruben-ayrapetyan/coreclr,cshung/coreclr,cydhaselton/coreclr,hseok-oh/coreclr,rartemev/coreclr,russellhadley/coreclr,poizan42/coreclr,pgavlin/coreclr,cydhaselton/coreclr,alexper...
src/mscorlib/src/System/SharedStatics.cs
src/mscorlib/src/System/SharedStatics.cs
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. /*============================================================================= ** ** ** ** Purpose: Container for s...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. /*============================================================================= ** ** ** ** Purpose: Container for s...
mit
C#
07e9638ae96272b24986bbf2541220f330e457fc
update initializer
AerisG222/mikeandwan.us,AerisG222/mikeandwan.us,AerisG222/mikeandwan.us,AerisG222/mikeandwan.us,AerisG222/mikeandwan.us
src/www/Controllers/MawBaseController.cs
src/www/Controllers/MawBaseController.cs
using System; using System.Linq; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Logging; namespace MawMvcApp.Controllers { public class MawBaseController<T> : Controller { protected ILogger<T> Log { get; } public MawBaseController(ILogger<T> log) { Log = log ?? throw new Argume...
using System; using System.Linq; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Logging; namespace MawMvcApp.Controllers { public class MawBaseController<T> : Controller { protected ILogger<T> Log { get; } public MawBaseController(ILogger<T> log) { if(log == null) { thro...
mit
C#
0c2d4bb14e132b111f91149c7bae264b897bde97
fix serialize() call sites.
ecologylab/simplCSharp
Simpl.Fundamental/Collections/ResourcePool.cs
Simpl.Fundamental/Collections/ResourcePool.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Simpl.Fundamental.Collections { public abstract class ResourcePool<T> { private readonly List<T> _pool; private int _initialCapacity; protected ResourcePool(int initialCapacit...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Simpl.Fundamental.Collections { abstract class ResourcePool<T> where T : new() { private readonly List<T> _pool; private int _initialCapacity; protected ResourcePool(int initi...
apache-2.0
C#
83633b7ebd8a7b5ee7320eb7fd1842e7e5dcb213
refactor Bird to call BirdController for OnCollisionEnter2D
nrjohnstone/flappybird-unity
unity-flappybirds/Assets/Scripts/Bird.cs
unity-flappybirds/Assets/Scripts/Bird.cs
using UnityEngine; namespace Assets.Scripts { public class Bird : MonoBehaviour, IInput, IAnimator, IRigidbody2D { public float upForce = 150f; private Animator anim; private BirdController birdController; private Rigidbody2D rb2d; public void Start() ...
using UnityEngine; namespace Assets.Scripts { public class Bird : MonoBehaviour, IInput, IAnimator, IRigidbody2D { public float upForce = 150f; private bool isDead = false; private Animator anim; private BirdController birdController; private Rigidbody2D rb2d;...
cc0-1.0
C#
4d03118129c9e3b05658eee1c7a727b24d126094
Use new constructor
AngleSharp/AngleSharp,FlorianRappl/AngleSharp,AngleSharp/AngleSharp,Livven/AngleSharp,FlorianRappl/AngleSharp,zedr0n/AngleSharp.Local,Livven/AngleSharp,AngleSharp/AngleSharp,Livven/AngleSharp,FlorianRappl/AngleSharp,AngleSharp/AngleSharp,zedr0n/AngleSharp.Local,zedr0n/AngleSharp.Local,FlorianRappl/AngleSharp,AngleSharp...
AngleSharp.Scripting/JavaScriptEngine.cs
AngleSharp.Scripting/JavaScriptEngine.cs
namespace AngleSharp.Scripting { using AngleSharp.Infrastructure; using AngleSharp.Network; using AngleSharp.Tools; using Jint; using Jint.Native.Global; using Jint.Runtime.Environments; using System; using System.IO; using System.Text; public class JavaScriptEngine : IScriptEn...
namespace AngleSharp.Scripting { using AngleSharp.Infrastructure; using AngleSharp.Network; using AngleSharp.Tools; using Jint; using Jint.Native.Global; using Jint.Runtime.Environments; using System; using System.IO; using System.Text; public class JavaScriptEngine : IScriptEn...
mit
C#
7c6e162819e7bb53b5f856e3d778039f59989e8b
Allow NUnit tests to run over and over
Hitcents/iOS4Unity,Hitcents/iOS4Unity
Assets/NUnitLite/NUnitLiteUnityRunner.cs
Assets/NUnitLite/NUnitLiteUnityRunner.cs
// Copyright (C) 2013 by Andrew Zhilin <andrew_zhilin@yahoo.com> #region Usings using System; using System.Collections.Generic; using System.IO; using System.Reflection; using NUnitLite; using NUnitLite.Runner; using UnityEngine; #endregion /* NOTE: * * This is a test runner for NUnitLite, that redirects test res...
// Copyright (C) 2013 by Andrew Zhilin <andrew_zhilin@yahoo.com> #region Usings using System; using System.Collections.Generic; using System.IO; using System.Reflection; using NUnitLite; using NUnitLite.Runner; using UnityEngine; #endregion /* NOTE: * * This is a test runner for NUnitLite, that redirects test res...
apache-2.0
C#
3217c4857ef0296f3fe6f857f386837583e61841
Make highlighter mesh invisible
EightBitBoy/EcoRealms
Assets/Scripts/Map/MapHighlightManager.cs
Assets/Scripts/Map/MapHighlightManager.cs
using UnityEngine; using System.Collections; namespace ecorealms.map { public class MapHighlightManager : MonoBehaviour { private int sizeX; private int sizeY; private float HEIGHT = 0.2f; private Mesh mesh; public void Setup(int chunksX, int chunksY, int tilesX, int tilesY) { this.sizeX = chunksX * t...
using UnityEngine; using System.Collections; namespace ecorealms.map { public class MapHighlightManager : MonoBehaviour { private int sizeX; private int sizeY; private float HEIGHT = 0.2f; public void Setup(int chunksX, int chunksY, int tilesX, int tilesY) { this.sizeX = chunksX * tilesX; this.sizeY ...
apache-2.0
C#
8b3156b2b2915b3fb3cc0d1d4624ab267d0ff6af
Set app version to 3.0.0
Phrynohyas/eve-o-preview,Phrynohyas/eve-o-preview
Eve-O-Preview/Properties/AssemblyInfo.cs
Eve-O-Preview/Properties/AssemblyInfo.cs
using System; using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyTitle("EVE-O Preview")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProduct("EVE-O Preview")] [assembly: AssemblyCopyright("")] [as...
using System; using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyTitle("EVE-O Preview")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProduct("EVE-O Preview")] [assembly: AssemblyCopyright("")] [as...
mit
C#
4dc7110c50ce21586fa8a74f1c15fd189c21a9ae
Bump version.
oozcitak/imagelistview
ImageListView/Properties/AssemblyInfo.cs
ImageListView/Properties/AssemblyInfo.cs
// ImageListView - A listview control for image files // Copyright (C) 2009 Ozgur Ozcitak // // 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/...
// ImageListView - A listview control for image files // Copyright (C) 2009 Ozgur Ozcitak // // 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/...
apache-2.0
C#
c696d77b12d8c4ff1bd329c5c2f5b0c15eff4128
Reorder inspector
bartlomiejwolk/TPPCamera
Editor/GameCameraEditor.cs
Editor/GameCameraEditor.cs
using UnityEditor; [CustomEditor(typeof(GameCamera))] class GameCameraEditor : Editor { #region FIELDS private GameCamera Script { get; set; } #endregion #region SERIALIZED PROPERTIES private SerializedProperty cameraLimits; private SerializedProperty cameraOcclusionLayerMask; private S...
using UnityEditor; [CustomEditor(typeof(GameCamera))] class GameCameraEditor : Editor { #region FIELDS private GameCamera Script { get; set; } #endregion #region SERIALIZED PROPERTIES private SerializedProperty cameraLimits; private SerializedProperty cameraOcclusionLayerMask; private S...
mit
C#
f6f1d65a74e14f4a4940974bb26fd0d4ca3191c2
Use Thread.Sleep in System.Threading.Helpers.Sleep on CoreCLR
krytarowski/corefx,nbarbettini/corefx,elijah6/corefx,nbarbettini/corefx,shahid-pk/corefx,kkurni/corefx,ptoonen/corefx,larsbj1988/corefx,chenkennt/corefx,scott156/corefx,matthubin/corefx,cnbin/corefx,richlander/corefx,yizhang82/corefx,Yanjing123/corefx,spoiledsport/corefx,destinyclown/corefx,Jiayili1/corefx,shana/corefx...
src/System.Threading/src/System/Threading/Helpers.CoreCLR.cs
src/System.Threading/src/System/Threading/Helpers.CoreCLR.cs
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace System.Threading { /// <summary> /// Contains Core-CLR specific Sleep and Spin-wait logic /// </summary> internal static class Helpers { ...
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace System.Threading { /// <summary> /// Contains Core-CLR specific Sleep and Spin-wait logic /// </summary> internal static class Helpers { ...
mit
C#
b71aa76ccd3842ec2938dc7a8bf12405ca14dc05
Update version number for 1.2.2.0 release
markashleybell/MAB.DotIgnore,markashleybell/MAB.DotIgnore
MAB.DotIgnore/Properties/AssemblyInfo.cs
MAB.DotIgnore/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#
09d70ba2549cc41b79a84a1ae421bbba905342ba
update assumblyinfo
brandonseydel/MailChimp.Net
MailChimp.Net/Properties/AssemblyInfo.cs
MailChimp.Net/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("MailChimp.Net")] [assembly: AssemblyDescr...
using System.Reflection; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("MailChimp.Net")] [assembly: AssemblyDescr...
mit
C#
b9e652d39f6e14d998e119828fe931153c7cabf9
Fix the not registered fare deal options.
lehmamic/columbus,lehmamic/columbus
Diskordia.Columbus.Bots/BotsExtensions.cs
Diskordia.Columbus.Bots/BotsExtensions.cs
using System; using Diskordia.Columbus.Bots.FareDeals; using Diskordia.Columbus.Bots.FareDeals.SingaporeAirlines; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; namespace Diskordia.Columbus.Bots { public static class BotsExtensions { public static IServiceCollection AddF...
using System; using Diskordia.Columbus.Bots.FareDeals; using Diskordia.Columbus.Bots.FareDeals.SingaporeAirlines; using Diskordia.Columbus.Common; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; namespace Diskordia.Columbus.Bots { public static class BotsExtensions { publ...
mit
C#
71f76986ffd89c07a9c6ec81671b3f5c401cda6f
Throw Exception if arg < 0 using Throw Expression
treymack/fibonacci
FibCSharp/Program.cs
FibCSharp/Program.cs
using System; using System.Linq; namespace FibCSharp { class Program { static void Main(string[] args) { var max = 50; Enumerable.Range(0, int.MaxValue) .Select(Fib) .TakeWhile(x => x <= max) .ToList() .For...
using System; using System.Linq; namespace FibCSharp { class Program { static void Main(string[] args) { var max = 50; Enumerable.Range(0, int.MaxValue) .Select(Fib) .TakeWhile(x => x <= max) .ToList() .For...
unlicense
C#
c1072bfc983e4dc4be94ee662915e810d28fdb1a
Change file version.
stackia/SteamFriendsManager
SteamFriendsManager/Properties/AssemblyInfo.cs
SteamFriendsManager/Properties/AssemblyInfo.cs
using System.Reflection; using System.Resources; 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 with an assembly. [assembly: AssemblyT...
using System.Reflection; using System.Resources; 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 with an assembly. [assembly: AssemblyT...
bsd-3-clause
C#
7d5e791c27f1bc4b00afa6778f046a9e7e7cf1d8
Split ModuleOutput tests to separate asserts
cskeppstedt/t4ts,AkosLukacs/t4ts,cskeppstedt/t4ts,AkosLukacs/t4ts,dolly22/t4ts,dolly22/t4ts,bazubii/t4ts,bazubii/t4ts
T4TS.Tests/Output/ModuleOutputAppenderTests.cs
T4TS.Tests/Output/ModuleOutputAppenderTests.cs
using Microsoft.VisualStudio.TestTools.UnitTesting; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace T4TS.Tests { [TestClass] public class ModuleOutputAppenderTests { [TestMethod] public void TypescriptVersion083Y...
using Microsoft.VisualStudio.TestTools.UnitTesting; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace T4TS.Tests { [TestClass] public class ModuleOutputAppenderTests { [TestMethod] public void ModuleOutputAppenderR...
apache-2.0
C#
d3c7295886022924c7d898cfb90637f2831b1bde
change method name to avoid hiding
andrewjk/Watsonia.Data
Watsonia.Data.TestPerformance/WatsoniaConfiguration.cs
Watsonia.Data.TestPerformance/WatsoniaConfiguration.cs
using System; using System.Linq; using System.Reflection; using Watsonia.Data.SQLite; using Watsonia.Data.SqlServer; namespace Watsonia.Data.TestPerformance { internal sealed class WatsoniaConfiguration : DatabaseConfiguration { public WatsoniaConfiguration(string connectionString, string entityNamespace) : ba...
using System; using System.Linq; using System.Reflection; using Watsonia.Data.SQLite; using Watsonia.Data.SqlServer; namespace Watsonia.Data.TestPerformance { internal sealed class WatsoniaConfiguration : DatabaseConfiguration { public WatsoniaConfiguration(string connectionString, string entityNamespace) : ba...
mit
C#
69e3aa8499e5176a9d1369e70d5276f61b3b2a1c
Update MaxCount.cs
michaeljwebb/Algorithm-Practice
LeetCode/MaxCount.cs
LeetCode/MaxCount.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; public class MaxCount { public static void Main(String[] args) { int[] nums = { 2, 3, 4, 9, 5, 5, 8, 5, 0 }; FindMaxCount(nums); } public static int FindMaxCount(int[] nums) { Dictionary...
using System; using System.Collections.Generic; using System.Linq; using System.Text; class MaxCount { public static void Main(String[] args) { int[] nums = { 2, 3, 4, 9, 5, 5, 8, 5, 0 }; FindMaxCount(nums); } public static int FindMaxCount(int[] nums) { Dictionary<int, i...
mit
C#
8d43421ff3cd30d6ffca3aa01aa8863294f29d3c
Change version up to 0.5.1
matiasbeckerle/breakout,matiasbeckerle/perspektiva,matiasbeckerle/arkanoid
source/Assets/Scripts/Loader.cs
source/Assets/Scripts/Loader.cs
using UnityEngine; using System.Reflection; [assembly: AssemblyVersion("0.5.1.*")] public class Loader : MonoBehaviour { /// <summary> /// DebugUI prefab to instantiate. /// </summary> [SerializeField] private GameObject _debugUI; /// <summary> /// ModalDialog prefab to insta...
using UnityEngine; using System.Reflection; [assembly: AssemblyVersion("0.5.0.*")] public class Loader : MonoBehaviour { /// <summary> /// DebugUI prefab to instantiate. /// </summary> [SerializeField] private GameObject _debugUI; /// <summary> /// ModalDialog prefab to insta...
unknown
C#