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
f148cbd633f079ffccab110a85d69b0351679bb2
Remove unused members from AssertException.
fixie/fixie
src/Fixie.Tests/Assertions/AssertException.cs
src/Fixie.Tests/Assertions/AssertException.cs
namespace Fixie.Tests.Assertions { using System; using System.Collections.Generic; using static System.Environment; public class AssertException : Exception { public static string FilterStackTraceAssemblyPrefix = typeof(AssertException).Namespace + "."; public AssertException(strin...
namespace Fixie.Tests.Assertions { using System; using System.Collections.Generic; using System.Text; using static System.Environment; public class AssertException : Exception { public static string FilterStackTraceAssemblyPrefix = typeof(AssertException).Namespace + "."; publi...
mit
C#
1baf1124bac1a62e0e971818f99936b18c9121ed
Fix more tests
planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell
src/UnitTest/SyndicationItemExtensionsTest.cs
src/UnitTest/SyndicationItemExtensionsTest.cs
using Firehose.Web.Extensions; using System; using System.ServiceModel.Syndication; using Xunit; namespace UnitTest { public class SyndicationItemExtensionsTest { [Fact] public void FilterPowerShellTitleTest() { var item = new SyndicationItem("some blog post about powershel...
using Firehose.Web.Extensions; using System; using System.ServiceModel.Syndication; using Xunit; namespace UnitTest { public class SyndicationItemExtensionsTest { [Fact] public void FilterXamarinTitleTest() { var item = new SyndicationItem("some blog post about xamarin andr...
mit
C#
07c3113d7c3cb92c6cf3bcf94f11ddc0385973b2
Make edge IEquatable
DasAllFolks/SharpGraphs
Graph/IEdge.cs
Graph/IEdge.cs
using System; namespace Graph { /// <summary> /// Default interface for a graph edge, whether directed or undirected. /// </summary> /// <typeparam name="V"> /// The type used to create vertex (node) labels. /// </typeparam> public interface IEdge<V> : IEquatable<IEdge<V>> where V ...
namespace Graph { /// <summary> /// Default interface for a graph edge, whether directed or undirected. /// </summary> /// <typeparam name="T"> /// The type used to create vertex (node) labels. /// </typeparam> public interface IEdge<T> { } }
apache-2.0
C#
07d48bc8396f9914ebd8539879cdc7632681c629
Rename some methods.
Mattias1/builderbuilder
IdGenerator.cs
IdGenerator.cs
using System; using System.Collections.Generic; namespace Something.Something.TestHelpers { public class IdGenerator { public enum Type { Unspecified }; private static IdGenerator idGenerator; private Dictionary<Type, int> currentIds; private object lockObj = new object(); ...
using System; using System.Collections.Generic; namespace Something.Something.TestHelpers { public class IdGenerator { public enum Type { Unspecified }; private static IdGenerator idGenerator; private Dictionary<Type, int> currentIds; private object lockObj = new object(); ...
mit
C#
e92c836e5ac4d75f85ed8be6158cd3d12ed6370f
Add Selector events
erebuswolf/LockstepFramework,yanyiyun/LockstepFramework,SnpM/Lockstep-Framework
Core/Game/Player/Utility/Selector.cs
Core/Game/Player/Utility/Selector.cs
using UnityEngine; using System; namespace Lockstep { public static class Selector { public static event Action onChange; public static event Action onAdd; public static event Action onRemove; private static LSAgent _mainAgent; static Selector () { onAdd += Change; ...
using UnityEngine; namespace Lockstep { public static class Selector { private static LSAgent _mainAgent; public static LSAgent MainSelectedAgent {get {return _mainAgent;} private set{ _mainAgent = value; } } private static FastSorter<LSAgent> SelectedAgents; public static void Initialize (){ ...
mit
C#
50b58cd6a658164d153c7b5284e3d6c9c73691a7
Add keyboard shortcut to open dev tools (Ctrl+Shift+I)
chylex/TweetDuck,chylex/TweetDuck,chylex/TweetDuck,chylex/TweetDuck
Core/Handling/KeyboardHandlerBase.cs
Core/Handling/KeyboardHandlerBase.cs
using System.Windows.Forms; using CefSharp; using TweetDuck.Core.Controls; using TweetDuck.Core.Other; using TweetDuck.Core.Utils; namespace TweetDuck.Core.Handling{ class KeyboardHandlerBase : IKeyboardHandler{ protected virtual bool HandleRawKey(IWebBrowser browserControl, IBrowser browser, Keys key, Ce...
using System.Windows.Forms; using CefSharp; namespace TweetDuck.Core.Handling{ class KeyboardHandlerBase : IKeyboardHandler{ protected virtual bool HandleRawKey(IWebBrowser browserControl, IBrowser browser, Keys key, CefEventFlags modifiers){ return false; } bool IKeyboardHand...
mit
C#
807a336e0119f35fdeba97c1305e161bf64f607e
update description
gaochundong/Cowboy.WebSockets
Cowboy.WebSockets/SolutionVersion.cs
Cowboy.WebSockets/SolutionVersion.cs
using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyDescription("Cowboy.WebSockets is a C# based library for building WebSocket services.")] [assembly: AssemblyCompany("Dennis Gao")] [assembly: AssemblyProduct("Cowboy.WebSockets")] [assembly: AssemblyCopyright("Copyright © 2015-2016 Denn...
using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyDescription("Cowboy.WebSockets is a library for building WebSocket based services.")] [assembly: AssemblyCompany("Dennis Gao")] [assembly: AssemblyProduct("Cowboy.WebSockets")] [assembly: AssemblyCopyright("Copyright © 2015-2016 Dennis ...
mit
C#
55b75e90400884ecd82d6eabe43e71fceea5b66e
Update AssemblyInfo to 3.3 version
WaltChen/NDatabase,WaltChen/NDatabase
src/Properties/AssemblyInfo.cs
src/Properties/AssemblyInfo.cs
using System; using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [ass...
using System; using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [ass...
apache-2.0
C#
ca872618168cb95af5272a61574a9fcc17bcfe79
Add debugger display to ClrDataAddress (#437)
Microsoft/clrmd,Microsoft/clrmd,cshung/clrmd,cshung/clrmd
src/Microsoft.Diagnostics.Runtime/src/DacInterface/ClrDataAddress.cs
src/Microsoft.Diagnostics.Runtime/src/DacInterface/ClrDataAddress.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; namespace Microsoft.Diagnostics.Runtime.DacInterface { /// <summary> ...
// 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; namespace Microsoft.Diagnostics.Runtime.DacInterface { /// <summary> /// A representation o...
mit
C#
17dc5dcee0a3d43a683007d07c78adc022ba57e9
Add a Container enum (#1583)
superyyrrzz/docfx,dotnet/docfx,hellosnow/docfx,hellosnow/docfx,dotnet/docfx,DuncanmaMSFT/docfx,pascalberger/docfx,928PJY/docfx,superyyrrzz/docfx,hellosnow/docfx,superyyrrzz/docfx,928PJY/docfx,928PJY/docfx,pascalberger/docfx,pascalberger/docfx,DuncanmaMSFT/docfx,dotnet/docfx
src/Microsoft.DocAsCode.DataContracts.ManagedReference/MemberType.cs
src/Microsoft.DocAsCode.DataContracts.ManagedReference/MemberType.cs
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.DocAsCode.DataContracts.ManagedReference { using System; [Serializable] public enum MemberType { Default, Toc, ...
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.DocAsCode.DataContracts.ManagedReference { using System; [Serializable] public enum MemberType { Default, Toc, ...
mit
C#
8a4f68a6e3b9c7f4d327efd21376feaf3181a550
Set non-zero timeout for DNX restore to complete.
mrward/monodevelop-dnx-addin
src/MonoDevelop.Dnx/Omnisharp/MonoDevelop/OmniSharpOptionsWrapper.cs
src/MonoDevelop.Dnx/Omnisharp/MonoDevelop/OmniSharpOptionsWrapper.cs
// // OmnisSharpOptionsWrapper.cs // // Author: // Matt Ward <ward.matt@gmail.com> // // Copyright (c) 2015 Matthew Ward // // 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 r...
// // OmnisSharpOptionsWrapper.cs // // Author: // Matt Ward <ward.matt@gmail.com> // // Copyright (c) 2015 Matthew Ward // // 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 r...
mit
C#
1b780e242e02c4d28ac8691794fc3661c897a736
Fix pages slug to not be case sensitive when used in url
dburriss/Orchard,Cphusion/Orchard,princeppy/JPYSites-Orchard-Azure-Live-SourceCode,stormleoxia/Orchard,luchaoshuai/Orchard,grapto/Orchard.CloudBust,AndreVolksdorf/Orchard,planetClaire/Orchard-LETS,omidnasri/Orchard,openbizgit/Orchard,patricmutwiri/Orchard,neTp9c/Orchard,Cphusion/Orchard,NIKASoftwareDevs/Orchard,arminka...
src/Orchard.Web/Packages/Orchard.Pages/Controllers/PageController.cs
src/Orchard.Web/Packages/Orchard.Pages/Controllers/PageController.cs
using System; using System.Web.Mvc; using Orchard.Localization; using Orchard.ContentManagement; using Orchard.Mvc.Results; using Orchard.Pages.Services; using Orchard.Pages.ViewModels; using Orchard.Security; namespace Orchard.Pages.Controllers { [ValidateInput(false)] public class PageController ...
using System; using System.Web.Mvc; using Orchard.Localization; using Orchard.ContentManagement; using Orchard.Pages.Services; using Orchard.Pages.ViewModels; using Orchard.Security; namespace Orchard.Pages.Controllers { [ValidateInput(false)] public class PageController : Controller, IUpdateModel {...
bsd-3-clause
C#
8df122382f1af3b15ab3f926a4a6728b052886c6
Correct Painless script syntax
elastic/elasticsearch-net,elastic/elasticsearch-net
src/Tests/Tests/QueryDsl/Specialized/Script/ScriptQueryUsageTests.cs
src/Tests/Tests/QueryDsl/Specialized/Script/ScriptQueryUsageTests.cs
using System.Collections.Generic; using Nest; using Tests.Core.ManagedElasticsearch.Clusters; using Tests.Domain; using Tests.Framework.Integration; namespace Tests.QueryDsl.Specialized.Script { /** * A query allowing to define {ref_current}/modules-scripting.html[scripts] as queries. * * See the Elasticsearch do...
using System.Collections.Generic; using Nest; using Tests.Core.ManagedElasticsearch.Clusters; using Tests.Domain; using Tests.Framework.Integration; namespace Tests.QueryDsl.Specialized.Script { /** * A query allowing to define {ref_current}/modules-scripting.html[scripts] as queries. * * See the Elasticsearch do...
apache-2.0
C#
e6b449fe0b602a76a7d61efb5bff0a609fb241cd
Fix case of zero rate calculating a zero true gameplay rate
ppy/osu,peppy/osu,ppy/osu,peppy/osu,peppy/osu,ppy/osu
osu.Game/Screens/Play/GameplayClockExtensions.cs
osu.Game/Screens/Play/GameplayClockExtensions.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; namespace osu.Game.Screens.Play { public static class GameplayClockExtensions { /// <summary> /// The rate of gameplay when playbac...
// 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; namespace osu.Game.Screens.Play { public static class GameplayClockExtensions { /// <summary> /// The rate of gameplay when playbac...
mit
C#
50be0f78824a9cb1e730ccebbfff9ac8758d0051
Update RandomImpl.cs
jp2masa/Cosmos,CosmosOS/Cosmos,CosmosOS/Cosmos,jp2masa/Cosmos,zarlo/Cosmos,zarlo/Cosmos,zarlo/Cosmos,CosmosOS/Cosmos,jp2masa/Cosmos,zarlo/Cosmos,CosmosOS/Cosmos
source/Cosmos.System2_Plugs/System/RandomImpl.cs
source/Cosmos.System2_Plugs/System/RandomImpl.cs
using System; using Cosmos.IL2CPU.API.Attribs; using Cosmos.HAL; namespace Cosmos.System_Plugs.System { //System.Private.CoreLib, Other methods [Plug(TargetName = "System.Random, System.Private.CoreLib")] public class CoreLibRandomImpl { public static void Cctor() {} public static int G...
using System; using Cosmos.IL2CPU.API.Attribs; using Cosmos.HAL; namespace Cosmos.System_Plugs.System { [Plug(Target = typeof(Random))] public class RandomImpl { public static void Ctor(Random aThis) { //empty } public static void Ctor(Random aThis, int seed) ...
bsd-3-clause
C#
9bd2b862d7793c569f6f747ddbd183b9683680a6
Fix sample.
msgpack/msgpack-cli,msgpack/msgpack-cli
samples/Samples/Sample10_ByteArrayBased.cs
samples/Samples/Sample10_ByteArrayBased.cs
#region -- License Terms -- // // MessagePack for CLI // // Copyright (C) 2017 FUJIWARA, Yusuke // // 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...
#region -- License Terms -- // // MessagePack for CLI // // Copyright (C) 2017 FUJIWARA, Yusuke // // 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.or...
apache-2.0
C#
75a89076c285f59d74e8dc0e7dbce534564a989b
Set metadata
masaedw/LineSharp
LineSharp/Properties/AssemblyInfo.cs
LineSharp/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // アセンブリに関する一般情報は以下の属性セットをとおして制御されます。 // アセンブリに関連付けられている情報を変更するには、 // これらの属性値を変更してください。 [assembly: AssemblyTitle("LineSharp")] [assembly: AssemblyDescription("A LINE Messaging API binding library")] [assembly: Assemb...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // アセンブリに関する一般情報は以下の属性セットをとおして制御されます。 // アセンブリに関連付けられている情報を変更するには、 // これらの属性値を変更してください。 [assembly: AssemblyTitle("LineSharp")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: Asse...
mit
C#
f451a24cba190c3e302c285f57e02a0503a594ab
Allow to use input event arguments in the event handlers
k-t/SharpHaven
MonoHaven.Client/Input/InputEvent.cs
MonoHaven.Client/Input/InputEvent.cs
using System; using OpenTK.Input; namespace MonoHaven.Input { public abstract class InputEvent : EventArgs { private readonly KeyModifiers mods; protected InputEvent() { mods = GetCurrentKeyModifiers(); } public bool Handled { get; set; } public KeyModifiers Modifiers { get { return...
using OpenTK.Input; namespace MonoHaven.Input { public abstract class InputEvent { private readonly KeyModifiers mods; protected InputEvent() { mods = GetCurrentKeyModifiers(); } public bool Handled { get; set; } public KeyModifiers Modifiers { get { return mods; } } private st...
mit
C#
05101f0e0e1c2198fe323ab7967a5b673853db48
Improve exception handling of AsyncLock.
chkr1011/MQTTnet,chkr1011/MQTTnet,chkr1011/MQTTnet,chkr1011/MQTTnet,chkr1011/MQTTnet
Source/MQTTnet/Internal/AsyncLock.cs
Source/MQTTnet/Internal/AsyncLock.cs
using System; using System.Threading; using System.Threading.Tasks; namespace MQTTnet.Internal { // From Stephen Toub (https://blogs.msdn.microsoft.com/pfxteam/2012/02/12/building-async-coordination-primitives-part-6-asynclock/) public sealed class AsyncLock : IDisposable { readonly object _syncRo...
using System; using System.Threading; using System.Threading.Tasks; namespace MQTTnet.Internal { // From Stephen Toub (https://blogs.msdn.microsoft.com/pfxteam/2012/02/12/building-async-coordination-primitives-part-6-asynclock/) public sealed class AsyncLock : IDisposable { readonly SemaphoreSlim ...
mit
C#
ae4c3ce08fb5672238ba392b0a84e6a2a4e43ff7
bump to latest version
bholmes/XamarinComponents,bholmes/XamarinComponents,xamarin/XamarinComponents,xamarin/XamarinComponents,xamarin/XamarinComponents,bholmes/XamarinComponents,xamarin/XamarinComponents,bholmes/XamarinComponents,bholmes/XamarinComponents,xamarin/XamarinComponents,xamarin/XamarinComponents,bholmes/XamarinComponents
Android/AndroidThings/build.cake
Android/AndroidThings/build.cake
#addin nuget:?package=Cake.Xamarin.Build #addin nuget:?package=Cake.Xamarin var TARGET = Argument ("t", Argument ("target", "Default")); var NUGET_VERSION = "0.6.1-devpreview"; var JAR_VERSION = "0.6.1-devpreview"; var JAR_URL = string.Format ("https://bintray.com/google/androidthings/download_file?file_path=com%2Fg...
#addin nuget:?package=Cake.Xamarin.Build #addin nuget:?package=Cake.Xamarin var TARGET = Argument ("t", Argument ("target", "Default")); var NUGET_VERSION = "0.6-devpreview"; var JAR_VERSION = "0.6-devpreview"; var JAR_URL = string.Format ("https://bintray.com/google/androidthings/download_file?file_path=com%2Fgoogl...
mit
C#
e1e6365ddd15f0c6561872ff4c069938df76b244
Add Thread name to TaskUtil.Start
jwollen/SharpDX,davidlee80/SharpDX-1,sharpdx/SharpDX,TechPriest/SharpDX,TigerKO/SharpDX,dazerdude/SharpDX,shoelzer/SharpDX,TechPriest/SharpDX,weltkante/SharpDX,manu-silicon/SharpDX,waltdestler/SharpDX,shoelzer/SharpDX,Ixonos-USA/SharpDX,andrewst/SharpDX,Ixonos-USA/SharpDX,fmarrabal/SharpDX,mrvux/SharpDX,fmarrabal/Sharp...
Source/SharpDX/Threading/TaskUtil.cs
Source/SharpDX/Threading/TaskUtil.cs
// Copyright (c) 2010-2013 SharpDX - Alexandre Mutel // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use, copy, modi...
// Copyright (c) 2010-2013 SharpDX - Alexandre Mutel // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use, copy, modi...
mit
C#
34df4be5d9788f35943fd3b63032a9742c617717
Update EnumUtils.GetDescription to better format string representation of enum value #43
Saritasa/SaritasaTools,krasninja/SaritasaTools,krasninja/SaritasaTools
src/Saritasa.Tools.Common/Utils/EnumUtils.cs
src/Saritasa.Tools.Common/Utils/EnumUtils.cs
// Copyright (c) 2015-2017, Saritasa. All rights reserved. // Licensed under the BSD license. See LICENSE file in the project root for full license information. using System; #if NET40 || NET452 || NET461 using System.Collections.Generic; using System.ComponentModel; using System.Text.RegularExpressions; #endif using...
// Copyright (c) 2015-2017, Saritasa. All rights reserved. // Licensed under the BSD license. See LICENSE file in the project root for full license information. using System; #if NET40 || NET452 || NET461 using System.Collections.Generic; using System.ComponentModel; #endif using System.Linq; using System.Reflection;...
bsd-2-clause
C#
8dc52e57628e96385897a683e185f7562cf095c9
Modify MusicNote to be immutable
MattJamesChampion/FretEngine
FretEngine/MusicLogic/MusicNote.cs
FretEngine/MusicLogic/MusicNote.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using FretEngine.Common.DataTypes; namespace FretEngine.MusicLogic { public class MusicNote { public readonly AbstractMusicNote Value; public readonly int Octave; public...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using FretEngine.Common.DataTypes; namespace FretEngine.MusicLogic { public class MusicNote { public AbstractMusicNote Value; public int Octave; public MusicNote(Abstrac...
mit
C#
fc4a7d4febdfa5a79a3f4ad48e48ed0d73ab730e
Remove unused field.
qed-/BosunReporter.NET,lockwobr/BosunReporter.NET,bretcope/BosunReporter.NET
BosunReporter/BosunCounter.cs
BosunReporter/BosunCounter.cs
using System.Collections.Generic; using System.Threading; namespace BosunReporter { public abstract class BosunCounter : BosunMetric { public long Value; public override string MetricType { get { return "counter"; } } protected override IEnum...
using System.Collections.Generic; using System.Threading; namespace BosunReporter { public abstract class BosunCounter : BosunMetric { public long Value; private readonly object _tagsLock = new object(); public override string MetricType { get { retur...
mit
C#
cafffde339fce3f4442102daebd8caed6e82339b
Change test application initialization procedure. It essentially the same as before, but MVC test tooling expect Program to have CreateWebHostBuilder. I referer to ability to seamlessly use WebApplicationFactory I understand that story for testing Electron application will be not easy as it is, but this is allow better...
ElectronNET/Electron.NET,ElectronNET/Electron.NET,ElectronNET/Electron.NET,ElectronNET/Electron.NET,ElectronNET/Electron.NET
ElectronNET.WebApp/Program.cs
ElectronNET.WebApp/Program.cs
using ElectronNET.API; using Microsoft.AspNetCore; using Microsoft.AspNetCore.Hosting; namespace ElectronNET.WebApp { public class Program { public static void Main(string[] args) { CreateWebHostBuilder(args).Build().Run(); } public static IWebHostBuilder CreateWeb...
using ElectronNET.API; using Microsoft.AspNetCore; using Microsoft.AspNetCore.Hosting; namespace ElectronNET.WebApp { public class Program { public static void Main(string[] args) { BuildWebHost(args).Run(); } public static IWebHost BuildWebHost(string[] args) ...
mit
C#
a0fb75522ba8443bc73d48af977578cd27c7698b
Add FirstSeen to the ToString for the Email class
maxmind/minfraud-api-dotnet
MaxMind.MinFraud/Response/Email.cs
MaxMind.MinFraud/Response/Email.cs
using MaxMind.MinFraud.Util; using Newtonsoft.Json; using System; namespace MaxMind.MinFraud.Response { /// <summary> /// This object contains information about the email address passed in the request. /// </summary> public sealed class Email { /// <summary> /// The date the email ...
using MaxMind.MinFraud.Util; using Newtonsoft.Json; using System; namespace MaxMind.MinFraud.Response { /// <summary> /// This object contains information about the email address passed in the request. /// </summary> public sealed class Email { /// <summary> /// The date the email ...
apache-2.0
C#
5cca9bb8c5ac810d16d188648a36de5d2d5d2bad
Fix ElementInfo Null Reference Exception
Arkhist/Hacknet-Pathfinder,Arkhist/Hacknet-Pathfinder,Arkhist/Hacknet-Pathfinder,Arkhist/Hacknet-Pathfinder
Pathfinder/Util/XML/ElementInfo.cs
Pathfinder/Util/XML/ElementInfo.cs
using System; using System.Collections.Generic; using System.Xml; namespace Pathfinder.Util.XML { public class ElementInfo : IEquatable<ElementInfo> { public ElementInfo Parent { get; internal set; } public string Name { get; internal set; } public string Value { get; internal set; } ...
using System; using System.Collections.Generic; using System.Xml; namespace Pathfinder.Util.XML { public class ElementInfo : IEquatable<ElementInfo> { public ElementInfo Parent { get; internal set; } public string Name { get; internal set; } public string Value { get; internal set; } ...
mit
C#
9995bd0a1ef3ecedb214f05d3945ebe28fdae431
fix tests
jjnguy/LRU.Net
LRU.Net/LRU.Net.Tests/UnitTest1.cs
LRU.Net/LRU.Net.Tests/UnitTest1.cs
using System; using System.Linq; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace LRU.Net.Tests { [TestClass] public class UnitTest1 { private static LruCache<string, string> GetInitializedCache(int max, params string[] entries) { var cache = new LruCache<string, s...
using System; using System.Linq; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace LRU.Net.Tests { [TestClass] public class UnitTest1 { private static LruCache<string, string> GetInitializedCache(int max, params string[] entries) { var cache = new LruCache<string, s...
mit
C#
6fe5711165071858e9a173c93021556a28d33d53
Make t
dirkrombauts/SpecLogLogoReplacer
UI/ViewModel/SpecLogTransformer.cs
UI/ViewModel/SpecLogTransformer.cs
using System; using System.Drawing; using System.Drawing.Imaging; using System.IO.Abstractions; namespace SpecLogLogoReplacer.UI.ViewModel { public class SpecLogTransformer : ISpecLogTransformer { private readonly IFileSystem fileSystem; public SpecLogTransformer() : this (new FileSystem()) { ...
using System; using System.Drawing; using System.Drawing.Imaging; using System.IO.Abstractions; namespace SpecLogLogoReplacer.UI.ViewModel { public class SpecLogTransformer : ISpecLogTransformer { private readonly IFileSystem fileSystem; public SpecLogTransformer() : this (new FileSystem()) { ...
isc
C#
4f60ccd60efa201e1f9724f1bbb3e75a25a7267d
Add Rotate/Translate extension methods to IVertexSource
jlewin/agg-sharp,larsbrubaker/agg-sharp,MatterHackers/agg-sharp
agg/VertexSource/ApplyTransform.cs
agg/VertexSource/ApplyTransform.cs
//---------------------------------------------------------------------------- // Anti-Grain Geometry - Version 2.4 // Copyright (C) 2002-2005 Maxim Shemanarev (http://www.antigrain.com) // // C# port by: Lars Brubaker // larsbrubaker@gmail.com // Copyright (C) 2007 // // Permission to copy, use, modif...
//---------------------------------------------------------------------------- // Anti-Grain Geometry - Version 2.4 // Copyright (C) 2002-2005 Maxim Shemanarev (http://www.antigrain.com) // // C# port by: Lars Brubaker // larsbrubaker@gmail.com // Copyright (C) 2007 // // Permission to copy, use, modif...
bsd-2-clause
C#
75bbe017562b7e216c7e2e58f7a347161706371d
Fix float parsing in VolumeMessage.
Sharparam/Foobar2kLib
Sharparam.Foobar2kLib/Messages/VolumeMessage.cs
Sharparam.Foobar2kLib/Messages/VolumeMessage.cs
// <copyright file="VolumeMessage.cs" company="Adam Hellberg"> // Copyright © 2013 by Adam Hellberg. // // 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...
// <copyright file="VolumeMessage.cs" company="Adam Hellberg"> // Copyright © 2013 by Adam Hellberg. // // 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...
mit
C#
a56bb9f2e9cefc0b518346b60371e8e49232a7e1
Add missing authorization scopes read_analytics, read_users and write_users
addsb/ShopifySharp,clement911/ShopifySharp,nozzlegear/ShopifySharp,Yitzchok/ShopifySharp
ShopifySharp/Enums/ShopifyAuthorizationScope.cs
ShopifySharp/Enums/ShopifyAuthorizationScope.cs
using Newtonsoft.Json; using ShopifySharp.Converters; using System.Runtime.Serialization; namespace ShopifySharp.Enums { [JsonConverter(typeof(NullableEnumConverter<ShopifyAuthorizationScope>))] public enum ShopifyAuthorizationScope { [EnumMember(Value = "read_content")] ReadContent, ...
using Newtonsoft.Json; using ShopifySharp.Converters; using System.Runtime.Serialization; namespace ShopifySharp.Enums { [JsonConverter(typeof(NullableEnumConverter<ShopifyAuthorizationScope>))] public enum ShopifyAuthorizationScope { [EnumMember(Value = "read_content")] ReadContent, ...
mit
C#
145d81e7273c4928a851137ec240d05bf6d76fc1
rectify the type in the comment.
jwChung/Experimentalism,jwChung/Experimentalism
src/Experiment.AutoFixture/AutoFixtureFactory.cs
src/Experiment.AutoFixture/AutoFixtureFactory.cs
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using Jwc.Experiment; using Ploeh.AutoFixture; using Ploeh.AutoFixture.Kernel; using Ploeh.AutoFixture.Xunit; namespace Jwc.Experiment { /// <summary> /// Represents a fixture factory to create an instance of /// <...
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using Jwc.Experiment; using Ploeh.AutoFixture; using Ploeh.AutoFixture.Kernel; using Ploeh.AutoFixture.Xunit; namespace Jwc.Experiment { /// <summary> /// Represents a fixture factory to create an instance of /// <...
mit
C#
ecf75c2a6654b865706a59056a84b56cfcf44a9a
add cli client
bitwarden/core,bitwarden/core,bitwarden/core,bitwarden/core
src/Core/IdentityServer/StaticClients.cs
src/Core/IdentityServer/StaticClients.cs
using IdentityServer4.Models; using System.Collections.Generic; using System.Linq; namespace Bit.Core.IdentityServer { public class StaticClients { public static IDictionary<string, Client> GetApiClients() { return new List<Client> { new ApiClient("mobil...
using IdentityServer4.Models; using System.Collections.Generic; using System.Linq; namespace Bit.Core.IdentityServer { public class StaticClients { public static IDictionary<string, Client> GetApiClients() { return new List<Client> { new ApiClient("mobil...
agpl-3.0
C#
27c631ac4de1fc4fc82dee2d844c03486ce0b988
fix exit command to exit the mobile number verification process
mahedee/gen-bot-hrm,mahedee/gen-bot-hrm,mahedee/gen-bot-hrm
src/HRMBot/Dialogs/MobileNumberDialog.cs
src/HRMBot/Dialogs/MobileNumberDialog.cs
using System; using System.Threading.Tasks; using Microsoft.Bot.Builder.Dialogs; using Microsoft.Bot.Connector; namespace HRMBot.Dialogs { [Serializable] public class MobileNumberDialog : IDialog<int> { private int _attempts = 3; public async Task StartAsync(IDialogContext context) ...
using System; using System.Threading.Tasks; using Microsoft.Bot.Builder.Dialogs; using Microsoft.Bot.Connector; namespace HRMBot.Dialogs { [Serializable] public class MobileNumberDialog : IDialog<int> { private int _attempts = 3; public async Task StartAsync(IDialogContext context) ...
mit
C#
36dca23ce59a5fc99fdc8eb1d2d467dda75ff835
Add comment
dbelcher/Xamarin.Auth,jorik041/Xamarin.Auth,LoQIStar/Xamarin.Auth,xamarin/Xamarin.Auth,durandt/Xamarin.Auth,severino32/Xamarin.Auth,nachocove/Xamarin.Auth,YoupHulsebos/Xamarin.Auth,xamarin/Xamarin.Auth,xamarin/Xamarin.Auth,ofetisov/Xamarin.Auth
samples/Xamarin.Auth.Sample.iOS/AppDelegate.cs
samples/Xamarin.Auth.Sample.iOS/AppDelegate.cs
using System; using System.Collections.Generic; using System.Json; using System.Linq; using System.Threading.Tasks; using MonoTouch.Foundation; using MonoTouch.UIKit; using MonoTouch.Dialog; namespace Xamarin.Auth.Sample.iOS { [Register ("AppDelegate")] public partial class AppDelegate : UIApplicationDelegate { v...
using System; using System.Collections.Generic; using System.Json; using System.Linq; using System.Threading.Tasks; using MonoTouch.Foundation; using MonoTouch.UIKit; using MonoTouch.Dialog; namespace Xamarin.Auth.Sample.iOS { [Register ("AppDelegate")] public partial class AppDelegate : UIApplicationDelegate { v...
apache-2.0
C#
1284f04ade8cd9bc2aecadc99e0c123311938245
Improve error messages
Baggykiin/pass-winmenu
pass-winmenu/src/Hotkeys.cs
pass-winmenu/src/Hotkeys.cs
using System; using System.Collections.Generic; using System.Runtime.InteropServices; using System.Windows.Forms; namespace PassWinmenu { internal partial class Program { private int hotkeyIdCounter = 0; private Dictionary<int, Action> hotkeyActions = new Dictionary<int, Action>(); [Flags] private enum Mod...
using System; using System.Collections.Generic; using System.Runtime.InteropServices; using System.Windows.Forms; namespace PassWinmenu { internal partial class Program { private int hotkeyIdCounter = 0; private Dictionary<int, Action> hotkeyActions = new Dictionary<int, Action>(); [Flags] private enum Mod...
mit
C#
0853f0e128dc14a880bc8d7ae0c2553fd67b4b9f
Remove comment
NeoAdonis/osu,ppy/osu,NeoAdonis/osu,UselessToucan/osu,smoogipoo/osu,ppy/osu,NeoAdonis/osu,peppy/osu,UselessToucan/osu,peppy/osu-new,ppy/osu,smoogipoo/osu,UselessToucan/osu,smoogipooo/osu,peppy/osu,peppy/osu,smoogipoo/osu
osu.Game.Rulesets.Taiko.Tests/DrawableTestHit.cs
osu.Game.Rulesets.Taiko.Tests/DrawableTestHit.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using osu.Framework.Allocation; using osu.Game.Beatmaps; using osu.Game.Beatmaps.ControlPoints; using osu.Game.Rulesets.Scoring; using osu.Game.Rulesets.Taiko.Objects; us...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using osu.Framework.Allocation; using osu.Game.Beatmaps; using osu.Game.Beatmaps.ControlPoints; using osu.Game.Rulesets.Scoring; using osu.Game.Rulesets.Taiko.Objects; us...
mit
C#
5b5ba7df936f159df034467c0786e6ff4d161838
Remove unused offset
ppy/osu,UselessToucan/osu,peppy/osu-new,peppy/osu,NeoAdonis/osu,NeoAdonis/osu,peppy/osu,smoogipoo/osu,smoogipooo/osu,ppy/osu,NeoAdonis/osu,smoogipoo/osu,smoogipoo/osu,ppy/osu,UselessToucan/osu,UselessToucan/osu,peppy/osu
osu.Game/Screens/Play/HUD/DefaultScoreCounter.cs
osu.Game/Screens/Play/HUD/DefaultScoreCounter.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using osu.Framework.Allocation; using osu.Framework.Graphics; using osu.Game.Graphics; using osu.Game.Graphics.UserInterface; namespace osu.Game.Screens.Play.HUD { 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 osu.Framework.Allocation; using osu.Framework.Graphics; using osu.Game.Graphics; using osu.Game.Graphics.UserInterface; using osuTK; namespace osu.Game.Screens.Pla...
mit
C#
2bcb61ac3a7a390b20434efa50319e18cd64fb8a
test fix for NRE's
Lokosmos/Kerbsplosions
Kerbsplosions/IntegrityModule.cs
Kerbsplosions/IntegrityModule.cs
//Written by Oscar (Matrixmage) using System; using UnityEngine; using KSP.IO; namespace Kerbsplosions { public class IntegrityModule : PartModule { [KSPField] public float Integrity; //Non-input KSPFields [KSPField(guiActive = true, guiName = "Integrity", guiUnits = "%", gui...
//Written by Oscar (Matrixmage) using System; using UnityEngine; using KSP.IO; namespace Kerbsplosions { public class IntegrityModule : PartModule { [KSPField] public float Integrity; //Non-input KSPFields [KSPField(guiActive = true, guiName = "Integrity", guiUnits = "%", gui...
mit
C#
e4f772a514b1066ca12a2f3e814922476ad0d2bc
Add vscode to git ignore
JosephWoodward/SlugityDotNet,JosephWoodward/StringToUrlSanitizer,JosephWoodward/SlugityDotNet
src/Slugity.Tests/CustomSlugityConfig.cs
src/Slugity.Tests/CustomSlugityConfig.cs
namespace SlugityLib.Tests { public class CustomSlugityConfig : ISlugityConfig { public CustomSlugityConfig() { TextCase = TextCase.LowerCase; StripStopWords = false; MaxLength = 30; StringSeparator = ' '; ReplacementCharacters = new C...
using SlugityLib.Configuration; namespace SlugityLib.Tests { public class CustomSlugityConfig : ISlugityConfig { public CustomSlugityConfig() { TextCase = TextCase.LowerCase; StripStopWords = false; MaxLength = 30; StringSeparator = ' '; ...
mit
C#
e0b5e035f0e760ae1e59d6294ff0937dcbd668f8
Debug output
andlju/swetugg-tix,andlju/swetugg-tix,andlju/swetugg-tix
src/Swetugg.Tix.Activity.Jobs/Program.cs
src/Swetugg.Tix.Activity.Jobs/Program.cs
using Microsoft.Azure.WebJobs; using System; using System.Collections.Generic; using System.Configuration; using System.Linq; using System.Threading.Tasks; using Microsoft.Azure.WebJobs.ServiceBus; using Microsoft.Extensions.Configuration; namespace Swetugg.Tix.Activity.Jobs { public class Program { p...
using Microsoft.Azure.WebJobs; using System; using System.Collections.Generic; using System.Configuration; using System.Linq; using System.Threading.Tasks; using Microsoft.Azure.WebJobs.ServiceBus; using Microsoft.Extensions.Configuration; namespace Swetugg.Tix.Activity.Jobs { public class Program { p...
mit
C#
807e4022b58b14aa7fa25c37eccc2beb0bfdfc32
Remove RequestPath from WebpackOptions
sergeysolovev/webpack-aspnetcore,sergeysolovev/webpack-aspnetcore,sergeysolovev/webpack-aspnetcore
src/Webpack.AspNetCore/WebpackOptions.cs
src/Webpack.AspNetCore/WebpackOptions.cs
using System; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Http; namespace Webpack.AspNetCore { public class WebpackOptions { public WebpackOptions() { ManifestPath = new PathString("/asset-manifest.json"); } /// <summary> /// The asset ma...
using System; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Http; namespace Webpack.AspNetCore { public class WebpackOptions { public WebpackOptions() { ManifestPath = new PathString("/asset-manifest.json"); RequestPath = PathString.Empty; } ...
mit
C#
516b1042846d1443040625b413069eddc0b15a4f
Make a book titled "blah 2 blah" sort before "blah 2.1 blah"
BloomBooks/BloomDesktop,StephenMcConnel/BloomDesktop,StephenMcConnel/BloomDesktop,andrew-polk/BloomDesktop,JohnThomson/BloomDesktop,andrew-polk/BloomDesktop,StephenMcConnel/BloomDesktop,StephenMcConnel/BloomDesktop,andrew-polk/BloomDesktop,andrew-polk/BloomDesktop,gmartin7/myBloomFork,gmartin7/myBloomFork,gmartin7/myBl...
src/BloomExe/Collection/NaturalSortComparer.cs
src/BloomExe/Collection/NaturalSortComparer.cs
using System; using System.Collections.Generic; using System.Text.RegularExpressions; namespace Bloom.Collection { /// <summary> /// From James McCormack, http://zootfroot.blogspot.com/2009/09/natural-sort-compare-with-linq-orderby.html /// </summary> /// <typeparam name="T"></typeparam> public class NaturalSort...
using System; using System.Collections.Generic; using System.Text.RegularExpressions; namespace Bloom.Collection { /// <summary> /// From James McCormack, http://zootfroot.blogspot.com/2009/09/natural-sort-compare-with-linq-orderby.html /// </summary> /// <typeparam name="T"></typeparam> public class NaturalSort...
mit
C#
460e6f86f96586762c333794a7d942f578a63587
Add new ICFType interface
jorik041/maccore,mono/maccore,cwensley/maccore
src/CoreFoundation/CFType.cs
src/CoreFoundation/CFType.cs
// // Copyright 2012 Xamarin // using System; using System.Runtime.InteropServices; using MonoMac.ObjCRuntime; namespace MonoMac.CoreFoundation { public class CFType { [DllImport (Constants.CoreFoundationLibrary, EntryPoint="CFGetTypeID")] public static extern int GetTypeID (IntPtr typeRef); } public interface...
using System; using System.Runtime.InteropServices; namespace MonoMac.CoreFoundation { public class CFType { [DllImport (Constants.CoreFoundationLibrary, EntryPoint="CFGetTypeID")] public static extern int GetTypeID (IntPtr typeRef); } }
apache-2.0
C#
b06ba330638245b15beac973847a05cfe1068d67
Fix error dialog close button not working
Zyrio/ictus,Zyrio/ictus
src/Yio/Views/Shared/_ErrorPanelPartial.cshtml
src/Yio/Views/Shared/_ErrorPanelPartial.cshtml
<div class="panel" id="error-panel"> <div class="panel-inner"> <div class="panel-close"> <a href="#" id="error-panel-close"><i class="fa fa-fw fa-times"></i></a> </div> <h1 id="error-title">Error!</h1> <p id="error-message"> <img src="http://i.imgur.com/ne6uoF...
<div class="panel" id="error-panel"> <div class="panel-inner"> <div class="panel-close"> <a href="#" id="about-panel-close"><i class="fa fa-fw fa-times"></i></a> </div> <h1 id="error-title">Error!</h1> <p id="error-message"> Oh no! </p> </div> </di...
mit
C#
a4e006c5e75442b7ab451573d600f994b917cfdd
Use Automapper AssertConfigurationIsValid
ASP-NET-MVC-Boilerplate/Framework,ASP-NET-Core-Boilerplate/Framework,ASP-NET-MVC-Boilerplate/Framework,ASP-NET-Core-Boilerplate/Framework,ASP-NET-Core-Boilerplate/Framework,ASP-NET-Core-Boilerplate/Framework
Benchmarks/Boxed.Mapping.Benchmark/Mapping/AutomapperConfiguration.cs
Benchmarks/Boxed.Mapping.Benchmark/Mapping/AutomapperConfiguration.cs
namespace Boxed.Mapping.Benchmark.Mapping { using AutoMapper; using Boxed.Mapping.Benchmark.Models; public static class AutomapperConfiguration { public static IMapper CreateMapper() { var configuration = new MapperConfiguration( x => x.CreateMap<MapFrom, Map...
namespace Boxed.Mapping.Benchmark.Mapping { using AutoMapper; using Boxed.Mapping.Benchmark.Models; public static class AutomapperConfiguration { public static IMapper CreateMapper() { var configuration = new MapperConfiguration( x => x.CreateMap<MapFrom, Map...
mit
C#
111f3c2d070c2a8125c1b3893c8200148d90648b
allow to provide the task state explicitly
mastersign/Mastersign.Tasks
src/Library/TaskEventArgs.cs
src/Library/TaskEventArgs.cs
using System; using System.Collections.Generic; using System.Text; namespace Mastersign.Tasks { public class TaskEventArgs : EventArgs { public ITask Task { get; private set; } public TaskState State { get; private set; } public TaskEventArgs(ITask task) { Task = ...
using System; using System.Collections.Generic; using System.Text; namespace Mastersign.Tasks { public class TaskEventArgs : EventArgs { public ITask Task { get; private set; } public TaskState State { get; private set; } public TaskEventArgs(ITask task) { Task = ...
mit
C#
0a6260df081fec40d4e493c60b3021dafeac7000
Fix V96Domains DevToolsVersion property value
SeleniumHQ/selenium,SeleniumHQ/selenium,HtmlUnit/selenium,HtmlUnit/selenium,SeleniumHQ/selenium,titusfortner/selenium,titusfortner/selenium,SeleniumHQ/selenium,valfirst/selenium,valfirst/selenium,titusfortner/selenium,HtmlUnit/selenium,valfirst/selenium,joshmgrant/selenium,valfirst/selenium,joshmgrant/selenium,HtmlUnit...
dotnet/src/webdriver/DevTools/v96/V96Domains.cs
dotnet/src/webdriver/DevTools/v96/V96Domains.cs
// <copyright file="V96Domains.cs" company="WebDriver Committers"> // Licensed to the Software Freedom Conservancy (SFC) under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. The SFC licenses this file // to yo...
// <copyright file="V96Domains.cs" company="WebDriver Committers"> // Licensed to the Software Freedom Conservancy (SFC) under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. The SFC licenses this file // to yo...
apache-2.0
C#
a4c99d2e963768d89c069bbf5c3a9f53b40261e9
Allow NullProcess to return null properties
Haacked/Rothko
src/Processes/NullProcess.cs
src/Processes/NullProcess.cs
using System; using System.Diagnostics; using System.IO; using NullGuard; namespace Rothko { public sealed class NullProcess : IProcess { #pragma warning disable 67 public event DataReceivedEventHandler OutputDataReceived; public event DataReceivedEventHandler ErrorDataReceived; #pragma warnin...
using System; using System.Diagnostics; using System.IO; namespace Rothko { public sealed class NullProcess : IProcess { #pragma warning disable 67 public event DataReceivedEventHandler OutputDataReceived; public event DataReceivedEventHandler ErrorDataReceived; #pragma warning restore 67 ...
mit
C#
44983291e178c7952e7bd14715af78c793715e2c
Implement method
restful-routing/restful-routing,restful-routing/restful-routing,stevehodgkiss/restful-routing,stevehodgkiss/restful-routing,stevehodgkiss/restful-routing,restful-routing/restful-routing
src/RestfulRouting/Mapper.cs
src/RestfulRouting/Mapper.cs
using System.Web.Mvc; using System.Web.Routing; namespace RestfulRouting { public abstract class Mapper { protected Route GenerateRoute(string path, string controller, string action, string[] httpMethods) { return new Route(path, new RouteValueDictionary(new { controller, action }), new RouteValueDic...
using System; using System.Web.Routing; namespace RestfulRouting { public abstract class Mapper { protected Route GenerateRoute(string path, string controller, string action, string[] httpMethods) { throw new NotImplementedException(); } } }
mit
C#
69cb370c97f77418ac2ffd09275dda0e13eff7ea
Enable escaping by default
Shiney/roslyn,gafter/roslyn,ErikSchierboom/roslyn,khellang/roslyn,thomaslevesque/roslyn,brettfo/roslyn,diryboy/roslyn,tmeschter/roslyn,nguerrera/roslyn,AdamSpeight2008/roslyn-AdamSpeight2008,physhi/roslyn,drognanar/roslyn,weltkante/roslyn,michalhosala/roslyn,jkotas/roslyn,vslsnap/roslyn,Hosch250/roslyn,CaptainHayashi/r...
src/Scripting/Core/Hosting/PrintOptions.cs
src/Scripting/Core/Hosting/PrintOptions.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; namespace Microsoft.CodeAnalysis.Scripting.Hosting { public class PrintOptions { private NumberRadix _numberRadix = NumberRadix...
// 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; namespace Microsoft.CodeAnalysis.Scripting.Hosting { public class PrintOptions { private NumberRadix _numberRadix = NumberRadix...
mit
C#
c64b1978d707585d39e07cc0d9e7238aa519bece
Update PowerShellMetricTelemeter.cs
tiksn/TIKSN-Framework
TIKSN.Framework.Core/Analytics/Telemetry/PowerShellMetricTelemeter.cs
TIKSN.Framework.Core/Analytics/Telemetry/PowerShellMetricTelemeter.cs
using System.Management.Automation; using System.Threading.Tasks; namespace TIKSN.Analytics.Telemetry { public class PowerShellMetricTelemeter : IMetricTelemeter { private readonly Cmdlet cmdlet; public PowerShellMetricTelemeter(Cmdlet cmdlet) => this.cmdlet = cmdlet; public Task Tra...
using System.Management.Automation; using System.Threading.Tasks; namespace TIKSN.Analytics.Telemetry { public class PowerShellMetricTelemeter : IMetricTelemeter { private readonly Cmdlet cmdlet; public PowerShellMetricTelemeter(Cmdlet cmdlet) { this.cmdlet = cmdlet; ...
mit
C#
bdf36d881bf2fbb3fa3bfc8e58bfd2a2e6a67a3f
test commit
HatfieldConsultants/Hatfield.EnviroData.DataImport
Test/Hatfield.DataImport.Test/ValueParsers/DateTimeValueParserTest.cs
Test/Hatfield.DataImport.Test/ValueParsers/DateTimeValueParserTest.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using NUnit.Framework; using Hatfield.DataImport.ValueParsers; namespace Hatfield.DataImport.Test.ValueParsers { [TestFixture] public class DateTimeValueParserTest { static object[] testCases = new object[] {...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using NUnit.Framework; using Hatfield.DataImport.ValueParsers; namespace Hatfield.DataImport.Test.ValueParsers { [TestFixture] public class DateTimeValueParserTest { static object[] testCases = new object[] { ...
mpl-2.0
C#
dba9d777ba447601cf851ead6808878df5b825e9
Remove unused using
hey-red/Mime
test/MimeTests/GuessMime.cs
test/MimeTests/GuessMime.cs
using HeyRed.Mime; using System.IO; using Xunit; namespace MimeTests { public class GuessMime { public GuessMime() => MimeGuesser.MagicFilePath = ResourceUtils.GetMagicFilePath; [Fact] public void GuessMimeFromFilePath() { string expected = "image/jpeg"...
using HeyRed.Mime; using System.IO; using System.Net.Http; using Xunit; namespace MimeTests { public class GuessMime { public GuessMime() => MimeGuesser.MagicFilePath = ResourceUtils.GetMagicFilePath; [Fact] public void GuessMimeFromFilePath() { string ...
mit
C#
380acd1d6f60670e937842ad3ade259c2eacbc50
Initialize ease curve
bartlomiejwolk/AnimationPathAnimator
PathData.cs
PathData.cs
using UnityEngine; using System.Collections; namespace ATP.AnimationPathTools { public class PathData : ScriptableObject { [SerializeField] private AnimationPath animatedObjectPath; [SerializeField] private AnimationPath rotationPath; [SerializeField] private AnimationCurve easeCurve; [SerializeFi...
using UnityEngine; using System.Collections; namespace ATP.AnimationPathTools { public class PathData : ScriptableObject { [SerializeField] private AnimationPath animatedObjectPath; [SerializeField] private AnimationPath rotationPath; [SerializeField] private AnimationCurve easeCurve; [SerializeFi...
mit
C#
1042205b3291889b6974b66ab9770b9973548483
Remove filter (default will work)
planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell
src/Firehose.Web/Authors/ChristianHoejsager.cs
src/Firehose.Web/Authors/ChristianHoejsager.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 ChristianHoejsager : IAmACommunityMember { public string FirstName => "Christian"; public ...
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 ChristianHoejsager : IFilterMyBlogPosts, IAmACommunityMember { public string FirstName => "Christi...
mit
C#
f005af37b401e921d5402a9d4db8519bdcdd5192
add Format.Url, Format.EscapeUrl
RogueException/Discord.Net,AntiTcb/Discord.Net
src/Discord.Net.Core/Format.cs
src/Discord.Net.Core/Format.cs
namespace Discord { /// <summary> A helper class for formatting characters. </summary> public static class Format { // Characters which need escaping private static readonly string[] SensitiveCharacters = { "\\", "*", "_", "~", "`" }; /// <summary> Returns a markdown-formatted strin...
namespace Discord { /// <summary> A helper class for formatting characters. </summary> public static class Format { // Characters which need escaping private static readonly string[] SensitiveCharacters = { "\\", "*", "_", "~", "`" }; /// <summary> Returns a markdown-formatted strin...
mit
C#
1c6a4d65a048acbd61d197b2daa244e6f906214c
Add logging of TPL threadpool state on test failures
ppy/osu-framework,peppy/osu-framework,peppy/osu-framework,ppy/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,smoogipooo/osu-framework
osu.Framework/Logging/LoadingComponentsLogger.cs
osu.Framework/Logging/LoadingComponentsLogger.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.Linq; using System.Threading; using osu.Framework.Development; using osu.Framework.Graphics; using osu.Framework.Graphics.Containers; using osu.Framework.Lis...
// 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.Linq; using osu.Framework.Development; using osu.Framework.Graphics; using osu.Framework.Graphics.Containers; using osu.Framework.Lists; namespace osu.Frame...
mit
C#
215c946c20693cc09cc635ae05be4f99dacd14c7
Set version 1.0.6.0
nunit/teamcity-event-listener,nunit/teamcity-event-listener
src/extension/Properties/AssemblyInfo.cs
src/extension/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("teamcity-event-listener")] [assembly: Ass...
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("teamcity-event-listener")] [assembly: Ass...
mit
C#
be8dbcbfbd73d09d207ad8a1d4673a815e0e7570
Refactor to a thread-safe queue.
getsentry/raven-csharp,xpicio/raven-csharp,xpicio/raven-csharp,getsentry/raven-csharp,getsentry/raven-csharp
src/app/SharpRaven/Utilities/CircularBuffer.cs
src/app/SharpRaven/Utilities/CircularBuffer.cs
using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Linq; namespace SharpRaven.Utilities { public class CircularBuffer<T> { private readonly int size; private ConcurrentQueue<T> queue; public CircularBuffer(int size = 100) { ...
using System.Collections.Generic; using System.Linq; namespace SharpRaven.Utilities { public class CircularBuffer<T> { private readonly int size; private readonly Queue<T> queue; public CircularBuffer(int size = 100) { this.size = size; queue = new Queu...
bsd-3-clause
C#
d45f95ddf4dd9749f526c3b4da88f4ced138f45a
Set version 1.0.7.0
nunit/teamcity-event-listener,nunit/teamcity-event-listener
src/extension/Properties/AssemblyInfo.cs
src/extension/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("teamcity-event-listener")] [assembly: Ass...
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("teamcity-event-listener")] [assembly: Ass...
mit
C#
9a179f5a28db7da4ad3cadf12fe4d00338932a95
Update ScopeDefinitionAttribute.ContainingClass property to use FirstOrDefault method instead of SingleOrDefault
YevgeniyShunevych/Atata,atata-framework/atata,YevgeniyShunevych/Atata,atata-framework/atata
src/Atata/Attributes/ScopeDefinitionAttribute.cs
src/Atata/Attributes/ScopeDefinitionAttribute.cs
using System.Linq; namespace Atata { /// <summary> /// Represents the base attribute class for component scope definition. /// The basic definition is represented with XPath. /// </summary> public abstract class ScopeDefinitionAttribute : MulticastAttribute { /// <summary> ...
using System.Linq; namespace Atata { /// <summary> /// Represents the base attribute class for component scope definition. /// The basic definition is represented with XPath. /// </summary> public abstract class ScopeDefinitionAttribute : MulticastAttribute { /// <summary> ...
apache-2.0
C#
e13ea1beaaa62f9814ff8d5281debc9c54ecde27
Fix string substitution
Nemo157/DocNuget,Nemo157/DocNuget,Nemo157/DocNuget,Nemo157/DocNuget,Nemo157/DocNuget
src/DocNuget.Models.Loader/NuGetPackageLoader.cs
src/DocNuget.Models.Loader/NuGetPackageLoader.cs
using System.Linq; using System.Threading.Tasks; using Microsoft.Framework.PackageManager; using Microsoft.Framework.Logging; using NuGet; namespace DocNuget.Models.Loader { public class NuGetPackageLoader { private readonly ILoggerFactory _loggerFactory; public NuGetPackageLoader(ILoggerFactory l...
using System.Linq; using System.Threading.Tasks; using Microsoft.Framework.PackageManager; using Microsoft.Framework.Logging; using NuGet; namespace DocNuget.Models.Loader { public class NuGetPackageLoader { private readonly ILoggerFactory _loggerFactory; public NuGetPackageLoader(ILoggerFactory l...
mit
C#
4db730a7ded3174a1971a0b65e81f3f609170c7b
remove unused constructor.
dotnetcore/CAP,ouraspnet/cap,dotnetcore/CAP,dotnetcore/CAP
src/DotNetCore.CAP/Models/CapPublishedMessage.cs
src/DotNetCore.CAP/Models/CapPublishedMessage.cs
// Copyright (c) .NET Core Community. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. using System; namespace DotNetCore.CAP.Models { public class CapPublishedMessage { /// <summary> /// Initializes a new instance of <see cr...
// Copyright (c) .NET Core Community. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. using System; namespace DotNetCore.CAP.Models { public class CapPublishedMessage { /// <summary> /// Initializes a new instance of <see cr...
mit
C#
144983cf769c39c0b818afa6a5167d4e8c0ae79d
Update ExceptionSerializer.cs
hprose/hprose-dotnet
src/Hprose.IO/Serializers/ExceptionSerializer.cs
src/Hprose.IO/Serializers/ExceptionSerializer.cs
/*--------------------------------------------------------*\ | | | hprose | | | | Official WebSite: https://hprose.com | | ...
/*--------------------------------------------------------*\ | | | hprose | | | | Official WebSite: https://hprose.com | | ...
mit
C#
58ae086a7385c46cd5d99b290a81f679ada16869
Move using-statements within namespace declaration.
AcklenAvenue/Nancy,asbjornu/Nancy,khellang/Nancy,ayoung/Nancy,hitesh97/Nancy,asbjornu/Nancy,charleypeng/Nancy,sadiqhirani/Nancy,AlexPuiu/Nancy,thecodejunkie/Nancy,guodf/Nancy,albertjan/Nancy,EliotJones/NancyTest,sloncho/Nancy,ayoung/Nancy,jchannon/Nancy,tparnell8/Nancy,anton-gogolev/Nancy,JoeStead/Nancy,danbarua/Nancy,...
src/Nancy.ViewEngines.Razor/EncodedHtmlString.cs
src/Nancy.ViewEngines.Razor/EncodedHtmlString.cs
namespace Nancy.ViewEngines.Razor { using System; using Nancy.Helpers; /// <summary> /// An html string that is encoded. /// </summary> public class EncodedHtmlString : IHtmlString { /// <summary> /// Represents the empty <see cref="EncodedHtmlString"/>. This field is readon...
using System; using Nancy.Helpers; namespace Nancy.ViewEngines.Razor { /// <summary> /// An html string that is encoded. /// </summary> public class EncodedHtmlString : IHtmlString { /// <summary> /// Represents the empty <see cref="EncodedHtmlString"/>. This field is readonly. ...
mit
C#
1ea4781188c8614684650bd8afa6504435320f3c
Fix code styling
NeoAdonis/osu,peppy/osu,peppy/osu-new,peppy/osu,UselessToucan/osu,DrabWeb/osu,DrabWeb/osu,smoogipooo/osu,2yangk23/osu,2yangk23/osu,DrabWeb/osu,UselessToucan/osu,johnneijzen/osu,ppy/osu,johnneijzen/osu,UselessToucan/osu,ZLima12/osu,NeoAdonis/osu,smoogipoo/osu,peppy/osu,NeoAdonis/osu,smoogipoo/osu,ppy/osu,smoogipoo/osu,p...
osu.Game.Rulesets.Catch.Tests/TestCaseHyperDash.cs
osu.Game.Rulesets.Catch.Tests/TestCaseHyperDash.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System; using NUnit.Framework; using osu.Game.Beatmaps; using osu.Game.Rulesets.Catch.Objects; using osu.Game.Screens.Play; namespace osu.Game.Rulesets.Catch.Test...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System; using NUnit.Framework; using osu.Game.Beatmaps; using osu.Game.Rulesets.Catch.Objects; using osu.Game.Screens.Play; namespace osu.Game.Rulesets.Catch.Test...
mit
C#
b32d6017ab2168cad0654518c1ff9eb32b7b7ae8
Add case for locked files
Microsoft/Vipr
src/Core/Vipr/FileWriter.cs
src/Core/Vipr/FileWriter.cs
using System; using System.Collections.Generic; using System.IO; using System.Text; using System.Threading; using System.Threading.Tasks; using Vipr.Core; namespace Vipr { internal static class FileWriter { public static async void WriteAsync(IEnumerable<TextFile> textFilesToWrite, string outpu...
using System; using System.Collections.Generic; using System.IO; using System.Text; using System.Threading.Tasks; using Vipr.Core; namespace Vipr { internal static class FileWriter { public static async void WriteAsync(IEnumerable<TextFile> textFilesToWrite, string outputDirectoryPath = null) ...
mit
C#
45c1f0d453662fa1a13b92aeabaddbc3effc9f33
Improve Caliburn.Micro compatibility for multiple views
JPVenson/ConfuserEx,mirbegtlax/ConfuserEx,AgileJoshua/ConfuserEx,manojdjoshi/ConfuserEx,engdata/ConfuserEx,jbeshir/ConfuserEx,JPVenson/ConfuserEx,mirbegtlax/ConfuserEx,arpitpanwar/ConfuserEx,timnboys/ConfuserEx,yuligang1234/ConfuserEx,MetSystem/ConfuserEx,yeaicc/ConfuserEx,Desolath/ConfuserEx3,fretelweb/ConfuserEx,Hali...
Confuser.Renamer/Analyzers/CaliburnAnalyzer.cs
Confuser.Renamer/Analyzers/CaliburnAnalyzer.cs
using System; using System.Text.RegularExpressions; using Confuser.Core; using Confuser.Renamer.BAML; using dnlib.DotNet; namespace Confuser.Renamer.Analyzers { internal class CaliburnAnalyzer : IRenamer { public CaliburnAnalyzer(WPFAnalyzer wpfAnalyzer) { wpfAnalyzer.AnalyzeBAMLElement += AnalyzeBAMLElement; ...
using System; using System.Text.RegularExpressions; using Confuser.Core; using Confuser.Renamer.BAML; using dnlib.DotNet; namespace Confuser.Renamer.Analyzers { internal class CaliburnAnalyzer : IRenamer { public CaliburnAnalyzer(WPFAnalyzer wpfAnalyzer) { wpfAnalyzer.AnalyzeBAMLElement += AnalyzeBAMLElement; ...
mit
C#
b82fc3350fcf4b0bd2d730d310d2638927e38db9
Set default UmbracoConnectionString value
umbraco/Umbraco-CMS,abjerner/Umbraco-CMS,dawoe/Umbraco-CMS,arknu/Umbraco-CMS,marcemarc/Umbraco-CMS,marcemarc/Umbraco-CMS,robertjf/Umbraco-CMS,dawoe/Umbraco-CMS,marcemarc/Umbraco-CMS,JimBobSquarePants/Umbraco-CMS,abryukhov/Umbraco-CMS,robertjf/Umbraco-CMS,KevinJump/Umbraco-CMS,KevinJump/Umbraco-CMS,robertjf/Umbraco-CMS,...
src/Umbraco.Core/Configuration/Models/ConnectionStrings.cs
src/Umbraco.Core/Configuration/Models/ConnectionStrings.cs
// Copyright (c) Umbraco. // See LICENSE for more details. namespace Umbraco.Cms.Core.Configuration.Models { /// <summary> /// Typed configuration options for connection strings. /// </summary> [UmbracoOptions("ConnectionStrings", BindNonPublicProperties = true)] public class ConnectionStrings ...
// Copyright (c) Umbraco. // See LICENSE for more details. namespace Umbraco.Cms.Core.Configuration.Models { /// <summary> /// Typed configuration options for connection strings. /// </summary> [UmbracoOptions("ConnectionStrings", BindNonPublicProperties = true)] public class ConnectionStrings ...
mit
C#
86fb5d8a263e846357cc297b73573afaefb7a681
Update AzureFileStorageTests.cs
A51UK/File-Repository
File-Repository-Tests/AzureFileStorageTests.cs
File-Repository-Tests/AzureFileStorageTests.cs
/* * Copyright 2017 Craig Lee Mark Adams 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...
using Microsoft.VisualStudio.TestTools.UnitTesting; using System; using System.Collections.Generic; using System.Text; namespace ile_Repository_Tests { [TestClass] public class AzureFileStorageTests { } }
apache-2.0
C#
6b8ef40129c1c258e67ad0d767c1e113b52b98b2
Tweak benchmarks, still don't trust the results.
JohanLarsson/Gu.Analyzers
Gu.Analyzers.Benchmarks/Benchmarks/Analyzer.cs
Gu.Analyzers.Benchmarks/Benchmarks/Analyzer.cs
namespace Gu.Analyzers.Benchmarks.Benchmarks { using System.Collections.Immutable; using System.Threading; using BenchmarkDotNet.Attributes; using Microsoft.CodeAnalysis.Diagnostics; public abstract class Analyzer { private readonly CompilationWithAnalyzers compilation; protec...
namespace Gu.Analyzers.Benchmarks.Benchmarks { using System.Collections.Immutable; using System.Threading; using System.Threading.Tasks; using BenchmarkDotNet.Attributes; using Microsoft.CodeAnalysis.Diagnostics; public abstract class Analyzer { private readonly CompilationWithAnal...
mit
C#
5d651aa81fcfad1456e8cff1869718459a6d234c
Update TextHitTest.cs
wieslawsoltes/Draw2D,wieslawsoltes/Draw2D,wieslawsoltes/Draw2D
src/Draw2D.Editor/Bounds/Shapes/TextHitTest.cs
src/Draw2D.Editor/Bounds/Shapes/TextHitTest.cs
// Copyright (c) Wiesław Šoltés. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using Draw2D.Core; using Draw2D.Core.Shapes; using Draw2D.Spatial; namespace Draw2D.Editor.Bounds.Shapes { public class TextHitTest : BoxHitTest...
// Copyright (c) Wiesław Šoltés. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using Draw2D.Core; using Draw2D.Core.Shapes; using Draw2D.Spatial; namespace Draw2D.Editor.Bounds.Shapes { public class TextHitTest : HitTestBas...
mit
C#
498dad9cf8df75a39c62cadec4d55625fb6c9928
Make ConnectionDetails a struct.
github/VisualStudio,github/VisualStudio,github/VisualStudio
src/GitHub.Exports/Models/ConnectionDetails.cs
src/GitHub.Exports/Models/ConnectionDetails.cs
using System; using GitHub.Primitives; using GitHub.Services; namespace GitHub.Models { /// <summary> /// Represents details about a connection stored in an <see cref="IConnectionCache"/>. /// </summary> public struct ConnectionDetails : IEquatable<ConnectionDetails> { /// <summary> ...
using System; using GitHub.Primitives; namespace GitHub.Models { public class ConnectionDetails : IEquatable<ConnectionDetails> { public ConnectionDetails(string hostAddress, string userName) { HostAddress = HostAddress.Create(hostAddress); UserName = userName; ...
mit
C#
bb34e17bd35a9e22b2fdc1136e44c99e986df4c4
Reorder visitors to prioritize more common expression types
dsharlet/ComputerAlgebra
ComputerAlgebra/Expression/Visitors/Visitor.cs
ComputerAlgebra/Expression/Visitors/Visitor.cs
namespace ComputerAlgebra { /// <summary> /// Visits an expression. /// </summary> /// <typeparam name="T">Result type of the visitor.</typeparam> public abstract class ExpressionVisitor<T> { protected abstract T VisitUnknown(Expression E); protected virtual T VisitSum(Sum A) {...
namespace ComputerAlgebra { /// <summary> /// Visits an expression. /// </summary> /// <typeparam name="T">Result type of the visitor.</typeparam> public abstract class ExpressionVisitor<T> { protected abstract T VisitUnknown(Expression E); protected virtual T VisitSum(Sum A) {...
mit
C#
0ce8213aeea5fce87de43d9811166b2f69b85e9d
Bump to 1.4.3
mhutch/MonoDevelop.AddinMaker,mhutch/MonoDevelop.AddinMaker
MonoDevelop.AddinMaker/Properties/AddinInfo.cs
MonoDevelop.AddinMaker/Properties/AddinInfo.cs
using Mono.Addins; using Mono.Addins.Description; [assembly: Addin ( "AddinMaker", Namespace = "MonoDevelop", Version = "1.4.3", Url = "http://github.com/mhutch/MonoDevelop.AddinMaker" )] [assembly: AddinName ("AddinMaker")] [assembly: AddinCategory ("Extension Development")] [assembly: AddinDescription ("Makes ...
using Mono.Addins; using Mono.Addins.Description; [assembly: Addin ( "AddinMaker", Namespace = "MonoDevelop", Version = "1.4.2", Url = "http://github.com/mhutch/MonoDevelop.AddinMaker" )] [assembly: AddinName ("AddinMaker")] [assembly: AddinCategory ("Extension Development")] [assembly: AddinDescription ("Makes ...
mit
C#
be54b7e54d0bfee5e5350fba1ce27209d1665187
Remove code task
roman-yagodin/R7.News,roman-yagodin/R7.News,roman-yagodin/R7.News
R7.News/Integrations/UniversityDivisionInfo.cs
R7.News/Integrations/UniversityDivisionInfo.cs
// // UniversityDivisionInfo.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 General Public License as published by // the Free Software Found...
// // UniversityDivisionInfo.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 General Public License as published by // the Free Software Found...
agpl-3.0
C#
f54fcfd563723d202dd5f977a5f85ea22a5350a9
Update PaginableExtensions.cs
neekgreen/PaginableCollections,neekgreen/PaginableCollections
src/PaginableCollections/PaginableExtensions.cs
src/PaginableCollections/PaginableExtensions.cs
namespace PaginableCollections { using System.Collections.Generic; using System.Linq; public static class PaginableExtensions { /// <summary> /// Convert queryable to paginable. /// </summary> /// <typeparam name="T"></typeparam> /// <param name="queryable"></pa...
namespace PaginableCollections { using System.Collections.Generic; using System.Linq; public static class PaginableExtensions { /// <summary> /// Convert queryable to paginable. /// </summary> /// <typeparam name="T"></typeparam> /// <param name="queryable"></pa...
mit
C#
36fed0c9c1c955f3b43f6e13c5cb336b3f71874e
Make PubSub/SimpleDispatchStrategy more thread-safe
Whiteknight/Acquaintance,Whiteknight/Acquaintance
Acquaintance/PubSub/SimpleDispatchStrategy.cs
Acquaintance/PubSub/SimpleDispatchStrategy.cs
using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Linq; namespace Acquaintance.PubSub { public class SimpleDispatchStrategy : IPubSubChannelDispatchStrategy { private readonly ConcurrentDictionary<string, IPubSubChannel> _pubSubChannels; public ...
using System; using System.Collections.Generic; using System.Linq; namespace Acquaintance.PubSub { public class SimpleDispatchStrategy : IPubSubChannelDispatchStrategy { private readonly Dictionary<string, IPubSubChannel> _pubSubChannels; public SimpleDispatchStrategy() { ...
apache-2.0
C#
6cecca57a5159b665276f52129b54d89f48144c7
Update gradient descent sample.
alexshtf/autodiff
AutoDiff/Samples/GradientDescentSample/Program.cs
AutoDiff/Samples/GradientDescentSample/Program.cs
using System; using AutoDiff; namespace GradientDescentSample { class Program { static void Main(string[] args) { var x = new Variable(); var y = new Variable(); var z = new Variable(); // f(x, y, z) = (x-2)² + (y+4)² + (z-1)² ...
using System; using AutoDiff; namespace GradientDescentSample { class Program { static void Main(string[] args) { var x = new Variable(); var y = new Variable(); var z = new Variable(); // f(x, y, z) = (x-2)² + (y+4)² + (z-1)² ...
mit
C#
ca09b56d72a4a84b2ba883c06b4de9ffc0ce8796
Update for April 2017 release
OfficeDev/PnP-Sites-Core,OfficeDev/PnP-Sites-Core,OfficeDev/PnP-Sites-Core
Core/OfficeDevPnP.Core/Properties/AssemblyInfo.cs
Core/OfficeDevPnP.Core/Properties/AssemblyInfo.cs
using System.Reflection; using System.Resources; 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. [asse...
using System.Reflection; using System.Resources; 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. [asse...
mit
C#
9727b64d6568dfda6000444c55e8a304b7ee789c
Fix files encoding to UTF-8
InfinniPlatform/InfinniPlatform,InfinniPlatform/InfinniPlatform,InfinniPlatform/InfinniPlatform
InfinniPlatform.Sdk/Hosting/IHostAddressParser.cs
InfinniPlatform.Sdk/Hosting/IHostAddressParser.cs
namespace InfinniPlatform.Sdk.Hosting { /// <summary> /// Интерфейс для разбора адресов узлов. /// </summary> public interface IHostAddressParser { /// <summary> /// Определяет, является ли адрес локальным. /// </summary> /// <param name="hostNameOrAddress">Имя узла ...
namespace InfinniPlatform.Sdk.Hosting { /// <summary> /// . /// </summary> public interface IHostAddressParser { /// <summary> /// , . /// </summary> /// <param name="hostNameOrAddress"> .</param> /// <returns> <c>true</c>, ; <c>false</c>.</retu...
agpl-3.0
C#
207be2a04c540ac54652d0fd73471c6b094e7894
Switch to v1.2.2
AtwooTM/Zebus,biarne-a/Zebus,rbouallou/Zebus,Abc-Arbitrage/Zebus
src/SharedVersionInfo.cs
src/SharedVersionInfo.cs
using System.Reflection; [assembly: AssemblyVersion("1.2.2")] [assembly: AssemblyFileVersion("1.2.2")] [assembly: AssemblyInformationalVersion("1.2.2")]
using System.Reflection; [assembly: AssemblyVersion("1.2.1")] [assembly: AssemblyFileVersion("1.2.1")] [assembly: AssemblyInformationalVersion("1.2.1")]
mit
C#
0cf1b834688a3d11ba800a36303d721774aea427
use where keyword
persimmon-projects/Persimmon.Dried,persimmon-projects/Persimmon.Dried
tests/Persimmon.Dried.CSharp.Tests/CSharpTest.cs
tests/Persimmon.Dried.CSharp.Tests/CSharpTest.cs
using System; using System.Linq; using Persimmon.Dried.Ext; namespace Persimmon.Dried.CSharp.Tests { public static class CSharpTest { public static TestCase<Unit> syntaxCheck() { return Property.Default .Add(Syntax.Prop.ForAll(Arb.Int, i => ...
using System; using System.Linq; using Persimmon.Dried.Ext; namespace Persimmon.Dried.CSharp.Tests { public static class CSharpTest { public static TestCase<Unit> syntaxCheck() { return Property.Default .Add(Syntax.Prop.ForAll(Arb.Int, i => ...
mit
C#
576c42680d48f019d3271b745bca558b99be67de
Fix for unit testing embedded service configuration
BrightstarDB/BrightstarDB,kentcb/BrightstarDB,BrightstarDB/BrightstarDB,kentcb/BrightstarDB,dharmatech/BrightstarDB,kentcb/BrightstarDB,dharmatech/BrightstarDB,dharmatech/BrightstarDB,kentcb/BrightstarDB,BrightstarDB/BrightstarDB,dharmatech/BrightstarDB,dharmatech/BrightstarDB,dharmatech/BrightstarDB,BrightstarDB/Brigh...
src/core/BrightstarDB.Tests/EmbeddedClientTests.cs
src/core/BrightstarDB.Tests/EmbeddedClientTests.cs
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using BrightstarDB.Client; using BrightstarDB.Config; using NUnit.Framework; namespace BrightstarDB.Tests { [TestFixture] public class EmbeddedClientTests { private readonly string _baseConnectio...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using BrightstarDB.Client; using BrightstarDB.Config; using NUnit.Framework; namespace BrightstarDB.Tests { [TestFixture] public class EmbeddedClientTests { private readonly string _baseConnectio...
mit
C#
10ce7595bdd95121d114c74110c63cf82064f876
Change LineNumber to nullable so it does not get serialized unless set
MindscapeHQ/raygun4net,MindscapeHQ/raygun4net,MindscapeHQ/raygun4net
Mindscape.Raygun4Net.Core/RaygunBreadcrumb.cs
Mindscape.Raygun4Net.Core/RaygunBreadcrumb.cs
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Text; namespace Mindscape.Raygun4Net { public class RaygunBreadcrumb { public string Message { get; set; } public string Category { get; set; } public RaygunBreadcrumbs.Level Level { get; set; } =...
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Text; namespace Mindscape.Raygun4Net { public class RaygunBreadcrumb { public string Message { get; set; } public string Category { get; set; } public RaygunBreadcrumbs.Level Level { get; set; } =...
mit
C#
c3cc53cfba8388c8dee27670d93227ee15002020
Update CriteriaTarget.cs
smartsheet-platform/smartsheet-csharp-sdk,smartsheet-platform/smartsheet-csharp-sdk
main/Smartsheet/Api/Models/CriteriaTarget.cs
main/Smartsheet/Api/Models/CriteriaTarget.cs
// #[license] // SmartsheetClient SDK for C# // %% // Copyright (C) 2018 SmartsheetClient // %% // 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 // // ...
// #[license] // SmartsheetClient SDK for C# // %% // Copyright (C) 2018 SmartsheetClient // %% // 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 // // ...
apache-2.0
C#
63653238d7fb8d1d3c77787251a73eaf84781cc0
Store data path
feliwir/openSage,feliwir/openSage
src/OpenZH.DataViewer.UWP/Services/FilePicker.cs
src/OpenZH.DataViewer.UWP/Services/FilePicker.cs
using System; using System.Threading.Tasks; using OpenZH.DataViewer.Services; using OpenZH.DataViewer.UWP.Util; using Windows.ApplicationModel.Core; using Windows.Storage.AccessCache; using Windows.Storage.Pickers; namespace OpenZH.DataViewer.UWP.Services { public class FilePicker : IFilePicker { publ...
using System; using System.Threading.Tasks; using OpenZH.DataViewer.Services; using OpenZH.DataViewer.UWP.Util; using Windows.ApplicationModel.Core; using Windows.Storage.Pickers; namespace OpenZH.DataViewer.UWP.Services { public class FilePicker : IFilePicker { public Task<string> PickFolder() ...
mit
C#
2e579d4cf341dd0d31a17ce33e53384fc5d913eb
Update Menu.cshtml
IndivisibleTacoma/website,IndivisibleTacoma/website,IndivisibleTacoma/website,IndivisibleTacoma/website
src/Orchard.Web/Themes/Bourbon/Views/Menu.cshtml
src/Orchard.Web/Themes/Bourbon/Views/Menu.cshtml
@{ // Model is Model.Menu from the layout (Layout.Menu) var tag = Tag(Model, "ul"); var items = (IList<dynamic>)Enumerable.Cast<dynamic>(Model.Items); if (items.Any()) { items[0].Classes.Add("first"); items[items.Count - 1].Classes.Add("last"); } } @*<div id="google_translate_...
@{ // Model is Model.Menu from the layout (Layout.Menu) var tag = Tag(Model, "ul"); var items = (IList<dynamic>)Enumerable.Cast<dynamic>(Model.Items); if (items.Any()) { items[0].Classes.Add("first"); items[items.Count - 1].Classes.Add("last"); } } @*<div id="google_translate_...
bsd-3-clause
C#
0106fb69a249b15bbadc61d787e2febe9c2a845c
Update NamespaceDoc
YallaDotNet/Yalla
src/Yalla/Portable/Configuration/NamespaceDoc.cs
src/Yalla/Portable/Configuration/NamespaceDoc.cs
namespace Yalla.Configuration { /// <summary> /// YALLA.NET configuration classes. /// </summary> [System.Runtime.CompilerServices.CompilerGenerated] internal sealed class NamespaceDoc { } }
namespace Yalla.Configuration { /// <summary> /// Yalla Configuration types. /// </summary> [System.Runtime.CompilerServices.CompilerGenerated] internal sealed class NamespaceDoc { } }
apache-2.0
C#
0fbf77b42db6f98b84ef0c9b90d730307eb22af6
Revert "[API] Add Fields prop to EndpointBase"
arthurrump/Zermelo.API
Zermelo/Zermelo.API/Endpoints/EndpointBase.cs
Zermelo/Zermelo.API/Endpoints/EndpointBase.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Zermelo.API.Interfaces; using Zermelo.API.Services.Interfaces; namespace Zermelo.API.Endpoints { abstract internal class EndpointBase { protected IAuthentication _auth; pro...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Zermelo.API.Interfaces; using Zermelo.API.Services.Interfaces; namespace Zermelo.API.Endpoints { abstract internal class EndpointBase { protected IAuthentication _auth; pro...
mit
C#
eaef40b3a3adcc819efcbfd411b84b06c8b21cba
处理二次验证函数 TwoVerification接口没有参数的问题
lishewen/WeiXinMPSDK,wanddy/WeiXinMPSDK,down4u/WeiXinMPSDK,jiehanlin/WeiXinMPSDK,down4u/WeiXinMPSDK,JeffreySu/WeiXinMPSDK,mc7246/WeiXinMPSDK,mc7246/WeiXinMPSDK,jiehanlin/WeiXinMPSDK,wanddy/WeiXinMPSDK,down4u/WeiXinMPSDK,JeffreySu/WeiXinMPSDK,JeffreySu/WeiXinMPSDK,JeffreySu/WxOpen,JeffreySu/WxOpen,wanddy/WeiXinMPSDK,jie...
Senparc.Weixin.QY/Senparc.Weixin.QY/AdvancedAPIs/Concern/ConcernApi.cs
Senparc.Weixin.QY/Senparc.Weixin.QY/AdvancedAPIs/Concern/ConcernApi.cs
/*---------------------------------------------------------------- Copyright (C) 2015 Senparc 文件名:ConcernApi.cs 文件功能描述:二次验证接口 创建标识:Senparc - 20150313 修改标识:MysticBoy - 20150414 修改描述:TwoVerification接口没有参数 ----------------------------------------------------------------*/ /*...
/*---------------------------------------------------------------- Copyright (C) 2015 Senparc 文件名:ConcernApi.cs 文件功能描述:二次验证接口 创建标识:Senparc - 20150313 修改标识:Senparc - 20150313 修改描述:整理接口 ----------------------------------------------------------------*/ /* 官方文档:http://qyde...
apache-2.0
C#
b5562eae2b40ee16cff5b915e81d0e40835c4e99
Add help message to !alarmclock
CaitSith2/KtaneTwitchPlays,samfun123/KtaneTwitchPlays
TwitchPlaysAssembly/Src/Holdables/Vanilla/AlarmClockHoldableHandler.cs
TwitchPlaysAssembly/Src/Holdables/Vanilla/AlarmClockHoldableHandler.cs
using System.Collections; using System.Reflection; using Assets.Scripts.Props; using UnityEngine; public class AlarmClockHoldableHandler : HoldableHandler { public AlarmClockHoldableHandler(KMHoldableCommander commander, FloatingHoldable holdable, IRCConnection connection, CoroutineCanceller canceller) : base(comman...
using System.Collections; using System.Reflection; using Assets.Scripts.Props; using UnityEngine; public class AlarmClockHoldableHandler : HoldableHandler { public AlarmClockHoldableHandler(KMHoldableCommander commander, FloatingHoldable holdable, IRCConnection connection, CoroutineCanceller canceller) : base(comman...
mit
C#
917bca7cabb1dbeca609a75d33f3aad069b21805
Improve exceptions.
Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW
MitternachtWeb/Areas/User/Controllers/UserBaseController.cs
MitternachtWeb/Areas/User/Controllers/UserBaseController.cs
using Discord.WebSocket; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.Filters; using MitternachtWeb.Controllers; using System; namespace MitternachtWeb.Areas.User.Controllers { public abstract class UserBaseController : DiscordUserController { [ViewData] public ulong RequestedUserId { get; set;...
using Discord.WebSocket; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.Filters; using MitternachtWeb.Controllers; using System; namespace MitternachtWeb.Areas.User.Controllers { public abstract class UserBaseController : DiscordUserController { [ViewData] public ulong RequestedUserId { get; set;...
mit
C#
d163e5fafec0d488caeb318de1148f07a359134a
Make EvaluationResult immutable.
mono/debugger-libs,mono/debugger-libs,Unity-Technologies/debugger-libs,Unity-Technologies/debugger-libs,joj/debugger-libs,joj/debugger-libs
Mono.Debugging/Mono.Debugging.Backend/IObjectValueSource.cs
Mono.Debugging/Mono.Debugging.Backend/IObjectValueSource.cs
// IObjectValueSource.cs // // Author: // Lluis Sanchez Gual <lluis@novell.com> // // Copyright (c) 2008 Novell, Inc (http://www.novell.com) // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Sof...
// IObjectValueSource.cs // // Author: // Lluis Sanchez Gual <lluis@novell.com> // // Copyright (c) 2008 Novell, Inc (http://www.novell.com) // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Sof...
mit
C#
1755910009452a0ba61d2579c87918335afd09fe
Add xml doc.
nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet
WalletWasabi/Tor/Socks5/Models/Messages/TorSocks5Request.cs
WalletWasabi/Tor/Socks5/Models/Messages/TorSocks5Request.cs
using System; using WalletWasabi.Helpers; using WalletWasabi.Tor.Socks5.Models.Bases; using WalletWasabi.Tor.Socks5.Models.Fields.ByteArrayFields; using WalletWasabi.Tor.Socks5.Models.Fields.OctetFields; namespace WalletWasabi.Tor.Socks5.Models.Messages { /// <summary> /// SOCKS5 request representation. /// </summa...
using System; using WalletWasabi.Helpers; using WalletWasabi.Tor.Socks5.Models.Bases; using WalletWasabi.Tor.Socks5.Models.Fields.ByteArrayFields; using WalletWasabi.Tor.Socks5.Models.Fields.OctetFields; namespace WalletWasabi.Tor.Socks5.Models.Messages { public class TorSocks5Request : ByteArraySerializableBase { ...
mit
C#
c280565c88e330688e2ea0c37c06317ff1e22926
Support Mono+.NET4.6 in CommonExtensions.ToStr.
ig-sinicyn/BenchmarkDotNet,Teknikaali/BenchmarkDotNet,PerfDotNet/BenchmarkDotNet,alinasmirnova/BenchmarkDotNet,ig-sinicyn/BenchmarkDotNet,redknightlois/BenchmarkDotNet,adamsitnik/BenchmarkDotNet,adamsitnik/BenchmarkDotNet,alinasmirnova/BenchmarkDotNet,adamsitnik/BenchmarkDotNet,alinasmirnova/BenchmarkDotNet,PerfDotNet/...
BenchmarkDotNet/Extensions/CommonExtensions.cs
BenchmarkDotNet/Extensions/CommonExtensions.cs
using System.Collections.Generic; using System.Linq; using BenchmarkDotNet.Helpers; using BenchmarkDotNet.Horology; namespace BenchmarkDotNet.Extensions { internal static class CommonExtensions { public static List<T> ToSortedList<T>(this IEnumerable<T> values) { var list = new Lis...
using System.Collections.Generic; using System.Linq; using BenchmarkDotNet.Helpers; using BenchmarkDotNet.Horology; namespace BenchmarkDotNet.Extensions { internal static class CommonExtensions { public static List<T> ToSortedList<T>(this IEnumerable<T> values) { var list = new Lis...
mit
C#
ebdc11f99e81c2d7971bec7811949af59ff72f1b
Update Computer.cs
Vinogradov-Mikhail/semestr3
workTwo/workTwo/Computer.cs
workTwo/workTwo/Computer.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Network { /// <summary> /// class for comuter /// </summary> public class Computer { /// <summary> /// OperatingSystem of this PC /// </summary> ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Network { /// <summary> /// class for comuter /// </summary> public class Computer { /// <summary> /// OperatingSystem of this PC /// </summary> ...
apache-2.0
C#
39df19bbbe9664f816612b54717637a45f175ffb
fix for Test Module Flickr provider
sdl/dxa-modules,sdl/dxa-modules,sdl/dxa-modules,sdl/dxa-modules,sdl/dxa-modules
webapp-net/Test/Models/TestFlickrImageModel.cs
webapp-net/Test/Models/TestFlickrImageModel.cs
using Sdl.Web.Common.Models; using System.Globalization; namespace Sdl.Web.Modules.Test.Models { [SemanticEntity(Vocab = CoreVocabulary, EntityName = "TestFlickrImageModel", Prefix = "test", Public = true)] public class TestFlickrImageModel : EclItem { [SemanticProperty("test:testProp1")] ...
using Sdl.Web.Common.Models; namespace Sdl.Web.Modules.Test.Models { [SemanticEntity(Vocab = CoreVocabulary, EntityName = "TestFlickrImageModel", Prefix = "test", Public = true)] public class TestFlickrImageModel : EclItem { [SemanticProperty("test:testProp1")] public string TestProperty1 ...
apache-2.0
C#