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
63dd61004b3c967411360aad70803dac0b8507bc
Fix build for iOS picker
monostefan/Xamarin.Plugins,jamesmontemagno/Xamarin.Plugins,predictive-technology-laboratory/Xamarin.Plugins,LostBalloon1/Xamarin.Plugins
Media/Media/Media.Plugin.iOS/MediaPickerController.cs
Media/Media/Media.Plugin.iOS/MediaPickerController.cs
// // Copyright 2011-2013, Xamarin 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 appl...
// // Copyright 2011-2013, Xamarin 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 appl...
mit
C#
dfbb0951b7dbb916f2fdf835a2039bb417fd7984
Build version 1.0.0-beta1
xpressive-websolutions/Xpressive.Home,xpressive-websolutions/Xpressive.Home.ProofOfConcept,xpressive-websolutions/Xpressive.Home,xpressive-websolutions/Xpressive.Home,xpressive-websolutions/Xpressive.Home.ProofOfConcept,xpressive-websolutions/Xpressive.Home.ProofOfConcept
Xpressive.Home/Properties/AssemblyInfo.shared.cs
Xpressive.Home/Properties/AssemblyInfo.shared.cs
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by Cake. // </auto-generated> //------------------------------------------------------------------------------ using System.Reflection; using System.Runtime.InteropServices; [ass...
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by Cake. // </auto-generated> //------------------------------------------------------------------------------ using System.Reflection; using System.Runtime.InteropServices; [ass...
mit
C#
6c0dcf3e6f8f829cb2ef3d413fc80e2279d06406
Update OidcConfigurationController.cs
aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore
src/ProjectTemplates/Web.Spa.ProjectTemplates/content/React-CSharp/Controllers/OidcConfigurationController.cs
src/ProjectTemplates/Web.Spa.ProjectTemplates/content/React-CSharp/Controllers/OidcConfigurationController.cs
using Microsoft.AspNetCore.ApiAuthorization.IdentityServer; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Logging; namespace Company.WebApplication1.Controllers { public class OidcConfigurationController : Controller { private readonly ILogger<OidcConfigurationController> logger; ...
using Microsoft.AspNetCore.ApiAuthorization.IdentityServer; using Microsoft.AspNetCore.Mvc; namespace Company.WebApplication1.Controllers { public class OidcConfigurationController : Controller { private readonly ILogger<OidcConfigurationController> logger; public OidcConfigurationController(...
apache-2.0
C#
71d17b9fd4c9267362e2e907d02e8ff3ddb112e2
Add InternalsVisibleTo and other metadata to the SharpTools assembly properties
bitwalker/SharpTools,bitwalker/SharpTools
SharpTools/Properties/AssemblyInfo.cs
SharpTools/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("Sh...
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("Sh...
mit
C#
39fa044a66f584e1222a91b06303f559a46d6694
Write defaulted methods
sharper-library/Sharper.C.Either
Sharper.C.Either/Data/EitherModule.cs
Sharper.C.Either/Data/EitherModule.cs
using System; namespace Sharper.C.Data { public static class EitherModule { public sealed class Either<A, B> { public bool IsLeft { get; } public bool IsRight => !IsLeft; private readonly A leftValue; private readonly B rightValue; internal Either(bool isLeft, A left,...
using System; namespace Sharper.C.Data { public static class EitherModule { public struct Either<A, B> { public Either<A, C> FlatMap<C>(Func<B, Either<A, C>> f) => default(Either<A, C>); public Either<A, C> Map<C>(Func<B, C> f) => default(Either<A, C>);...
mit
C#
76c978af8bff77facbffcc2864705678aad6d320
Add sanity check to dissalow invalid file paths
EVAST9919/osu-framework,DrabWeb/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,paparony03/osu-framework,EVAST9919/osu-framework,default0/osu-framework,RedNesto/osu-framework,Tom94/osu-framework,smoogipooo/osu-framework,RedNesto/osu-framework,naoey/osu-framework,naoey/osu-framework,DrabWeb/osu-framework,smoogip...
osu.Framework/Platform/BasicStorage.cs
osu.Framework/Platform/BasicStorage.cs
// Copyright (c) 2007-2016 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE using System.IO; using osu.Framework.IO.File; using SQLite.Net; namespace osu.Framework.Platform { public abstract class BasicStorage { ...
// Copyright (c) 2007-2016 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE using System; using System.IO; using SQLite.Net; namespace osu.Framework.Platform { public abstract class BasicStorage { public st...
mit
C#
6d3a24ff01cdeea9bf52d164087279989b277b6d
Reorder tick hit results
NeoAdonis/osu,ppy/osu,peppy/osu,NeoAdonis/osu,peppy/osu,smoogipoo/osu,ppy/osu,peppy/osu,smoogipoo/osu,UselessToucan/osu,peppy/osu-new,NeoAdonis/osu,smoogipooo/osu,UselessToucan/osu,UselessToucan/osu,ppy/osu,smoogipoo/osu
osu.Game/Rulesets/Scoring/HitResult.cs
osu.Game/Rulesets/Scoring/HitResult.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.ComponentModel; namespace osu.Game.Rulesets.Scoring { public enum HitResult { /// <summary> /// Indicates that the object has not be...
// 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.ComponentModel; namespace osu.Game.Rulesets.Scoring { public enum HitResult { /// <summary> /// Indicates that the object has not be...
mit
C#
bf606522c1c3cd33ec90d70d1290fbfd5114d3aa
Make hyperdash testcase easier to win again
NeoAdonis/osu,smoogipoo/osu,UselessToucan/osu,UselessToucan/osu,smoogipoo/osu,peppy/osu,ZLima12/osu,NeoAdonis/osu,EVAST9919/osu,johnneijzen/osu,naoey/osu,2yangk23/osu,smoogipoo/osu,naoey/osu,DrabWeb/osu,peppy/osu,ppy/osu,peppy/osu,Frontear/osuKyzer,naoey/osu,2yangk23/osu,UselessToucan/osu,smoogipooo/osu,peppy/osu-new,p...
osu.Game.Rulesets.Catch/Tests/TestCaseHyperdash.cs
osu.Game.Rulesets.Catch/Tests/TestCaseHyperdash.cs
using NUnit.Framework; using osu.Game.Beatmaps; using osu.Game.Rulesets.Catch.Objects; namespace osu.Game.Rulesets.Catch.Tests { [TestFixture] [Ignore("getting CI working")] public class TestCaseHyperdash : Game.Tests.Visual.TestCasePlayer { public TestCaseHyperdash() : ...
using NUnit.Framework; using osu.Game.Beatmaps; using osu.Game.Rulesets.Catch.Objects; namespace osu.Game.Rulesets.Catch.Tests { [TestFixture] [Ignore("getting CI working")] public class TestCaseHyperdash : Game.Tests.Visual.TestCasePlayer { public TestCaseHyperdash() : ...
mit
C#
8b25e4c9eea54cb5353da8ca743ba38edff0d60d
Fix searching for "channel" matching all channels
naoey/osu,smoogipoo/osu,johnneijzen/osu,peppy/osu,smoogipoo/osu,DrabWeb/osu,johnneijzen/osu,peppy/osu-new,EVAST9919/osu,ppy/osu,DrabWeb/osu,smoogipoo/osu,UselessToucan/osu,2yangk23/osu,naoey/osu,smoogipooo/osu,ZLima12/osu,peppy/osu,ppy/osu,EVAST9919/osu,peppy/osu,NeoAdonis/osu,2yangk23/osu,naoey/osu,UselessToucan/osu,p...
osu.Game/Overlays/Chat/Selection/ChannelSection.cs
osu.Game/Overlays/Chat/Selection/ChannelSection.cs
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using System; using System.Collections.Generic; using System.Linq; using osuTK; using osu.Framework.Graphics; using osu.Framework.Graphics.Containers; using osu.Game.Gr...
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using System.Collections.Generic; using System.Linq; using osuTK; using osu.Framework.Graphics; using osu.Framework.Graphics.Containers; using osu.Game.Graphics.Sprites...
mit
C#
c9de84b99a95043a0b05e753711eb21299816d30
move from on demand to regular build
AzureAutomationTeam/azure-powershell,AzureAutomationTeam/azure-powershell,ClogenyTechnologies/azure-powershell,AzureAutomationTeam/azure-powershell,AzureAutomationTeam/azure-powershell,ClogenyTechnologies/azure-powershell,ClogenyTechnologies/azure-powershell,ClogenyTechnologies/azure-powershell,AzureAutomationTeam/azur...
src/ResourceManager/Profile/Commands.Profile.Test/ArgumentCompleterTests.cs
src/ResourceManager/Profile/Commands.Profile.Test/ArgumentCompleterTests.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.apa...
// ---------------------------------------------------------------------------------- // // 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.apa...
apache-2.0
C#
5a4fc04da40b89a0da05d1f6119ad3c5227f6680
Fix test name
stsrki/fluentmigrator,amroel/fluentmigrator,spaccabit/fluentmigrator,fluentmigrator/fluentmigrator,amroel/fluentmigrator,igitur/fluentmigrator,stsrki/fluentmigrator,igitur/fluentmigrator,spaccabit/fluentmigrator,fluentmigrator/fluentmigrator
test/FluentMigrator.Tests/Unit/Loggers/TextWriterSemicolonDelimiterTests.cs
test/FluentMigrator.Tests/Unit/Loggers/TextWriterSemicolonDelimiterTests.cs
#region License // // Copyright (c) 2018, Fluent Migrator Project // // 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 ...
#region License // // Copyright (c) 2018, Fluent Migrator Project // // 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 ...
apache-2.0
C#
e26cc9acc53fb86bb7a1512a63703b0d56564095
print if FTraceSwitch.Level >= ATraceLevel
DBCG/Dataphor,n8allan/Dataphor,DBCG/Dataphor,n8allan/Dataphor,n8allan/Dataphor,DBCG/Dataphor,n8allan/Dataphor,n8allan/Dataphor,n8allan/Dataphor,DBCG/Dataphor,DBCG/Dataphor,DBCG/Dataphor
Dataphor/Logging/Logger.cs
Dataphor/Logging/Logger.cs
 using System.Diagnostics; namespace Alphora.Dataphor.Logging { internal class Logger : ILogger { private static TraceSwitch FTraceSwitch; public Logger(string ADisplayName):this(ADisplayName,"TraceSwitch for "+ADisplayName) { } public Log...
 using System.Diagnostics; namespace Alphora.Dataphor.Logging { internal class Logger : ILogger { private static TraceSwitch FTraceSwitch; public Logger(string ADisplayName):this(ADisplayName,"TraceSwitch for "+ADisplayName) { } public Log...
bsd-3-clause
C#
f3df088262ae738c95c55bf44326a9080720129b
Fix missing broadcast check in ModPacket.Send
peteyus/tModLoader,peteyus/tModLoader,peteyus/tModLoader,peteyus/tModLoader
patches/tModLoader/Terraria.ModLoader/ModPacket.cs
patches/tModLoader/Terraria.ModLoader/ModPacket.cs
using System; using System.IO; namespace Terraria.ModLoader { public sealed class ModPacket : BinaryWriter { private byte[] buf; private ushort len; internal ModPacket(byte messageID, int capacity = 256) : base(new MemoryStream(capacity)) { Write((ushort)0); Write(messageID); } public void Send(in...
using System; using System.IO; namespace Terraria.ModLoader { public sealed class ModPacket : BinaryWriter { private byte[] buf; private ushort len; internal ModPacket(byte messageID, int capacity = 256) : base(new MemoryStream(capacity)) { Write((ushort)0); Write(messageID); } public void Send(in...
mit
C#
8f0fa03a179846a5203db628ad13a780d7e73946
Fix infinity climbing slope
bunashibu/kikan
Assets/Scripts/Character2D.cs
Assets/Scripts/Character2D.cs
using System.Collections; using System.Collections.Generic; using UnityEngine; namespace Bunashibu.Kikan { [RequireComponent(typeof(Rigidbody2D))] [RequireComponent(typeof(Collider2D))] public class Character2D : MonoBehaviour { void Awake() { _character = gameObject.GetComponent<ICharacter>(); } ...
using System.Collections; using System.Collections.Generic; using UnityEngine; namespace Bunashibu.Kikan { [RequireComponent(typeof(Rigidbody2D))] [RequireComponent(typeof(Collider2D))] public class Character2D : MonoBehaviour { void Awake() { _character = gameObject.GetComponent<ICharacter>(); } ...
mit
C#
231973e987e304020599ecb21b620123685d33f2
Change access modifier
PolarbearDK/Miracle.FileZilla.Api
Source/Miracle.FileZilla.Api/Error.cs
Source/Miracle.FileZilla.Api/Error.cs
using System; using System.IO; namespace Miracle.FileZilla.Api { public class Error: IBinarySerializable { public bool IsError { get; set; } public string Message { get; set; } public void Deserialize(BinaryReader reader, int protocolVersion, int index) { IsError =...
using System; using System.IO; namespace Miracle.FileZilla.Api { internal class Error: IBinarySerializable { public bool IsError { get; set; } public string Message { get; set; } public void Deserialize(BinaryReader reader, int protocolVersion, int index) { IsError...
mit
C#
ff80f5bc2031e5c267f56762861cdb416a7486df
Bump assembly version
NateShoffner/Strike.NET
Strike.NET/Properties/AssemblyInfo.cs
Strike.NET/Properties/AssemblyInfo.cs
#region using System.Reflection; using System.Runtime.InteropServices; #endregion // 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("Strike.NET")] [asse...
#region using System.Reflection; using System.Runtime.InteropServices; #endregion // 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("Strike.NET")] [asse...
mit
C#
c8ad18605a4e620b7f74f89c944e4a855308c7f6
Bump to 0.2.0
nekno/Transcoder,nekno/Transcoder
Transcoder/Properties/AssemblyInfo.cs
Transcoder/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("Tr...
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("Tr...
mit
C#
3c1032734817f476e4490098dd9398acf61333d1
Add WatchingTestAsync
ats124/backlog4net
src/Backlog4net.Test/WatchingMethodsTest.cs
src/Backlog4net.Test/WatchingMethodsTest.cs
using System; using System.Collections.Generic; using System.Linq; using System.IO; using System.Runtime.Remoting; using System.Text; using System.Threading.Tasks; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Backlog4net.Test { using Api; using Api.Option; using Backlog4net.Internal.Json;...
using System; using System.Collections.Generic; using System.Linq; using System.IO; using System.Runtime.Remoting; using System.Text; using System.Threading.Tasks; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Backlog4net.Test { using Api; using Api.Option; using Backlog4net.Internal.Json;...
mit
C#
e7419f382e81444a44ccaec61c4b232de68ef430
Fix TestSceneHyperDash in test browser
peppy/osu,smoogipoo/osu,peppy/osu,ppy/osu,2yangk23/osu,smoogipoo/osu,UselessToucan/osu,peppy/osu,EVAST9919/osu,EVAST9919/osu,UselessToucan/osu,NeoAdonis/osu,NeoAdonis/osu,NeoAdonis/osu,2yangk23/osu,UselessToucan/osu,johnneijzen/osu,ZLima12/osu,smoogipoo/osu,ZLima12/osu,peppy/osu-new,smoogipooo/osu,johnneijzen/osu,ppy/o...
osu.Game.Rulesets.Catch.Tests/TestSceneHyperDash.cs
osu.Game.Rulesets.Catch.Tests/TestSceneHyperDash.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.Catch.Objects; using osu.Game.Tests.Visual; namespace osu.Game.Rulesets.Catch.Tests { [TestF...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using NUnit.Framework; using osu.Framework.Allocation; using osu.Game.Beatmaps; using osu.Game.Rulesets.Catch.Objects; using osu.Game.Tests.Visual; namespace osu.Game.R...
mit
C#
6e2e6b76f957960a2f31660b2b009b3e83aa0963
Add some static functions.
snakealpha/Sturnus
CS/Sturnus/Sturnus/Sturnus.cs
CS/Sturnus/Sturnus/Sturnus.cs
using System; using System.Collections.Generic; namespace Elecelf.Sturnus { public abstract class Sturnus { public static Expression Parse(string expression, OperatorContext operatorContext = null) { return Parser.Parse(expression, operatorContext); } public static...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Elecelf.Sturnus { class Sturnus { } }
mit
C#
e2d0a0f699c755821df3a847aed5f0e1b170d64f
Add docstrings to IHtmlSanitizer
abjerner/Umbraco-CMS,KevinJump/Umbraco-CMS,marcemarc/Umbraco-CMS,dawoe/Umbraco-CMS,robertjf/Umbraco-CMS,umbraco/Umbraco-CMS,arknu/Umbraco-CMS,abjerner/Umbraco-CMS,dawoe/Umbraco-CMS,arknu/Umbraco-CMS,KevinJump/Umbraco-CMS,KevinJump/Umbraco-CMS,dawoe/Umbraco-CMS,marcemarc/Umbraco-CMS,marcemarc/Umbraco-CMS,abryukhov/Umbra...
src/Umbraco.Core/Security/IHtmlSanitizer.cs
src/Umbraco.Core/Security/IHtmlSanitizer.cs
namespace Umbraco.Core.Security { public interface IHtmlSanitizer { /// <summary> /// Sanitizes HTML /// </summary> /// <param name="html">HTML to be sanitized</param> /// <returns>Sanitized HTML</returns> string Sanitize(string html); } }
namespace Umbraco.Core.Security { public interface IHtmlSanitizer { string Sanitize(string html); } }
mit
C#
bb931fd42210a285e178cd00591b937ac0183088
Fix slight error in documentation
albinsunnanbo/AssemblyVersionFromGit,albinsunnanbo/AssemblyVersionFromGit
AssemblyVersionFromGit/AssemblyVersionReader.cs
AssemblyVersionFromGit/AssemblyVersionReader.cs
using System; using System.Linq; using System.Reflection; namespace AssemblyVersionFromGit { public static class AssemblyVersionReader { /// <summary> /// Formats the assembly version from the specified assembly. /// Requires that <paramref name="assembly"/> contains an AssemblyInforma...
using System; using System.Linq; using System.Reflection; namespace AssemblyVersionFromGit { public static class AssemblyVersionReader { /// <summary> /// Formats the assembly version from the specified assembly. /// Requires that the AssemblyInfo.cs file contains the AssemblyInformati...
mit
C#
1c374536e150da487a0f7226902594eacef2fbe5
Update AlphaStreamsBrokerageModel.cs
StefanoRaggi/Lean,JKarathiya/Lean,StefanoRaggi/Lean,jameschch/Lean,jameschch/Lean,QuantConnect/Lean,jameschch/Lean,QuantConnect/Lean,JKarathiya/Lean,QuantConnect/Lean,QuantConnect/Lean,JKarathiya/Lean,StefanoRaggi/Lean,StefanoRaggi/Lean,AlexCatarino/Lean,jameschch/Lean,AlexCatarino/Lean,AlexCatarino/Lean,StefanoRaggi/L...
Common/Brokerages/AlphaStreamsBrokerageModel.cs
Common/Brokerages/AlphaStreamsBrokerageModel.cs
/* * QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals. * Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect 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...
/* * QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals. * Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect 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...
apache-2.0
C#
13fed2843910161138d1464cec5bab7470114b68
Implement GetAllPosts
bsstahl/PPTail,bsstahl/PPTail
PrehensilePonyTail/PPTail.Data.FileSystem/Repository.cs
PrehensilePonyTail/PPTail.Data.FileSystem/Repository.cs
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using PPTail.Entities; using Microsoft.Extensions.DependencyInjection; namespace PPTail.Data.FileSystem { public class Repository: Interfaces.IContentRepository { private readonly IServiceProvider _service...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using PPTail.Entities; using Microsoft.Extensions.DependencyInjection; namespace PPTail.Data.FileSystem { public class Repository: Interfaces.IContentRepository { private readonly IServiceProvider _service...
mit
C#
95abb6c52e77a4b023434d9d2fb424066ee2fb0e
Fix warnings.
JohanLarsson/Gu.Roslyn.Asserts
Gu.Roslyn.Asserts.Analyzers/AnalyzerCategory.cs
Gu.Roslyn.Asserts.Analyzers/AnalyzerCategory.cs
namespace Gu.Roslyn.Asserts.Analyzers { internal static class AnalyzerCategory { internal const string Ocd = nameof(Ocd); internal const string Correctness = nameof(Correctness); } }
namespace Gu.Roslyn.Asserts.Analyzers { internal class AnalyzerCategory { internal static readonly string Ocd = nameof(Ocd); internal static readonly string Correctness = nameof(Correctness); } }
mit
C#
1d14fb9488c9227cc19e81807d07732ce8670663
Unify shared settings, per-site settings and environment settings
YOTOV-LIMITED/kudu,YOTOV-LIMITED/kudu,MavenRain/kudu,badescuga/kudu,kali786516/kudu,juvchan/kudu,shrimpy/kudu,puneet-gupta/kudu,projectkudu/kudu,duncansmart/kudu,puneet-gupta/kudu,shibayan/kudu,duncansmart/kudu,juvchan/kudu,shanselman/kudu,kali786516/kudu,mauricionr/kudu,shibayan/kudu,sitereactor/kudu,EricSten-MSFT/kud...
Kudu.Core/Settings/DeploymentSettingsManager.cs
Kudu.Core/Settings/DeploymentSettingsManager.cs
using Kudu.Contracts.Settings; using System; using System.Collections.Generic; using XmlSettings; namespace Kudu.Core.Settings { public class DeploymentSettingsManager : IDeploymentSettingsManager { private const string DeploymentSettingsSection = "deployment"; private const string EnvVariable...
using System.Collections.Generic; using System.Linq; using Kudu.Contracts.Settings; using XmlSettings; namespace Kudu.Core.Settings { public class DeploymentSettingsManager : IDeploymentSettingsManager { private const string DeploymentSettingsSection = "deployment"; private readonly ISettings ...
apache-2.0
C#
e233d3b9ee294417c869930895501e0a1cbd33b6
Add failing test covering host disposal when never `Run()`
peppy/osu-framework,ppy/osu-framework,ppy/osu-framework,peppy/osu-framework,peppy/osu-framework,ppy/osu-framework,ZLima12/osu-framework,smoogipooo/osu-framework,ZLima12/osu-framework,smoogipooo/osu-framework
osu.Framework.Tests/Platform/HeadlessGameHostTest.cs
osu.Framework.Tests/Platform/HeadlessGameHostTest.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; using System.Threading.Tasks; using NUnit.Framework; using osu.Framework.Platform; using osu.Framework.Tests.IO; namespace osu.Framework.Tests.P...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System.Threading; using System.Threading.Tasks; using NUnit.Framework; using osu.Framework.Platform; using osu.Framework.Tests.IO; namespace osu.Framework.Tests.P...
mit
C#
010b1a5596025c25eef89a611a9c2b0c484b6e98
Use 'nameof'
onionhammer/dataseed
Wivuu.DataSeed.Tests/DataMigrations/AddDepartments.cs
Wivuu.DataSeed.Tests/DataMigrations/AddDepartments.cs
using System; using System.Collections.Generic; using System.Linq; using Wivuu.DataSeed.Tests.Domain; namespace Wivuu.DataSeed.Tests.DataMigrations { public class AddDepartments : DataMigration<DataSeedTestContext> { public override bool AlwaysRun => true; public override int Order => 1; ...
using System; using System.Collections.Generic; using System.Linq; using Wivuu.DataSeed.Tests.Domain; namespace Wivuu.DataSeed.Tests.DataMigrations { public class AddDepartments : DataMigration<DataSeedTestContext> { public override bool AlwaysRun => true; public override int Order => 1; ...
mit
C#
e28711619b8f424c370ef82ae477e33cdb9a5fc5
Create a database initializer with a url for the github project
marciotoshio/MyPersonalShortner,marciotoshio/MyPersonalShortner
Lib/Infrastructure/EntityFramework/EFContext.cs
Lib/Infrastructure/EntityFramework/EFContext.cs
using System.Data.Entity; using MyPersonalShortner.Lib.Domain.Url; namespace MyPersonalShortner.Lib.Infrastructure.EntityFramework { public class EFContext : DbContext { public EFContext() : base("MyPersonalShortner") { Database.SetInitializer(new MyPersonalSHortnerInit...
using System.Data.Entity; using MyPersonalShortner.Lib.Domain.Url; namespace MyPersonalShortner.Lib.Infrastructure.EntityFramework { public class EFContext : DbContext { public EFContext() : base("MyPersonalShortner") { // TODO: Remove In Prod Database.Creat...
mit
C#
8edb3a818996795a8308f0b619c2cfd2e408e135
use pattern matching
aluxnimm/outlookcaldavsynchronizer
CalDavSynchronizer/Ui/Options/Views/OptionsWindow.xaml.cs
CalDavSynchronizer/Ui/Options/Views/OptionsWindow.xaml.cs
// This file is Part of CalDavSynchronizer (http://outlookcaldavsynchronizer.sourceforge.net/) // Copyright (c) 2015 Gerhard Zehetbauer // Copyright (c) 2015 Alexander Nimmervoll // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License a...
// This file is Part of CalDavSynchronizer (http://outlookcaldavsynchronizer.sourceforge.net/) // Copyright (c) 2015 Gerhard Zehetbauer // Copyright (c) 2015 Alexander Nimmervoll // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License a...
agpl-3.0
C#
8f272a4f0e3dcdcb1a9fb87c8d56298007222f60
Update assembly info for development of the next version
nanathan/ManeuverNodeSplitter
ManeuverNodeSplitter/Properties/AssemblyInfo.cs
ManeuverNodeSplitter/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#
755d2737d0bc1836f3c4acae35bb88962a4edc11
Improve OsuTextFlowContainer with framework.
UselessToucan/osu,naoey/osu,peppy/osu,naoey/osu,Frontear/osuKyzer,DrabWeb/osu,peppy/osu-new,2yangk23/osu,smoogipooo/osu,EVAST9919/osu,peppy/osu,UselessToucan/osu,NeoAdonis/osu,DrabWeb/osu,smoogipoo/osu,ppy/osu,naoey/osu,johnneijzen/osu,2yangk23/osu,UselessToucan/osu,ppy/osu,peppy/osu,ZLima12/osu,johnneijzen/osu,ppy/osu...
osu.Game/Graphics/Containers/OsuTextFlowContainer.cs
osu.Game/Graphics/Containers/OsuTextFlowContainer.cs
// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE using System; using System.Collections.Generic; using osu.Framework.Graphics.Containers; using osu.Framework.Graphics.Sprites; using osu.Game.Graphics....
// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE using System; using System.Collections.Generic; using osu.Framework.Graphics.Containers; using osu.Framework.Graphics.Sprites; using osu.Game.Graphics....
mit
C#
a3eb8239fdb2fd54136237e38e01a25deada947d
Update ejemploExceps.cs
Beelzenef/GestionMenu
ejemplosClase/ejemploExceps.cs
ejemplosClase/ejemploExceps.cs
using System; namespace egb.progExcepciones { class ExcPropiaException : Exception { } class ContadorCeroException : Exception { public ContadorCeroException() : base() { } public ContadorCeroException(string msg) : base(msg) { } } class Clase1 { public static void M1() { try { ...
using System; namespace egb.progExcepciones { class ExcPropiaException : Exception { } class Clase1 { public static void M1() { try { Console.WriteLine ("Clase1.M1(); - tryOverflowException"); Clase2.M2(); } catch (OverflowException e1) { Console.WriteLine ("Clase1.M1(); - catchOverflow...
mit
C#
25f5a13722aa9200633dd11663389d245a92d68d
Add Email test for ReadState.
ottoetc/OttoMail,ottoetc/OttoMail,ottoetc/OttoMail
OttoMail/OttoMail.Tests/ModelTests/EmailTest.cs
OttoMail/OttoMail.Tests/ModelTests/EmailTest.cs
using OttoMail.Models; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Xunit; namespace OttoMail.Tests { public class EmailTest { [Fact] public void GetSubjectTest() { //Arrange var email = ne...
using OttoMail.Models; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Xunit; namespace OttoMail.Tests { public class EmailTest { [Fact] public void GetSubjectTest() { //Arrange var email = ne...
mit
C#
53ec934cbf12990b09447df5bf32974765f021d3
Remove unnecessary casts.
tmat/roslyn,Inverness/roslyn,SeriaWei/roslyn,jeffanders/roslyn,panopticoncentral/roslyn,vslsnap/roslyn,huoxudong125/roslyn,lorcanmooney/roslyn,heejaechang/roslyn,MatthieuMEZIL/roslyn,KiloBravoLima/roslyn,natidea/roslyn,nguerrera/roslyn,jcouv/roslyn,MattWindsor91/roslyn,yjfxfjch/roslyn,swaroop-sridhar/roslyn,robinsedlac...
src/Workspaces/Core/Portable/CaseCorrection/AbstractCaseCorrectionService.cs
src/Workspaces/Core/Portable/CaseCorrection/AbstractCaseCorrectionService.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.Collections.Concurrent; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; using Microso...
// 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.Collections.Concurrent; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; using Microso...
apache-2.0
C#
790199671aa500659e69ab9beea780ce90116c68
use correct mssql instance on appveyor
MySoftwarepark/Sql.Migrations
PlainSql.Migrations.Tests/MsSqlMigratorTests.cs
PlainSql.Migrations.Tests/MsSqlMigratorTests.cs
using System; using System.Data; using System.Data.SqlClient; namespace PlainSql.Migrations.Tests { public class MsSqlMigratorTests : AbstractMigratorTests { protected override IDbConnection Connection { get { var connectionString = GetConnectionString();...
using System; using System.Data; using System.Data.SqlClient; namespace PlainSql.Migrations.Tests { public class MsSqlMigratorTests : AbstractMigratorTests { protected override IDbConnection Connection { get { var connectionString = GetConnectionString();...
mit
C#
687602ad6b5081b90b59bfbc476cebe101e4acc2
Fix obsolete contructor call warning
roman-yagodin/R7.University,roman-yagodin/R7.University,roman-yagodin/R7.University
R7.University.Tests/DefaultPortalConfigTests.cs
R7.University.Tests/DefaultPortalConfigTests.cs
// // DefaultPortalConfigTests.cs // // Author: // Roman M. Yagodin <roman.yagodin@gmail.com> // // Copyright (c) 2016-2017 Roman M. Yagodin // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by // the Free S...
// // DefaultPortalConfigTests.cs // // Author: // Roman M. Yagodin <roman.yagodin@gmail.com> // // Copyright (c) 2016 Roman M. Yagodin // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by // the Free Softwa...
agpl-3.0
C#
82f301f33d5c3421bf24563e32cbc34271c29a8e
Add styles and scripts to admin Layout.
alastairs/cgowebsite,alastairs/cgowebsite
src/CGO.Web/Areas/Admin/Views/Shared/_Layout.cshtml
src/CGO.Web/Areas/Admin/Views/Shared/_Layout.cshtml
<!DOCTYPE html> <html lang="en"> <head> <meta name="viewport" content="width=device-width" /> <title>@ViewBag.Title</title> @Styles.Render("~/Content/bootstrap.min.css") @Styles.Render("~/Content/bootstrap-responsive.min.css") @Styles.Render("~/bundles/font-awesome") ...
<!DOCTYPE html> <html lang="en"> <head> <meta name="viewport" content="width=device-width" /> <title>@ViewBag.Title</title> @Styles.Render("~/Content/bootstrap.min.css") </head> <body> <div> @RenderBody() </div> @RenderSection("Scripts", false) </bo...
mit
C#
b6eb5ff4dbbcde3de262d66605289e94c7265764
Update TextShapeControl.xaml.cs
wieslawsoltes/Core2D,wieslawsoltes/Core2D,Core2D/Core2D,wieslawsoltes/Core2D,Core2D/Core2D,wieslawsoltes/Core2D
src/Core2D.UI/Views/Shapes/TextShapeControl.xaml.cs
src/Core2D.UI/Views/Shapes/TextShapeControl.xaml.cs
using Avalonia.Controls; using Avalonia.Markup.Xaml; using Core2D.Editor; using Core2D.Editors; using Core2D.Shapes; using Core2D.UI.Views.Editors; namespace Core2D.UI.Views.Shapes { /// <summary> /// Interaction logic for <see cref="TextShapeControl"/> xaml. /// </summary> public class TextShapeContr...
using Avalonia.Controls; using Avalonia.Markup.Xaml; using Core2D.Editor; using Core2D.Editors; using Core2D.Shapes; using Core2D.UI.Views.Editors; namespace Core2D.UI.Views.Shapes { /// <summary> /// Interaction logic for <see cref="TextShapeControl"/> xaml. /// </summary> public class TextShapeContr...
mit
C#
416f5f92285112bbc78936b377e76eb290a6f3e0
verify more text and added click api
ProtoTest/ProtoTest.Golem,ProtoTest/ProtoTest.Golem
Golem.PageObjects.Cael/Portfolios/PreviewPortfolioPage.cs
Golem.PageObjects.Cael/Portfolios/PreviewPortfolioPage.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Golem.Framework; using OpenQA.Selenium; namespace Golem.PageObjects.Cael { public class PreviewPortfolioPage : BasePageObject { public Element CourseTitle_Link = new Element("Cours...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Golem.Framework; using OpenQA.Selenium; namespace Golem.PageObjects.Cael { public class PreviewPortfolioPage : BasePageObject { public Element CourseTitle_Link = new Element("Cours...
apache-2.0
C#
9f9107b84748bc95d0cb04a29760461557d7739c
Add gray background.
ppy/osu,2yangk23/osu,DrabWeb/osu,NeoAdonis/osu,ZLima12/osu,naoey/osu,Drezi126/osu,smoogipoo/osu,2yangk23/osu,DrabWeb/osu,Damnae/osu,naoey/osu,DrabWeb/osu,EVAST9919/osu,UselessToucan/osu,smoogipooo/osu,ppy/osu,peppy/osu-new,peppy/osu,peppy/osu,smoogipoo/osu,ppy/osu,johnneijzen/osu,peppy/osu,Frontear/osuKyzer,ZLima12/osu...
osu.Game/Users/UserProfile.cs
osu.Game/Users/UserProfile.cs
// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using osu.Framework.Graphics; using osu.Framework.Graphics.Containers; using osu.Framework.Graphics.Sprites; using osu.Game.Graphics; using osu.Game.Graphics.Con...
// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using osu.Framework.Graphics; using osu.Framework.Graphics.Containers; using osu.Game.Graphics.Containers; using osu.Game.Graphics.UserInterface; using osu.Game....
mit
C#
742f439e815f384ce4f9d96e80977192b583a68d
Change Id to AccountLegalEntityId
SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice
src/SFA.DAS.EAS.Portal.Client/Types/Organisation.cs
src/SFA.DAS.EAS.Portal.Client/Types/Organisation.cs
using Newtonsoft.Json; using System.Collections.Generic; namespace SFA.DAS.EAS.Portal.Client.Types { public class Organisation { [JsonConstructor] public Organisation() { Providers = new List<Provider>(); Reservations = new List<Reservation>(); Cohor...
using Newtonsoft.Json; using System.Collections.Generic; namespace SFA.DAS.EAS.Portal.Client.Types { public class Organisation { [JsonConstructor] public Organisation() { Providers = new List<Provider>(); Reservations = new List<Reservation>(); Cohor...
mit
C#
9cf0f20f3c7039bc0af795c0e6f3ecff272a45e3
return consistent messaging
DynamoDS/DynamoSamples
src/SampleLibraryZeroTouch/Utils/SampleUtilities.cs
src/SampleLibraryZeroTouch/Utils/SampleUtilities.cs
using Autodesk.DesignScript.Runtime; namespace SampleLibraryZeroTouch { /// <summary> /// A utility library containing methods that can be called /// from NodeModel nodes, or used as nodes in Dynamo. /// </summary> public static class SampleUtilities { [IsVisibleInDynamoLibrary(false)...
using Autodesk.DesignScript.Runtime; namespace SampleLibraryZeroTouch { /// <summary> /// A utility library containing methods that can be called /// from NodeModel nodes, or used as nodes in Dynamo. /// </summary> public static class SampleUtilities { [IsVisibleInDynamoLibrary(false)...
mit
C#
b05f95363934060f394cea6721c20a3b9e4008db
Bump version to 0.8
FatturaElettronicaPA/FatturaElettronicaPA.Forms
Properties/AssemblyInfo.cs
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("FatturaElettronica.Forms")] [assembly: As...
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("FatturaElettronica.Forms")] [assembly: As...
bsd-3-clause
C#
7d4fb249691fa840f17335656435b64358fea330
Apply license terms uniformly
Lightstreamer/Lightstreamer-example-StockList-client-winrt,Weswit/Lightstreamer-example-StockList-client-winrt
Properties/AssemblyInfo.cs
Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; [assembly: AssemblyTitle("Lightstreamer WinRT Demo")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("Weswit Srl")] [assembly: AssemblyProduct("Lightstreamer WinR...
#region License /* * Copyright 2013 Weswit Srl * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed ...
apache-2.0
C#
5d99d8b0a068c8384a09dde0f72d12e7c1f5efb1
bump version
sebtoun/DumpKinectSkeleton,sebtoun/DumpKinectSkeleton
Properties/AssemblyInfo.cs
Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.InteropServices; using CommandLine; // Les informations générales relatives à un assembly dépendent de // l'ensemble d'attributs suivant. Changez les valeurs de ces attributs pour modifier les informations // associées à un assembly. [assembly: AssemblyTitle( "DumpKinect...
using System.Reflection; using System.Runtime.InteropServices; using CommandLine; // Les informations générales relatives à un assembly dépendent de // l'ensemble d'attributs suivant. Changez les valeurs de ces attributs pour modifier les informations // associées à un assembly. [assembly: AssemblyTitle( "DumpKinect...
mit
C#
726067cd3aaa071aa669945c85d7df314d448e84
Fix Search
Silphid/Silphid.Unity,Silphid/Silphid.Unity
Sources/Silphid.Showzup/Sources/Controls/Control.cs
Sources/Silphid.Showzup/Sources/Controls/Control.cs
using System.Collections.Generic; using System.Linq; using Silphid.Extensions; using UniRx; using UnityEngine; using UnityEngine.EventSystems; namespace Silphid.Showzup { public abstract class Control : MonoBehaviour, ISelectHandler, IDeselectHandler { protected readonly ReactiveProperty<bool> IsSelec...
using System.Collections.Generic; using System.Linq; using Silphid.Extensions; using UniRx; using UnityEngine; using UnityEngine.EventSystems; namespace Silphid.Showzup { public abstract class Control : MonoBehaviour, ISelectHandler, IDeselectHandler { protected readonly ReactiveProperty<bool> IsSelec...
mit
C#
1287cd11b9bdab74f1e1f77ce7e607151f52b1d3
fix for password input not showing the entered value after save
CityofSantaMonica/Orchard.Socrata
Views/EditorTemplates/Parts.Socrata.Settings.cshtml
Views/EditorTemplates/Parts.Socrata.Settings.cshtml
@model CSM.Socrata.Models.SocrataSettingsPart <fieldset> <legend>Socrata Connection Settings</legend> <div> @Html.LabelFor(m => m.Host, T("Socrata host")) <strong>https://</strong>@Html.TextBoxFor(m => m.Host, new { @class = "text medium" }) </div> <div> @Html.LabelFor(m => m.A...
@model CSM.Socrata.Models.SocrataSettingsPart <fieldset> <legend>Socrata Connection Settings</legend> <div> @Html.LabelFor(m => m.Host, T("Socrata host")) <strong>https://</strong>@Html.TextBoxFor(m => m.Host, new { @class = "text medium" }) </div> <div> @Html.LabelFor(m => m.A...
mit
C#
0e9b2fdecf343852fc34ee85aac76759b8f75848
Test data whitespace fixes (from tabs to spaces)
r2i-sitecore/dotless,rytmis/dotless,modulexcite/dotless,rytmis/dotless,dotless/dotless,rytmis/dotless,r2i-sitecore/dotless,modulexcite/dotless,modulexcite/dotless,rytmis/dotless,rytmis/dotless,r2i-sitecore/dotless,r2i-sitecore/dotless,rytmis/dotless,dotless/dotless,modulexcite/dotless,rytmis/dotless,modulexcite/dotless...
src/dotless.Test/Specs/Functions/ExtractFixture.cs
src/dotless.Test/Specs/Functions/ExtractFixture.cs
namespace dotless.Test.Specs.Functions { using NUnit.Framework; public class ExtractFixture : SpecFixtureBase { [Test] public void TestExtractFromCommaSeparatedList() { var input = @" @list: ""Arial"", ""Helvetica""; .someClass { font-fami...
namespace dotless.Test.Specs.Functions { using NUnit.Framework; public class ExtractFixture : SpecFixtureBase { [Test] public void TestExtractFromCommaSeparatedList() { var input = @" @list: ""Arial"", ""Helvetica""; .someClass { font-fami...
apache-2.0
C#
53950312a5db1553b2df1e51df1d6ec26a0818c5
Update SmsController.cs
TwilioDevEd/api-snippets,TwilioDevEd/api-snippets,TwilioDevEd/api-snippets,TwilioDevEd/api-snippets,TwilioDevEd/api-snippets,TwilioDevEd/api-snippets,TwilioDevEd/api-snippets,TwilioDevEd/api-snippets,TwilioDevEd/api-snippets,TwilioDevEd/api-snippets,TwilioDevEd/api-snippets,TwilioDevEd/api-snippets
quickstart/csharp/sms/receive-sms/SmsController.cs
quickstart/csharp/sms/receive-sms/SmsController.cs
// Code sample for ASP.NET MVC on .NET Framework 4.6.1+ // In Package Manager, run: // Install-Package Twilio.AspNet.Mvc -DependencyVersion HighestMinor using System.Web.Mvc; using Twilio.AspNet.Mvc; using Twilio.TwiML; namespace YourNewWebProject.Controllers { public class SmsController : TwilioController { ...
// In Package Manager, run: // Install-Package Twilio.AspNet.Mvc -DependencyVersion HighestMinor using System.Web.Mvc; using Twilio.AspNet.Mvc; using Twilio.TwiML; namespace YourNewWebProject.Controllers { public class SmsController : TwilioController { [HttpPost] public TwiMLResult Index() ...
mit
C#
fd20bc3c34d55193191e7d282f575a9e0001e733
Add a test to validate sensitivity on OSX (#27959)
Jiayili1/corefx,ericstj/corefx,shimingsg/corefx,mmitche/corefx,mmitche/corefx,Jiayili1/corefx,wtgodbe/corefx,wtgodbe/corefx,ptoonen/corefx,ViktorHofer/corefx,wtgodbe/corefx,ericstj/corefx,ViktorHofer/corefx,BrennanConroy/corefx,wtgodbe/corefx,ViktorHofer/corefx,wtgodbe/corefx,ptoonen/corefx,Jiayili1/corefx,shimingsg/co...
src/Common/tests/Tests/System/IO/PathInternal.Unix.Tests.cs
src/Common/tests/Tests/System/IO/PathInternal.Unix.Tests.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.IO; using Xunit; namespace Tests.System.IO { [PlatformSpecific(TestPlatforms.AnyUnix...
// 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.IO; using Xunit; namespace Tests.System.IO { [PlatformSpecific(TestPlatforms.AnyUnix...
mit
C#
f278822a2c6f913c9d45ea90172079fefc9b318b
Update UserStore.cs
aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore
src/Microsoft.AspNet.Identity.AspNetCoreCompat/UserStore.cs
src/Microsoft.AspNet.Identity.AspNetCoreCompat/UserStore.cs
// Copyright (c) Microsoft Corporation, Inc. All rights reserved. // Licensed under the MIT License, Version 2.0. See License.txt in the project root for license information. using System; using System.Data.Entity; using Microsoft.AspNet.Identity.EntityFramework; namespace Microsoft.AspNet.Identity.CoreCompat { p...
// Copyright (c) Microsoft Corporation, Inc. All rights reserved. // Licensed under the MIT License, Version 2.0. See License.txt in the project root for license information. using System; using System.Data.Entity; using Microsoft.AspNet.Identity.EntityFramework; namespace Microsoft.AspNet.Identity.CoreCompat { p...
apache-2.0
C#
e317052b7e01c3bde30231bdc61a1955d0f90ace
store and get mapping function
aoancea/runtime-mapper
src/Runtime.Mapper/Mapper.cs
src/Runtime.Mapper/Mapper.cs
using System; using System.Collections.Concurrent; namespace Runtime.Mapper { public static class Mapper { private static ConcurrentDictionary<Tuple<Type, Type>, Func<object, object, object>> mappingFunctions = new ConcurrentDictionary<Tuple<Type, Type>, Func<object, object, object>>(); publi...
using System; using System.Collections.Generic; namespace Runtime.Mapper { public static class Mapper { private static Dictionary<Tuple<Type, Type>, Func<object, object, object>> mappingFunctions = new Dictionary<Tuple<Type, Type>, Func<object, object, object>>(); public static TDestination D...
mit
C#
4b6cd4ac6920cc8d001f15b38510224cbd8ad6c8
Index ext method
wasphub/RElmah,wasphub/RElmah
relmah/src/RElmah/Extensions/EnumerableExtensions.cs
relmah/src/RElmah/Extensions/EnumerableExtensions.cs
using System; using System.Collections.Generic; using System.Linq; namespace RElmah.Extensions { public static class EnumerableExtensions { public static IEnumerable<T> Each<T>(this IEnumerable<T> source, Action<T> action) { if (source != null) { var e =...
using System; using System.Collections.Generic; using System.Linq; namespace RElmah.Extensions { public static class EnumerableExtensions { public static IEnumerable<T> Each<T>(this IEnumerable<T> source, Action<T> action) { if (source != null) { var e =...
apache-2.0
C#
906265fb8513a35d8c47d17a3f1576af6b782085
Edit it
sta/websocket-sharp,jogibear9988/websocket-sharp,jogibear9988/websocket-sharp,jogibear9988/websocket-sharp,jogibear9988/websocket-sharp,sta/websocket-sharp,sta/websocket-sharp,sta/websocket-sharp
websocket-sharp/Server/IWebSocketSession.cs
websocket-sharp/Server/IWebSocketSession.cs
#region License /* * IWebSocketSession.cs * * The MIT License * * Copyright (c) 2013-2014 sta.blockhead * * 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, includi...
#region License /* * IWebSocketSession.cs * * The MIT License * * Copyright (c) 2013-2014 sta.blockhead * * 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, includi...
mit
C#
22eeb8d7a77f04e9895c19596776efb96fa2249d
Refactor context to not use vars
ajlopez/ClojSharp
Src/ClojSharp.Core/Context.cs
Src/ClojSharp.Core/Context.cs
namespace ClojSharp.Core { using System; using System.Collections.Generic; using System.Linq; using System.Text; using ClojSharp.Core.Language; public class Context : ClojSharp.Core.IContext { private IDictionary<string, object> values = new Dictionary<string, object>(); ...
namespace ClojSharp.Core { using System; using System.Collections.Generic; using System.Linq; using System.Text; using ClojSharp.Core.Language; public class Context : ClojSharp.Core.IContext { private IDictionary<string, object> values = new Dictionary<string, object>(); ...
mit
C#
5cf37eec2701b8ddc6c47272078ca471d4e12a73
Fix asset bundle
litsungyi/Camus
Scripts/ResourceSystems/AssetBundleLoader.cs
Scripts/ResourceSystems/AssetBundleLoader.cs
using System.Collections.Generic; using System.IO; using Camus.Projects; using UnityEngine; namespace Camus.ResourceSystems { public static class AssetBundleLoader { private static IDictionary<string, AssetBundle> Bundles { get; } = new Dictionary<string, AssetBundle>(); ...
using System.IO; using UnityEngine; namespace Camus.ResourceSystems { public static class AssetBundleLoader { public static T LoadResource<T>(string bundleName, string assetName) where T : MonoBehaviour { var bundle = AssetBundle.LoadFromFile(Path.Combine(Application.streamingAssets...
mit
C#
99df93ff44d809bc58f5951e2bdb530519449087
Bump version 1.1
Kableado/VAR.UrlCompressor
VAR.UrlCompressor/Properties/AssemblyInfo.cs
VAR.UrlCompressor/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyTitle("VAR.UrlCompressor")] [assembly: AssemblyDescription(".Net library for compressing URLs")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("VAR")] [assembly: AssemblyProduct("VAR.UrlCompressor")] [assembly: Assemb...
using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyTitle("VAR.UrlCompressor")] [assembly: AssemblyDescription(".Net library for compressing URLs")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("VAR")] [assembly: AssemblyProduct("VAR.UrlCompressor")] [assembly: Assemb...
mit
C#
1862bb5820a9cfa68703a35af3ba39d3c109f1d8
Use Trace instead of Console
SnowmanTackler/SamSeifert.Utilities,SnowmanTackler/SamSeifert.Utilities
Logger.cs
Logger.cs
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SamSeifert.Utilities { public static class Logger { public static Action<String> WriteLine = (String s) => { Trace.WriteLine(s); ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SamSeifert.Utilities { public static class Logger { public static Action<String> WriteLine = (String s) => { Console.WriteLine(s); }; } }
mit
C#
d4eb4705655bb2d23a807ec0faeeb102070c5bf5
Add Provider property to ILogger interface
RockFramework/Rock.Logging
RockLib.Logging/ILogger.cs
RockLib.Logging/ILogger.cs
using System.Collections.Generic; using System.Runtime.CompilerServices; namespace RockLib.Logging { /// <summary> /// Defines an object used for logging. /// </summary> public interface ILogger { /// <summary> /// Gets the name of the logger. /// </summary> string ...
using System.Runtime.CompilerServices; namespace RockLib.Logging { /// <summary> /// Defines an object used for logging. /// </summary> public interface ILogger { /// <summary> /// Gets the name of the logger. /// </summary> string Name { get; } /// <summar...
mit
C#
c3cbfa9e61083008f7b21097a2e97b0e10691737
use attributes for those
tugberkugurlu/AspNetCore.Identity.MongoDB,miltador/AspNetCore.Identity.DynamoDB,tugberkugurlu/AspNetCore.Identity.MongoDB,miltador/AspNetCore.Identity.DynamoDB
src/AspNetCore.Identity.MongoDB/Models/Occurrence.cs
src/AspNetCore.Identity.MongoDB/Models/Occurrence.cs
using System; using System.Diagnostics.CodeAnalysis; namespace AspNetCore.Identity.MongoDB.Models { [SuppressMessage("ReSharper", "AutoPropertyCanBeMadeGetOnly.Local", Justification = "MongoDB serialization needs private setters")] public class Occurrence { public Occurrence() : this(DateT...
using System; namespace AspNetCore.Identity.MongoDB.Models { public class Occurrence { public Occurrence() : this(DateTime.UtcNow) { } public Occurrence(DateTime occuranceInstantUtc) { Instant = occuranceInstantUtc; } // ReSh...
mit
C#
abd5f6d11e3311a601c36b0f4d980a2840957447
update customer from post class
Doozie7/ExampleConfigServer
src/ConfigService.Api/ViewModels/CustomerFromPost.cs
src/ConfigService.Api/ViewModels/CustomerFromPost.cs
namespace ConfigService.Api.ViewModels { /// <summary> /// The required information to create a new customer /// </summary> public class CustomerFromPost { /// <summary> /// The name of the customer /// </summary> public string Name { get; set; } /// <summary...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace ConfigService.Api.ViewModels { /// <summary> /// The required information to create a new customer /// </summary> public class CustomerFromPost { /// <summary> /// The name of...
mit
C#
285054a2914dda0a0c97659f5928f8e57511726d
Initialize BuildCommand with dependencies
appharbor/appharbor-cli
src/AppHarbor/Commands/BuildCommand.cs
src/AppHarbor/Commands/BuildCommand.cs
using System; using System.IO; namespace AppHarbor.Commands { public class BuildCommand : ICommand { private readonly IApplicationConfiguration _applicationConfiguration; private readonly IAppHarborClient _appharborClient; private readonly TextWriter _writer; public BuildCommand(IApplicationConfiguration a...
using System; namespace AppHarbor.Commands { public class BuildCommand : ICommand { public void Execute(string[] arguments) { throw new NotImplementedException(); } } }
mit
C#
6c9b03476be540be1d80cc4a863fc55c931d766a
Fix location for GlenSarti
planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell
src/Firehose.Web/Authors/GlennSarti.cs
src/Firehose.Web/Authors/GlennSarti.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 GlennSarti : IAmACommunityMember, IFilterMyBlogPosts { public string FirstName => "Glenn"; ...
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 GlennSarti : IAmACommunityMember, IFilterMyBlogPosts { public string FirstName => "Glenn"; ...
mit
C#
6d9d05d181bd0d85dce443370a0bb64a0137a6b8
Fix issue when WebException with ProtocolError status has empty response
patchkit-net/patchkit-library-dotnet,patchkit-net/patchkit-library-dotnet
src/PatchKit.Api/WrapHttpWebRequest.cs
src/PatchKit.Api/WrapHttpWebRequest.cs
using System; using System.Net; namespace PatchKit.Api { public class WrapHttpWebRequest : IHttpWebRequest { private readonly HttpWebRequest _httpWebRequest; public int Timeout { get { return _httpWebRequest.Timeout; } set { _httpWebRequest.Timeout = value; } ...
using System; using System.Net; namespace PatchKit.Api { public class WrapHttpWebRequest : IHttpWebRequest { private readonly HttpWebRequest _httpWebRequest; public int Timeout { get { return _httpWebRequest.Timeout; } set { _httpWebRequest.Timeout = value; } ...
mit
C#
909cc655cbf8e07c9eb6d76ecc051fb50a11e6e3
Prepare add IsValid for book borrow record
alvachien/achihapi
src/hihapi/Models/Library/LibraryBookBorrowRecord.cs
src/hihapi/Models/Library/LibraryBookBorrowRecord.cs
using System; using System.Collections.Generic; using System.Linq; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace hihapi.Models.Library { [Table("T_LIB_BOOK_BORROW_RECORD")] public class LibraryBookBorrowRecord: BaseModel { [Key] ...
using System; using System.Collections.Generic; using System.Linq; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace hihapi.Models.Library { [Table("T_LIB_BOOK_BORROW_RECORD")] public class LibraryBookBorrowRecord: BaseModel { [Key] ...
mit
C#
fd675ffca0833b4f63e05a08947c152123e08b27
Enable ReadLocalTime by default since its the behavior the most .Net developers would expect.
mongodb-csharp/mongodb-csharp,samus/mongodb-csharp,zh-huan/mongodb
source/MongoDB/Configuration/MongoConfiguration.cs
source/MongoDB/Configuration/MongoConfiguration.cs
using MongoDB.Configuration.Mapping; using MongoDB.Serialization; namespace MongoDB.Configuration { /// <summary> /// /// </summary> public class MongoConfiguration { /// <summary> /// MongoDB-CSharp default configuration. /// </summary> public static ...
using MongoDB.Configuration.Mapping; using MongoDB.Serialization; namespace MongoDB.Configuration { /// <summary> /// /// </summary> public class MongoConfiguration { /// <summary> /// MongoDB-CSharp default configuration. /// </summary> public static ...
apache-2.0
C#
57bff87f7185fc0fb968648bd8ff9b599b9d8985
Make the event steam static again
jbrianskog/EventSourcingTodo,jbrianskog/EventSourcingTodo,jbrianskog/EventSourcingTodo
src/EventSourcingTodo/Domain/TodoListRepository.cs
src/EventSourcingTodo/Domain/TodoListRepository.cs
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace EventSourcingTodo.Domain { public interface ITodoListRepository { IList<Event> Events { get; } TodoList Get(); void PostChanges(TodoList todoList); } public class TodoLis...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace EventSourcingTodo.Domain { public interface ITodoListRepository { IList<Event> Events { get; } TodoList Get(); void PostChanges(TodoList todoList); } public class TodoLis...
mit
C#
3fe5d0b70f5ea0d71066eaaba572697352cb08ac
Set Landmarks on Trainingstrials
xfleckx/BeMoBI,xfleckx/BeMoBI
Assets/Paradigms/MultiMazePathRetrieval/Training.cs
Assets/Paradigms/MultiMazePathRetrieval/Training.cs
using UnityEngine; using System.Collections; using System; using System.Linq; public class Training : Trial { /// <summary> /// A Trial Start may caused from external source (e.g. a key press) /// </summary> public override void StartTrial() { base.StartTrial(); var instruc...
using UnityEngine; using System.Collections; using System; using System.Linq; public class Training : Trial { /// <summary> /// A Trial Start may caused from external source (e.g. a key press) /// </summary> public override void StartTrial() { var instruction = new Instruction();...
mit
C#
9b9163613e12fe40c3c48b7ccd29923c61579c9c
Include timestamp in Android impl
orand/Xamarin.Mobile,moljac/Xamarin.Mobile,haithemaraissia/Xamarin.Mobile,nexussays/Xamarin.Mobile,xamarin/Xamarin.Mobile,xamarin/Xamarin.Mobile
MonoDroid/MonoMobile.Extensions/GeolocationSingleListener.cs
MonoDroid/MonoMobile.Extensions/GeolocationSingleListener.cs
using System; using System.Threading.Tasks; using Android.Locations; using Android.OS; namespace MonoMobile.Extensions { internal class GeolocationSingleListener : Java.Lang.Object, ILocationListener { public GeolocationSingleListener (LocationManager manager) { if (manager == null) throw new ArgumentNu...
using System; using System.Threading.Tasks; using Android.Locations; using Android.OS; namespace MonoMobile.Extensions { internal class GeolocationSingleListener : Java.Lang.Object, ILocationListener { public GeolocationSingleListener (LocationManager manager) { if (manager == null) throw new ArgumentNu...
apache-2.0
C#
2285b51656fd3bb1f39831779614af98b05de127
Update AlphaStreamsSlippageModel.cs
jameschch/Lean,jameschch/Lean,AlexCatarino/Lean,JKarathiya/Lean,StefanoRaggi/Lean,StefanoRaggi/Lean,QuantConnect/Lean,AlexCatarino/Lean,JKarathiya/Lean,AlexCatarino/Lean,StefanoRaggi/Lean,jameschch/Lean,JKarathiya/Lean,QuantConnect/Lean,JKarathiya/Lean,jameschch/Lean,StefanoRaggi/Lean,AlexCatarino/Lean,jameschch/Lean,Q...
Common/Orders/Slippage/AlphaStreamsSlippageModel.cs
Common/Orders/Slippage/AlphaStreamsSlippageModel.cs
/* * QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals. * Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect 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 ...
/* * QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals. * Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect 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 ...
apache-2.0
C#
2b0b82d469f81c6da1946621d5c6a78369f68460
Fix empty MatrixPositionFIlter SetPosition method
krille90/unitystation,fomalsd/unitystation,Necromunger/unitystation,krille90/unitystation,Necromunger/unitystation,fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation,Necromunger/unitystation,krille90/unitystation,Necromunger/unitystation,Necromunger/unitystation,fomalsd/unitystation,fom...
UnityProject/Assets/Scripts/Shuttles/MatrixPositionFilter.cs
UnityProject/Assets/Scripts/Shuttles/MatrixPositionFilter.cs
using System; using UnityEngine; /// <summary> /// Handles the clamping / filtering of matrix move position to make PPRT shaders not flicker so much. /// </summary> public class MatrixPositionFilter { private Vector3 mPreviousPosition; private Vector2 mPreviousFilteredPosition; /// <summary> /// Updates the tr...
using System; using UnityEngine; /// <summary> /// Handles the clamping / filtering of matrix move position to make PPRT shaders not flicker so much. /// </summary> public class MatrixPositionFilter { private Vector3 mPreviousPosition; private Vector2 mPreviousFilteredPosition; /// <summary> /// Updates the tr...
agpl-3.0
C#
1ddda534534cedb1e264daac8250f48ed07ec178
hide configurations with '@' prefix from scan
Soluto/tweek,Soluto/tweek,Soluto/tweek,Soluto/tweek,Soluto/tweek,Soluto/tweek
core/Engine/Engine/Rules/Creation/RulesLoader.cs
core/Engine/Engine/Rules/Creation/RulesLoader.cs
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Engine.Core; using Engine.Core.Rules; using Engine.DataTypes; using Engine.Drivers.Rules; using LanguageExt; using static Engine.Core.Utils.TraceHelpers; namespace Engine.Rules.Creation { public delegate IRulePa...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Engine.Core; using Engine.Core.Rules; using Engine.DataTypes; using Engine.Drivers.Rules; using LanguageExt; using static Engine.Core.Utils.TraceHelpers; namespace Engine.Rules.Creation { public delegate IRulePa...
mit
C#
352004e1769a2d25f2b2deb96ee3ab9b58193d98
tidy & comments
biste5/xamarin-forms-samples-1,biste5/xamarin-forms-samples-1,pabloescribanoloza/xamarin-forms-samples-1,KiranKumarAlugonda/xamarin-forms-samples,fabianwilliams/xamarin-forms-samples,conceptdev/xamarin-forms-samples,conceptdev/xamarin-forms-samples,fabianwilliams/xamarin-forms-samples,teefresh/xamarin-forms-samples-1,J...
UITestDemo/iOS/AppDelegate.cs
UITestDemo/iOS/AppDelegate.cs
using System; using System.Collections.Generic; using System.Linq; using MonoTouch.Foundation; using MonoTouch.UIKit; using Xamarin.Forms; using MonoTouch.ObjCRuntime; namespace UITestDemo { [Register ("AppDelegate")] public partial class AppDelegate : UIApplicationDelegate { UIWindow window; static readonl...
using System; using System.Collections.Generic; using System.Linq; using MonoTouch.Foundation; using MonoTouch.UIKit; using Xamarin.Forms; using MonoTouch.ObjCRuntime; namespace UITestDemo { [Register ("AppDelegate")] public partial class AppDelegate : UIApplicationDelegate { UIWindow window; static readonl...
mit
C#
40d8aeee9d2d34d5a9c93bccb9abd87b1e3daad1
Hide occurrence members that should be handled via Times now
RajOpteamix/moq,tectronics/moq
Source/Language/IOccurrence.cs
Source/Language/IOccurrence.cs
//Copyright (c) 2007, Moq Team //http://code.google.com/p/moq/ //All rights reserved. //Redistribution and use in source and binary forms, //with or without modification, are permitted provided //that the following conditions are met: // * Redistributions of source code must retain the // above co...
//Copyright (c) 2007, Moq Team //http://code.google.com/p/moq/ //All rights reserved. //Redistribution and use in source and binary forms, //with or without modification, are permitted provided //that the following conditions are met: // * Redistributions of source code must retain the // above co...
bsd-3-clause
C#
e6ae002ce0dcea90f24392e7b2e12634f18837c5
Remove unused Items property from PoEStash
jcmoyer/Yeena
Yeena/PathOfExile/PoEStash.cs
Yeena/PathOfExile/PoEStash.cs
// Copyright 2013 J.C. Moyer // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to ...
// Copyright 2013 J.C. Moyer // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to ...
apache-2.0
C#
053ca51a9fc1bc7632395bf584198efb026606c5
Implement IReadOnlyList<PoEStashTab> instead
jcmoyer/Yeena
Yeena/PathOfExile/PoEStash.cs
Yeena/PathOfExile/PoEStash.cs
// Copyright 2013 J.C. Moyer // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to ...
// Copyright 2013 J.C. Moyer // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to ...
apache-2.0
C#
6d1d384b96e59c48c2da3ce41455796a0266bf77
Return standard vertex string on error
yishn/GTPWrapper
GTPWrapper/DataTypes/Vertex.cs
GTPWrapper/DataTypes/Vertex.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace GTPWrapper.DataTypes { /// <summary> /// Represents a Go board coordinate. /// </summary> public struct Vertex { /// <summary> /// The letters in a vertex strin...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace GTPWrapper.DataTypes { /// <summary> /// Represents a Go board coordinate. /// </summary> public struct Vertex { /// <summary> /// The letters in a vertex strin...
mit
C#
2d15b3c77b91d57ac32b70574d1e9ffe63e87cb2
Format code
caronyan/CSharpRecipe
CSharpRecipe/Recipe.ClassAndGeneric/ListExtension.cs
CSharpRecipe/Recipe.ClassAndGeneric/ListExtension.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Recipe.ClassAndGeneric { static class ListExtension { public static IEnumerable<T> GetAll<T>(this List<T> myList, T searchValue) => myList.Where(t => t.Equals(searchValue)); ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Recipe.ClassAndGeneric { static class ListExtension { public static IEnumerable<T> GetAll<T>(this List<T> myList, T searchValue) => myList.Where(t => t.Equals(searchValue)); ...
mit
C#
29e253ac805f675a340f3ca33951866deae52583
fix fxcop warning
synel/syndll2
Syndll2/InvalidCrcException.cs
Syndll2/InvalidCrcException.cs
using System; namespace Syndll2 { /// <summary> /// Exception that is thrown when a CRC could not be verified /// </summary> [Serializable] public class InvalidCrcException : Exception { public InvalidCrcException(string message) : base(message) { } } }
using System; namespace Syndll2 { /// <summary> /// Exception that is thrown when a CRC could not be verified /// </summary> public class InvalidCrcException : Exception { public InvalidCrcException(string message) : base(message) { } } }
mit
C#
8465e5f7f26a620068cd7081c6842f1315f27be9
Add comment
nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet
WalletWasabi/Services/Terminate/TerminateService.cs
WalletWasabi/Services/Terminate/TerminateService.cs
using System; using System.Threading; using System.Threading.Tasks; using WalletWasabi.Logging; namespace WalletWasabi.Services.Terminate { public class TerminateService { private Func<Task> _terminateApplicationAsync; private const long TerminateStatusIdle = 0; private const long TerminateStatusInProgress = ...
using System; using System.Threading; using System.Threading.Tasks; using WalletWasabi.Logging; namespace WalletWasabi.Services.Terminate { public class TerminateService { private Func<Task> _terminateApplicationAsync; private const long TerminateStatusIdle = 0; private const long TerminateStatusInProgress = ...
mit
C#
71d99d65622b575109f20ca37a5ec500ef79411f
Remove the cursor dot
EvanHahn/Unity-RTS-camera
RTSCamera.cs
RTSCamera.cs
using UnityEngine; using System.Collections; public class RTSCamera : MonoBehaviour { public Color selectColor = Color.green; public float selectLineWidth = 2f; private readonly string[] INPUT_MOUSE_BUTTONS = {"Mouse Look", "Mouse Select"}; private bool[] isDragging = new bool[2]; private Vector3 selectStar...
using UnityEngine; using System.Collections; public class RTSCamera : MonoBehaviour { public Color selectColor = Color.green; public float selectLineWidth = 2f; private readonly string[] INPUT_MOUSE_BUTTONS = {"Mouse Look", "Mouse Select"}; private bool[] isDragging = new bool[2]; private Vector3 selectStar...
mit
C#
0ba8df0dc09dcafa4e7d60b27e4ecb5f519323f8
Remove old SQL code
jamesmontemagno/MyShoppe
MyShopAdmin.iOS/AppDelegate.cs
MyShopAdmin.iOS/AppDelegate.cs
using System; using System.Collections.Generic; using System.Linq; using Foundation; using UIKit; using ImageCircle.Forms.Plugin.iOS; namespace MyShopAdmin.iOS { [Register ("AppDelegate")] public partial class AppDelegate : global::Xamarin.Forms.Platform.iOS.FormsApplicationDelegate { public override bool Finis...
using System; using System.Collections.Generic; using System.Linq; using Foundation; using UIKit; using ImageCircle.Forms.Plugin.iOS; namespace MyShopAdmin.iOS { [Register ("AppDelegate")] public partial class AppDelegate : global::Xamarin.Forms.Platform.iOS.FormsApplicationDelegate { public override bool Finis...
mit
C#
4fff13f9cc51aa2a31c67f6fdc5c32a71d569546
Replace public with private
bartlomiejwolk/AnimationPathAnimator
PathEvents/Editor/PropertyDrawers/NodeEventDrawer.cs
PathEvents/Editor/PropertyDrawers/NodeEventDrawer.cs
using UnityEngine; using System.Collections; using UnityEditor; namespace ATP.SimplePathAnimator.Events { [CustomPropertyDrawer(typeof(NodeEvent))] public class NodeEventDrawer : PropertyDrawer { // How many rows (properties) will be displayed. private static int Rows { get { ret...
using UnityEngine; using System.Collections; using UnityEditor; namespace ATP.SimplePathAnimator.Events { [CustomPropertyDrawer(typeof(NodeEvent))] public class NodeEventDrawer : PropertyDrawer { // How many rows (properties) will be displayed. public static int Rows { get { retu...
mit
C#
0f07db297904b07e9aa450d1b0a7f0685ac60b71
Allow global mouse bindings to work with OverlayContainers
ppy/osu-framework,Tom94/osu-framework,ppy/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,default0/osu-framework,DrabWeb/osu-framework,DrabWeb/osu-framework,peppy/osu-framework,ZLima12/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,DrabWeb/osu-framework,EVAST9919/osu-framewo...
osu.Framework/Graphics/Containers/OverlayContainer.cs
osu.Framework/Graphics/Containers/OverlayContainer.cs
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE using System.Collections.Generic; using osu.Framework.Input; using OpenTK; namespace osu.Framework.Graphics.Containers { /// <summary> /// ...
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE using System.Collections.Generic; using osu.Framework.Input; namespace osu.Framework.Graphics.Containers { /// <summary> /// An element whic...
mit
C#
1d529a6f830d5d81978cec1c43d80050e01cb9cd
Add help to New-SPOWeb -InheritNavigation
rgueldenpfennig/PnP,baldswede/PnP,durayakar/PnP,dalehhirt/PnP,kevhoyt/PnP,BartSnyckers/PnP,vnathalye/PnP,IvanTheBearable/PnP,tomvr2610/PnP,rgueldenpfennig/PnP,durayakar/PnP,8v060htwyc/PnP,OfficeDev/PnP,sandhyagaddipati/PnPSamples,aammiitt2/PnP,bstenberg64/PnP,shankargurav/PnP,srirams007/PnP,RickVanRousselt/PnP,OneBitSo...
Solutions/PowerShell.Commands/Commands/Web/NewWeb.cs
Solutions/PowerShell.Commands/Commands/Web/NewWeb.cs
using OfficeDevPnP.PowerShell.Commands.Base; using Microsoft.SharePoint.Client; using System.Management.Automation; using OfficeDevPnP.Core.Entities; using OfficeDevPnP.PowerShell.CmdletHelpAttributes; namespace OfficeDevPnP.PowerShell.Commands { [Cmdlet(VerbsCommon.New, "SPOWeb")] [CmdletHelp("Creates a new ...
using OfficeDevPnP.PowerShell.Commands.Base; using Microsoft.SharePoint.Client; using System.Management.Automation; using OfficeDevPnP.Core.Entities; using OfficeDevPnP.PowerShell.CmdletHelpAttributes; namespace OfficeDevPnP.PowerShell.Commands { [Cmdlet(VerbsCommon.New, "SPOWeb")] [CmdletHelp("Creates a new ...
apache-2.0
C#
c345783b9407281134be0386152cf91b51eecf76
Refactor default GetElapsed to use static readonly instance
brian-dot-net/writeasync,brian-dot-net/writeasync,brian-dot-net/writeasync
projects/EventHandlerSample/source/EventHandlerSample.Core/LoopingScheduler.cs
projects/EventHandlerSample/source/EventHandlerSample.Core/LoopingScheduler.cs
//----------------------------------------------------------------------- // <copyright file="LoopingScheduler.cs" company="Brian Rogers"> // Copyright (c) Brian Rogers. All rights reserved. // </copyright> //----------------------------------------------------------------------- namespace EventHandlerSample { us...
//----------------------------------------------------------------------- // <copyright file="LoopingScheduler.cs" company="Brian Rogers"> // Copyright (c) Brian Rogers. All rights reserved. // </copyright> //----------------------------------------------------------------------- namespace EventHandlerSample { us...
unlicense
C#
36280d078bc5748f7f0239db747076f3cd5d2129
Remove unused fields in JukeboxMessageHandler
ethanmoffat/EndlessClient
EOLib/PacketHandlers/Jukebox/JukeboxMessageHandler.cs
EOLib/PacketHandlers/Jukebox/JukeboxMessageHandler.cs
using AutomaticTypeMapper; using EOLib.Domain.Login; using EOLib.Domain.Map; using EOLib.Domain.Notifiers; using EOLib.Net; using EOLib.Net.Handlers; using System.Collections.Generic; namespace EOLib.PacketHandlers.Jukebox { [AutoMappedType] public class JukeboxMessageHandler : InGameOnlyPacketHandler { ...
using AutomaticTypeMapper; using EOLib.Domain.Character; using EOLib.Domain.Login; using EOLib.Domain.Map; using EOLib.Domain.Notifiers; using EOLib.Net; using EOLib.Net.Handlers; using System.Collections.Generic; namespace EOLib.PacketHandlers.Jukebox { [AutoMappedType] public class JukeboxMessageHandler : I...
mit
C#
4382e8ebbe86db97d8e54b67325a585f748b41b4
Update App.cs
jamesmontemagno/MyShoppe
MyShop/App.cs
MyShop/App.cs
using MyShop.Services; using System; using System.Linq; using Xamarin.Forms; namespace MyShop { public static class ViewModelLocator { static bool UseDesignTime => false; static FeedbackViewModel feedbackVM; public static FeedbackViewModel FeedbackViewModel => feedbackVM ?? (feedbac...
using MyShop.Services; using System; using System.Linq; using Xamarin.Forms; namespace MyShop { public static class ViewModelLocator { static FeedbackViewModel feedbackVM; public static FeedbackViewModel FeedbackViewModel => feedbackVM ?? (feedbackVM = new FeedbackViewModel(null)); ...
mit
C#
ea3e4cb0a2fd3c9695ce411af5016ef66c04afbf
Increment the assembly version.
ladimolnar/BitcoinBlockchain
Sources/BitcoinBlockchain/Properties/AssemblyInfo.cs
Sources/BitcoinBlockchain/Properties/AssemblyInfo.cs
//----------------------------------------------------------------------- // <copyright file="AssemblyInfo.cs"> // Copyright © Ladislau Molnar. All rights reserved. // </copyright> //----------------------------------------------------------------------- using System; using System.Reflection; using System.Runtime.Int...
//----------------------------------------------------------------------- // <copyright file="AssemblyInfo.cs"> // Copyright © Ladislau Molnar. All rights reserved. // </copyright> //----------------------------------------------------------------------- using System; using System.Reflection; using System.Runtime.Int...
apache-2.0
C#
95cccf5eba28f6889e5a67f98afe21d2175ddd9d
fix logger category
bitwarden/core,bitwarden/core,bitwarden/core,bitwarden/core
src/Admin/Jobs/DatabaseRebuildlIndexesJob.cs
src/Admin/Jobs/DatabaseRebuildlIndexesJob.cs
using System; using System.Threading.Tasks; using Bit.Core.Jobs; using Bit.Core.Repositories; using Microsoft.Extensions.Logging; using Quartz; namespace Bit.Admin.Jobs { public class DatabaseRebuildlIndexesJob : BaseJob { private readonly IMaintenanceRepository _maintenanceRepository; public...
using System; using System.Threading.Tasks; using Bit.Core.Jobs; using Bit.Core.Repositories; using Microsoft.Extensions.Logging; using Quartz; namespace Bit.Admin.Jobs { public class DatabaseRebuildlIndexesJob : BaseJob { private readonly IMaintenanceRepository _maintenanceRepository; public...
agpl-3.0
C#
5f606e44bd136f6ef1062af28f536f56427e24e9
Fix write bug when jsonMediaTypes are null
visualeyes/halcyon,IsaacSanch/APIology.HAL,IsaacSanch/halcyon
src/Halcyon/HAL/JsonHALMediaTypeFormatter.cs
src/Halcyon/HAL/JsonHALMediaTypeFormatter.cs
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Net; using System.Net.Http; using System.Net.Http.Formatting; using System.Net.Http.Headers; using System.Threading.Tasks; using System.Web; namespace Halcyon.HAL { public class JsonHALMediaTypeFormatter : JsonMediaTy...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Net; using System.Net.Http; using System.Net.Http.Formatting; using System.Net.Http.Headers; using System.Threading.Tasks; using System.Web; namespace Halcyon.HAL { public class JsonHALMediaTypeFormatter : JsonMediaTy...
mit
C#
94fbf4d0ea1972e06777edef3989bcdd5bbca2ad
Revert change contract id on projection version handler
Elders/Cronus,Elders/Cronus
src/Elders.Cronus/Projections/Versioning/Handlers/ProjectionVersionsHandler.cs
src/Elders.Cronus/Projections/Versioning/Handlers/ProjectionVersionsHandler.cs
using System.Runtime.Serialization; using Elders.Cronus.Projections.Snapshotting; namespace Elders.Cronus.Projections.Versioning { [DataContract(Name = ContractId)] public class ProjectionVersionsHandler : ProjectionDefinition<ProjectionVersionsHandlerState, ProjectionVersionManagerId>, IAmNotSnapshotable, IS...
using System.Runtime.Serialization; using Elders.Cronus.Projections.Snapshotting; namespace Elders.Cronus.Projections.Versioning { [DataContract(Name = ContractId)] public class ProjectionVersionsHandler : ProjectionDefinition<ProjectionVersionsHandlerState, ProjectionVersionManagerId>, IAmNotSnapshotable, IS...
apache-2.0
C#
d13e8ae7d9906865b4c0b1a8bbf4d210da74a37e
Update Power.cs
CosmosOS/Cosmos,zarlo/Cosmos,zarlo/Cosmos,CosmosOS/Cosmos,zarlo/Cosmos,zarlo/Cosmos,CosmosOS/Cosmos,CosmosOS/Cosmos
source/Cosmos.System2/Power.cs
source/Cosmos.System2/Power.cs
using sysIO = System.IO; namespace Cosmos.System { /// <summary> /// Power class. /// </summary> public static class Power { /// <summary> /// Reboot with CPU. /// </summary> public static void Reboot() { HAL.Power.CPUReboot(); } ...
using Cosmos.Core; using sysIO = System.IO; namespace Cosmos.System { /// <summary> /// Power class. /// </summary> public static class Power { /// <summary> /// Reboot with CPU. /// </summary> public static void Reboot() { // ACPI reset not done ...
bsd-3-clause
C#
2d25c70ab5543c688c00f1a495955f7ef5fde6cd
Update MockDesktopSpinLock.cs
panopticoncentral/roslyn,bartdesmet/roslyn,wvdd007/roslyn,mavasani/roslyn,CyrusNajmabadi/roslyn,weltkante/roslyn,weltkante/roslyn,jasonmalinowski/roslyn,KevinRansom/roslyn,gafter/roslyn,stephentoub/roslyn,AlekseyTs/roslyn,panopticoncentral/roslyn,tannergooding/roslyn,CyrusNajmabadi/roslyn,gafter/roslyn,dotnet/roslyn,er...
src/Scripting/CoreTestUtilities/ObjectFormatterFixtures/MockDesktopSpinLock.cs
src/Scripting/CoreTestUtilities/ObjectFormatterFixtures/MockDesktopSpinLock.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.Diagnostics; using System.Threading; namespace ObjectFormatterFixtures { /// <summa...
// 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.Diagnostics; using System.Threading; namespace ObjectFormatterFixtures { /// <summa...
mit
C#
2996dbc26eed47313cb9d04c299c76cd229ec493
Use readonly
stephentoub/roslyn,tmat/roslyn,tannergooding/roslyn,weltkante/roslyn,diryboy/roslyn,KirillOsenkov/roslyn,wvdd007/roslyn,jasonmalinowski/roslyn,sharwell/roslyn,KevinRansom/roslyn,panopticoncentral/roslyn,shyamnamboodiripad/roslyn,mgoertz-msft/roslyn,bartdesmet/roslyn,wvdd007/roslyn,physhi/roslyn,eriawan/roslyn,dotnet/ro...
src/Scripting/CoreTestUtilities/ObjectFormatterFixtures/MockDesktopSpinLock.cs
src/Scripting/CoreTestUtilities/ObjectFormatterFixtures/MockDesktopSpinLock.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 disable using System; using System.Diagnostics; using System.Threading; namespace ObjectFormatterFixtur...
// 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 disable using System; using System.Diagnostics; using System.Threading; namespace ObjectFormatterFixtur...
mit
C#
736dd845d1846090de8941126022a4340d03435a
Fix copyright notice
Simution/NServiceBus.Recoverability.RetrySuccessNotification
src/RetrySuccessNotification/AssemblyInfo.cs
src/RetrySuccessNotification/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; [assembly: AssemblyTitle("NServiceBus.Recoverability.RetrySuccessNotification")] [assembly: AssemblyCopyright("Copyright Simution, Inc. All rights reserved")] [assembly: AssemblyProduct("NServiceBus.Recoverability.Re...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; [assembly: AssemblyTitle("NServiceBus.Recoverability.RetrySuccessNotification")] [assembly: AssemblyCopyright("Copyright Bob Langley. All rights reserved")] [assembly: AssemblyProduct("NServiceBus.Recoverability.Retr...
mit
C#
8ddeee0a829a307454e32b58fc2b5d1850a62703
Fix spelling in error message
amweiss/dark-sky-core
src/Services/JsonNetJsonSerializerService.cs
src/Services/JsonNetJsonSerializerService.cs
namespace DarkSky.Services { using System; using System.Threading.Tasks; using Newtonsoft.Json; /// <summary> /// Interface to use for handling JSON serialization via Json.NET /// </summary> public class JsonNetJsonSerializerService : IJsonSerializerService { JsonSerializer...
namespace DarkSky.Services { using System; using System.Threading.Tasks; using Newtonsoft.Json; /// <summary> /// Interface to use for handling JSON serialization via Json.NET /// </summary> public class JsonNetJsonSerializerService : IJsonSerializerService { JsonSerializer...
mit
C#
7f4fd03a5f74429039ee6ea5429e121081ce8106
Remove unused IFunction interface
manisero/DSLExecutor
dev/Manisero.DSLExecutor/Domain/FunctionsDomain/IFunction.cs
dev/Manisero.DSLExecutor/Domain/FunctionsDomain/IFunction.cs
namespace Manisero.DSLExecutor.Domain.FunctionsDomain { public interface IFunction<TResult> { } }
namespace Manisero.DSLExecutor.Domain.FunctionsDomain { public interface IFunction { } public interface IFunction<TResult> : IFunction { } }
mit
C#
fbf9b56a41fd0b32a3440f48dbb0722e6a6d75bd
test suite: rename key to name
stephenlautier/.netcore-labs
experimental/Slabs.Experimental.Console/TestSuite.cs
experimental/Slabs.Experimental.Console/TestSuite.cs
using System; using System.Collections.Generic; using System.Threading.Tasks; namespace Slabs.Experimental.ConsoleClient { internal class TestSuiteBuilder { private readonly string _name; private List<List<TestEntity>> TestGroups { get; } private List<TestEntity> _currentParallelGroup; public TestSuiteBui...
using System; using System.Collections.Generic; using System.Threading.Tasks; namespace Slabs.Experimental.ConsoleClient { internal class TestSuiteBuilder { private readonly string _name; private List<List<TestEntity>> TestGroups { get; } private List<TestEntity> _currentParallelGroup; public TestSuiteBui...
mit
C#