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
93a8beba7666424a89e3dbff938cb33d274fca02
Drop using statement that was not-required
McNeight/SharpZipLib
src/BZip2/BZip2Exception.cs
src/BZip2/BZip2Exception.cs
// BZip2.cs // // Copyright 2004 John Reilly // // 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 Foundation; either version 2 // of the License, or (at your option) any later version. // // This program i...
// BZip2.cs // // Copyright 2004 John Reilly // // 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 Foundation; either version 2 // of the License, or (at your option) any later version. // // This program i...
mit
C#
7b8f4a41346012b10597af172a84d9cfd9da531e
test of commit after development machine change
michalurbanski/tasksviewer
TasksViewer/TasksViewer.UnitTests/Class1.cs
TasksViewer/TasksViewer.UnitTests/Class1.cs
using NUnit.Framework; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace TasksViewer.UnitTests { [TestFixture] public class Class1 { [Test] public void Test() { string a = "string"; ...
using NUnit.Framework; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace TasksViewer.UnitTests { [TestFixture] public class Class1 { [Test] public void Test() { string a = "string"; ...
mit
C#
3fdfe8ab62cda5f92f5624e587df43274fdddf2c
Hide PitchBendEvent Msb/Lsb properties
melanchall/drywetmidi,melanchall/drywetmidi,melanchall/drymidi
DryWetMidi/Events/Channel/PitchBendEvent.cs
DryWetMidi/Events/Channel/PitchBendEvent.cs
namespace Melanchall.DryWetMidi { public sealed class PitchBendEvent : ChannelEvent { #region Constants private const int ParametersCount = 2; private const int PitchValueLsbParameterIndex = 0; private const int PitchValueMsbParameterIndex = 1; #endregion #reg...
namespace Melanchall.DryWetMidi { public sealed class PitchBendEvent : ChannelEvent { #region Constants private const int ParametersCount = 2; private const int PitchValueLsbParameterIndex = 0; private const int PitchValueMsbParameterIndex = 1; #endregion #reg...
mit
C#
2e8045d2dced260c2e000d0ef5a0cf3b051006dc
Add overloads for Add and Remove
GStreamer/gstreamer-sharp,gstreamer-sharp/gstreamer-sharp,GStreamer/gstreamer-sharp,freedesktop-unofficial-mirror/gstreamer__gstreamer-sharp,freedesktop-unofficial-mirror/gstreamer__gstreamer-sharp,freedesktop-unofficial-mirror/gstreamer__gstreamer-sharp,gstreamer-sharp/gstreamer-sharp,gstreamer-sharp/gstreamer-sharp,G...
sources/custom/Bin.cs
sources/custom/Bin.cs
// Copyright (C) 2013 Stephan Sundermann <stephansundermann@gmail.com> // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 2.1 of the License, or (at your option) an...
// Copyright (C) 2013 Stephan Sundermann <stephansundermann@gmail.com> // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 2.1 of the License, or (at your option) an...
lgpl-2.1
C#
64eb6a35d281bca166cbfc4071366bfe624ab96f
Bump version to v1.7
jozefizso/FogBugz-ExtendedEvents,jozefizso/FogBugz-ExtendedEvents
FBExtendedEvents/Properties/AssemblyInfo.cs
FBExtendedEvents/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; [assembly: AssemblyTitle("Extended Events")] [assembly: AssemblyDescription("Show events from external sources like Subversion, TeamCity and Jenkins.")] [assembly: AssemblyCompany("Jozef Izso")] [assembly: AssemblyPr...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; [assembly: AssemblyTitle("Extended Events")] [assembly: AssemblyDescription("Show events from external sources like Subversion, TeamCity and Jenkins.")] [assembly: AssemblyCompany("Jozef Izso")] [assembly: AssemblyPr...
mit
C#
b6e1a2510674aed25d79667bcb445e93b74327ee
Update Permissions.cs (#3786)
stevetayloruk/Orchard2,petedavis/Orchard2,xkproject/Orchard2,petedavis/Orchard2,xkproject/Orchard2,petedavis/Orchard2,OrchardCMS/Brochard,OrchardCMS/Brochard,xkproject/Orchard2,stevetayloruk/Orchard2,stevetayloruk/Orchard2,petedavis/Orchard2,stevetayloruk/Orchard2,OrchardCMS/Brochard,xkproject/Orchard2,stevetayloruk/Or...
src/OrchardCore.Modules/OrchardCore.ContentLocalization/Permissions.cs
src/OrchardCore.Modules/OrchardCore.ContentLocalization/Permissions.cs
using System.Collections.Generic; using OrchardCore.Security.Permissions; namespace OrchardCore.ContentLocalization { public class Permissions : IPermissionProvider { public static readonly Permission EditLocalizedContent = new Permission("EditLocalizedContent", "Edit content for others"); pub...
using System.Collections.Generic; using OrchardCore.Security.Permissions; namespace OrchardCore.ContentLocalization { public class Permissions : IPermissionProvider { public static readonly Permission EditLocalizedContent = new Permission("EditLocalizedContent", "Edit content for others"); pub...
bsd-3-clause
C#
242587b4ad8613165fd9faadc75eb5df767c2554
add SafeAdd<T>(), SafeAddRange<T>()
TakeAsh/cs-WpfUtility
WpfUtility/ItemCollectionExtensionMethods.cs
WpfUtility/ItemCollectionExtensionMethods.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Windows; using System.Windows.Controls; using TakeAshUtility; namespace WpfUtility { public static class ItemCollectionExtensionMethods { public static void SafeAdd<T>(this ItemCollection items...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Windows; using System.Windows.Controls; using TakeAshUtility; namespace WpfUtility { public static class ItemCollectionExtensionMethods { public static void AddRange<T>(this ItemCollection item...
mit
C#
75fa459bf6d8a66119034868af5c5e5af806a008
Remove TestClass.RunTests(...) now that it is no longer used.
fixie/fixie
src/Fixie/TestClass.cs
src/Fixie/TestClass.cs
namespace Fixie { using System; using System.Collections.Generic; using System.Reflection; /// <summary> /// The context in which a test class is running. /// </summary> public class TestClass { internal TestClass(Type type, IReadOnlyList<TestMethod> tests, MethodInfo? targetMe...
namespace Fixie { using System; using System.Collections.Generic; using System.Reflection; /// <summary> /// The context in which a test class is running. /// </summary> public class TestClass { internal TestClass(Type type, IReadOnlyList<TestMethod> tests, MethodInfo? targetMe...
mit
C#
7126ab95e747fc612f78afa11b8cb38f63e9787d
Update search path for discord_channels.json
genius394/PogoLocationFeeder,5andr0/PogoLocationFeeder,5andr0/PogoLocationFeeder
PogoLocationFeeder/Helper/ChannelParser.cs
PogoLocationFeeder/Helper/ChannelParser.cs
using System; using System.Collections.Generic; using System.Globalization; using System.Text.RegularExpressions; using POGOProtos.Enums; using System.IO; using Newtonsoft.Json; using Newtonsoft.Json.Converters; namespace PogoLocationFeeder.Helper { public class DiscordChannelParser { public int Port ...
using System; using System.Collections.Generic; using System.Globalization; using System.Text.RegularExpressions; using POGOProtos.Enums; using System.IO; using Newtonsoft.Json; using Newtonsoft.Json.Converters; namespace PogoLocationFeeder.Helper { public class DiscordChannelParser { public int Port ...
agpl-3.0
C#
914806e77e712bcae2330952f780b90039eba636
fix MNIST image print bug
kreeben/resin,kreeben/resin
src/Sir.Mnist/MnistImage.cs
src/Sir.Mnist/MnistImage.cs
using System; using System.Text; namespace Sir.Mnist { public class MnistImage : IImage { public byte[] Pixels { get; } public object DisplayName { get; } public MnistImage(byte[] pixels, byte label) { Pixels = pixels; DisplayName = label; } ...
using System; using System.Text; namespace Sir.Mnist { public class MnistImage : IImage { public byte[] Pixels { get; } public object DisplayName { get; } public MnistImage(byte[] pixels, byte label) { Pixels = pixels; DisplayName = label; } ...
mit
C#
260fe92aac4aaafaaf43d258041c850e96b6bee1
Update Usage.cs
SimonCropp/NServiceBus.Jil
src/Tests/Snippets/Usage.cs
src/Tests/Snippets/Usage.cs
using System.IO; using System.Text; using Jil; using NServiceBus; using NServiceBus.Jil; class Usage { Usage(EndpointConfiguration configuration) { #region JilSerialization configuration.UseSerialization<JilSerializer>(); #endregion } void CustomSettings(EndpointConfiguratio...
using System.IO; using System.Text; using Jil; using NServiceBus; using NServiceBus.Jil; class Usage { Usage(EndpointConfiguration endpointConfiguration) { #region JilSerialization endpointConfiguration.UseSerialization<JilSerializer>(); #endregion } void CustomSettings(Endp...
mit
C#
e25f2f8818c1efaa230e62a30e8344dcac62d04a
Allow negating of 'null'
kayateia/scriptdotnet,kayateia/scriptdotnet
Runtime/Operators/Unary/NegateOperators.cs
Runtime/Operators/Unary/NegateOperators.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ScriptNET.Runtime.Operators { /// <summary> /// Implementation of negate operator /// </summary> public class NegateOperator1 : UnaryOperator { public NegateOperator1() { Name = "-"; } publ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ScriptNET.Runtime.Operators { /// <summary> /// Implementation of negate operator /// </summary> public class NegateOperator1 : UnaryOperator { public NegateOperator1() { Name = "-"; } publ...
mit
C#
94a8dcac467855e54d7af5f07046cfc1a1efd8e8
Make LexicalModeContext a struct
Carbon/Css
src/Carbon.Css/Parser/Tokenizer/LexicalModeContext.cs
src/Carbon.Css/Parser/Tokenizer/LexicalModeContext.cs
using System.Collections.Generic; namespace Carbon.Css.Parser { public struct LexicalModeContext { private readonly Stack<LexicalMode> modes; public LexicalModeContext(LexicalMode start) { modes = new Stack<LexicalMode>(3); this.Current = start; ...
using System.Collections.Generic; namespace Carbon.Css.Parser { public class LexicalModeContext { private readonly Stack<LexicalMode> modes; public LexicalModeContext(LexicalMode start) { modes = new Stack<LexicalMode>(); this.Current = start; ...
mit
C#
63235dcdb10f5bdee1c06ff97b96df5eb284d176
Update IntLiteral logic
jonathanvdc/objective-kaleidoscope
src/Ast/IntLiteral.cs
src/Ast/IntLiteral.cs
using System; using ObjKaleidoscope.Semantics; using Flame.Compiler.Expressions; namespace ObjKaleidoscope.Ast { /// <summary> /// An integer literal AST node. /// </summary> public class IntLiteral : IExpressionNode { public IntLiteral(Token Value) { this.Value = Value...
using System; using ObjKaleidoscope.Semantics; using Flame.Compiler.Expressions; namespace ObjKaleidoscope.Ast { /// <summary> /// An integer literal AST node. /// </summary> public class IntLiteral : IExpressionNode { public IntLiteral(Token Value) { this.Value = Value...
mit
C#
c608b63b63a14a5c7949bf4de3359aa3400823d4
Remove the silly `stop` alias for `kill`.
mono/sdb,mono/sdb
src/Commands/KillCommand.cs
src/Commands/KillCommand.cs
/* * SDB - Mono Soft Debugger Client * Copyright 2013 Alex Rønne Petersen * * 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 Foundation, either version 3 of the License, or * (at your option) any late...
/* * SDB - Mono Soft Debugger Client * Copyright 2013 Alex Rønne Petersen * * 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 Foundation, either version 3 of the License, or * (at your option) any late...
mit
C#
43100b90549d3cf14bc276abd1d4406ae8e68015
Drop audio in summary videos
chadly/cams,chadly/vlc-rtsp,chadly/vlc-rtsp,chadly/vlc-rtsp
src/VideoConverter.cs
src/VideoConverter.cs
using System.Diagnostics; namespace Cams { public static class VideoConverter { public static bool CodecCopy(string inputFile, string outputFile) { return Run($"-y -i {inputFile} -codec copy {outputFile}"); } public static bool Concat(string listFilePath, string outputFile) { return Run($"-y -safe ...
using System.Diagnostics; namespace Cams { public static class VideoConverter { public static bool CodecCopy(string inputFile, string outputFile) { return Run($"-y -i {inputFile} -codec copy {outputFile}"); } public static bool Concat(string listFilePath, string outputFile) { return Run($"-y -safe ...
mit
C#
990272c3ed689fff3bbc47327d2ae53340e8bfdb
fix favicon issue
sachatrauwaen/OpenApp,sachatrauwaen/OpenApp,sachatrauwaen/OpenApp,sachatrauwaen/OpenApp,sachatrauwaen/OpenApp,sachatrauwaen/OpenApp
src/Satrabel.OpenApp.Web/Views/Account/_Layout.cshtml
src/Satrabel.OpenApp.Web/Views/Account/_Layout.cshtml
@using System.Globalization @using Abp.Web.Security.AntiForgery @using Abp.Configuration.Startup @using Satrabel.OpenApp @using Satrabel.OpenApp.Web.Resources @inject Satrabel.OpenApp.Timing.AppTimes AppTimes @inject IAbpAntiForgeryManager AbpAntiForgeryManager @inject IMultiTenancyConfig MultiTenancyConfig @inject IW...
@using System.Globalization @using Abp.Web.Security.AntiForgery @using Abp.Configuration.Startup @using Satrabel.OpenApp @using Satrabel.OpenApp.Web.Resources @inject Satrabel.OpenApp.Timing.AppTimes AppTimes @inject IAbpAntiForgeryManager AbpAntiForgeryManager @inject IMultiTenancyConfig MultiTenancyConfig @inject IW...
mit
C#
903e9649251672e465fff05a556201e95efe440e
Set default value for SmtpSettings DeliveryMethod configuration.
JimBobSquarePants/Umbraco-CMS,dawoe/Umbraco-CMS,JimBobSquarePants/Umbraco-CMS,JimBobSquarePants/Umbraco-CMS,arknu/Umbraco-CMS,abjerner/Umbraco-CMS,abryukhov/Umbraco-CMS,JimBobSquarePants/Umbraco-CMS,marcemarc/Umbraco-CMS,KevinJump/Umbraco-CMS,JimBobSquarePants/Umbraco-CMS,robertjf/Umbraco-CMS,dawoe/Umbraco-CMS,marcemar...
src/Umbraco.Core/Configuration/Models/SmtpSettings.cs
src/Umbraco.Core/Configuration/Models/SmtpSettings.cs
using System; using System.ComponentModel.DataAnnotations; using System.Net.Mail; using Umbraco.Core.Configuration.Models.Validation; namespace Umbraco.Core.Configuration.Models { public class SmtpSettings : ValidatableEntryBase { [Required] [EmailAddress] public string From { get; set...
using System; using System.ComponentModel.DataAnnotations; using System.Net.Mail; using Umbraco.Core.Configuration.Models.Validation; namespace Umbraco.Core.Configuration.Models { public class SmtpSettings : ValidatableEntryBase { [Required] [EmailAddress] public string From { get; set...
mit
C#
6737dd224176f236d88526a3d9ab941dfe311abb
Add another observable test
whoisj/corefxlab,Vedin/corefxlab,adamsitnik/corefxlab,dotnet/corefxlab,VSadov/corefxlab,ahsonkhan/corefxlab,adamsitnik/corefxlab,ericstj/corefxlab,hanblee/corefxlab,tarekgh/corefxlab,ericstj/corefxlab,ericstj/corefxlab,hanblee/corefxlab,VSadov/corefxlab,joshfree/corefxlab,KrzysztofCwalina/corefxlab,Vedin/corefxlab,Vedi...
tests/System.Threading.Tasks.Channels.Tests/ObservableObserverTests.cs
tests/System.Threading.Tasks.Channels.Tests/ObservableObserverTests.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 Xunit; namespace System.Threading.Tasks.Channels.Tests { public class ObservableObserverTests : TestBase ...
// 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 Xunit; namespace System.Threading.Tasks.Channels.Tests { public class ObservableObserverTests : TestBase ...
mit
C#
9770d99680b1ec4c25d2ada4e0e7af3ea73e2e39
Fix Inline Model
MistyKuu/bitbucket-for-visual-studio,MistyKuu/bitbucket-for-visual-studio
Source/BitBucket.REST.API/Models/Inline.cs
Source/BitBucket.REST.API/Models/Inline.cs
using Newtonsoft.Json; namespace BitBucket.REST.API.Models { public class Inline { [JsonProperty(PropertyName = "to")] public int? To { get; set; } [JsonProperty(PropertyName = "from")] public int? From { get; set; } [JsonProperty(PropertyName = "path")] publi...
using Newtonsoft.Json; namespace BitBucket.REST.API.Models { public class Inline { [JsonProperty(PropertyName = "to")] public int To { get; set; } [JsonProperty(PropertyName = "from")] public int From { get; set; } [JsonProperty(PropertyName = "path")] public ...
mit
C#
98a12c74c0ac1bfc83c28054321e78051d8e45a8
Disable test that needs customized test data
villermen/runescape-cache-tools,villermen/runescape-cache-tools
RuneScapeCacheToolsTests/SoundtrackTests.cs
RuneScapeCacheToolsTests/SoundtrackTests.cs
using System; using System.IO; using System.Linq; using Villermen.RuneScapeCacheTools.Cache.RuneTek5; using Villermen.RuneScapeCacheTools.Cache.RuneTek5.Audio; using Xunit; using Xunit.Abstractions; namespace RuneScapeCacheToolsTests { public class SoundtrackTests : IDisposable { private readonly ITes...
using System; using System.IO; using System.Linq; using Villermen.RuneScapeCacheTools.Cache.RuneTek5; using Villermen.RuneScapeCacheTools.Cache.RuneTek5.Audio; using Xunit; using Xunit.Abstractions; namespace RuneScapeCacheToolsTests { public class SoundtrackTests : IDisposable { private readonly ITes...
mit
C#
f110c050f79129d81da3a23f19b78da13b64039e
Update application template with working code to prevent the main thread from exiting
nanoframework/nf-Visual-Studio-extension
source/CSharp.BlankApplication/Program.cs
source/CSharp.BlankApplication/Program.cs
using System; namespace $safeprojectname$ { public class Program { public static void Main() { // Insert your code below this line // The main() method has to end with this infinite loop. // Do not use the NETMF style : Thread.Sleep(Timeout.Infinite) while (true) ...
using System; namespace $safeprojectname$ { public class Program { public static void Main() { } } }
mit
C#
7f1e9c22894de895e5b12e1e1647d0053edb11d1
Add properties and methods about connection. Implement `IDisposable` interface.
Archie-Yang/PcscDotNet
src/PcscDotNet/PcscConnection.cs
src/PcscDotNet/PcscConnection.cs
using System; namespace PcscDotNet { public class PcscConnection : IDisposable { public PcscContext Context { get; private set; } public SCardHandle Handle { get; private set; } public bool IsConnect => Handle.HasValue; public bool IsDisposed { get; private set; } = false; ...
namespace PcscDotNet { public class PcscConnection { public PcscContext Context { get; private set; } public IPcscProvider Provider { get; private set; } public string ReaderName { get; private set; } public PcscConnection(PcscContext context, string readerName) { ...
mit
C#
195609a520f040cb4adbabcc294ab00f95ef8b0b
Add missing methods to IEngineFactory
toddams/RazorLight,toddams/RazorLight
src/RazorLight/IEngineFactory.cs
src/RazorLight/IEngineFactory.cs
using RazorLight.Razor; using System; namespace RazorLight { public interface IEngineFactory { /// <summary> /// Creates RazorLightEngine with a filesystem razor project /// </summary> /// <param name="root">Root folder where views are stored</param> /// <returns></retu...
namespace RazorLight { public interface IEngineFactory { /// <summary> /// Creates RazorLightEngine with a filesystem razor project /// </summary> /// <param name="root">Root folder where views are stored</param> /// <returns></returns> RazorLightEngine ForFileSy...
apache-2.0
C#
e343a8c0a32b4c973c919708faff6b1742a73860
Change to version 1.9.2
Seddryck/NBi,Seddryck/NBi
AssemblyInfo.cs
AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; // 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: AssemblyCompany("NBi Team - Cédric L. Charlier")]...
using System.Reflection; using System.Runtime.CompilerServices; // 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: AssemblyCompany("NBi Team - Cédric L. Charlier")]...
apache-2.0
C#
2efa74dafbc5fabc87b4ea52b7c3ac6b05bb9324
fix discord delay
neowutran/TeraDamageMeter,neowutran/ShinraMeter,radasuka/ShinraMeter,Seyuna/ShinraMeter
DamageMeter.Core/Connectors/Discord.cs
DamageMeter.Core/Connectors/Discord.cs
using Data; using Discord; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; namespace DamageMeter { public class Discord { private DiscordClient _client; private bool _ready = false; private Dis...
using Data; using Discord; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; namespace DamageMeter { public class Discord { private DiscordClient _client; private bool _ready = false; private Dis...
mit
C#
61fffef5506a76d3959d086d50efbdc9d86ed3ef
fix IEventProcessor implementation
svtz/homeControl,livingLegend/homeControl,svtz/homeControl
src/homeControl.Core/Bus.cs
src/homeControl.Core/Bus.cs
using System; using System.Collections.Concurrent; using System.Linq; namespace homeControl.Core { internal class Bus : IEventPublisher, IEventProcessor { private readonly IHandler[] _handlers; private readonly ConcurrentQueue<IEvent> _queue; public Bus(params IHandler[] handlers) ...
using System; using System.Collections.Concurrent; using System.Linq; namespace homeControl.Core { internal class Bus : IEventPublisher, IEventProcessor { private readonly IHandler[] _handlers; private readonly ConcurrentQueue<IEvent> _queue; public Bus(params IHandler[] handlers) ...
mit
C#
0e429273b0d03e2b4f9a93f8415b6077d7457caa
Allow popover element's arrow direction to be specified at run time. #.
hisystems/MonoTouch.Dialog
MonoTouch.Dialog/PopoverRootElement.cs
MonoTouch.Dialog/PopoverRootElement.cs
using System; using MonoTouch.Dialog; using MonoTouch.UIKit; namespace MonoTouch.Dialog { /// <summary> /// Displays the root element as a popover (iPad only) rather than as a sub-table element. /// </summary> public class PopoverRootElement : RootElement { /// <summary> /// Sets the detail text for the cell...
using System; using MonoTouch.Dialog; using MonoTouch.UIKit; namespace MonoTouch.Dialog { /// <summary> /// Displays the root element as a popover (iPad only) rather than as a sub-table element. /// </summary> public class PopoverRootElement : RootElement { /// <summary> /// Sets the detail text for the cell...
mit
C#
5db2b1508653323fda6e4540b6351ad90d15cac5
Add missing using statement
corngood/omnisharp-server,svermeulen/omnisharp-server,syl20bnr/omnisharp-server,x335/omnisharp-server,x335/omnisharp-server,corngood/omnisharp-server,OmniSharp/omnisharp-server,syl20bnr/omnisharp-server
OmniSharp/Build/BuildCommandBuilder.cs
OmniSharp/Build/BuildCommandBuilder.cs
using System.IO; using OmniSharp.Solution; using OmniSharp.Configuration; namespace OmniSharp.Build { public class BuildCommandBuilder { private readonly ISolution _solution; private readonly OmniSharpConfiguration _config; public BuildCommandBuilder( ISolution solution, ...
using System.IO; using OmniSharp.Solution; namespace OmniSharp.Build { public class BuildCommandBuilder { private readonly ISolution _solution; private readonly OmniSharpConfiguration _config; public BuildCommandBuilder( ISolution solution, OmniSharpConfigurati...
mit
C#
d7c7080f061afd4a22924929374ca82c08a1eb21
add more tests
splitice/SimpleChannel.Net,splitice/SimpleChannel.Net
SimpleChannel.Net.Tests/ZeroMqTests.cs
SimpleChannel.Net.Tests/ZeroMqTests.cs
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Runtime.Serialization; using System.Text; using System.Threading.Tasks; using NUnit.Framework; using SimpleChannel.Net.ZMQ; namespace SimpleChannel.Net.Tests { [DataContract] class TestModel { } ...
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Runtime.Serialization; using System.Text; using System.Threading.Tasks; using NUnit.Framework; using SimpleChannel.Net.ZMQ; namespace SimpleChannel.Net.Tests { [DataContract] class TestModel { } ...
mit
C#
996b0620d83dbc2eb2baf5af97df8e9ea3ecad95
Update CompositionRootSetup.cs
tiksn/TIKSN-Exchange
TIKSN.Exchange/CompositionRootSetup.cs
TIKSN.Exchange/CompositionRootSetup.cs
using Autofac; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Localization; using System.Collections.Generic; using TIKSN.Analytics.Logging; using TIKSN.Data; using TIKSN.Data.LiteDB; using TIKSN.DependencyInjection; using TIKSN.FileSystem; using TI...
using Autofac; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Localization; using TIKSN.Data; using TIKSN.Data.LiteDB; using TIKSN.DependencyInjection; using TIKSN.Finance.ForeignExchange; using TIKSN.Finance.ForeignExchange.Data; using TIKSN.Financ...
mit
C#
c3537a56fcf4120a3d2bc0d542d5e5ede43e476f
Fix typo in ConstraintGravity refactor
imazen/imageflow-dotnet
src/Imageflow/Fluent/ConstraintGravity.cs
src/Imageflow/Fluent/ConstraintGravity.cs
using System; using System.Collections.Generic; using System.Text; namespace Imageflow.Fluent { public class ConstraintGravity { /// <summary> /// Centers the gravity (the default) /// </summary> public ConstraintGravity() { XPercent = 50; YPerce...
using System; using System.Collections.Generic; using System.Text; namespace Imageflow.Fluent { public class ConstraintGravity { /// <summary> /// Centers the gravity (the default) /// </summary> public ConstraintGravity() { XPercent = 50; YPerce...
agpl-3.0
C#
b2be561e3f37364406e2eb6d00f3f9ec9b97285c
Use ConcurrentDictionary to simplify code
MetSystem/Orchard,dcinzona/Orchard-Harvest-Website,dcinzona/Orchard,xiaobudian/Orchard,li0803/Orchard,rtpHarry/Orchard,neTp9c/Orchard,yonglehou/Orchard,princeppy/JPYSites-Orchard-Azure-Live-SourceCode,MpDzik/Orchard,tobydodds/folklife,neTp9c/Orchard,mvarblow/Orchard,Praggie/Orchard,kgacova/Orchard,patricmutwiri/Orchard...
src/Orchard/Caching/DefaultCacheHolder.cs
src/Orchard/Caching/DefaultCacheHolder.cs
using System; using System.Collections.Concurrent; namespace Orchard.Caching { public class DefaultCacheHolder : ICacheHolder { private readonly ConcurrentDictionary<CacheKey, object> _caches = new ConcurrentDictionary<CacheKey, object>(); class CacheKey : Tuple<Type, Type, Type> { ...
using System; using System.Collections.Generic; using Castle.Core; namespace Orchard.Caching { public class DefaultCacheHolder : ICacheHolder { private readonly IDictionary<CacheKey, object> _caches = new Dictionary<CacheKey, object>(); class CacheKey : Pair<Type, Pair<Type, Type>> { ...
bsd-3-clause
C#
20893381652aed18f1036ce77c0c03f770567963
Update RecentFile.cs
wieslawsoltes/Core2D,Core2D/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,Core2D/Core2D
src/Core2D.Editor/Recent/RecentFile.cs
src/Core2D.Editor/Recent/RecentFile.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. namespace Core2D.Editor.Recent { /// <summary> /// Recent file. /// </summary> public class RecentFile : ObservableObject { private st...
// 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.Collections.Immutable; namespace Core2D.Editor.Recent { /// <summary> /// Recent files. /// </summary> public class Recents : Observa...
mit
C#
518b1216c3fe07b215a5e4805f6020b92b57f70a
stop crashing when saving log file
Foglio1024/Tera-custom-cooldowns,Foglio1024/Tera-custom-cooldowns
TCC.Core/Log.cs
TCC.Core/Log.cs
using System; using System.IO; namespace TCC { public static class Log { public static void CW(string line) { #if DEBUG Console.WriteLine(line); #endif } public static void C(string line) { #if DEBUG ChatWindowManager.Instance.AddTccMessage(line...
using System; using System.IO; using TCC.ViewModels; namespace TCC { public static class Log { public static void CW(string line) { #if DEBUG Console.WriteLine(line); #endif } public static void C(string line) { #if DEBUG ChatWindowManager.Insta...
mit
C#
0b3c16525e0bd2f08592189c770c5ac00d97679b
Print to STDOUT - 2> is broken on Mono/OS X
dirkrombauts/gherkin3,Zearin/gherkin3,thiblahute/gherkin3,SabotageAndi/gherkin,pjlsergeant/gherkin,dg-ratiodata/gherkin3,hayd/gherkin3,moreirap/gherkin3,amaniak/gherkin3,amaniak/gherkin3,dirkrombauts/gherkin3,araines/gherkin3,moreirap/gherkin3,dirkrombauts/gherkin3,dirkrombauts/gherkin3,thetutlage/gherkin3,dirkrombauts...
dotnet/Gherkin.AstGenerator/Program.cs
dotnet/Gherkin.AstGenerator/Program.cs
using System; using System.Linq; namespace Gherkin.AstGenerator { class Program { static int Main(string[] args) { if (args.Length < 1) { Console.WriteLine("Usage: Gherkin.AstGenerator.exe test-feature-file.feature"); return 1...
using System; using System.Linq; namespace Gherkin.AstGenerator { class Program { static int Main(string[] args) { if (args.Length < 1) { Console.WriteLine("Usage: Gherkin.AstGenerator.exe test-feature-file.feature"); return 1...
mit
C#
6105e1439deee70ffcdf9bd70edc4567179066aa
Allow Enrollment properties to be set by client apps
ashokgelal/Magpie,metageek-llc/Magpie
src/Magpie/Magpie/Models/Enrollment.cs
src/Magpie/Magpie/Models/Enrollment.cs
namespace MagpieUpdater.Models { public class Enrollment { public Channel Channel { get; private set; } public bool IsRequired { get; set; } public bool IsEnrolled { get; set; } public string Email { get; set; } public Enrollment(Channel channel) { C...
namespace MagpieUpdater.Models { public class Enrollment { public Channel Channel { get; private set; } public bool IsRequired { get; internal set; } public bool IsEnrolled { get; internal set; } public string Email { get; internal set; } public Enrollment(Channel chann...
mit
C#
de8a968f41e325f2d0e1fa868fef2bd33ced0bf2
Add constructor overload to ProxyException
extremecodetv/SocksSharp
src/SocksSharp/Proxy/ProxyException.cs
src/SocksSharp/Proxy/ProxyException.cs
using System; namespace SocksSharp.Proxy { /// <summary> /// Represents errors that occur during proxy execution. /// </summary> public class ProxyException : Exception { /// <summary> /// Initializes a new instance of the <see cref="ProxyException"/> with a specified error message...
using System; namespace SocksSharp.Proxy { /// <summary> /// Represents errors that occur during proxy execution. /// </summary> public class ProxyException : Exception { /// <summary> /// Initializes a new instance of the <see cref="ProxyException"/> with a specified error message...
mit
C#
872bca792ba0f921752697f2f407e798e92fb403
clean up nunit test reference and prepare for a nuget release
RushuiGuan/expression
Albatross.Expression/Properties/AssemblyInfo.cs
Albatross.Expression/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("Al...
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("Al...
mit
C#
b8ea4b11ab87a100723da620798be433300dc811
Adjust range further
peppy/osu,UselessToucan/osu,DrabWeb/osu,Frontear/osuKyzer,johnneijzen/osu,smoogipooo/osu,EVAST9919/osu,naoey/osu,2yangk23/osu,ppy/osu,NeoAdonis/osu,ZLima12/osu,peppy/osu,smoogipoo/osu,smoogipoo/osu,johnneijzen/osu,ppy/osu,DrabWeb/osu,peppy/osu,UselessToucan/osu,naoey/osu,2yangk23/osu,NeoAdonis/osu,ppy/osu,smoogipoo/osu...
osu.Game/Beatmaps/ControlPoints/TimingControlPoint.cs
osu.Game/Beatmaps/ControlPoints/TimingControlPoint.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 OpenTK; using osu.Game.Beatmaps.Timing; namespace osu.Game.Beatmaps.ControlPoints { public class TimingControlPoint : ControlPoint { ///...
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using OpenTK; using osu.Game.Beatmaps.Timing; namespace osu.Game.Beatmaps.ControlPoints { public class TimingControlPoint : ControlPoint { ///...
mit
C#
1b1e52604cf85071a45e1ff18fae0fc69ff32d65
fix Graveyard irregular particle emission
lucasdavid/the-alpha,lucasdavid/the-alpha
Assets/Scripts/GameObjects/Objects/Graveyard.cs
Assets/Scripts/GameObjects/Objects/Graveyard.cs
using UnityEngine; using System.Collections; using System.Collections.Generic; public class Graveyard : MonoBehaviour { public float healInterval; ParticleSystem effect; List<Mob> units; void Start () { units = new List<Mob>(); effect = GetComponentInChildren<ParticleSystem>(); ...
using UnityEngine; using System.Collections; using System.Collections.Generic; public class Graveyard : MonoBehaviour { public float healInterval; ParticleSystem effect; List<Mob> units; void Start () { units = new List<Mob>(); effect = GetComponentInChildren<ParticleSystem>(); ...
mit
C#
837a9065388adfb1a02926c304e5b61d501eb7e9
Make Status Effects UI better positioned.
space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14-content,space-wizards/space-station-14,space-wizards/space-station-14-content,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14-content
Content.Client/UserInterface/StatusEffectsUI.cs
Content.Client/UserInterface/StatusEffectsUI.cs
using Content.Client.Utility; using Robust.Client.Graphics; using Robust.Client.Interfaces.ResourceManagement; using Robust.Client.UserInterface; using Robust.Client.UserInterface.Controls; using Robust.Shared.IoC; namespace Content.Client.UserInterface { /// <summary> /// The status effects display on the...
using Content.Client.Utility; using Robust.Client.Graphics; using Robust.Client.Interfaces.ResourceManagement; using Robust.Client.UserInterface; using Robust.Client.UserInterface.Controls; using Robust.Shared.IoC; namespace Content.Client.UserInterface { /// <summary> /// The status effects display on the...
mit
C#
3020c7079bccc14fc479b3a34d50bb0adedc0f98
use development configuration
corker/estuite
Estuite/Estuite.Example/ProgramConfiguration.cs
Estuite/Estuite.Example/ProgramConfiguration.cs
using Estuite.Example.Configuration; namespace Estuite.Example { public class ProgramConfiguration : IEventStoreConfiguration, ICloudStorageAccountConfiguration { public string ConnectionString => "UseDevelopmentStorage=true"; public string StreamTableName => "esStreams"; public string...
using Estuite.Example.Configuration; namespace Estuite.Example { public class ProgramConfiguration : IEventStoreConfiguration, ICloudStorageAccountConfiguration { //public string ConnectionString => "UseDevelopmentStorage=true"; public string ConnectionString => "DefaultEndpointsProtocol=https...
mit
C#
15938b553646211c53ae376ab1c957a6caa6eaa0
Update LocalizableStrings.cs
blackdwarf/cli,dasMulli/cli,johnbeisner/cli,harshjain2/cli,EdwardBlair/cli,svick/cli,svick/cli,Faizan2304/cli,Faizan2304/cli,harshjain2/cli,ravimeda/cli,dasMulli/cli,johnbeisner/cli,ravimeda/cli,EdwardBlair/cli,EdwardBlair/cli,livarcocc/cli-1,livarcocc/cli-1,livarcocc/cli-1,blackdwarf/cli,dasMulli/cli,svick/cli,ravimed...
src/dotnet/commands/dotnet-add/dotnet-add-package/LocalizableStrings.cs
src/dotnet/commands/dotnet-add/dotnet-add-package/LocalizableStrings.cs
// Copyright (c) .NET Foundation and contributors. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.DotNet.Tools.Add.PackageReference { internal class LocalizableStrings { public const string AppFullName = ".N...
// Copyright (c) .NET Foundation and contributors. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.DotNet.Tools.Add.PackageReference { internal class LocalizableStrings { public const string AppFullName = ".N...
mit
C#
e991102ef8f2780d6137f59d38cfd13b52f91f19
test to see if an exception is logged.
ucdavis/CRP,ucdavis/CRP,ucdavis/CRP
CRP.Mvc/Controllers/TestController.cs
CRP.Mvc/Controllers/TestController.cs
using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Mail; using System.Web; using System.Web.Mvc; using CRP.Controllers; using CRP.Controllers.Filter; using CRP.Core.Abstractions; using Microsoft.Azure; using Serilog; namespace CRP.Mvc.Controllers { ...
using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Mail; using System.Web; using System.Web.Mvc; using CRP.Controllers; using CRP.Controllers.Filter; using CRP.Core.Abstractions; using Microsoft.Azure; using Serilog; namespace CRP.Mvc.Controllers { ...
mit
C#
1a644208c9f4d7e9d696fae7002293f59cd5e5e4
Fix r# warning
ParticularLabs/APIComparer,modernist/APIComparer,ParticularLabs/APIComparer,modernist/APIComparer
APIComparer.Contracts/Properties/AssemblyInfo.cs
APIComparer.Contracts/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("APIComparer.Contracts")] [assembly: Assem...
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("AP...
mit
C#
b78425e3a44e5b2a732858e486e6c95c49457d9a
Handle parsing stacks for Karma based tests
DanTup/TestAdapters,DanTup/TestAdapters
DanTup.TestAdapters/TestDiscoverer.cs
DanTup.TestAdapters/TestDiscoverer.cs
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text.RegularExpressions; using Microsoft.VisualStudio.TestPlatform.ObjectModel; using Microsoft.VisualStudio.TestPlatform.ObjectModel.Adapter; using Microsoft.VisualStudio.TestPlatform.ObjectModel.Logging; namespace DanTu...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text.RegularExpressions; using Microsoft.VisualStudio.TestPlatform.ObjectModel; using Microsoft.VisualStudio.TestPlatform.ObjectModel.Adapter; using Microsoft.VisualStudio.TestPlatform.ObjectModel.Logging; namespace DanTu...
mit
C#
c73e4e9e5fdd6784df0bd34505de89f32b2d8f00
Throw on CustomDependencies
SteamDatabase/ValveResourceFormat
ValveResourceFormat/Blocks/ResourceEditInfoStructs/CustomDependencies.cs
ValveResourceFormat/Blocks/ResourceEditInfoStructs/CustomDependencies.cs
using System; using System.IO; using System.Text; namespace ValveResourceFormat.Blocks.ResourceEditInfoStructs { public class CustomDependencies : REDIBlock { public override void Read(BinaryReader reader) { reader.BaseStream.Position = this.Offset; if (this.Size > 0) ...
using System; using System.IO; using System.Text; namespace ValveResourceFormat.Blocks.ResourceEditInfoStructs { public class CustomDependencies : REDIBlock { public override void Read(BinaryReader reader) { reader.BaseStream.Position = this.Offset; } public over...
mit
C#
6839ad4ae9a209f20b6bbda98d03e5742862f536
Update IDeserializerRestFactory.cs
tiksn/TIKSN-Framework
TIKSN.Core/Web/Rest/IDeserializerRestFactory.cs
TIKSN.Core/Web/Rest/IDeserializerRestFactory.cs
using TIKSN.Serialization; namespace TIKSN.Web.Rest { public interface IDeserializerRestFactory { IDeserializer<string> Create(string mediaType); } }
using TIKSN.Serialization; namespace TIKSN.Web.Rest { public interface IDeserializerRestFactory { IDeserializer<string> Create(string mediaType); } }
mit
C#
f686c56d07992a2867b9c83ae4e6bd090938dcff
Change LoggerBuilder
yshong93/CloudBread-Admin-Web,CloudBreadProject/CloudBread-Admin-Web,yshong93/CloudBread-Admin-Web,CloudBreadProject/CloudBread-Admin-Web,yshong93/CloudBread-Admin-Web,CloudBreadProject/CloudBread-Admin-Web
CBLoggerBuilder.cs
CBLoggerBuilder.cs
using CloudBreadAdminWebAuth; using System; using System.Collections.Generic; using System.Linq; using System.Security.Claims; using System.Web; using System.Web.Http.OData; namespace CloudBread_Admin_Web { public class CBLoggerBuilder { public enum LoggerType { GET, GETbyIID, PUT, POST, PATCH, DELETE...
using CloudBreadAdminWebAuth; using System; using System.Collections.Generic; using System.Linq; using System.Security.Claims; using System.Web; using System.Web.Http.OData; namespace CloudBread_Admin_Web { public class CBLoggerBuilder { public enum LoggerType { GET, GETbyIID, PUT, POST, PATCH, DELETE...
mit
C#
a2d2bbfc2220d722a92c9929f001478df64ab31d
test readFromLast=true option
modulexcite/LogSearchShipper,cityindex/LogSearchShipper
src/IntegrationTests/MtTailerTests.cs
src/IntegrationTests/MtTailerTests.cs
using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Linq; using System.Text; using System.Threading; using NUnit.Framework; namespace IntegrationTests { class MtTailerTests : IntegrationTestBase { void Init() { Init("LogsearchShipper.exe.config.MtTailerTes...
using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Linq; using System.Text; using System.Threading; using NUnit.Framework; namespace IntegrationTests { class MtTailerTests : IntegrationTestBase { void Init() { Init("LogsearchShipper.exe.config.MtTailerTes...
apache-2.0
C#
ab21646b63431ad08e5e2e8fa9234eca72c0e652
Update SqliteConnectionStringParser.cs
msallin/SQLiteCodeFirst,liujunhua/SQLiteCodeFirst
SQLite.CodeFirst/SqliteConnectionStringParser.cs
SQLite.CodeFirst/SqliteConnectionStringParser.cs
using System; using System.Collections.Generic; namespace SQLite.CodeFirst { internal static class SqliteConnectionStringParser { private const string DataDirectoryToken= "|DataDirectory|"; private const char KeyValuePairSeperator = ';'; private const char KeyValueSeperator = '='; ...
using System; using System.Collections.Generic; namespace SQLite.CodeFirst { internal static class SqliteConnectionStringParser { private const string DataDirectoryVariable = "|DataDirectory|"; private const char KeyValuePairSeperator = ';'; private const char KeyValueSeperator = '=';...
apache-2.0
C#
0c5752bf27942b035006252c3e21338d0d1cf7d1
Add IsActive and ThrowIfNotActiveWithGivenName to AppLock interface
rapidcore/rapidcore,rapidcore/rapidcore
src/Locking/IDistributedAppLock.cs
src/Locking/IDistributedAppLock.cs
using System; namespace RapidCore.Locking { /// <summary> /// When implemented in a downstream locker provider, this instance contains a handle to the underlying lock instance /// </summary> public interface IDistributedAppLock : IDisposable { /// <summary> /// The name of the lock ...
using System; namespace RapidCore.Locking { /// <summary> /// When implemented in a downstream locker provider, this instance contains a handle to the underlying lock instance /// </summary> public interface IDistributedAppLock : IDisposable { /// <summary> /// The name of the lock ...
mit
C#
de3b68f1d302e3f460ae9358c0b1c01e65f29953
add todo
smoothdeveloper/SimpleScene,RealRui/SimpleScene,jeske/SimpleScene,Namone/SimpleScene
WavefrontOBJViewer/SimpleScene/Lights/SSLight.cs
WavefrontOBJViewer/SimpleScene/Lights/SSLight.cs
// Copyright(C) David W. Jeske, 2013 // Released to the public domain. Use, modify and relicense at will. using System; using OpenTK; using OpenTK.Graphics.OpenGL; namespace WavefrontOBJViewer { // http://www.opentk.com/node/2142 // http://msdn.microsoft.com/en-us/library/windows/desktop/dd373578(v=vs.85).aspx //...
// Copyright(C) David W. Jeske, 2013 // Released to the public domain. Use, modify and relicense at will. using System; using OpenTK; using OpenTK.Graphics.OpenGL; namespace WavefrontOBJViewer { // http://www.opentk.com/node/2142 // http://msdn.microsoft.com/en-us/library/windows/desktop/dd373578(v=vs.85).aspx //...
apache-2.0
C#
c764befef148d230986740c0f9a40d9913a0167c
Rename some ETW events
lancespeelmon/WinterBot,DarkAutumn/WinterBot
WinterBot/WinterBotLogging/TwitchClientSource.cs
WinterBot/WinterBotLogging/TwitchClientSource.cs
using System; using System.Collections.Generic; using System.Diagnostics.Tracing; using System.Linq; using System.Text; using System.Threading.Tasks; namespace WinterBotLogging { [EventSource(Name = "WinterBot-Twitch")] public class TwitchSource : EventSource { public static TwitchSource Log = new...
using System; using System.Collections.Generic; using System.Diagnostics.Tracing; using System.Linq; using System.Text; using System.Threading.Tasks; namespace WinterBotLogging { [EventSource(Name = "WinterBot-TwitchClient")] public class TwitchSource : EventSource { public static TwitchSource Log...
mit
C#
629a6620b01d634b22dd40ffacb546b4d6c9f1e0
Update LoaderBenchmarks.cs
cyotek/Cyotek.Drawing.BitmapFont
benchmarks/LoaderBenchmarks.cs
benchmarks/LoaderBenchmarks.cs
using BenchmarkDotNet.Attributes; using Cyotek.Drawing.BitmapFont; using System; using System.IO; // AngelCode bitmap font parsing using C# // https://www.cyotek.com/blog/angelcode-bitmap-font-parsing-using-csharp // Copyright © 2017-2020 Cyotek Ltd. // This work is licensed under the MIT License. // See LICENSE.TXT...
using BenchmarkDotNet.Attributes; using Cyotek.Drawing.BitmapFont; using System; using System.IO; // AngelCode bitmap font parsing using C# // https://www.cyotek.com/blog/angelcode-bitmap-font-parsing-using-csharp // Copyright © 2017-2020 Cyotek Ltd. // This work is licensed under the MIT License. // See LICENSE.TXT...
mit
C#
9d764ff16cdafdd6296fcd7334fdbafc5cc15bd0
Use JsonProperty attribute and remove unused types
Ontica/Empiria.Extended
Cognition/Providers/TranslatorDataTypes.cs
Cognition/Providers/TranslatorDataTypes.cs
/* Empiria Extensions **************************************************************************************** * * * Module : Cognitive Services Component : Service provider ...
/* Empiria Extensions **************************************************************************************** * * * Module : Cognitive Services Component : Service provider ...
agpl-3.0
C#
d832a9f7d12850f9027ab48d465459e574645988
update version and publish to nuget package
NerdsComputing/DeepTransaction
DeepTransaction/Properties/AssemblyInfo.cs
DeepTransaction/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("Dee...
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("Dee...
mit
C#
2d8831da460ebb032c4931266b051ea968819001
Add comments to vision quickstart.
jsimonweb/csharp-docs-samples,jsimonweb/csharp-docs-samples,GoogleCloudPlatform/dotnet-docs-samples,GoogleCloudPlatform/dotnet-docs-samples,jsimonweb/csharp-docs-samples,GoogleCloudPlatform/dotnet-docs-samples,GoogleCloudPlatform/dotnet-docs-samples,jsimonweb/csharp-docs-samples
vision/api/QuickStart/QuickStart.cs
vision/api/QuickStart/QuickStart.cs
// Copyright(c) 2017 Google Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); you may not // use this file except in compliance with the License. You may obtain a copy of // the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agree...
// Copyright(c) 2017 Google Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); you may not // use this file except in compliance with the License. You may obtain a copy of // the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agree...
apache-2.0
C#
596836393cd88681d9f10c74f6ea872a72a6e2cb
add pro
ngnono/NGnono.Doubts
NGnono.Doubts.IDisposableDoubts/Program.cs
NGnono.Doubts.IDisposableDoubts/Program.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; using log4net; using log4net.Repository.Hierarchy; namespace NGnono.Doubts.IDisposableDoubts { class Program { private static readonly ILog Logger = LogManager.GetLogger(typeof(Program)); ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; using log4net; using log4net.Repository.Hierarchy; namespace NGnono.Doubts.IDisposableDoubts { class Program { private static readonly ILog Logger = LogManager.GetLogger(typeof(Pro...
apache-2.0
C#
6073ccee10f8bdc523947f798e34651c1d89b95d
Print source and destination addresses on ICMPv6 packets
shutej/tapcfg,shutej/tapcfg,shutej/tapcfg,shutej/tapcfg,shutej/tapcfg,shutej/tapcfg,shutej/tapcfg
trunk/src/bindings/TAPCfgTest.cs
trunk/src/bindings/TAPCfgTest.cs
using TAP; using System; using System.Net; public class TAPCfgTest { private static void Main(string[] args) { EthernetDevice dev = new EthernetDevice(); dev.Start("Device name"); Console.WriteLine("Got device name: {0}", dev.DeviceName); dev.MTU = 1280; dev.SetAddress(IPAddress.Parse("192.168.1.1"), 16); ...
using TAP; using System; using System.Net; public class TAPCfgTest { private static void Main(string[] args) { EthernetDevice dev = new EthernetDevice(); dev.Start("Device name"); Console.WriteLine("Got device name: {0}", dev.DeviceName); dev.MTU = 1280; dev.SetAddress(IPAddress.Parse("192.168.1.1"), 16); ...
lgpl-2.1
C#
b5c950e089245da1ec3ee5b822290e9258bf6fcf
Switch to .Dispose() from .Close().
jmedrano87/nasa-apod-pcl
apod_api/APOD_API.cs
apod_api/APOD_API.cs
using System; using System.Threading.Tasks; using System.IO; using System.Net; using Newtonsoft.Json; namespace apod_api { public sealed class APOD_API { public APOD_API() { date = DateTime.Today; } public void sendRequest() { generateURL(); ...
using System; using System.Threading.Tasks; using System.IO; using System.Net; using Newtonsoft.Json; namespace apod_api { public sealed class APOD_API { public APOD_API() { date = DateTime.Today; } public void sendRequest() { generateURL(); ...
mit
C#
c27f5031a95e20619c4d1626a4e07200d8f7d5a0
Remove unused property
sailro/cecil,SiliconStudio/Mono.Cecil,fnajera-rac-de/cecil,mono/cecil,jbevain/cecil
Mono/Disposable.cs
Mono/Disposable.cs
// // Author: // Jb Evain (jbevain@gmail.com) // // Copyright (c) 2008 - 2015 Jb Evain // Copyright (c) 2008 - 2011 Novell, Inc. // // Licensed under the MIT/X11 license. // using System; namespace Mono { static class Disposable { public static Disposable<T> Owned<T> (T value) where T : class, IDisposable { ...
// // Author: // Jb Evain (jbevain@gmail.com) // // Copyright (c) 2008 - 2015 Jb Evain // Copyright (c) 2008 - 2011 Novell, Inc. // // Licensed under the MIT/X11 license. // using System; namespace Mono { static class Disposable { public static Disposable<T> Owned<T> (T value) where T : class, IDisposable { ...
mit
C#
e78e326f34d84ce8cc3abbcc581adf35f8194bad
remove unused using
ppy/osu,ZLima12/osu,ZLima12/osu,johnneijzen/osu,ppy/osu,smoogipoo/osu,smoogipoo/osu,NeoAdonis/osu,2yangk23/osu,UselessToucan/osu,peppy/osu,smoogipoo/osu,UselessToucan/osu,NeoAdonis/osu,NeoAdonis/osu,peppy/osu,peppy/osu-new,smoogipooo/osu,peppy/osu,EVAST9919/osu,2yangk23/osu,ppy/osu,EVAST9919/osu,johnneijzen/osu,Useless...
osu.Game/Screens/Play/ReplayPlayerLoader.cs
osu.Game/Screens/Play/ReplayPlayerLoader.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System.Collections.Generic; using osu.Framework.Allocation; using osu.Game.Rulesets.Mods; using osu.Game.Scoring; namespace osu.Game.Screens.Play { public clas...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System.Collections.Generic; using osu.Framework.Allocation; using osu.Framework.Bindables; using osu.Game.Rulesets.Mods; using osu.Game.Scoring; namespace osu.Game...
mit
C#
ca4598b8dc8d45b09aa52c3200e7608bc34bd2be
Remove unused usings
rprouse/nunit-tests,rprouse/nunit-tests,rprouse/nunit-tests
nunit-v3/CloseToTests.cs
nunit-v3/CloseToTests.cs
using System; using System.Threading; using NUnit.Framework; namespace nunit.v3 { public class CloseToTests { [Test] public void CanCompareDatesThatAreClose() { var actual = DateTime.UtcNow; Thread.Sleep(200); Assert.That(actual, Is.E...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; using NUnit.Framework; namespace nunit.v3 { public class CloseToTests { [Test] public void CanCompareDatesThatAreClose() { ...
mit
C#
ca1064c989d564da98afc8097d89c155bda47dc2
Update PlansPage page object
atata-framework/atata-sample-app-tests
src/Atata.SampleApp.AutoTests.Components/PlansPage.cs
src/Atata.SampleApp.AutoTests.Components/PlansPage.cs
using _ = Atata.SampleApp.AutoTests.PlansPage; namespace Atata.SampleApp.AutoTests { [VerifyTitle] [VerifyH1] [Url("plans")] [VerifyContent("Please choose your payment plan")] public class PlansPage : AppPage<_> { public ControlList<PlanItem, _> PlanItems { get; private set; ...
using _ = Atata.SampleApp.AutoTests.PlansPage; namespace Atata.SampleApp.AutoTests { [VerifyTitle] [VerifyH1] [Url("plans")] [VerifyContent("The provided information is just for testing purposes")] public class PlansPage : AppPage<_> { public ControlList<PlanItem, _> PlanItem...
apache-2.0
C#
55aab75f26f47bcd1ac3e491f19a8b72ae323590
fix ParseTicket for Guid Users
signumsoftware/framework,signumsoftware/extensions,MehdyKarimpour/extensions,AlejandroCano/extensions,MehdyKarimpour/extensions,signumsoftware/extensions,AlejandroCano/extensions,signumsoftware/framework
Signum.Entities.Extensions/Authorization/UserTicket.cs
Signum.Entities.Extensions/Authorization/UserTicket.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Security.Principal; using Signum.Utilities; using System.Threading; using System.Security.Cryptography; using System.ComponentModel; using System.Reflection; using Signum.Utilities.DataStructures; using System...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Security.Principal; using Signum.Utilities; using System.Threading; using System.Security.Cryptography; using System.ComponentModel; using System.Reflection; using Signum.Utilities.DataStructures; using System...
mit
C#
3d03af542f75ac31898d5c659787cecb527866bc
add unicode support by using clipboard
Goz3rr/SkypeSharp
SkypeSharp/Chat.cs
SkypeSharp/Chat.cs
using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Linq; namespace SkypeSharp { /// <summary> /// Class representing a Skype CHAT object /// </summary> public class Chat : SkypeObject { /// <summary> /// List of users in this...
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; namespace SkypeSharp { /// <summary> /// Class representing a Skype CHAT object /// </summary> public class Chat : SkypeObject { /// <summary> /// List of users in this chat ///...
mit
C#
a995decefefbeb42b4cb62d160f23a26808bde7a
Make EventArgs base class serializable (dotnet/coreclr#15541)
gregkalapos/corert,gregkalapos/corert,gregkalapos/corert,gregkalapos/corert
src/System.Private.CoreLib/shared/System/EventArgs.cs
src/System.Private.CoreLib/shared/System/EventArgs.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; namespace System { // The base class for all event classes. [Serializable] [System.Runtim...
// 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 System { // The base class for all event classes. public class EventArgs { ...
mit
C#
e8d442c2b8ba4d5ee6b4db012e91931f1a7750ea
Fix UpdateManager NRE for soundspawn
fomalsd/unitystation,krille90/unitystation,fomalsd/unitystation,krille90/unitystation,fomalsd/unitystation,krille90/unitystation,fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation
UnityProject/Assets/Scripts/Sound/SoundSpawn.cs
UnityProject/Assets/Scripts/Sound/SoundSpawn.cs
using System; using System.Collections; using System.Collections.Generic; using UnityEngine; public class SoundSpawn : MonoBehaviour { public AudioSource audioSource; //We need to handle this manually to prevent multiple requests grabbing sound pool items in the same frame public bool isPlaying = false; private f...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class SoundSpawn : MonoBehaviour { public AudioSource audioSource; //We need to handle this manually to prevent multiple requests grabbing sound pool items in the same frame public bool isPlaying = false; private float waitLead ...
agpl-3.0
C#
ef311972468a2c91dacfbea0ef0dccc385f22962
Resolve bherila/n2cms#8 by wrapping bootstrap grid in appropriate CSS
SntsDev/n2cms,nicklv/n2cms,VoidPointerAB/n2cms,VoidPointerAB/n2cms,bussemac/n2cms,DejanMilicic/n2cms,nimore/n2cms,n2cms/n2cms,nicklv/n2cms,DejanMilicic/n2cms,SntsDev/n2cms,n2cms/n2cms,nimore/n2cms,nimore/n2cms,EzyWebwerkstaden/n2cms,bussemac/n2cms,EzyWebwerkstaden/n2cms,VoidPointerAB/n2cms,n2cms/n2cms,nimore/n2cms,nick...
src/Mvc/Dinamico/Dinamico/Themes/Default/Views/Slideshow/BootstrapGrid.cshtml
src/Mvc/Dinamico/Dinamico/Themes/Default/Views/Slideshow/BootstrapGrid.cshtml
@model N2.Web.Slideshow @* Note: Requires Twitter Bootstrap. Fancybox will work on non-linked images if it's included in the page already. Due to a bug in Bootstrap, some extra CSS is required. See: https://github.com/twitter/bootstrap/issues/3494 .row-fluid ul.thumbnails li.span12 + li { margin-left : 0px;clear:l...
@model N2.Web.Slideshow @* Note: Requires Twitter Bootstrap. Fancybox will work on non-linked images if it's included in the page already. *@ @{ Content.Define(ie => { ie.Title = "Bootstrap Grid"; }); int columns = 4; string spanclass = "span" + (12 / columns); string uniqueId = Html.UniqueID("cs"); } <ul class=...
lgpl-2.1
C#
515ca9408ffb5d8be3d26b281489c9bf80dfe1e3
Add exit code to console app; return HostFactory.Run result
rongriffin/MassTransit.Host.RabbitMQ
MassTransit.Host.RabbitMQ/Program.cs
MassTransit.Host.RabbitMQ/Program.cs
// Copyright 2014 Ron Griffin, ... // // 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...
// Copyright 2014 Ron Griffin, ... // // Licensed under the Apache License, Version 2.0 (the "License"); you may not use // this file except in compliance with the License. You may obtain a copy of the // License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or...
apache-2.0
C#
bad4a25b2b7714190f177cc00a115558e208b90d
add runner
Xarlot/NGitLab
NGitLab/NGitLab/Models/RunnerData.cs
NGitLab/NGitLab/Models/RunnerData.cs
using System.Runtime.Serialization; namespace NGitLab.Models { [DataContract] public class RunnerData { [DataMember(Name = "id")] public int Id { get; set; } [DataMember(Name = "description")] public string Description { get; set; } [DataMember(Name = "...
namespace NGitLab.Models { public class RunnerData { } }
mit
C#
3c8d450db3bd911ebf0a3aa7335b5b87678ecd39
Rename parameters consistently throughout GenericArgumentResolver.
Duohong/fixie,JakeGinnivan/fixie,fixie/fixie,EliotJones/fixie,bardoloi/fixie,bardoloi/fixie,KevM/fixie
src/Fixie/GenericArgumentResolver.cs
src/Fixie/GenericArgumentResolver.cs
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; namespace Fixie { public class GenericArgumentResolver { public static Type[] ResolveTypeArguments(MethodInfo method, object[] parameters) { var genericArguments = method.GetGenericArguments...
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; namespace Fixie { public class GenericArgumentResolver { public static Type[] ResolveTypeArguments(MethodInfo method, object[] parameters) { var genericArguments = method.GetGenericArguments...
mit
C#
20f1eb2b33765d477fdabf04a7f3e287fe2b9170
Fix windows key blocking applying when window is inactive / when watching a replay
NeoAdonis/osu,ppy/osu,peppy/osu-new,peppy/osu,UselessToucan/osu,smoogipoo/osu,smoogipooo/osu,ppy/osu,NeoAdonis/osu,peppy/osu,smoogipoo/osu,UselessToucan/osu,UselessToucan/osu,ppy/osu,peppy/osu,smoogipoo/osu,NeoAdonis/osu
osu.Desktop/Windows/GameplayWinKeyBlocker.cs
osu.Desktop/Windows/GameplayWinKeyBlocker.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.Bindables; using osu.Framework.Graphics; using osu.Framework.Platform; using osu.Game; using osu.Game.Configuration; ...
// 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.Bindables; using osu.Framework.Graphics; using osu.Framework.Platform; using osu.Game.Configuration; namespace osu.D...
mit
C#
47d551a58d80913b3df1444860977dc3d2735c9b
comment added
krzyszti/my_projects,krzyszti/my_projects,krzyszti/my_projects,krzyszti/my_projects
C#/excercises/tape_equilibrium.cs
C#/excercises/tape_equilibrium.cs
/* source: https://codility.com/demo/take-sample-test/tape_equilibrium/ A non-empty zero-indexed array A consisting of N integers is given. Array A represents numbers on a tape. Any integer P, such that 0 < P < N, splits this tape into two non-empty parts: A[0], A[1], ..., A[P − 1] and A[P], A[P + 1], ..., A[N − 1]. Th...
using System; using System.Linq; class Solution { public int solution(int[] A) { int s = A.Sum()-A[0]; int r = A[0]; int result = Math.Abs(s-r); for(int i=1;i < A.Length - 1;i++){ s = s - A[i]; r = r+ A[i]; if (Math.Abs(s-r)<result){ ...
mit
C#
04ffba1ced1a00bb0a7961b38ab7b82bfe4dc3e3
Update Spell
ClickBuddy/ClickElo
ClickLux/ClickLux/SpellManager.cs
ClickLux/ClickLux/SpellManager.cs
using EloBuddy; using EloBuddy.SDK; using EloBuddy.SDK.Enumerations; namespace ClickLux { public static class SpellManager { public static EloBuddy.SDK.Spell.Skillshot Q { get; private set; } public static EloBuddy.SDK.Spell.Skillshot W { get; private set; } public static EloBuddy.SDK....
using EloBuddy; using EloBuddy.SDK; using EloBuddy.SDK.Enumerations; namespace ClickLux { public static class SpellManager { public static EloBuddy.SDK.Spell.Skillshot Q { get; private set; } public static EloBuddy.SDK.Spell.Skillshot W { get; private set; } public static EloBuddy.SDK....
apache-2.0
C#
f13b343868610a2f6f2ef1f26a73b41a1c2eaeaa
Add descriptive ToString to Id (#175)
beardgame/utilities
Bearded.Utilities/Core/Id.cs
Bearded.Utilities/Core/Id.cs
using System; using System.Runtime.InteropServices; namespace Bearded.Utilities { [StructLayout(LayoutKind.Sequential, Pack = 1)] public struct Id<T> : IEquatable<Id<T>> { public int Value { get; } public Id(int value) { Value = value; } public bool Is...
using System; using System.Runtime.InteropServices; namespace Bearded.Utilities { [StructLayout(LayoutKind.Sequential, Pack = 1)] public struct Id<T> : IEquatable<Id<T>> { public int Value { get; } public Id(int value) { Value = value; } public bool Is...
mit
C#
c718e80be865aef2054bd1dd31fcf4d3c1a6cece
Add StringComparison within FileSystem.cs
Kingloo/Pingy
src/Common/FileSystem.cs
src/Common/FileSystem.cs
using System; using System.Collections.Generic; using System.IO; using System.Threading.Tasks; namespace Pingy.Common { public static class FileSystem { public static async Task<string[]> LoadLinesFromFileAsync(string path, string commentChar) { List<string> lines = new List<string>...
using System; using System.Collections.Generic; using System.IO; using System.Threading.Tasks; namespace Pingy.Common { public static class FileSystem { public static async Task<string[]> LoadLinesFromFileAsync(string path, string commentChar) { List<string> lines = new List<string>...
unlicense
C#
6d6c00a04a99f61f1e95a10b08d36f2a29b8da88
Add a DebuggerDisplay attr to RidList
0xd4d/dnlib,kiootic/dnlib,modulexcite/dnlib,ilkerhalil/dnlib,yck1509/dnlib,Arthur2e5/dnlib,jorik041/dnlib,ZixiangBoy/dnlib,picrap/dnlib
src/DotNet/MD/RidList.cs
src/DotNet/MD/RidList.cs
using System.Collections.Generic; using System.Diagnostics; namespace dot10.DotNet.MD { /// <summary> /// Stores a list of rids /// </summary> [DebuggerDisplay("Length = {Length}")] public abstract class RidList { /// <summary> /// Gets the number of rids it will iterate over /// </summary> public abstra...
using System.Collections.Generic; namespace dot10.DotNet.MD { /// <summary> /// Stores a list of rids /// </summary> public abstract class RidList { /// <summary> /// Gets the number of rids it will iterate over /// </summary> public abstract uint Length { get; } /// <summary> /// Gets the <paramref ...
mit
C#
0fa9ad0676141bd5d8dfffa134e5583d21f8cda1
Make PublicIp variable lazy again.
lukyad/Eco
Eco/Variables/PublicIpVariable.cs
Eco/Variables/PublicIpVariable.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Net; namespace Eco.Variables { public class PublicIpVariable : IVariableProvider { string _lastIp; DateTime _lastUpdate; public Dictionary<string, Func<stri...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Net; namespace Eco.Variables { public class PublicIpVariable : IVariableProvider { string _lastIp; DateTime _lastUpdate; public Dictionary<string, Func<stri...
apache-2.0
C#
a94902659b938a866de3078209758ce33ae98661
move search to right, fixes #46
camd67/stream-surfer,camd67/stream-surfer
StreamSurfer/Views/Home/Index.cshtml
StreamSurfer/Views/Home/Index.cshtml
@{ ViewData["Title"] = "Home"; } @section Scripts{ <script src="~/js/home.js"></script> } <header class="home-header"> <div class="home-suggestion-banner"> Let's watch <span class="home-suggestion-text"></span><span class="blink">&#124;</span> </div> <div class="home-header-search...
@{ ViewData["Title"] = "Home"; } @section Scripts{ <script src="~/js/home.js"></script> } <header class="home-header"> <div class="home-suggestion-banner"> Let's watch <span class="home-suggestion-text"></span><span class="blink">&#124;</span> </div> <div class="home-header-search...
mit
C#
000f95b0acbd44bcc14ded41875e1c10443a767a
Fix grammar in test name
timclipsham/tfs-hipchat
TfsHipChat.Tests/TfsIdentityTests.cs
TfsHipChat.Tests/TfsIdentityTests.cs
using System.IO; using Xunit; namespace TfsHipChat.Tests { public class TfsIdentityTests { [Fact] public void Url_ShouldReturnTheServerUrl_WhenDeserializedUsingValidXml() { const string serverUrl = "http://some-tfs-server.com"; const string tfsIdentit...
using System.IO; using Xunit; namespace TfsHipChat.Tests { public class TfsIdentityTests { [Fact] public void Url_ShouldReturnTheServerUrl_WhenDeserializedByValidXml() { const string serverUrl = "http://some-tfs-server.com"; const string tfsIdentityXm...
mit
C#
debeb3f75d076df5e9a035311650ad0b5e489a8b
Add option to enable prefetch or not.
SQLStreamStore/SQLStreamStore,damianh/Cedar.EventStore,SQLStreamStore/SQLStreamStore
src/LoadTests/ReadAll.cs
src/LoadTests/ReadAll.cs
namespace LoadTests { using System; using System.Diagnostics; using System.Threading; using System.Threading.Tasks; using EasyConsole; using SqlStreamStore.Streams; public class ReadAll : LoadTest { protected override async Task RunAsync(CancellationToken ct) { ...
namespace LoadTests { using System; using System.Diagnostics; using System.Threading; using System.Threading.Tasks; using EasyConsole; using SqlStreamStore.Streams; public class ReadAll : LoadTest { protected override async Task RunAsync(CancellationToken ct) { ...
mit
C#
781d46b4754aa489defd3295768cf9958e572364
Create IdentityManagementConfiguration only when needed.
affecto/dotnet-AuthenticationServer
Source/AuthenticationServer.IdentityManagement/IdentityManagementModule.cs
Source/AuthenticationServer.IdentityManagement/IdentityManagementModule.cs
using System; using System.Collections.Generic; using System.Linq; using Affecto.AuditTrail.Interfaces; using Affecto.AuditTrail.Interfaces.Model; using Affecto.AuthenticationServer.IdentityManagement.Configuration; using Affecto.AuthenticationServer.Infrastructure.Configuration; using Autofac; using IdentityServer3.Co...
using System; using System.Collections.Generic; using System.Linq; using Affecto.AuditTrail.Interfaces; using Affecto.AuditTrail.Interfaces.Model; using Affecto.AuthenticationServer.IdentityManagement.Configuration; using Affecto.AuthenticationServer.Infrastructure.Configuration; using Autofac; using IdentityServer3.Co...
mit
C#
da06d1b50736ed262aef6f794101d5b437fccdbe
Call AddEndpointsApiExplorer() in controllers Web API template (#36752)
aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore
src/ProjectTemplates/Web.ProjectTemplates/content/WebApi-CSharp/Program.cs
src/ProjectTemplates/Web.ProjectTemplates/content/WebApi-CSharp/Program.cs
#if (OrganizationalAuth || IndividualB2CAuth) using Microsoft.AspNetCore.Authentication; using Microsoft.AspNetCore.Authentication.JwtBearer; #endif #if (GenerateGraph) using Graph = Microsoft.Graph; #endif #if (OrganizationalAuth || IndividualB2CAuth) using Microsoft.Identity.Web; #endif #if (OrganizationalAuth || Ind...
#if (OrganizationalAuth || IndividualB2CAuth) using Microsoft.AspNetCore.Authentication; using Microsoft.AspNetCore.Authentication.JwtBearer; #endif #if (GenerateGraph) using Graph = Microsoft.Graph; #endif #if (OrganizationalAuth || IndividualB2CAuth) using Microsoft.Identity.Web; #endif #if (OrganizationalAuth || Ind...
apache-2.0
C#
d1256afc05d064f035e4688f93d7af0c9c579d74
simplify async queryable enumeration transformer
SathishN/JSONAPI.NET,SphtKr/JSONAPI.NET,danshapir/JSONAPI.NET,JSONAPIdotNET/JSONAPI.NET
JSONAPI.EntityFramework/ActionFilters/AsynchronousEnumerationTransformer.cs
JSONAPI.EntityFramework/ActionFilters/AsynchronousEnumerationTransformer.cs
using System.Data.Entity; using System.Linq; using System.Threading; using System.Threading.Tasks; using JSONAPI.QueryableTransformers; namespace JSONAPI.EntityFramework.ActionFilters { /// <summary> /// Enumerates an IQueryable asynchronously using Entity Framework's ToArrayAsync() method. /// </summary>...
using System; using System.Data.Entity; using System.Linq; using System.Reflection; using System.Threading; using System.Threading.Tasks; using JSONAPI.ActionFilters; using JSONAPI.QueryableTransformers; namespace JSONAPI.EntityFramework.ActionFilters { /// <summary> /// Enumerates an IQueryable asynchronousl...
mit
C#
22fe313b436e6215a5a9d59c9a39bb5088543195
teste f
Thiago-Caramelo/patchsearch
Program.cs
Program.cs
using System; using System.Collections.Generic; using System.IO; using System.Text; namespace PatchSearch { // teste teste class Program { static void Main(string[] args) { if (args == null || args.Length == 0) { return; } ...
using System; using System.Collections.Generic; using System.IO; using System.Text; namespace PatchSearch { // teste teste class Program { static void Main(string[] args) { if (args == null || args.Length == 0) { return; } ...
mit
C#
e3850e5e61b2f8a855376cb8a3beff34b3d82582
Add Exchange autodiscover/login process
twpol/exchange-flagged-histogram
Program.cs
Program.cs
using System; using System.IO; using CLP = CommandLineParser; using Microsoft.Exchange.WebServices.Data; using Microsoft.Extensions.Configuration; namespace exchange_flagged_histogram { class Program { static void Main(string[] args) { var config = new CLP.Arguments.FileArgument('c...
using System; using System.IO; using CLP = CommandLineParser; using Microsoft.Extensions.Configuration; namespace exchange_flagged_histogram { class Program { static void Main(string[] args) { var config = new CLP.Arguments.FileArgument('c', "config") { ...
mit
C#
d0eb2c906f0944bdb830b0fa3899a4d5ba45b952
Comment code according to presentation's flow
Ky7m/DemoCode,Ky7m/DemoCode,Ky7m/DemoCode,Ky7m/DemoCode
AsynchronousAndMultithreading/2.AsyncLambda/Program.cs
AsynchronousAndMultithreading/2.AsyncLambda/Program.cs
using System; using System.Threading.Tasks; using static System.Console; namespace AsyncLambda { class Program { static async Task Main() { WriteLine("Started"); try { Process(async () => { await Task.Delay...
using System; using System.Threading.Tasks; using static System.Console; namespace AsyncLambda { class Program { static async Task Main() { WriteLine("Started"); try { Process(async () => { await Task.Delay...
mit
C#
276c634c1d5efc53b763d16ead5390ba84234351
add null check to List clone.
zapadi/redmine-net-api,Enhakiel/redmine-net-api
redmine-net20-api/Extensions/Extensions.cs
redmine-net20-api/Extensions/Extensions.cs
using System; using System.Collections.Generic; using System.Collections.Specialized; using Redmine.Net.Api.Logging; namespace Redmine.Net.Api.Extensions { public static class Extensions { public static IList<T> Clone<T>(this IList<T> listToClone) where T : ICloneable { if (listToCl...
using System; using System.Collections.Generic; using System.Collections.Specialized; using Redmine.Net.Api.Logging; namespace Redmine.Net.Api.Extensions { public static class Extensions { public static IList<T> Clone<T>(this IList<T> listToClone) where T : ICloneable { IList<T> clo...
apache-2.0
C#
7493ce52cecb1fdbca56d874536c877cd3c4fdc2
simplify things
nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet
WalletWasabi.Fluent/AddWallet/CreateWallet/ConfirmRecoveryWordsViewModel.cs
WalletWasabi.Fluent/AddWallet/CreateWallet/ConfirmRecoveryWordsViewModel.cs
using DynamicData; using DynamicData.Binding; using ReactiveUI; using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; using System.Reactive.Linq; using System.Windows.Input; using WalletWasabi.Blockchain.Keys; using WalletWasabi.Fluent.Models; using WalletWasabi.Gui; u...
using DynamicData; using DynamicData.Binding; using ReactiveUI; using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; using System.Reactive.Linq; using System.Windows.Input; using WalletWasabi.Blockchain.Keys; using WalletWasabi.Fluent.Models; using WalletWasabi.Gui; u...
mit
C#
7e59520aaff11a8ab24817d446f65fc23a94f2c4
Set default render quality to medium
AvaloniaUI/Avalonia,wieslawsoltes/Perspex,akrisiun/Perspex,wieslawsoltes/Perspex,AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,SuperJMN/Avalonia,wieslawsoltes/Perspex,jkoritzinsky/Avalonia,jkoritzinsky/Avalonia,wieslawsoltes/Perspex,Perspex/Perspex,jkoritzinsky/Avalonia,jkoritzinsky/Avalonia,wieslawsoltes/Perspex,AvaloniaUI/...
src/Avalonia.Visuals/Media/RenderOptions.cs
src/Avalonia.Visuals/Media/RenderOptions.cs
// Copyright (c) The Avalonia Project. All rights reserved. // Licensed under the MIT license. See licence.md file in the project root for full license information. using Avalonia.Visuals.Media.Imaging; namespace Avalonia.Media { public class RenderOptions { /// <summary> /// Defines the <se...
// Copyright (c) The Avalonia Project. All rights reserved. // Licensed under the MIT license. See licence.md file in the project root for full license information. using Avalonia.Visuals.Media.Imaging; namespace Avalonia.Media { public class RenderOptions { /// <summary> /// Defines the <se...
mit
C#
2fe9e0c9b6ccada8d84ba61a6dd9d8ea6ecf7617
Revert disposal of pattern to avoid crashing on ubuntu
PowerOfCode/Eto,PowerOfCode/Eto,bbqchickenrobot/Eto-1,bbqchickenrobot/Eto-1,bbqchickenrobot/Eto-1,PowerOfCode/Eto,l8s/Eto,l8s/Eto,l8s/Eto
Source/Eto.Platform.Gtk/Drawing/TextureBrushHandler.cs
Source/Eto.Platform.Gtk/Drawing/TextureBrushHandler.cs
using System; using Eto.Drawing; namespace Eto.Platform.GtkSharp.Drawing { /// <summary> /// Handler for the <see cref="ITextureBrush"/> /// </summary> /// <copyright>(c) 2012 by Curtis Wensley</copyright> /// <license type="BSD-3">See LICENSE for full terms</license> public class TextureBrushHandler : BrushHand...
using System; using Eto.Drawing; namespace Eto.Platform.GtkSharp.Drawing { /// <summary> /// Handler for the <see cref="ITextureBrush"/> /// </summary> /// <copyright>(c) 2012 by Curtis Wensley</copyright> /// <license type="BSD-3">See LICENSE for full terms</license> public class TextureBrushHandler : BrushHand...
bsd-3-clause
C#
27926179779a2a1999eeb679b6dc12a108cfdc45
Add RemoveAllAdjustments to interface
ppy/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,smoogipooo/osu-framework,smoogipooo/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,ZLima12/osu-framework,ppy/osu-framework,peppy/osu-framework,ppy/osu-framework,ZLima12/osu-framework
osu.Framework/Audio/IAdjustableAudioComponent.cs
osu.Framework/Audio/IAdjustableAudioComponent.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.Bindables; namespace osu.Framework.Audio { public interface IAdjustableAudioComponent { /// <summary> /// The volume of this ...
// 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.Bindables; namespace osu.Framework.Audio { public interface IAdjustableAudioComponent { /// <summary> /// The volume of this ...
mit
C#
d97bffc3173c30fdd88f4f3bd0e1caff13a9bf70
Fix returned JSON parse error
gyrosworkshop/Wukong,gyrosworkshop/Wukong
src/Wukong/Controllers/ChannelController.cs
src/Wukong/Controllers/ChannelController.cs
using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Authorization; using Microsoft.Extensions.Options; using System.Security.Claims; using Wukong.Services; using Wukong.Models; using Wukong.Options; using Microsoft.Extensions.Logging; namespace Wukong.Controllers { [Authori...
using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Authorization; using Microsoft.Extensions.Options; using System.Security.Claims; using Wukong.Services; using Wukong.Models; using Wukong.Options; using Microsoft.Extensions.Logging; namespace Wukong.Controllers { [Authori...
mit
C#
3ca4d1a28c7cb1fdbefa15f46a469712fe74e0a1
Split out tests
smoogipooo/osu,smoogipoo/osu,NeoAdonis/osu,ppy/osu,2yangk23/osu,smoogipoo/osu,johnneijzen/osu,ppy/osu,johnneijzen/osu,2yangk23/osu,UselessToucan/osu,UselessToucan/osu,NeoAdonis/osu,peppy/osu,UselessToucan/osu,peppy/osu,peppy/osu,ppy/osu,peppy/osu-new,NeoAdonis/osu,EVAST9919/osu,smoogipoo/osu,EVAST9919/osu
osu.Game.Tests/Online/TestSceneBeatmapManager.cs
osu.Game.Tests/Online/TestSceneBeatmapManager.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using NUnit.Framework; using osu.Framework.Allocation; using osu.Framework.Testing; using osu.Game.Beatmaps; using osu.Game.Overlays.Notifications; using osu.Game.Tests.V...
// 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.Framework.Testing; using osu.Game.Beatmaps; using osu.Game.Overlays.Notifications; using osu.Game.Tests.V...
mit
C#
763486b06ae007e789bf51d09d28e516a910e097
add build to build suffix
chrisowhite/IdentityServer4,chrisowhite/IdentityServer4,IdentityServer/IdentityServer4,MienDev/IdentityServer4,IdentityServer/IdentityServer4,siyo-wang/IdentityServer4,jbijlsma/IdentityServer4,jbijlsma/IdentityServer4,IdentityServer/IdentityServer4,jbijlsma/IdentityServer4,MienDev/IdentityServer4,siyo-wang/IdentityServ...
build.cake
build.cake
var target = Argument("target", "Default"); var configuration = Argument<string>("configuration", "Release"); /////////////////////////////////////////////////////////////////////////////// // GLOBAL VARIABLES /////////////////////////////////////////////////////////////////////////////// var isLocalBuild ...
var target = Argument("target", "Default"); var configuration = Argument<string>("configuration", "Release"); /////////////////////////////////////////////////////////////////////////////// // GLOBAL VARIABLES /////////////////////////////////////////////////////////////////////////////// var isLocalBuild ...
apache-2.0
C#
3a59cc899befb0e1b14a6189c9c4129e2ecd5123
fix basic test to reply to messages
Pondidum/RabbitHarness,Pondidum/RabbitHarness
RabbitHarness.Tests/Scratchpad.cs
RabbitHarness.Tests/Scratchpad.cs
using System; using System.Text; using System.Threading; using Newtonsoft.Json; using RabbitMQ.Client; using RabbitMQ.Client.Events; using Xunit; using Xunit.Abstractions; namespace RabbitHarness.Tests { public class Scratchpad { public const string Host = "192.168.99.100"; private readonly ITestOutputHelper _o...
using System; using System.Text; using System.Threading; using Newtonsoft.Json; using RabbitMQ.Client; using RabbitMQ.Client.Events; using Xunit; using Xunit.Abstractions; namespace RabbitHarness.Tests { public class Scratchpad { private readonly ITestOutputHelper _output; public Scratchpad(ITestOutputHelper o...
lgpl-2.1
C#
c0ef69c90406e91c5da8a70b7f8464cad1c3a58e
Update AssemblyVersion to 1.4
alexguirre/RAGENativeUI,alexguirre/RAGENativeUI
Source/Properties/AssemblyInfo.cs
Source/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyTitle("RAGENativeUI")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProduct("RAGENativeUI")] [assembly: AssemblyCopyright("Copyright 2015")] [assembly: As...
using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyTitle("RAGENativeUI")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProduct("RAGENativeUI")] [assembly: AssemblyCopyright("Copyright 2015")] [assembly: As...
mit
C#