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
548df07ea2fbc85e00264819fa91e3c3a1a6cae8
Throw on null json.
PenguinF/sandra-three
Sandra.UI.WF/Storage/JsonSyntax.cs
Sandra.UI.WF/Storage/JsonSyntax.cs
#region License /********************************************************************************* * JsonSyntax.cs * * Copyright (c) 2004-2018 Henk Nicolai * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may ...
#region License /********************************************************************************* * JsonSyntax.cs * * Copyright (c) 2004-2018 Henk Nicolai * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may ...
apache-2.0
C#
7ee53373c61eec5f3376ea64317c1f98f338d0b2
Remove tests as AppVeyor can’t handle them at the moment
adamhathcock/sharpcompress,adamhathcock/sharpcompress,adamhathcock/sharpcompress
build.cake
build.cake
var target = Argument("target", "Default"); var tag = Argument("tag", "cake"); Task("Restore") .Does(() => { DotNetCoreRestore("."); }); Task("Build") .IsDependentOn("Restore") .Does(() => { if (IsRunningOnWindows()) { MSBuild("./sharpcompress.sln", c => { c.SetConfigur...
var target = Argument("target", "Default"); var tag = Argument("tag", "cake"); Task("Restore") .Does(() => { DotNetCoreRestore("."); }); Task("Build") .IsDependentOn("Restore") .Does(() => { if (IsRunningOnWindows()) { MSBuild("./sharpcompress.sln", c => { c.SetConfigur...
mit
C#
7722a7d543c164f799ceb15797bcf07d77477628
Make sure all packages are built.
spectresystems/spectre.system
build.cake
build.cake
#load "./scripts/version.cake" #load "./scripts/msbuild.cake" #tool "nuget:https://www.nuget.org/api/v2?package=GitVersion.CommandLine&version=3.6.2" var configuration = Argument("configuration", "Release"); var target = Argument("target", "Default"); var version = BuildVersion.Calculate(Context); var settings = MSBu...
#load "./scripts/version.cake" #load "./scripts/msbuild.cake" #tool "nuget:https://www.nuget.org/api/v2?package=GitVersion.CommandLine&version=3.6.2" var configuration = Argument("configuration", "Release"); var target = Argument("target", "Default"); var version = BuildVersion.Calculate(Context); var settings = MSBu...
mit
C#
58be4c95adb1e1984387ba50b8f20aee933fe096
support fancy tls k thnx bai
ericdc1/DTMF,ericdc1/DTMF,ericdc1/DTMF
Source/DTMF.Website/Global.asax.cs
Source/DTMF.Website/Global.asax.cs
using System.Net; using System.Security.Claims; using System.Web.Helpers; using System.Web.Mvc; using System.Web.Optimization; using System.Web.Routing; namespace DTMF { public class MvcApplication : System.Web.HttpApplication { protected void Application_Start() { ServicePointMana...
using System.Security.Claims; using System.Web.Helpers; using System.Web.Mvc; using System.Web.Optimization; using System.Web.Routing; namespace DTMF { public class MvcApplication : System.Web.HttpApplication { protected void Application_Start() { AreaRegistration.RegisterAllAreas(...
mit
C#
4cd5634060818e713c77d54c0db98b5d5ac3e226
Fix DataCenter enum in tests project
NFig/NFig
NFig.Tests/Common/Enums.cs
NFig.Tests/Common/Enums.cs
namespace NFig.Tests.Common { public enum Tier { Any = 0, Local = 1, Dev = 2, Prod = 3, } public enum DataCenter { Any = 0, Local = 1, East = 2, West = 3, } }
namespace NFig.Tests.Common { public enum Tier { Any = 0, Local = 1, Dev = 2, Prod = 3, } public enum DataCenter { Any = 0, Local = 1, Dev = 2, Prod = 3, } }
mit
C#
08b2b0960d0da0930091170450af0b8dca065501
Update AlreadyCaptured message
cstlaurent/elasticsearch-net,adam-mccoy/elasticsearch-net,adam-mccoy/elasticsearch-net,CSGOpenSource/elasticsearch-net,elastic/elasticsearch-net,UdiBen/elasticsearch-net,cstlaurent/elasticsearch-net,RossLieberman/NEST,RossLieberman/NEST,elastic/elasticsearch-net,CSGOpenSource/elasticsearch-net,UdiBen/elasticsearch-net,...
src/Elasticsearch.Net/Responses/ElasticsearchResponse.cs
src/Elasticsearch.Net/Responses/ElasticsearchResponse.cs
using System; using System.Collections.Generic; using System.Globalization; using System.Linq; namespace Elasticsearch.Net { internal static class ResponseStatics { public static readonly string PrintFormat = "StatusCode: {1}, {0}\tMethod: {2}, {0}\tUrl: {3}, {0}\tRequest: {4}, {0}\tResponse: {5}"; public stati...
using System; using System.Collections.Generic; using System.Globalization; using System.Linq; namespace Elasticsearch.Net { internal static class ResponseStatics { public static readonly string PrintFormat = "StatusCode: {1}, {0}\tMethod: {2}, {0}\tUrl: {3}, {0}\tRequest: {4}, {0}\tResponse: {5}"; public stati...
apache-2.0
C#
56b5074c7b2735d2b624c500903d330f2e9359cf
Remove unneeded using
aloisdg/CountPages,saidmarouf/Doccou,aloisdg/Doccou
Counter/ADocument.cs
Counter/ADocument.cs
namespace Counter { internal abstract class ADocument : IDocument { public abstract DocumentType Type { get; } public abstract uint Count { get; protected set; } } }
using System.IO; namespace Counter { internal abstract class ADocument : IDocument { public abstract DocumentType Type { get; } public abstract uint Count { get; protected set; } } }
mit
C#
364be852c58728026deacc492035e7a8ddf06599
remove code
bitsummation/pickaxe,bitsummation/pickaxe
Pickaxe/ConsoleAppender.cs
Pickaxe/ConsoleAppender.cs
using log4net.Appender; using Pickaxe.PlatConsole; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Pickaxe { public class ConsoleAppender : AppenderSkeleton { public static object ConsoleWriteLock = new object(); internal static ICons...
using log4net.Appender; using Pickaxe.PlatConsole; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Pickaxe { public class ConsoleAppender : AppenderSkeleton { public static object ConsoleWriteLock = new object(); internal static ICons...
apache-2.0
C#
cb252ddb9ecd9abb861cc432e400b2f07806c73e
Update AssemblyInfo.cs
BlarghLabs/MoarUtils
Properties/AssemblyInfo.cs
Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("Mo...
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("Mo...
mit
C#
4dd5ab4c50d455c2fcdbd589bf02854d25580ca1
Update version to 1.2.15
anonymousthing/ListenMoeClient
Properties/AssemblyInfo.cs
Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("Li...
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("Li...
mit
C#
d9ed63529f842f173683e5b1b95871ddf1966f71
Bump version number.
lukesampson/HastyAPI,lukesampson/HastyAPI
Properties/AssemblyInfo.cs
Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("Ha...
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("Ha...
mit
C#
d0fedb8fcde7aa47013dece723627c2274726590
Update assembly to v1.1
nagilum/dcm
Properties/AssemblyInfo.cs
Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("Di...
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("Di...
mit
C#
2714d0e8829322d5e0c07aa1b2800349e6c008bd
Fix "Too many open files" in MMF perf test
dhoehna/corefx,mmitche/corefx,zhenlan/corefx,rjxby/corefx,cydhaselton/corefx,mmitche/corefx,dhoehna/corefx,tijoytom/corefx,shimingsg/corefx,parjong/corefx,axelheer/corefx,elijah6/corefx,shimingsg/corefx,zhenlan/corefx,ViktorHofer/corefx,nchikanov/corefx,billwert/corefx,seanshpark/corefx,dotnet-bot/corefx,jlin177/corefx...
src/System.IO.MemoryMappedFiles/tests/Performance/Perf.MemoryMappedFile.cs
src/System.IO.MemoryMappedFiles/tests/Performance/Perf.MemoryMappedFile.cs
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using Microsoft.Xunit.Performance; using Xunit; namespace System.IO.MemoryMappedFiles.Tests { /// <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.IO; using Microsoft.Xunit.Performance; using Xunit; namespace System.IO.MemoryMappedFiles.Tests { ...
mit
C#
71e8b88514288e63162300faa6a01d4e281ad775
Improve upon Property Summaries in CommandServiceConfig (#839)
RogueException/Discord.Net,AntiTcb/Discord.Net
src/Discord.Net.Commands/CommandServiceConfig.cs
src/Discord.Net.Commands/CommandServiceConfig.cs
namespace Discord.Commands { public class CommandServiceConfig { /// <summary> Gets or sets the default RunMode commands should have, if one is not specified on the Command attribute or builder. </summary> public RunMode DefaultRunMode { get; set; } = RunMode.Sync; public char Separato...
namespace Discord.Commands { public class CommandServiceConfig { /// <summary> The default RunMode commands should have, if one is not specified on the Command attribute or builder. </summary> public RunMode DefaultRunMode { get; set; } = RunMode.Sync; public char SeparatorChar { get; ...
mit
C#
bcc1723de824ffb1cc89d51e562ff257a3b9a8e2
Add badge for unknown key request count.
Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW
MitternachtWeb/Areas/Analysis/Views/Shared/_AnalysisLayout.cshtml
MitternachtWeb/Areas/Analysis/Views/Shared/_AnalysisLayout.cshtml
@using System.Linq @inject MitternachtWeb.Areas.Analysis.Services.UnknownKeyRequestsService UnknownKeyRequestsService @{ Layout = "_Layout"; ViewData["Title"] = "Analysen"; } <div class="row"> <nav class="col-md-3 col-xl-2"> <ul class="nav"> <li class="nav-item"> <a class="nav-link text-dark d-flex justif...
@{ Layout = "_Layout"; ViewData["Title"] = "Analysen"; } <div class="row"> <nav class="col-md-3 col-xl-2"> <ul class="nav"> <li class="nav-item"> <a class="nav-link text-dark" asp-area="Analysis" asp-controller="UnknownKeyRequests" asp-action="Index">Unbekannte Translationkeys</a> </li> </ul> </nav>...
mit
C#
4fdd041c532c559903b39cc79724d0a2e87605ec
Fix injection in MongoMigrationStartupFilter
SRoddis/Mongo.Migration
Mongo.Migration/Startup/DotNetCore/MongoMigrationStartupFilter.cs
Mongo.Migration/Startup/DotNetCore/MongoMigrationStartupFilter.cs
using System; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Logging.Abstractions; namespace Mongo.Migration.Startup.DotNetCore { public class MongoMigrationStartupFilter : IStart...
using System; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Logging.Abstractions; namespace Mongo.Migration.Startup.DotNetCore { public class MongoMigrationStartupFilter : IStartupFilter { private readonly IMongoMi...
mit
C#
b4b50eda90d4ae273a1839d337e0602c955386fd
fix ignore
Fody/ModuleInit
Tests/ModuleWeaverTests.cs
Tests/ModuleWeaverTests.cs
using System.Reflection; using Fody; using Xunit; #pragma warning disable 618 // ReSharper disable PrivateFieldCanBeConvertedToLocalVariable public class ModuleWeaverTests { [Fact] public void WithFields() { var weavingTask = new ModuleWeaver(); var testResult = weavingTask.ExecuteTestRun...
using System.Reflection; using Fody; using Xunit; #pragma warning disable 618 // ReSharper disable PrivateFieldCanBeConvertedToLocalVariable public class ModuleWeaverTests { [Fact] public void WithFields() { var weavingTask = new ModuleWeaver(); var testResult = weavingTask.ExecuteTestRun...
mit
C#
ac56c88c5bc66aeb668b6ab18ebc0837cb16f32b
clean up using statements an fix private/public
heupel/hyperjs,quameleon/hyperjs
HyperJS/JSBoolean.cs
HyperJS/JSBoolean.cs
using System; namespace TonyHeupel.HyperJS { public static class JSBoolean { /// <summary> /// The Boolean(value) function on the global object. /// It returns a Boolean converted from the value passed in. /// 0, NaN, null, "", undefined, false and "false" are false. /...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace TonyHeupel.HyperJS { public static class JSBoolean { /// <summary> /// The Boolean(value) function on the global object. /// It returns a Boolean converted from the value passed in. ...
mit
C#
bba15f5dd8aa84a5fc1db14985fb726ab0dfe6b7
Update copyright.
GetTabster/Tabster
Tabster/Properties/AssemblyInfo.cs
Tabster/Properties/AssemblyInfo.cs
#region using System.Reflection; using System.Runtime.InteropServices; #endregion // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("Tabster"...
#region using System.Reflection; using System.Runtime.InteropServices; #endregion // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("Tabster"...
apache-2.0
C#
71995b21ee639e81139e3f4f376e793f4e0f1c80
add check type to payment methods
bitwarden/core,bitwarden/core,bitwarden/core,bitwarden/core
src/Core/Enums/PaymentMethodType.cs
src/Core/Enums/PaymentMethodType.cs
using System.ComponentModel.DataAnnotations; namespace Bit.Core.Enums { public enum PaymentMethodType : byte { [Display(Name = "Card")] Card = 0, [Display(Name = "Bank Account")] BankAccount = 1, [Display(Name = "PayPal")] PayPal = 2, [Display(Name = "Bi...
using System.ComponentModel.DataAnnotations; namespace Bit.Core.Enums { public enum PaymentMethodType : byte { [Display(Name = "Card")] Card = 0, [Display(Name = "Bank Account")] BankAccount = 1, [Display(Name = "PayPal")] PayPal = 2, [Display(Name = "Bi...
agpl-3.0
C#
a929e5bfe6c239d7f65261e11052f311e50d002f
Bump to 1.0
neutmute/Neo4jClient.Extension,CormacdeBarra/Neo4jClient.Extension,simonpinn/Neo4jClient.Extension
SolutionItems/Properties/AssemblyInfoGlobal.cs
SolutionItems/Properties/AssemblyInfoGlobal.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; [assembly: AssemblyCopyright("Copyright 2014")] [assembly: AssemblyVersion("1.0.0")] #if DEBUG [assembly: AssemblyConfiguration("Debug")] [assembly: AssemblyInformationalVersion("0.1.3.1-beta")] // trigger pre re...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; [assembly: AssemblyCopyright("Copyright 2014")] [assembly: AssemblyVersion("0.1.3.1")] #if DEBUG [assembly: AssemblyConfiguration("Debug")] [assembly: AssemblyInformationalVersion("0.1.3.1-beta")] // trigger pre ...
mit
C#
9ed0cdfc2006653bf387fe48ac8d5c0311185b1d
fix end date bug
PapaMufflon/StandUpTimer,PapaMufflon/StandUpTimer,PapaMufflon/StandUpTimer
StandUpTimer.Web/Views/Statistics/Index.cshtml
StandUpTimer.Web/Views/Statistics/Index.cshtml
@model StandUpTimer.Web.Statistic.StatisticModel @{ ViewBag.Title = "Statistics"; } @section styles { @Styles.Render("~/Content/Statistics.css") } <h2>Statistics</h2> <div id="gantt" style="width: 100%; height: 400px"></div> @section scripts { @Scripts.Render("~/bundles/d3") <script> var ...
@model StandUpTimer.Web.Statistic.StatisticModel @{ ViewBag.Title = "Statistics"; } @section styles { @Styles.Render("~/Content/Statistics.css") } <h2>Statistics</h2> <div id="gantt" style="width: 100%; height: 400px"></div> @section scripts { @Scripts.Render("~/bundles/d3") <script> var ...
mit
C#
a066bb5cecc8ce705714ca592a9f5fdf6ed6170d
connect to the NetTcp endpoint and run some operations that throw exceptions.
dinazil/blogsamples,dinazil/blogsamples,dinazil/blogsamples
run_time_code_generation/MathRunner/Program.cs
run_time_code_generation/MathRunner/Program.cs
using System; using System.ServiceModel; namespace MathRunner { class MainClass { public static void Main (string[] args) { string baseAddress = "net.tcp://localhost:12346/MathOperations"; using (var client = new MathOperationsServiceClient( new NetTcpBinding(), new EndpointAddress(baseAddress)))...
using System; using System.ServiceModel; namespace MathRunner { class MainClass { public static void Main (string[] args) { string baseAddress = "http://localhost:12345/MathOperations"; using (var client = new MathOperationsServiceClient(new BasicHttpBinding(), new EndpointAddress(baseAddress))) { ...
mit
C#
0d5afe8d2db67603b63eaecab8828a6f76ed569a
Add gamespeed to disappearingblocxks
nicolasgustafsson/AttackLeague
AttackLeague/AttackLeague/AttackLeague/Blocks/DisappearingBlock.cs
AttackLeague/AttackLeague/AttackLeague/Blocks/DisappearingBlock.cs
using System; using System.Collections.Generic; using System.Linq; using System.Runtime.Remoting.Messaging; using System.Text; using System.Threading.Tasks; using AttackLeague.Utility; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Content; using Microsoft.Xna.Framework.Graphics; namespace AttackLeague....
using System; using System.Collections.Generic; using System.Linq; using System.Runtime.Remoting.Messaging; using System.Text; using System.Threading.Tasks; using AttackLeague.Utility; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Content; using Microsoft.Xna.Framework.Graphics; namespace AttackLeague....
mit
C#
b42e8269380ff70bfee47f5c9e752baca391b2ed
fix DEXP-589706 (#2101)
JetBrains/resharper-unity,JetBrains/resharper-unity,JetBrains/resharper-unity
debugger/debugger-worker/src/UnityOptions.cs
debugger/debugger-worker/src/UnityOptions.cs
using JetBrains.Collections.Viewable; using Mono.Debugging.Autofac; namespace JetBrains.ReSharper.Plugins.Unity.Rider.Debugger { public interface IUnityOptions { bool ExtensionsEnabled { get; } bool IgnoreBreakOnUnhandledExceptionsForIl2Cpp { get; } } [DebuggerGlobalComponent] publ...
using Mono.Debugging.Autofac; namespace JetBrains.ReSharper.Plugins.Unity.Rider.Debugger { public interface IUnityOptions { bool ExtensionsEnabled { get; } bool IgnoreBreakOnUnhandledExceptionsForIl2Cpp { get; } } [DebuggerGlobalComponent] public class UnityOptions : IUnityOptions ...
apache-2.0
C#
03807589ec9e68e2f9f42135630b161ecaa8bf9d
Remove useless Task.FromResult
rubberduck203/GitNStats,rubberduck203/GitNStats
src/gitnstats.core/DiffCollector.cs
src/gitnstats.core/DiffCollector.cs
using System.Collections.Generic; using System.Threading.Tasks; using LibGit2Sharp; namespace GitNStats.Core { public interface AsyncVisitor { Task<IEnumerable<(Commit Commit, TreeEntryChanges Diff)>> Walk(Commit commit); } public class DiffCollector : AsyncVisitor { private reado...
using System.Collections.Generic; using System.Threading.Tasks; using LibGit2Sharp; namespace GitNStats.Core { public interface AsyncVisitor { Task<IEnumerable<(Commit Commit, TreeEntryChanges Diff)>> Walk(Commit commit); } public class DiffCollector : AsyncVisitor { private reado...
mit
C#
3e6c71e2a1e41c0fbfeb6bef36497a88149f0fd4
Change namespace
ffsantos92/pdf-signer
Program.cs
Program.cs
using System; using System.Collections.Generic; using System.Linq; using System.Windows.Forms; namespace pdfSigner { static class Program { /// <summary> /// The main entry point for the application. /// </summary> [STAThread] static void Main() { ...
using System; using System.Collections.Generic; using System.Linq; using System.Windows.Forms; namespace pdfSignerWithCC { static class Program { /// <summary> /// The main entry point for the application. /// </summary> [STAThread] static void Main() ...
mit
C#
6f001fb5ae908ea82451ae36c940b846158bcb53
remove matchPath
ouraspnet/cap,dotnetcore/CAP,dotnetcore/CAP,dotnetcore/CAP
src/DotNetCore.CAP/CAP.AppBuilderExtensions.cs
src/DotNetCore.CAP/CAP.AppBuilderExtensions.cs
using System; using DotNetCore.CAP; using DotNetCore.CAP.Dashboard.GatewayProxy; using Microsoft.AspNetCore.Http; using Microsoft.Extensions.DependencyInjection; namespace Microsoft.AspNetCore.Builder { /// <summary> /// app extensions for <see cref="IApplicationBuilder"/> /// </summary> public static...
using System; using DotNetCore.CAP; using DotNetCore.CAP.Dashboard.GatewayProxy; using Microsoft.AspNetCore.Http; using Microsoft.Extensions.DependencyInjection; namespace Microsoft.AspNetCore.Builder { /// <summary> /// app extensions for <see cref="IApplicationBuilder"/> /// </summary> public static...
mit
C#
90eefa5f2bf1cd12b3895d4da5a1e12c5f632f5c
remove unused usings
dotnet/roslyn,AmadeusW/roslyn,bkoelman/roslyn,AdamSpeight2008/roslyn-AdamSpeight2008,dpoeschl/roslyn,wvdd007/roslyn,panopticoncentral/roslyn,gafter/roslyn,genlu/roslyn,agocke/roslyn,jasonmalinowski/roslyn,diryboy/roslyn,heejaechang/roslyn,VSadov/roslyn,KirillOsenkov/roslyn,mavasani/roslyn,AlekseyTs/roslyn,tmeschter/ros...
src/EditorFeatures/Core.Wpf/GlyphExtensions.cs
src/EditorFeatures/Core.Wpf/GlyphExtensions.cs
using Microsoft.CodeAnalysis.Editor.Shared.Extensions; using Microsoft.VisualStudio.Imaging.Interop; namespace Microsoft.CodeAnalysis.Editor.Wpf { internal static class GlyphExtensions { public static ImageMoniker GetImageMoniker(this Glyph glyph) { var imageId = glyph.GetImageId()...
using System; using Microsoft.CodeAnalysis.Editor.Shared.Extensions; using Microsoft.VisualStudio.Imaging; using Microsoft.VisualStudio.Imaging.Interop; namespace Microsoft.CodeAnalysis.Editor.Wpf { internal static class GlyphExtensions { public static ImageMoniker GetImageMoniker(this Glyph glyph) ...
mit
C#
2e608f7977e58c07d37569746c3dd3b4c4b864e6
Add EtherType enumeration for some types (not all)
shutej/tapcfg,shutej/tapcfg,shutej/tapcfg,shutej/tapcfg,shutej/tapcfg,shutej/tapcfg,shutej/tapcfg
trunk/src/bindings/EthernetFrame.cs
trunk/src/bindings/EthernetFrame.cs
using System; namespace TAPCfg { public enum EtherType : int { InterNetwork = 0x0800, ARP = 0x0806, RARP = 0x8035, AppleTalk = 0x809b, AARP = 0x80f3, InterNetworkV6 = 0x86dd, CobraNet = 0x8819, } public class EthernetFrame { private byte[] data; privat...
using System; namespace TAPCfg { public class EthernetFrame { private byte[] data; private byte[] src = new byte[6]; private byte[] dst = new byte[6]; private int etherType; public EthernetFrame(byte[] data) { this.data = data; Array.Copy(data, 0, dst, 0, 6); Array.Copy(data, 6, src, 0, 6); et...
lgpl-2.1
C#
1413f002debbc5656414ebf2e1e0f5b73f0a9b34
fix build issue with litteral 'default'
tpierrain/NFluent,NFluent/NFluent,tpierrain/NFluent,dupdob/NFluent,dupdob/NFluent,dupdob/NFluent,NFluent/NFluent,tpierrain/NFluent
src/NFluent/Extensions/DictionaryExtensions.cs
src/NFluent/Extensions/DictionaryExtensions.cs
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="DictionaryExtensions.cs" company="NFluent"> // Copyright 2019 Cyrille DUPUYDAUBY // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this ...
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="DictionaryExtensions.cs" company="NFluent"> // Copyright 2019 Cyrille DUPUYDAUBY // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this ...
apache-2.0
C#
3ef3176fdb8186ee9bf37803ab69d5111f68a37f
Update PushalotTraceTelemeter.cs
tiksn/TIKSN-Framework
TIKSN.Core/Analytics/Telemetry/Pushalot/PushalotTraceTelemeter.cs
TIKSN.Core/Analytics/Telemetry/Pushalot/PushalotTraceTelemeter.cs
using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using TIKSN.Configuration; namespace TIKSN.Analytics.Telemetry.Pushalot { public class PushalotTraceTelemeter : PushalotTelemeterBase, ITraceTelemeter { public PushalotTraceTelemeter(IPartialConfiguration<PushalotOption...
using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using TIKSN.Configuration; namespace TIKSN.Analytics.Telemetry.Pushalot { public class PushalotTraceTelemeter : PushalotTelemeterBase, ITraceTelemeter { public PushalotTraceTelemeter(IPartialConfiguration<PushalotOption...
mit
C#
2d1982b325e425f776a2f8b6661a24d3169ba024
Update Blocker.cs
yanyiyun/LockstepFramework,SnpM/Lockstep-Framework,erebuswolf/LockstepFramework
Core/Simulation/Grid/Utility/Tools/Blocker/Blocker.cs
Core/Simulation/Grid/Utility/Tools/Blocker/Blocker.cs
using UnityEngine; using System.Collections; using Lockstep; //Blocker for static environment pieces in a scene. [RequireComponent (typeof (LSBody))] public class Blocker : EnvironmentObject { static readonly FastList<Vector2d> bufferCoordinates = new FastList<Vector2d>(); [SerializeField] private bool _...
using UnityEngine; using System.Collections; using Lockstep; [RequireComponent (typeof (LSBody))] public class Blocker : EnvironmentObject { static readonly FastList<Vector2d> bufferCoordinates = new FastList<Vector2d>(); [SerializeField] private bool _blockPathfinding; public bool BlockPathfinding ...
mit
C#
8bbb247f10bf2a87968682fbaa04d7f41bc6e386
Add simple mechanism to fetch JSON and display it
SolidNerd/TwitterMonkey
TwitterMonkey.Android/MainActivity.cs
TwitterMonkey.Android/MainActivity.cs
using System; using System.IO; using System.Net; using System.Threading.Tasks; using Android.App; using Android.OS; using Android.Widget; using TwitterMonkey.Portable; namespace TwitterMonkey { [Activity(Label = "TwitterMonkey", MainLauncher = true, Icon = "@drawable/icon")] public class MainActivity : Activity ...
using Android.App; using Android.Widget; using Android.OS; namespace TwitterMonkey { [Activity (Label = "TwitterMonkey", MainLauncher = true, Icon = "@drawable/icon")] public class MainActivity : Activity { int count = 1; protected override void OnCreate (Bundle bundle) { base.OnCreate (bundl...
mit
C#
59c0f866a34c211a76b1d963e891b0aed8ab39ea
Fix xml doccomment syntax error
EamonNerbonne/ExpressionToCode
ExpressionToCodeLib/Internal/StringifiedExpression.cs
ExpressionToCodeLib/Internal/StringifiedExpression.cs
using System; using System.Diagnostics.Contracts; using System.Linq.Expressions; namespace ExpressionToCodeLib.Internal { struct StringifiedExpression { //a node cannot have children and text. If it has neither, it is considered empty. public readonly string Text; readonly...
using System; using System.Diagnostics.Contracts; using System.Linq.Expressions; namespace ExpressionToCodeLib.Internal { struct StringifiedExpression { //a node cannot have children and text. If it has neither, it is considered empty. public readonly string Text; readonly...
apache-2.0
C#
00eaf79ecdd207ccaf88d4d2e361f6e9daa10fe9
use dark-geekblue theme
BioWareRu/BioEngine,BioWareRu/BioEngine,BioWareRu/BioEngine
src/BioEngine.Admin/Pages/_Layout.cshtml
src/BioEngine.Admin/Pages/_Layout.cshtml
@using Microsoft.AspNetCore.Components.Web @addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"/> <meta name="viewport" content="width=device-width, initial-scale=1.0"/> <title>BioEngine.Admin</title> <base href="~/"/> <link rel="preconn...
@using Microsoft.AspNetCore.Components.Web @addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"/> <meta name="viewport" content="width=device-width, initial-scale=1.0"/> <title>BioEngine.Admin</title> <base href="~/"/> <link rel="preconn...
mit
C#
b5cd2a298472186983dcfcbeed02186266d5c91d
add height for the div for quotations.
AccountGo/accountgo,AccountGo/accountgo,AccountGo/accountgo,AccountGo/accountgo
src/AccountGoWeb/Views/Quotations/Quotations.cshtml
src/AccountGoWeb/Views/Quotations/Quotations.cshtml
@model string <div> <a href="~/quotations/addsalesquotation" class="btn"> <i class="fa fa-plus"></i> New Quotation </a> <a href="~/quotations/salesquotationpdo" id="linkViewQuotation" class="btn inactiveLink"> <i class="fa fa-edit"></i> View </a> <a href="" id="link...
@model string <div> <a href="~/quotations/addsalesquotation" class="btn"> <i class="fa fa-plus"></i> New Quotation </a> <a href="~/quotations/salesquotationpdo" id="linkViewQuotation" class="btn inactiveLink"> <i class="fa fa-edit"></i> View </a> <a href="" id="link...
mit
C#
9575efb71ea0ebd9fea046a33ce48669052c44a4
Add properties into UpdateDepotRequest
nfleet/.net-sdk
NFleetSDK/Data/UpdateDepotRequest.cs
NFleetSDK/Data/UpdateDepotRequest.cs
using System.Collections.Generic; namespace NFleet.Data { public class UpdateDepotRequest { public int DepotId { get; set; } public string Name { get; set; } public string Info1 { get; set; } public List<CapacityData> Capacities { get; set; } public LocationData Locati...
namespace NFleet.Data { public class UpdateDepotRequest : CreateDepotRequest { } }
mit
C#
0e0ef7c263af7823922fa12968b64cb9c0be7692
Fix lazy loads on claim list
kirillkos/joinrpg-net,kirillkos/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net,leotsarev/joinrpg-net,joinrpg/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net
JoinRpg.Dal.Impl/Repositories/ClaimsRepositoryImpl.cs
JoinRpg.Dal.Impl/Repositories/ClaimsRepositoryImpl.cs
using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using JetBrains.Annotations; using JoinRpg.Data.Interfaces; using JoinRpg.DataModel; using System.Data.Entity; namespace JoinRpg.Dal.Impl.Repositories { [UsedImplicitly] public class ClaimsRepositoryImpl : RepositoryImplBase, IClai...
using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using JetBrains.Annotations; using JoinRpg.Data.Interfaces; using JoinRpg.DataModel; using System.Data.Entity; namespace JoinRpg.Dal.Impl.Repositories { [UsedImplicitly] public class ClaimsRepositoryImpl : RepositoryImplBase, IClai...
mit
C#
fd1d5442c6544abf85927aece47e8fec91cafaeb
fix AlertDialogBackend DefaultButton handling
hwthomas/xwt,hamekoz/xwt,akrisiun/xwt,mminns/xwt,cra0zy/xwt,antmicro/xwt,steffenWi/xwt,directhex/xwt,mono/xwt,mminns/xwt,lytico/xwt,residuum/xwt,iainx/xwt,TheBrainTech/xwt
Xwt.Mac/Xwt.Mac/AlertDialogBackend.cs
Xwt.Mac/Xwt.Mac/AlertDialogBackend.cs
// // AlertDialogBackend.cs // // Author: // Thomas Ziegler <ziegler.thomas@web.de> // // Copyright (c) 2012 Thomas Ziegler // // 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 wi...
// // AlertDialogBackend.cs // // Author: // Thomas Ziegler <ziegler.thomas@web.de> // // Copyright (c) 2012 Thomas Ziegler // // 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 wi...
mit
C#
47e59f7c2ed6185bfcab513527197cf17e06c550
Update IAdapter registration in Droid example project
tbrushwyler/Xamarin.BluetoothLE
Droid/MainActivity.cs
Droid/MainActivity.cs
using System; using Android.App; using Android.Content; using Android.Content.PM; using Android.Runtime; using Android.Views; using Android.Widget; using Android.OS; using Xamarin.Forms; namespace BluetoothLE.Example.Droid { [Activity(Label = "BluetoothLE.Example.Droid", Icon = "@drawable/icon", MainLauncher = true...
using System; using Android.App; using Android.Content; using Android.Content.PM; using Android.Runtime; using Android.Views; using Android.Widget; using Android.OS; using Xamarin.Forms; namespace BluetoothLE.Example.Droid { [Activity(Label = "BluetoothLE.Example.Droid", Icon = "@drawable/icon", MainLauncher = true...
mit
C#
21f3ff6e7717b346ba7ebb7f0f9810dac4dc55a7
Fix slider repeat points appearing far too late
ppy/osu,ppy/osu,peppy/osu,smoogipoo/osu,UselessToucan/osu,naoey/osu,smoogipoo/osu,naoey/osu,NeoAdonis/osu,DrabWeb/osu,ZLima12/osu,peppy/osu-new,UselessToucan/osu,2yangk23/osu,UselessToucan/osu,peppy/osu,johnneijzen/osu,smoogipoo/osu,peppy/osu,DrabWeb/osu,NeoAdonis/osu,ZLima12/osu,johnneijzen/osu,ppy/osu,NeoAdonis/osu,2...
osu.Game.Rulesets.Osu/Objects/RepeatPoint.cs
osu.Game.Rulesets.Osu/Objects/RepeatPoint.cs
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using System; using osu.Game.Beatmaps; using osu.Game.Beatmaps.ControlPoints; namespace osu.Game.Rulesets.Osu.Objects { public class RepeatPoint : OsuHitObject ...
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using System; using osu.Game.Beatmaps; using osu.Game.Beatmaps.ControlPoints; namespace osu.Game.Rulesets.Osu.Objects { public class RepeatPoint : OsuHitObject ...
mit
C#
5951284dfa4c22fdff3341c359dfb080dd8d636c
Fix typo that don't compile.
pleonex/NitroDebugger,pleonex/NitroDebugger,pleonex/NitroDebugger
NitroDebugger/RSP/Packets/ReadRegisters.cs
NitroDebugger/RSP/Packets/ReadRegisters.cs
// // ReadRegisters.cs // // Author: // Benito Palacios Sánchez <benito356@gmail.com> // // Copyright (c) 2015 Benito Palacios Sánchez // // 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 Foun...
// // ReadRegisters.cs // // Author: // Benito Palacios Sánchez <benito356@gmail.com> // // Copyright (c) 2015 Benito Palacios Sánchez // // 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 Foun...
mit
C#
a039457de3e42df74d9918b996936f9a195ca07d
Update InstalledFlowSecrets.cs
pdcdeveloper/QpGoogleApi
OAuth/Models/InstalledFlowSecrets.cs
OAuth/Models/InstalledFlowSecrets.cs
/* Date : Monday, June 13, 2016 Author : pdcdeveloper (https://github.com/pdcdeveloper) Objective : Version : 1.0 */ using Newtonsoft.Json; /// /// <summary> /// Model for a client secrets json file. /// </summary> /// namespace QPGoogleAPI.OAuth.Models { public class ...
/* Date : Monday, June 13, 2016 Author : QualiP (https://github.com/QualiP) Objective : Version : 1.0 */ using Newtonsoft.Json; /// /// <summary> /// Model for a client secrets json file. /// </summary> /// namespace QPGoogleAPI.OAuth.Models { public class InstalledFlo...
mit
C#
cdf832ce586529b1e5d7986a7e892b395c9dd8b8
Update AssemblyInfo.cs
SimonCropp/NServiceBus.Serilog
NServiceBusSerilog/AssemblyInfo.cs
NServiceBusSerilog/AssemblyInfo.cs
using System.Reflection; [assembly: AssemblyTitle("NServiceBusSerilog")] [assembly: AssemblyProduct("NServiceBusSerilog")] [assembly: AssemblyVersion("0.1.1.0")] [assembly: AssemblyFileVersion("0.1.1.0")]
using System.Reflection; [assembly: AssemblyTitle("NServiceBusSerilog")] [assembly: AssemblyProduct("NServiceBusSerilog")] [assembly: AssemblyVersion("0.1.0.0")] [assembly: AssemblyFileVersion("0.1.0.0")]
mit
C#
334cd136cc9843d744d2b53ec8deb1e4567b1dad
Apply naming suppression to allow build to build.
daukantas/octokit.net,SamTheDev/octokit.net,shiftkey/octokit.net,gabrielweyer/octokit.net,editor-tools/octokit.net,TattsGroup/octokit.net,ivandrofly/octokit.net,geek0r/octokit.net,chunkychode/octokit.net,takumikub/octokit.net,eriawan/octokit.net,gabrielweyer/octokit.net,ChrisMissal/octokit.net,SLdragon1989/octokit.net,...
Octokit/Clients/IActivitiesClient.cs
Octokit/Clients/IActivitiesClient.cs
namespace Octokit { public interface IActivitiesClient { [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1716:IdentifiersShouldNotMatchKeywords", MessageId = "Event")] IEventsClient Event { get; } } }
namespace Octokit { public interface IActivitiesClient { IEventsClient Event { get; } } }
mit
C#
3cf28cb6e8a3263d7170657c548cc6905e509dc3
Change layout
SoftwareFans/AstroPhotoGallery,SoftwareFans/AstroPhotoGallery,SoftwareFans/AstroPhotoGallery
AstroPhotoGallery/AstroPhotoGallery/Views/Shared/_Layout.cshtml
AstroPhotoGallery/AstroPhotoGallery/Views/Shared/_Layout.cshtml
<!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>@ViewBag.Title Astronomy Photo Gallery </title> @Styles.Render("~/Content/css") @Scripts.Render("~/bundles/modernizr") </head> <body> <div class="navbar navbar-co...
<!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>@ViewBag.Title - My ASP.NET Application</title> @Styles.Render("~/Content/css") @Scripts.Render("~/bundles/modernizr") </head> <body> <div class="navbar navbar-i...
mit
C#
4a38d1c5963df71b9e94bc4e409139145a359a75
Add options to JilFormatter
studio-nine/Nine.Formatting
src/Nine.Formatting.Json/JilFormatter.cs
src/Nine.Formatting.Json/JilFormatter.cs
#if FEATURE_JIL namespace Nine.Formatting { using System; using System.IO; using System.Text; using Jil; public class JilFormatter : IFormatter, ITextFormatter { private readonly Encoding _encoding = new UTF8Encoding(false, true); private readonly Options _options; ...
#if FEATURE_JIL namespace Nine.Formatting { using System; using System.IO; using System.Text; using Jil; public class JilFormatter : IFormatter, ITextFormatter { private readonly Encoding _encoding = new UTF8Encoding(false, true); private readonly Options _options = new Options...
mit
C#
2de7d0c4ed31ded829edd7529f9b7d7b974a7d1f
Fix bug when parsing players data
CSGO-Analysis/CSGO-Analyzer
DemoParser/Entities/Player.cs
DemoParser/Entities/Player.cs
using DemoParser_Core.Packets; using System.ComponentModel; using System.Runtime.CompilerServices; namespace DemoParser_Core.Entities { public class Player { internal Entity Entity; public string Name { get; internal set; } public int UserID { get; internal set; } public long SteamID { get; internal set...
using DemoParser_Core.Packets; using System.ComponentModel; using System.Runtime.CompilerServices; namespace DemoParser_Core.Entities { public class Player { internal Entity Entity; public string Name { get; internal set; } public int UserID { get; internal set; } public long SteamID { get; internal set...
mit
C#
d85950ba03d2f17019245c30fcff2ef3413b0eb6
Add a playback time push message
flagbug/Espera.Network
Espera.Network/PushAction.cs
Espera.Network/PushAction.cs
namespace Espera.Network { public enum PushAction { UpdateAccessPermission = 0, UpdateCurrentPlaylist = 1, UpdatePlaybackState = 2, UpdateRemainingVotes = 3, UpdateCurrentPlaybackTime = 4 } }
namespace Espera.Network { public enum PushAction { UpdateAccessPermission = 0, UpdateCurrentPlaylist = 1, UpdatePlaybackState = 2, UpdateRemainingVotes = 3 } }
mit
C#
4fbb1ecf729b7a134bd5a76aa739eb70242cf05e
Update Player.cs
whitneyhaddow/basic-card-shuffle
ICT711_Lab3/Player.cs
ICT711_Lab3/Player.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ICT711_Lab3 { class Player { public const int HAND_COUNT = 5; public const int NUM_PLAYERS = 4; Deck d = new Deck(); public static List<string> p1 = ne...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ICT711_Lab3 { class Player { //MD public const int HAND_COUNT = 5; public const int NUM_PLAYERS = 4; Deck d = new Deck(); public static List<str...
mit
C#
12287d91bbf1527284a36ca14b3ce2eb24976afc
Refactor some code.
Xevle/Xevle.Imaging
Image/PooledLoader.cs
Image/PooledLoader.cs
using System; using System.Collections.Generic; namespace Xevle.Imaging.Image { public class PooledLoader { int maxImages; Dictionary<string, IImage> imgPool; List<string> imgLoadOrder; public PooledLoader() { maxImages = 20; imgPool = new Dictionary<string, IImage>(); imgLoadOrder = new List<st...
using System; using System.Collections.Generic; namespace Xevle.Imaging.Image { public class PooledLoader { int maxImages; Dictionary<string, IImage> imgPool; List<string> imgLoadOrder; public PooledLoader() { maxImages = 20; imgPool = new Dictionary<string, IImage>(); imgLoadOrder = new List<st...
mit
C#
1a321007a12d680a32b4097dfc9b2af342865837
Update IElement.cs
wieslawsoltes/Core2D,wieslawsoltes/Core2D,Core2D/Core2D,wieslawsoltes/Core2D,Core2D/Core2D,wieslawsoltes/Core2D
Test/Core/IElement.cs
Test/Core/IElement.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 System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Test.Core { public interface IEl...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Test.Core { public interface IElement { void Invalidate(); } }
mit
C#
30f5b2b2318ea21fd2ccbc30fa3b4c341041e960
Clear interface before run
fpellet/Bbl.SignalR,fpellet/Bbl.SignalR,fpellet/Bbl.SignalR
Bbl.SignalR.SharedWhiteboard.Cli/Program.cs
Bbl.SignalR.SharedWhiteboard.Cli/Program.cs
using System; using Microsoft.AspNet.SignalR.Client; namespace Bbl.SignalR.SharedWhiteboard.Cli { class Program { static void Main(string[] args) { var connection = new HubConnection("http://localhost:59391"); var hubProxy = connection.CreateHubProxy("DrawingBoard"); ...
using System; using Microsoft.AspNet.SignalR.Client; namespace Bbl.SignalR.SharedWhiteboard.Cli { class Program { static void Main(string[] args) { var connection = new HubConnection("http://localhost:59391"); var hubProxy = connection.CreateHubProxy("DrawingBoard"); ...
mit
C#
e596fbd81c46f3e756b3b393a32effaff09ba0ac
debug lines
Foglio1024/Tera-custom-cooldowns,Foglio1024/Tera-custom-cooldowns
TCC.UI/Parsing/Messages/S_SPAWN_NPC.cs
TCC.UI/Parsing/Messages/S_SPAWN_NPC.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using TCC.Data; using Tera.Game; using Tera.Game.Messages; namespace TCC.Parsing.Messages { public class S_SPAWN_NPC : ParsedMessage { ulong id; uint templateId; ushort ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using TCC.Data; using Tera.Game; using Tera.Game.Messages; namespace TCC.Parsing.Messages { public class S_SPAWN_NPC : ParsedMessage { ulong id; uint templateId; ushort ...
mit
C#
1d53c62dd7515a5b9fc3f3a3d3e198a1d6a0511e
Fix on windows: types were resolved to wrong implementations On windows AutoFac resolved IGLMatrixBuilder and IGLBoundingBoxBuilder to private classes(!). Fixed by declaring explicit resolves for those types.
tzachshabtay/MonoAGS
Engine/Misc/DependencyInjection/Resolver.cs
Engine/Misc/DependencyInjection/Resolver.cs
using System; using Autofac; using System.Reflection; using AGS.API; using System.Collections.Generic; using Autofac.Features.ResolveAnything; namespace AGS.Engine { public class Resolver { public Resolver(IEngineConfigFile configFile) { Builder = new ContainerBuilder (); if (configFile.DebugResolves) ...
using System; using Autofac; using System.Reflection; using AGS.API; using System.Collections.Generic; using Autofac.Features.ResolveAnything; namespace AGS.Engine { public class Resolver { public Resolver(IEngineConfigFile configFile) { Builder = new ContainerBuilder (); if (configFile.DebugResolves) ...
artistic-2.0
C#
fed7307ff25f32749381be821c561a71919d67d7
Make it easier to retrieve block's data values
zpqrtbnk/Zbu.Blocks,zpqrtbnk/Zbu.Blocks
zbu.blocks/Zbu.Blocks/RenderingBlock.cs
zbu.blocks/Zbu.Blocks/RenderingBlock.cs
using System.Collections.Generic; using Umbraco.Core.Models; namespace Zbu.Blocks { /// <summary> /// Represents a block to be rendered. /// </summary> /// <remarks>Name makes a block named ie unique, Type initialized all properties from a predefined /// type, Source overrides name if needed. Such ...
using System.Collections.Generic; using Umbraco.Core.Models; namespace Zbu.Blocks { /// <summary> /// Represents a block to be rendered. /// </summary> /// <remarks>Name makes a block named ie unique, Type initialized all properties from a predefined /// type, Source overrides name if needed. Such ...
mit
C#
814e83f21052e969e4f9bfe7c7e22e80c8a35eaf
fix tests
Stelmashenko-A/GameOfLife,Stelmashenko-A/GameOfLife,Stelmashenko-A/GameOfLife
GameOfLife.Services.Tests/GameOfLifeTest.cs
GameOfLife.Services.Tests/GameOfLifeTest.cs
using System; using LifeHost.Business.GameStorage; using LifeHost.Models; using NUnit.Framework; namespace GameOfLife.Services.Tests { public class GameOfLifeTest { [Test] public void TestGame() { var gol = new LifeHost.Business.GameOfLife.GameOfLife(); gol.State...
using System; using LifeHost.Business.GameStorage; using LifeHost.Controllers; using NUnit.Framework; namespace GameOfLife.Services.Tests { public class GameOfLifeTest { [Test] public void TestGame() { LifeHost.Controllers.GameOfLife gol = new LifeHost.Controllers.GameOfLife...
mit
C#
079d0133ccbd271b4fd51cfa29ad79380b32ac17
Update StaticServeBootstrapper.cs
phonicmouse/SharpPaste,phonicmouse/SharpPaste
Bootstrappers/StaticServeBootstrapper.cs
Bootstrappers/StaticServeBootstrapper.cs
/* * Created by SharpDevelop. * User: Phonic Mouse * Date: 02/08/2016 * Time: 17:32 */ using Nancy; using Nancy.Conventions; namespace SharpPaste { public class StaticServeBootstrapper : DefaultNancyBootstrapper { protected override void ConfigureConventions(NancyConventions nancyConventions) { nancyConv...
/* * Created by SharpDevelop. * User: Phonic Mouse * Date: 02/08/2016 * Time: 17:32 */ using Nancy using Nancy.Conventions namespace SharpPaste { public class StaticServeBootstrapper : DefaultNancyBootstrapper { protected override void ConfigureConventions(NancyConventions nancyConventions) { nancyConve...
mit
C#
5931de61ab266e5e75223af528d9d748cb49f9c4
Fix rounding in ChallengeSolution.ClearanceQuery when calls Answer.ToString
elcattivo/CloudFlareUtilities
CloudFlareUtilities/ChallengeSolution.cs
CloudFlareUtilities/ChallengeSolution.cs
using System; using System.Globalization; namespace CloudFlareUtilities { /// <summary> /// Holds the information, which is required to pass the CloudFlare clearance. /// </summary> public struct ChallengeSolution : IEquatable<ChallengeSolution> { public ChallengeSolution(string clearanceP...
using System; using System.Globalization; namespace CloudFlareUtilities { /// <summary> /// Holds the information, which is required to pass the CloudFlare clearance. /// </summary> public struct ChallengeSolution : IEquatable<ChallengeSolution> { public ChallengeSolution(string clearanceP...
mit
C#
758134ded669f65f125f6bb8b4452839c95efe9e
Optimize Brazil
tinohager/Nager.Date,tinohager/Nager.Date,tinohager/Nager.Date
Nager.Date/PublicHolidays/BrazilProvider.cs
Nager.Date/PublicHolidays/BrazilProvider.cs
using Nager.Date.Contract; using Nager.Date.Model; using System.Collections.Generic; using System.Linq; namespace Nager.Date.PublicHolidays { public class BrazilProvider : IPublicHolidayProvider { public IEnumerable<PublicHoliday> Get(int year) { //Brazil //https://en.wi...
using Nager.Date.Model; using System.Collections.Generic; using System.Linq; namespace Nager.Date.PublicHolidays { public class BrazilProvider : CatholicBaseProvider { public override IEnumerable<PublicHoliday> Get(int year) { //Brazil //https://en.wikipedia.org/wiki/Pub...
mit
C#
218c0de0cd7f1f72cc46e199444c183fad329adf
Fix exception when dumping a null parameter
mios-fi/mios.localization
Localization/Localizers/NullLocalizer.cs
Localization/Localizers/NullLocalizer.cs
using System; using System.Linq; namespace Mios.Localization.Localizers { public class NullLocalizer { public static LocalizedString Instance(string key, params object[] args) { var parameters = args.Any() ? "["+String.Join(",",args.Select(t=>(t??String.Empty).ToString()).ToArray())+"]" ...
using System; namespace Mios.Localization.Localizers { public class NullLocalizer { public static LocalizedString Instance(string key, params object[] args) { return new LocalizedString(String.Format(key,args), null); } } }
bsd-2-clause
C#
262a1c27dd9948dbcc0052a618f2815c81c6eefb
Update WordDelimiterTokenFilter.cs
joehmchan/elasticsearch-net,joehmchan/elasticsearch-net,joehmchan/elasticsearch-net,wawrzyn/elasticsearch-net,robertlyson/elasticsearch-net,robrich/elasticsearch-net,robertlyson/elasticsearch-net,wawrzyn/elasticsearch-net,gayancc/elasticsearch-net,gayancc/elasticsearch-net,robertlyson/elasticsearch-net,gayancc/elastics...
src/Nest/Domain/Analysis/TokenFilter/WordDelimiterTokenFilter.cs
src/Nest/Domain/Analysis/TokenFilter/WordDelimiterTokenFilter.cs
using System.Collections.Generic; using Newtonsoft.Json; using System; namespace Nest { /// <summary> /// Named word_delimiter, it Splits words into subwords and performs optional transformations on subword groups. /// </summary> public class WordDelimiterTokenFilter : TokenFilterBase { public Wor...
using System.Collections.Generic; using Newtonsoft.Json; using System; namespace Nest { /// <summary> /// Named word_delimiter, it Splits words into subwords and performs optional transformations on subword groups. /// </summary> public class WordDelimiterTokenFilter : TokenFilterBase { public Wor...
apache-2.0
C#
acaf9e0fa25b231229f0e9b2d8120f8c6aa0d5ff
Change naming in test and add one
horsdal/Nancy.Linker
src/Nancy.Linker.Tests/ResourceLinkerTests.cs
src/Nancy.Linker.Tests/ResourceLinkerTests.cs
namespace Nancy.Linker.Tests { using System; using System.Runtime.InteropServices; using Testing; using Xunit; public class ResourceLinker_Should { private Browser app; public class TestModule : NancyModule { public static ResourceLinker linker; public TestModule(ResourceLinker l...
namespace Nancy.Linker.Tests { using System.Runtime.InteropServices; using Testing; using Xunit; public class ResourceLinkerTests { private Browser app; public class TestModule : NancyModule { public static ResourceLinker linker; public TestModule(ResourceLinker linker) { ...
mit
C#
37571700433256d480106f7627450f19003ef87d
Update src/Umbraco.Core/WebAssets/BundlingOptions.cs
marcemarc/Umbraco-CMS,marcemarc/Umbraco-CMS,JimBobSquarePants/Umbraco-CMS,KevinJump/Umbraco-CMS,umbraco/Umbraco-CMS,arknu/Umbraco-CMS,abryukhov/Umbraco-CMS,dawoe/Umbraco-CMS,abjerner/Umbraco-CMS,robertjf/Umbraco-CMS,umbraco/Umbraco-CMS,dawoe/Umbraco-CMS,marcemarc/Umbraco-CMS,JimBobSquarePants/Umbraco-CMS,robertjf/Umbra...
src/Umbraco.Core/WebAssets/BundlingOptions.cs
src/Umbraco.Core/WebAssets/BundlingOptions.cs
using System; namespace Umbraco.Cms.Core.WebAssets { public struct BundlingOptions : IEquatable<BundlingOptions> { public static BundlingOptions OptimizedAndComposite => new BundlingOptions(true, true); public static BundlingOptions OptimizedNotComposite => new BundlingOptions(true, false); ...
using System; namespace Umbraco.Cms.Core.WebAssets { public struct BundlingOptions : IEquatable<BundlingOptions> { public static BundlingOptions OptimizedAndComposite => new BundlingOptions(true, true); public static BundlingOptions OptimizedNotComposite => new BundlingOptions(true, false); ...
mit
C#
a8a89b7738224f6c1b9d4b5b2874d8cbf321d17c
add TryGet track
lucas-miranda/Raccoon
Raccoon/Graphics/Atlas/AtlasAnimation.cs
Raccoon/Graphics/Atlas/AtlasAnimation.cs
using System.Collections; using System.Collections.Generic; namespace Raccoon.Graphics { public class AtlasAnimation : AtlasSubTexture, IEnumerable { public const string DefaultAllFramesTrackName = "all"; #region Private Members private Dictionary<string, List<AtlasAnimationFrame>> _trac...
using System.Collections; using System.Collections.Generic; namespace Raccoon.Graphics { public class AtlasAnimation : AtlasSubTexture, IEnumerable { #region Private Members private Dictionary<string, List<AtlasAnimationFrame>> _tracks; #endregion Private Members #region Constru...
mit
C#
2942aeb7512e15debdbc070b04591df60a63147a
Fix bugs that native functions with parameters are not instantiable due to parsing mistakes
Seddryck/NBi,Seddryck/NBi
NBi.Core/Transformation/Transformer/NativeTransformationfactory.cs
NBi.Core/Transformation/Transformer/NativeTransformationfactory.cs
using NBi.Core.Transformation.Transformer.Native; using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Text; using System.Threading.Tasks; namespace NBi.Core.Transformation.Transformer { public class NativeTransformationFactory { public INativeTra...
using NBi.Core.Transformation.Transformer.Native; using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Text; using System.Threading.Tasks; namespace NBi.Core.Transformation.Transformer { public class NativeTransformationFactory { public INativeTra...
apache-2.0
C#
224a615e09bf89ffd8cb939ac6cb6f3080422f95
Send send damage call
nterry/AS3RG
Assets/Scripts/Spikes/Spikes.cs
Assets/Scripts/Spikes/Spikes.cs
/* * Ben - 3/26/2015 * * This script still needs to have the animate added * and be tested to see if the sending the damage * message works. * * */ using UnityEngine; using System.Collections; public class Spikes : MonoBehaviour { public float damageValue = 1.0f; void awake() { Debug.Log ("Spikes ar...
/* * Ben - 3/26/2015 * * This script still needs to have the animate added * and be tested to see if the sending the damage * message works. * * */ using UnityEngine; using System.Collections; public class Spikes : MonoBehaviour { public float damageValue = 1.0f; GameObject player; void awake() { ...
mit
C#
5ed8b7bc92d6be52abb5b07d698e72ca8de03730
simplify importer
SimonCropp/CaptureSnippets
CaptureSnippets/CodeImporter.cs
CaptureSnippets/CodeImporter.cs
using System.Diagnostics; using System.Linq; namespace CaptureSnippets { public static class CodeImporter { public static UpdateResult Update(string codeFolder, string[] extensionsToSearch, string docsFolder) { var stopwatch = Stopwatch.StartNew(); var result = new Updat...
using System.Diagnostics; using System.Linq; namespace CaptureSnippets { public class CodeImporter { public static UpdateResult Update(string codeFolder, string[] extensionsToSearch, string docsFolder) { var stopwatch = new Stopwatch(); stopwatch.Start(); var...
mit
C#
fc935e354ff6fa5a334e2be56d50941b252a9290
Fix build break
ErikEJ/EntityFramework.SqlServerCompact,ErikEJ/EntityFramework7.SqlServerCompact
test/EntityFramework.SqlServerCompact.FunctionalTests/BasicEndToEndScenarioForIdentity.cs
test/EntityFramework.SqlServerCompact.FunctionalTests/BasicEndToEndScenarioForIdentity.cs
using System.Data.SqlServerCe; using System.Linq; using Xunit; namespace Microsoft.Data.Entity.FunctionalTests { public class BasicEndToEndScenarioForIdentity { [Fact] public void Can_run_end_to_end_scenario() { using (var db = new BloggingContext()) { ...
using System.Data.SqlServerCe; using System.Linq; using Xunit; namespace Microsoft.Data.Entity.FunctionalTests { public class BasicEndToEndScenarioForIdentity { [Fact] public void Can_run_end_to_end_scenario() { using (var db = new BloggingContext()) { ...
apache-2.0
C#
79bd5d028a561c32991c13a81686e992d466c35d
add last indexed
Appleseed/base,Appleseed/base
Applications/Appleseed.Base.Alerts.Console/Appleseed.Base.Alerts/Model/SolrResponseItem.cs
Applications/Appleseed.Base.Alerts.Console/Appleseed.Base.Alerts/Model/SolrResponseItem.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Appleseed.Base.Alerts.Model { class SolrResponseItem { public string id { get; set; } public string item_type { get; set; } public string address_1 { get; set;...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Appleseed.Base.Alerts.Model { class SolrResponseItem { public string id { get; set; } public string item_type { get; set; } public string address_1 { get; set;...
apache-2.0
C#
a347bd5bb87d548bc61d4b4e550b5067fe7be770
update AssemblyInfo
punker76/MahApps.Metro.SimpleChildWindow
MahApps.Metro.SimpleChildWindow/MahApps.Metro.SimpleChildWindow/Properties/AssemblyInfo.cs
MahApps.Metro.SimpleChildWindow/MahApps.Metro.SimpleChildWindow/Properties/AssemblyInfo.cs
using System.Reflection; using System.Resources; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Windows; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated ...
using System.Reflection; using System.Resources; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Windows; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated ...
mit
C#
75cfcf8ca68fa9b513cfadffdbd2257420ee86d1
add unit test to the car advert mapper
mdavid626/artemis
src/Artemis.Web.Tests/CarAdvertMapperTest.cs
src/Artemis.Web.Tests/CarAdvertMapperTest.cs
using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using Artemis.Common; using Artemis.Web.Models; namespace Artemis.Web.Tests { [TestClass] public class CarAdvertMapperTest { [TestMethod] public void TestValidMapping() { var vm = new CarAdvertViewModel()...
using System; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Artemis.Web.Tests { [TestClass] public class CarAdvertMapperTest { [TestMethod] public void TestMethod1() { } } }
mit
C#
63af54c98411cdcb78fa3ecf7faa2e4d58254c96
Clean up
Weingartner/SolidworksAddinFramework
DemoMacroFeature/SampleMacroFeature/SampleMacroFeatureDataBase.cs
DemoMacroFeature/SampleMacroFeature/SampleMacroFeatureDataBase.cs
using System.Runtime.Serialization; using ReactiveUI; using SolidworksAddinFramework; namespace DemoMacroFeatures.SampleMacroFeature { [DataContract] public class SampleMacroFeatureDataBase : ReactiveObject { private double _Alpha; [DataMember] public double Alpha { ...
using System.Runtime.Serialization; using ReactiveUI; using SolidworksAddinFramework; using SolidWorks.Interop.sldworks; namespace DemoMacroFeatures.SampleMacroFeature { [DataContract] public class SampleMacroFeatureDataBase : ReactiveObject { private double _Alpha; [DataMember] pu...
mit
C#
79f4e6ce1063950d21ffc534f6f6351e2c8577a8
Bump version to 2.2.1
rickyah/ini-parser,davidgrupp/ini-parser,rickyah/ini-parser
src/IniFileParser/Properties/AssemblyInfo.cs
src/IniFileParser/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("INIParser")] [assembly: AssemblyDescripti...
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("INIParser")] [assembly: AssemblyDescripti...
mit
C#
d4272e2a1343c67f8f75ad7086371f568f6f973a
Bump version to v2.5.0
rickyah/ini-parser,rickyah/ini-parser
src/IniFileParser/Properties/AssemblyInfo.cs
src/IniFileParser/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("INIParser")] [assembly: AssemblyDescripti...
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("INIParser")] [assembly: AssemblyDescripti...
mit
C#
eae62ad4f6f67e5b1f5aa20912682c78bde8ee9a
set network time
azure-contrib/netmfazurestorage
TestRunner/Program.cs
TestRunner/Program.cs
using System; using Microsoft.SPOT; using Microsoft.SPOT.Hardware; using Microsoft.SPOT.Net.NetworkInformation; using netmfazurestorage.NTP; using netmfazurestorage.Tests; namespace netmfazurestorage.TestRunner { public class Program { private const string AccountName = "netmftest"; // please upload ...
using Microsoft.SPOT; using Microsoft.SPOT.Net.NetworkInformation; using netmfazurestorage.Tests; namespace netmfazurestorage.TestRunner { public class Program { private const string AccountName = "netmftest"; // please upload pictures of cats and other larger animals to this storage account. ...
apache-2.0
C#
64232514172352374120127774ed151d88413de3
fix test fail
MagnusTiberius/GigaBoom
UnitTest/UnitTest1.cs
UnitTest/UnitTest1.cs
using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using System.Collections.Generic; using GigaBoomLib; using GigaBoomLib.Data; namespace UnitTest { [TestClass] public class UnitTest1 { [TestMethod] public void TestMethod1() { //Connection c = new Connec...
using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using System.Collections.Generic; using GigaBoomLib; using GigaBoomLib.Data; namespace UnitTest { [TestClass] public class UnitTest1 { [TestMethod] public void TestMethod1() { Connection c = new Connecti...
mit
C#
384fb4e3e4a1325c436213751a61b141c6e604b9
Update src/Avalonia.Controls/Notifications/Notification.cs
akrisiun/Perspex,SuperJMN/Avalonia,SuperJMN/Avalonia,wieslawsoltes/Perspex,Perspex/Perspex,grokys/Perspex,AvaloniaUI/Avalonia,Perspex/Perspex,jkoritzinsky/Avalonia,AvaloniaUI/Avalonia,wieslawsoltes/Perspex,jkoritzinsky/Avalonia,jkoritzinsky/Avalonia,SuperJMN/Avalonia,jkoritzinsky/Perspex,AvaloniaUI/Avalonia,wieslawsolt...
src/Avalonia.Controls/Notifications/Notification.cs
src/Avalonia.Controls/Notifications/Notification.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 System; namespace Avalonia.Controls.Notifications { /// <summary> /// A notification that can be shown in a window or by the host operatin...
// 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 System; namespace Avalonia.Controls.Notifications { /// <summary> /// A notification that can be shown in a window or by the host operatin...
mit
C#
469532ac8716aca5abda3479b91c1e93f69b8705
Remove bulk from list qual view
mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander
BatteryCommander.Web/Views/Qualification/List.cshtml
BatteryCommander.Web/Views/Qualification/List.cshtml
@model IEnumerable<BatteryCommander.Common.Models.Qualification> @using BatteryCommander.Common.Models; @{ ViewBag.Title = "Qualifications"; } <h2>@ViewBag.Title @Html.ActionLink("Add New", "New", null, new { @class = "btn btn-primary" })</h2> <table class="table table-bordered"> <tr> <th> @Html.D...
@model IEnumerable<BatteryCommander.Common.Models.Qualification> @using BatteryCommander.Common.Models; @{ ViewBag.Title = "Qualifications"; } <h2>@ViewBag.Title @Html.ActionLink("Add New", "New", null, new { @class = "btn btn-primary" })</h2> <table class="table table-bordered"> <tr> <th> @Html.D...
mit
C#
6954794704cb9f04413d4d7a91f694b75302057b
Fix typo in InfrastrucureTests/Properties
MER-Consulting/chula
Chula/InfrastructureTests/Properties/AssemblyInfo.cs
Chula/InfrastructureTests/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("Te...
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("Te...
apache-2.0
C#
867d0b330d0547f10f129359e0d237f912c33a38
add empty default constructor for json.net to use. (#32)
DynamoDS/GRegClientNET
src/GregClient/Requests/PackageUploadRequestBody.cs
src/GregClient/Requests/PackageUploadRequestBody.cs
using System; using System.Collections.Generic; namespace Greg.Requests { public class PackageUploadRequestBody : PackageVersionUploadRequestBody { //!!!! it is important to keep this in mind: //https://stackoverflow.com/questions/33107789/json-net-deserialization-constructor-vs-property-rule...
using System; using System.Collections.Generic; namespace Greg.Requests { public class PackageUploadRequestBody : PackageVersionUploadRequestBody { public PackageUploadRequestBody(string name, string version, string description, IEnumerable<string> keywords, string license, str...
mit
C#
8c9e916eca554675f30c2198c7bb25bcf28603ce
Add message key to jasper headers if set on inbound kafka message
JasperFx/jasper,JasperFx/jasper,JasperFx/jasper
src/Jasper.ConfluentKafka/KafkaTransportProtocol.cs
src/Jasper.ConfluentKafka/KafkaTransportProtocol.cs
using System.Collections.Generic; using System.Linq; using System.Text; using Confluent.Kafka; using Jasper.Transports; namespace Jasper.ConfluentKafka { public class KafkaTransportProtocol : ITransportProtocol<Message<byte[], byte[]>> { public const string KafkaMessageKeyHeader = "Confluent.Kafka.Mess...
using System.Collections.Generic; using System.Linq; using System.Text; using Confluent.Kafka; using Jasper.Transports; namespace Jasper.ConfluentKafka { public class KafkaTransportProtocol : ITransportProtocol<Message<byte[], byte[]>> { public Message<byte[], byte[]> WriteFromEnvelope(Envelope envelop...
mit
C#
55220fe9248af5874f4b1bb3e8ccb05deaa3254d
Fix ServerErrorException constructor
tgstation/tgstation-server,Cyberboss/tgstation-server,tgstation/tgstation-server-tools,tgstation/tgstation-server,Cyberboss/tgstation-server
src/Tgstation.Server.Client/ServerErrorException.cs
src/Tgstation.Server.Client/ServerErrorException.cs
using System; using System.Net; using Tgstation.Server.Api.Models; namespace Tgstation.Server.Client { /// <summary> /// Occurs when an error occurs in the server /// </summary> public sealed class ServerErrorException : ClientException { /// <summary> /// The raw HTML of the error /// </summary> public ...
using System; using System.Net; namespace Tgstation.Server.Client { /// <summary> /// Occurs when an error occurs in the server /// </summary> public sealed class ServerErrorException : ClientException { /// <summary> /// The raw HTML of the error /// </summary> public string Html { get; } /// <summar...
agpl-3.0
C#
4da6788cb8799e927e7a36282e660a0fe2798867
Fix PartialView Tree Controller to display a folder icon as opposed to an article icon for nested folders - looks odd/broken to me otherwise
JimBobSquarePants/Umbraco-CMS,dawoe/Umbraco-CMS,marcemarc/Umbraco-CMS,marcemarc/Umbraco-CMS,leekelleher/Umbraco-CMS,tompipe/Umbraco-CMS,tcmorris/Umbraco-CMS,JimBobSquarePants/Umbraco-CMS,robertjf/Umbraco-CMS,KevinJump/Umbraco-CMS,abjerner/Umbraco-CMS,lars-erik/Umbraco-CMS,mattbrailsford/Umbraco-CMS,mattbrailsford/Umbra...
src/Umbraco.Web/Trees/PartialViewsTreeController.cs
src/Umbraco.Web/Trees/PartialViewsTreeController.cs
using umbraco; using Umbraco.Core.IO; using Umbraco.Web.Composing; using Umbraco.Web.Models.Trees; using Umbraco.Web.Mvc; using Umbraco.Web.WebApi.Filters; using Constants = Umbraco.Core.Constants; namespace Umbraco.Web.Trees { /// <summary> /// Tree for displaying partial views in the settings app /// </...
using umbraco; using Umbraco.Core.IO; using Umbraco.Web.Composing; using Umbraco.Web.Models.Trees; using Umbraco.Web.Mvc; using Umbraco.Web.WebApi.Filters; using Constants = Umbraco.Core.Constants; namespace Umbraco.Web.Trees { /// <summary> /// Tree for displaying partial views in the settings app /// </...
mit
C#
2c65da58c73e364e5bfc0cb22bd548f07909e8c5
Fix a bug
kawatan/Milk
Megalopolis/ActivationFunctions/HyperbolicTangent.cs
Megalopolis/ActivationFunctions/HyperbolicTangent.cs
using System; namespace Megalopolis { namespace ActivationFunctions { public class HyperbolicTangent : IActivationFunction { public double Function(double x) { // (Math.Pow(Math.E, x) - Math.Pow(Math.E, -x)) / (Math.Pow(Math.E, x) + Math.Pow(Math.E, -x))...
using System; namespace Megalopolis { namespace ActivationFunctions { public class HyperbolicTangent : IActivationFunction { public double Function(double x) { return Math.Tanh(x); } public double Derivative(double x) ...
apache-2.0
C#
67ba64b0a1ef49939233115098eaac09b4ec8f14
Fix build
btcpayserver/btcpayserver,btcpayserver/btcpayserver,btcpayserver/btcpayserver,btcpayserver/btcpayserver
BTCPayServer/Services/Cheater.cs
BTCPayServer/Services/Cheater.cs
using System; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; using BTCPayServer.Configuration; using BTCPayServer.Data; using Microsoft.Extensions.Hosting; using NBitcoin; using NBitcoin.RPC; namespace BTCPayServer.Services { public class Cheater : IHoste...
using System; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; using BTCPayServer.Configuration; using BTCPayServer.Data; using Microsoft.Extensions.Hosting; using NBitcoin; using NBitcoin.RPC; namespace BTCPayServer.Services { public class Cheater : IHoste...
mit
C#
98c8b032932f626f4bca59ce6c22d7ba324d1c77
Update Trace region comment
GoogleCloudPlatform/dotnet-docs-samples,GoogleCloudPlatform/dotnet-docs-samples,GoogleCloudPlatform/dotnet-docs-samples,GoogleCloudPlatform/dotnet-docs-samples,jsimonweb/csharp-docs-samples,jsimonweb/csharp-docs-samples,jsimonweb/csharp-docs-samples,jsimonweb/csharp-docs-samples
trace/api/Global.asax.cs
trace/api/Global.asax.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 ag...
// 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 ag...
apache-2.0
C#
47bfc7ce5f06499a878e1887b8728d5658804c5a
Clean up using statement in test
DustinCampbell/omnisharp-roslyn,DustinCampbell/omnisharp-roslyn,OmniSharp/omnisharp-roslyn,OmniSharp/omnisharp-roslyn,hal-ler/omnisharp-roslyn,nabychan/omnisharp-roslyn,jtbm37/omnisharp-roslyn,jtbm37/omnisharp-roslyn,nabychan/omnisharp-roslyn,hal-ler/omnisharp-roslyn
tests/OmniSharp.DotNet.Tests/ProjectSearcherTest.cs
tests/OmniSharp.DotNet.Tests/ProjectSearcherTest.cs
using System.IO; using System.Linq; using OmniSharp.DotNet.Projects; using TestCommon; using Xunit; namespace OmniSharp.DotNet.Tests { public class ProjectSearcherTest { private readonly TestsContext _context; public ProjectSearcherTest() { _context = TestsContext.Default; ...
using System; using System.IO; using System.Linq; using Microsoft.DotNet.ProjectModel; using OmniSharp.DotNet.Projects; using TestCommon; using Xunit; namespace OmniSharp.DotNet.Tests { public class ProjectSearcherTest { private readonly TestsContext _context; public ProjectSearcherTest() ...
mit
C#
f9c5bd7faf1a8878bc5cd7b081c45f60fd74d22b
Fix bug in IQuery interface
csf-dev/CSF.Core,csf-dev/CSF.Core
CSF/Data/IQuery.cs
CSF/Data/IQuery.cs
// // IQuery.cs // // Author: // Craig Fowler <craig@craigfowler.me.uk> // // Copyright (c) 2016 Craig Fowler // // 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,...
// // IQuery.cs // // Author: // Craig Fowler <craig@craigfowler.me.uk> // // Copyright (c) 2016 Craig Fowler // // 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#
1066cbdb923b6e9a80b4d77f0bcbf80825da7a4d
Fix TreeModel iteration to not make a reference cycle.
sillsdev/gtk-sharp,sillsdev/gtk-sharp,sillsdev/gtk-sharp,sillsdev/gtk-sharp,sillsdev/gtk-sharp
gtk/TreeEnumerator.cs
gtk/TreeEnumerator.cs
// TreeEnumerator.cs - .NET-style Enumerator for TreeModel classes // // Author: Eric Butler <eric@extremeboredom.net> // // Copyright (c) 2005 Eric Butler // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as publish...
// TreeEnumerator.cs - .NET-style Enumerator for TreeModel classes // // Author: Eric Butler <eric@extremeboredom.net> // // Copyright (c) 2005 Eric Butler // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as publish...
lgpl-2.1
C#
4343695a60aa56733bdfa215599b97b33b65c998
add greeting scenario supported
adipatl/ken,adipatl/ken,adipatl/ken
KenBot/Ai/KenAi.cs
KenBot/Ai/KenAi.cs
using System; using System.Linq; using System.Threading.Tasks; using Microsoft.Bot.Builder.Dialogs; using Microsoft.Bot.Builder.Luis; using Microsoft.Bot.Builder.Luis.Models; namespace Ken { [LuisModel("829ee634-ba62-4240-baf7-70a66163ab01", "d018c3a25fcc49889b863595ceef2ffd")] [Serializable] public class...
using System; using System.Linq; using System.Threading.Tasks; using Microsoft.Bot.Builder.Dialogs; using Microsoft.Bot.Builder.Luis; using Microsoft.Bot.Builder.Luis.Models; namespace Ken { [LuisModel("829ee634-ba62-4240-baf7-70a66163ab01", "d018c3a25fcc49889b863595ceef2ffd")] [Serializable] public class...
mit
C#
882bdcab7ad78ca48cdcd240926bc8c21a3a36d7
Revert "更新版本1.8.6.5"
tsanie/ElectronicObserver,CNA-Bld/ElectronicObserver,herix001/ElectronicObserver,kanonmelodis/ElectronicObserver
ElectronicObserver/Properties/AssemblyInfo.cs
ElectronicObserver/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // アセンブリに関する一般情報は以下の属性セットをとおして制御されます。 // アセンブリに関連付けられている情報を変更するには、 // これらの属性値を変更してください。 [assembly: AssemblyTitle( "ElectronicObserver" )] [assembly: AssemblyDescription( "" )] [assembly: AssemblyConfiguratio...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // アセンブリに関する一般情報は以下の属性セットをとおして制御されます。 // アセンブリに関連付けられている情報を変更するには、 // これらの属性値を変更してください。 [assembly: AssemblyTitle( "ElectronicObserver" )] [assembly: AssemblyDescription( "" )] [assembly: AssemblyConfiguratio...
mit
C#
d393507d3ebc7d7780235d9920121f2e3de9f661
Refactor LoginAuthCommand to use AutoCommandData
appharbor/appharbor-cli
src/AppHarbor.Tests/Commands/LoginAuthCommandTest.cs
src/AppHarbor.Tests/Commands/LoginAuthCommandTest.cs
using System; using System.IO; using AppHarbor.Commands; using Moq; using Ploeh.AutoFixture.Xunit; using Xunit; using Xunit.Extensions; namespace AppHarbor.Tests.Commands { public class LoginAuthCommandTest { [Theory, AutoCommandData] public void ShouldSetAppHarborTokenIfUserIsntLoggedIn(string username, string...
using System; using System.IO; using AppHarbor.Commands; using Moq; using Ploeh.AutoFixture.Xunit; using Xunit; using Xunit.Extensions; namespace AppHarbor.Tests.Commands { public class LoginAuthCommandTest { [Theory, AutoData] public void ShouldSetAppHarborTokenIfUserIsntLoggedIn(string username, string passwo...
mit
C#
10b921c658796f9e2d838d73036ea6d4cfc24035
Add Dictionary.AddPair overload
nuke-build/nuke,nuke-build/nuke,nuke-build/nuke,nuke-build/nuke
source/Nuke.Common/Utilities/Collections/Dictionary.AddKeyValue.cs
source/Nuke.Common/Utilities/Collections/Dictionary.AddKeyValue.cs
// Copyright 2021 Maintainers of NUKE. // Distributed under the MIT License. // https://github.com/nuke-build/nuke/blob/master/LICENSE using System; using System.Collections.Generic; using System.Linq; using JetBrains.Annotations; namespace Nuke.Common.Utilities.Collections { public static partial class Dictiona...
// Copyright 2021 Maintainers of NUKE. // Distributed under the MIT License. // https://github.com/nuke-build/nuke/blob/master/LICENSE using System; using System.Collections.Generic; using System.Linq; using JetBrains.Annotations; namespace Nuke.Common.Utilities.Collections { public static partial class Dictiona...
mit
C#
5a4b3223c5ee5d33a2df89850962aacc1321bbd3
Fix the way the current directory is retrieved (#47)
mgrosperrin/commandlineparser
src/MGR.CommandLineParser/Extensibility/AssemblyProviderBase.cs
src/MGR.CommandLineParser/Extensibility/AssemblyProviderBase.cs
using System; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.IO; using System.Reflection; namespace MGR.CommandLineParser.Extensibility { /// <summary> /// Base class for providing all files (*.dll and *.exe) in the current folder (recursive or not). /// </summary> ...
using System; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.IO; using System.Reflection; namespace MGR.CommandLineParser.Extensibility { /// <summary> /// Base class for providing all files (*.dll and *.exe) in the current folder (recursive or not). /// </summary> ...
mit
C#
5d2798fa9a57bb1f1a00618fd7bf3e6ba0bd9040
Add failing test steps
smoogipooo/osu-framework,ppy/osu-framework,peppy/osu-framework,peppy/osu-framework,peppy/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,ZLima12/osu-framework,ppy/osu-framework,ZLima12/osu-framework
osu.Framework.Tests/Visual/UserInterface/TestSceneColourPicker.cs
osu.Framework.Tests/Visual/UserInterface/TestSceneColourPicker.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.Graphics; using osu.Framework.Graphics.UserInterface; using osu.Framework.Testing; namespace osu.Framework.Tests.Visual.UserInterface { public cl...
// 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.Graphics; using osu.Framework.Graphics.UserInterface; using osu.Framework.Testing; namespace osu.Framework.Tests.Visual.UserInterface { public cl...
mit
C#
49fdae9c4622de67bcff548b52775785df518810
Update OnGUI menu
IanEarnest/Unity-GUI
Assets/OnGUI/OnGUIMenu.cs
Assets/OnGUI/OnGUIMenu.cs
using UnityEngine; using System.Collections; public class OnGUIMenu : MonoBehaviour { public static int menuSelect = 3; Rect guiRect = new Rect(Screen.width-100, Screen.height/2-75, 100, 150); void OnGUI(){ GUILayout.BeginArea (guiRect); GUILayout.Label ("OnGUI Select"); if(GUILayout.Button("First menus"...
using UnityEngine; using System.Collections; public class OnGUIMenu : MonoBehaviour { Rect guiRect = new Rect(Screen.width-100, Screen.height/2-75, 100, 150); void OnGUI(){ GUILayout.BeginArea (guiRect); GUILayout.Label ("OnGUI Select"); if(GUILayout.Button("First menus")){ } if(GUILayout.Butto...
mit
C#
4eb7fbea23840344db330340461aeeeeda42f697
Mark IPublisher<> descriptor as overrider
Elders/Cronus.Transport.RabbitMQ,Elders/Cronus.Transport.RabbitMQ
src/Elders.Cronus.Transport.RabbitMQ/RabbitMqPublisherDiscovery.cs
src/Elders.Cronus.Transport.RabbitMQ/RabbitMqPublisherDiscovery.cs
using System.Collections.Generic; using Elders.Cronus.Discoveries; using Microsoft.Extensions.DependencyInjection; using RabbitMQ.Client; namespace Elders.Cronus.Transport.RabbitMQ { public class RabbitMqPublisherDiscovery : DiscoveryBasedOnExecutingDirAssemblies<IPublisher<IMessage>> { protected over...
using System.Collections.Generic; using Elders.Cronus.Discoveries; using Microsoft.Extensions.DependencyInjection; using RabbitMQ.Client; namespace Elders.Cronus.Transport.RabbitMQ { public class RabbitMqPublisherDiscovery : DiscoveryBasedOnExecutingDirAssemblies<IPublisher<IMessage>> { protected over...
apache-2.0
C#
39c1468b0ab58eac7876bf3b52c68b3c530e4a57
Write JSON as prettified string to file for better readability.
n-develop/tickettimer
TicketTimer.Core/Infrastructure/JsonWorkItemStore.cs
TicketTimer.Core/Infrastructure/JsonWorkItemStore.cs
using Newtonsoft.Json; namespace TicketTimer.Core.Infrastructure { public class JsonWorkItemStore : WorkItemStore { private readonly FileStore _fileStore; private const string FileName = "timer.state"; private TimerState _state; public JsonWorkItemStore(FileStore fileStore) ...
using Newtonsoft.Json; namespace TicketTimer.Core.Infrastructure { public class JsonWorkItemStore : WorkItemStore { private readonly FileStore _fileStore; private const string FileName = "timer.state"; private TimerState _state; public JsonWorkItemStore(FileStore fileStore) ...
mit
C#