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
39401b645a9cc2ae1d83a2cdf6a474d14afd77c9
Add HangfireSet Score index
sergezhigunov/Hangfire.EntityFramework
src/Hangfire.EntityFramework/HangfireSet.cs
src/Hangfire.EntityFramework/HangfireSet.cs
// Copyright (c) 2017 Sergey Zhigunov. // Licensed under the MIT License. See LICENSE file in the project root for full license information. using System; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace Hangfire.EntityFramework { internal class HangfireS...
// Copyright (c) 2017 Sergey Zhigunov. // Licensed under the MIT License. See LICENSE file in the project root for full license information. using System; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace Hangfire.EntityFramework { internal class HangfireS...
mit
C#
4a39d1592e1fb2068f67c0eaaca93d64c36bb0ed
Update logging details
aliencube/Application-Insights-WebTests-SDK
src/Insights.WebTests.ConsoleApp/Program.cs
src/Insights.WebTests.ConsoleApp/Program.cs
using System; using Aliencube.AdalWrapper; using Aliencube.Azure.Insights.WebTests.Models.Options; using Aliencube.Azure.Insights.WebTests.Services; using Aliencube.Azure.Insights.WebTests.Services.Settings; namespace Aliencube.Azure.Insights.WebTests.ConsoleApp { /// <summary> /// This represents the main e...
using Aliencube.AdalWrapper; using Aliencube.Azure.Insights.WebTests.Models.Options; using Aliencube.Azure.Insights.WebTests.Services; using Aliencube.Azure.Insights.WebTests.Services.Settings; namespace Aliencube.Azure.Insights.WebTests.ConsoleApp { /// <summary> /// This represents the main entity of the co...
mit
C#
8157358f45954e4dfab79b36768b01a4e7373852
Fix filter
fuyuno/Norma
Source/Norma.Eta/Filters/BracesFilter.cs
Source/Norma.Eta/Filters/BracesFilter.cs
using System.Text.RegularExpressions; namespace Norma.Eta.Filters { public class BracesFilter : IFilter { private readonly Regex _regex = new Regex(@"[\(〈《【「『\[\{].*[\)〉》】」』\]\}]", RegexOptions.Compiled); #region Implementation of IFilter /// <summary> /// カッコ以下を取り除きます。 ...
using System.Text.RegularExpressions; namespace Norma.Eta.Filters { public class BracesFilter : IFilter { private readonly Regex _regex = new Regex(@"[\(〈《【「『\[\{].*?[\)〉》】」』\]\}]", RegexOptions.Compiled); #region Implementation of IFilter /// <summary> /// カッコ以下を取り除きます。 ...
mit
C#
0c4f79620c82cb32a2ecf80e7530e15cf3b081e5
Update comments
StephenMcConnel/BloomDesktop,andrew-polk/BloomDesktop,StephenMcConnel/BloomDesktop,BloomBooks/BloomDesktop,BloomBooks/BloomDesktop,StephenMcConnel/BloomDesktop,gmartin7/myBloomFork,BloomBooks/BloomDesktop,JohnThomson/BloomDesktop,gmartin7/myBloomFork,andrew-polk/BloomDesktop,gmartin7/myBloomFork,JohnThomson/BloomDeskto...
src/BloomExe/web/I18NHandler.cs
src/BloomExe/web/I18NHandler.cs
using System.Collections.Generic; using Bloom.Collection; using L10NSharp; using Newtonsoft.Json; namespace Bloom.web { /// <summary> /// This class handles requests for internationalization. It uses the L10NSharp LocalizationManager to look up values. /// </summary> static class I18NHandler { public static bo...
using System.Collections.Generic; using Bloom.Collection; using L10NSharp; using Newtonsoft.Json; namespace Bloom.web { static class I18NHandler { public static bool HandleRequest(string localPath, IRequestInfo info, CollectionSettings currentCollectionSettings) { var lastSep = localPath.IndexOf("/", System....
mit
C#
bb709517d744d19c3d148f516d14f7e3a482435a
Fix style cop rules
wrightg42/tron,It423/tron
Tron/Application/Application/GameData.cs
Tron/Application/Application/GameData.cs
// GameData.cs // <copyright file="GameData.cs"> This code is protected under the MIT License. </copyright> using System; using Tron; namespace Application { /// <summary> /// A class containing all game data and method for input handling. /// </summary> public static class GameData { /// ...
using System; // GameData.cs // <copyright file="GameData.cs"> This code is protected under the MIT License. </copyright> using Tron; namespace Application { public static class GameData { /// <summary> /// Gets or sets the game information. /// </summary> public static TronGam...
mit
C#
676d64aee31229c68d84686b8c58cc3986f157c7
fix for GA
autumn009/TanoCSharpSamples
Chap37/EnhancedLineDirective/EnhancedLineDirective/Program.cs
Chap37/EnhancedLineDirective/EnhancedLineDirective/Program.cs
#line (1000, 20) - (1010, 99) "otherfile.cs" System.Console.WriteLine("Hello, World!"); #warning This is warning.
#line (1000, 20) - (1010, 99) "otherfile.cs" Console.WriteLine("Hello, World!"); #warning This is warning.
mit
C#
0afa54ee6f5fe2c8b4c3fe46391b2bccb844e153
Fix missing .ascx extension in control filename
roman-yagodin/R7.Epsilon,roman-yagodin/R7.Epsilon,roman-yagodin/R7.Epsilon
R7.Epsilon/components/ControlLocalizer.cs
R7.Epsilon/components/ControlLocalizer.cs
// // ControlLocalizer.cs // // Author: // Roman M. Yagodin <roman.yagodin@gmail.com> // // Copyright (c) 2015 // // 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 ...
// // ControlLocalizer.cs // // Author: // Roman M. Yagodin <roman.yagodin@gmail.com> // // Copyright (c) 2015 // // 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 ...
agpl-3.0
C#
bc32e97773f82d0317f97b3da7541ee4a1ce2a34
Update SapphireSkin.cs
AlexanderDzhoganov/Skylines-Sapphire,bnm12/Skylines-Sapphire
Skins/TemplateSkin/Source/SapphireSkin.cs
Skins/TemplateSkin/Source/SapphireSkin.cs
using ICities; namespace SapphireSkin { public class Mod : IUserMod { public string Name { get { return "YourSkinName"; } } public string Description { get { return "YourSkinDescription"; } } ...
using ICities; namespace SapphireSkin { public class Mod : IUserMod { public string Name { get { return "<YourSkinName>"; } } public string Description { get { return "<YourSkinDescription>"; } } ...
mit
C#
d335c15e0022d3ee7b0bcbf7cdd6b342584f7345
Downgrade der DB
iwb/ILK-Protokoll,iwb/ILK-Protokoll
ILK-Protokoll/Migrations/201409151502066_approval_tristate.cs
ILK-Protokoll/Migrations/201409151502066_approval_tristate.cs
using System.Data.Entity.Migrations; namespace ILK_Protokoll.Migrations { public partial class approval_tristate : DbMigration { public override void Up() { RenameColumn("dbo.L_Extension", name: "Approved", newName: "Approval"); AlterColumn("dbo.L_Extension", "Approval", c => c.Int(nullable: false)); R...
using System.Data.Entity.Migrations; namespace ILK_Protokoll.Migrations { public partial class approval_tristate : DbMigration { public override void Up() { RenameColumn("dbo.L_Extension", name: "Approved", newName: "Approval"); AlterColumn("dbo.L_Extension", "Approval", c => c.Int(nullable: false)); R...
mit
C#
4888b49a169146443fc7c56b4095468db14f5c2c
Fix version
mastertnt/XRay
XTreeListView/Properties/AssemblyInfo.cs
XTreeListView/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Windows; using System.Windows.Markup; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associ...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Windows; using System.Windows.Markup; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associ...
mit
C#
a66c4961d1f8776c1a22e52cc474a69764d5b9c8
Update ToFriendlyStringTests.cs
Fody/Fody,GeertvanHorrik/Fody
Tests/FodyCommon/ToFriendlyStringTests.cs
Tests/FodyCommon/ToFriendlyStringTests.cs
using System; using Xunit; public class ToFriendlyStringTests : TestBase { [Fact(Skip = "todo")] public void ToFriendlyName() { var currentDirectory = Environment.CurrentDirectory.ToLowerInvariant() .Replace(@"bin\debug", string.Empty) .Replace(@"bin\release", string.Empty)...
using System; using Xunit; public class ToFriendlyStringTests : TestBase { [Fact(Skip = "todo")] public void ToFriendlyName() { var currentDirectory = AssemblyLocation.CurrentDirectory.ToLowerInvariant() .Replace(@"bin\debug", string.Empty) .Replace(@"bin\release", string.E...
mit
C#
18db3bcf18ad9fd8acf89b7639ae7037b64c4f6c
Fix warnings.
DotNetAnalyzers/WpfAnalyzers
WpfAnalyzers.Analyzers/Helpers/SymbolHelpers/TypeSymbolExt.cs
WpfAnalyzers.Analyzers/Helpers/SymbolHelpers/TypeSymbolExt.cs
namespace WpfAnalyzers { using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using Microsoft.CodeAnalysis; [SuppressMessage("ReSharper", "UnusedMember.Global")] internal static class TypeSymbolExt { internal static IEnumerable<ITypeSymbol> RecursiveBaseTypes(this IT...
namespace WpfAnalyzers { using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Threading; using Gu.Roslyn.AnalyzerExtensions; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CSharp; using Microsoft.CodeAnalysis.CSharp.Syntax; [SuppressMessage("...
mit
C#
3a3475b0fc5b63b72bdb1d7910cc85d6306e7fc4
fix updated version number
NIFTYCloud-mbaas/ncmb_unity,NIFTYCloud-mbaas/ncmb_unity,NIFTYCloud-mbaas/ncmb_unity
ncmb_unity/Assets/NCMB/CommonConstant.cs
ncmb_unity/Assets/NCMB/CommonConstant.cs
/******* Copyright 2014 NIFTY Corporation All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable la...
/******* Copyright 2014 NIFTY Corporation All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable la...
apache-2.0
C#
34cc5360147ea7422782f1928810bbdce238ad54
update object names
Pondidum/Dashen,Pondidum/Dashen,Pondidum/Dashen,Pondidum/Dashen
ConsoleTestApp/Program.cs
ConsoleTestApp/Program.cs
using System; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; using Dashen; using Dashen.Endpoints.Stats; namespace ConsoleTestApp { class Program { static void Main(string[] args) { var config = new DashenConfiguration { ListenOn = new Uri("h...
using System; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; using Dashen; using Dashen.Endpoints.Stats; namespace ConsoleTestApp { class Program { static void Main(string[] args) { var ui = new Dashboard(new DashenConfiguration{ ListenOn = new ...
lgpl-2.1
C#
8d8befc95779e0d4fae946151b73fb6a1a36fc12
Handle iOS memory alerts and free any memory we can
EVAST9919/osu-framework,ppy/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,ZLima12/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,ZLima12/osu-framework
osu.Framework.iOS/GameViewController.cs
osu.Framework.iOS/GameViewController.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 CoreGraphics; using UIKit; namespace osu.Framework.iOS { internal class GameViewController : UIViewController { public override bool PrefersStatus...
// 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 CoreGraphics; using UIKit; namespace osu.Framework.iOS { internal class GameViewController : UIViewController { public override bool PrefersStatus...
mit
C#
f4a8d0032b5663474acc5784762672a43a9f1dec
Fix help text to use Debug output
nuke-build/nuke,nuke-build/nuke,nuke-build/nuke,nuke-build/nuke
source/Nuke.Common/Execution/HandleHelpRequestsAttribute.cs
source/Nuke.Common/Execution/HandleHelpRequestsAttribute.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; namespace Nuke.Common.Execution { internal class HandleHelpRequestsAttribute : BuildExtensionAttributeBase, IOnB...
// 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; namespace Nuke.Common.Execution { internal class HandleHelpRequestsAttribute : BuildExtensionAttributeBase, IOnB...
mit
C#
22973f2154834046ea9a17c4ceb0128d4c1e8dc9
Add encryption support
Baggykiin/pass-winmenu
pass-winmenu/src/ExternalPrograms/GPG.cs
pass-winmenu/src/ExternalPrograms/GPG.cs
using System; using System.Diagnostics; using System.Text; namespace PassWinmenu.ExternalPrograms { /// <summary> /// Simple wrapper over GPG. /// </summary> internal class GPG { private readonly string executable; /// <summary> /// Initialises the wrapper. /// </summary> /// <param name="executable">...
using System; using System.Diagnostics; using System.Text; namespace PassWinmenu.ExternalPrograms { /// <summary> /// Simple wrapper over GPG. /// </summary> internal class GPG { private readonly string executable; /// <summary> /// Initialises the wrapper. /// </summary> /// <param name="executable">...
mit
C#
49b087f6bc77ecf0cfa0434b6d898aefa9802cea
Fix typo
Xeeynamo/KingdomHearts
OpenKh.Kh2/Battle/Lvup.cs
OpenKh.Kh2/Battle/Lvup.cs
using System.Collections.Generic; using System.IO; using Xe.BinaryMapper; namespace OpenKh.Kh2.Battle { public class Lvup { [Data] public int MagicCode { get; set; } [Data] public int Count { get; set; } [Data(Count = 0x38)] public byte[] Unknown08 { get; set; } [Data(Count = 1...
using System.Collections.Generic; using System.IO; using Xe.BinaryMapper; namespace OpenKh.Kh2.Battle { public class Lvup { [Data] public int MagicCode { get; set; } [Data] public int Count { get; set; } [Data(Count = 0x38)] public byte[] Unknown08 { get; set; } [Data(Count = 1...
mit
C#
d732d276b1186ce2108c2a5c88a6c2ec45907284
Make activation delay customisable
ZLima12/osu,ppy/osu,ppy/osu,2yangk23/osu,EVAST9919/osu,smoogipooo/osu,peppy/osu,peppy/osu-new,johnneijzen/osu,UselessToucan/osu,EVAST9919/osu,johnneijzen/osu,2yangk23/osu,peppy/osu,NeoAdonis/osu,smoogipoo/osu,NeoAdonis/osu,UselessToucan/osu,UselessToucan/osu,peppy/osu,NeoAdonis/osu,smoogipoo/osu,ZLima12/osu,smoogipoo/o...
osu.Game/Graphics/Containers/HoldToConfirmContainer.cs
osu.Game/Graphics/Containers/HoldToConfirmContainer.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System; using osu.Framework.Bindables; using osu.Framework.Graphics; using osu.Framework.Graphics.Containers; namespace osu.Game.Graphics.Containers { public ...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System; using osu.Framework.Bindables; using osu.Framework.Graphics; using osu.Framework.Graphics.Containers; namespace osu.Game.Graphics.Containers { public ...
mit
C#
5569b1c3b8893e87d13bfff9ae355cb16b21d845
Add test to prove proper support for TimeSpan in AppSettings
CaioProiete/serilog,serilog/serilog,merbla/serilog,merbla/serilog,serilog/serilog
test/Serilog.Tests/Settings/SettingValueConversionsTests.cs
test/Serilog.Tests/Settings/SettingValueConversionsTests.cs
using System; using Serilog.Events; using Serilog.Formatting; using Serilog.Formatting.Json; using Serilog.Settings.KeyValuePairs; using Xunit; namespace Serilog.Tests.Settings { public class SettingValueConversionsTests { [Fact] public void ConvertibleValuesConvertToTIfTargetIsNullable() ...
using Serilog.Events; using Serilog.Formatting; using Serilog.Formatting.Json; using Serilog.Settings.KeyValuePairs; using Xunit; namespace Serilog.Tests.Settings { public class SettingValueConversionsTests { [Fact] public void ConvertibleValuesConvertToTIfTargetIsNullable() { ...
apache-2.0
C#
000e58ad73aeba2942a17979c0bcb26fab48e8c8
Remove comment parsing code from InkParser since it's now handled by the pre-parse step
ghostpattern/ink,inkle/ink,ghostpattern/ink,ivaylo5ev/ink,inkle/ink,ivaylo5ev/ink
inklecate2Sharp/Parser/InkParser_Whitespace.cs
inklecate2Sharp/Parser/InkParser_Whitespace.cs
using System; using System.Collections.Generic; namespace Inklewriter { public partial class InkParser { // Handles both newline and endOfFile protected object EndOfLine() { BeginRule(); object newlineOrEndOfFile = OneOf(Newline, EndOfFile); if( newlineOrEndOfFile == null ) { return FailRule(); ...
using System; using System.Collections.Generic; namespace Inklewriter { public partial class InkParser { // Automatically includes end of line comments due to newline // Handles both newline and endOfFile protected object EndOfLine() { BeginRule(); object newlineOrEndOfFile = OneOf(Newline, EndOfFile...
mit
C#
6b119d1ea9a7e7340fcc3bcac7a7d79bf5ba7c05
Update Program.cs
BenMCOB/Morser
Morser/Program.cs
Morser/Program.cs
using System; using System.Collections.Generic; namespace Morser { public class Program { static void Main(string[] args) { List<bool> _binaryData = new List<bool>(0); const int byteChunkSize = 1024*160; // Get morse code data strin...
using System; using System.Collections.Generic; namespace Morser { public class Program { static void Main(string[] args) { List<bool> _binaryData = new List<bool>(0); const int byteChunkSize = 1024*160; // Get morse code data strin...
mit
C#
d644c9c9bdb183ba3c0ecfb3939923ae20a59e19
Remove unused usings.
FacilityApi/FacilityCSharp
tests/Facility.ConformanceApi.UnitTests/ConformanceTests.cs
tests/Facility.ConformanceApi.UnitTests/ConformanceTests.cs
using System; using System.Collections.Generic; using System.IO; using System.Net; using System.Net.Http; using System.Threading; using System.Threading.Tasks; using Facility.ConformanceApi.Http; using Facility.ConformanceApi.Testing; using Facility.Core.Http; using NUnit.Framework; namespace Facility.ConformanceApi.U...
using System; using System.Collections.Generic; using System.IO; using System.Net; using System.Net.Http; using System.Threading; using System.Threading.Tasks; using Facility.ConformanceApi.Http; using Facility.ConformanceApi.Testing; using Facility.Core.Http; using NCrunch.Framework; using NUnit.Framework; using NUnit...
mit
C#
7de7748607c236838b5151eabe1f760d5650220e
Remove unnecessary nullability
NeoAdonis/osu,johnneijzen/osu,ppy/osu,johnneijzen/osu,UselessToucan/osu,peppy/osu-new,peppy/osu,UselessToucan/osu,smoogipooo/osu,NeoAdonis/osu,smoogipoo/osu,EVAST9919/osu,2yangk23/osu,NeoAdonis/osu,ppy/osu,ppy/osu,EVAST9919/osu,2yangk23/osu,peppy/osu,smoogipoo/osu,UselessToucan/osu,peppy/osu,smoogipoo/osu
osu.Game/Online/Chat/ExternalLinkOpener.cs
osu.Game/Online/Chat/ExternalLinkOpener.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.Configuration; using osu.Game.O...
// 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; using osu.Game.O...
mit
C#
b41a5ab09ab4cada8122938d14ab0d02eda85ee9
Throw better exceptions.
JohanLarsson/Gu.Units
Gu.Units/Internals/Parsing/XmlExt.cs
Gu.Units/Internals/Parsing/XmlExt.cs
namespace Gu.Units { using System.Reflection; using System.Xml; internal static class XmlExt { internal static void SetReadonlyField<T>(ref T self, string fieldName, XmlReader reader, string attributeName) where T : IQuantity { reader.MoveToContent(); ...
namespace Gu.Units { using System.Reflection; using System.Xml; internal static class XmlExt { internal static void SetReadonlyField<T>(ref T self, string fieldName, XmlReader reader, string attributeName) where T : IQuantity { reader.MoveToContent(); ...
mit
C#
6d10719b9ce281d7f1179cf7943cd553292d00e9
Fix comment in MssqlVersionProvider
canton7/Simple.Migrations,canton7/SimpleMigrations,canton7/SimpleMigrations,canton7/Simple.Migrations
src/Simple.Migrations/VersionProvider/MssqlVersionProvider.cs
src/Simple.Migrations/VersionProvider/MssqlVersionProvider.cs
namespace SimpleMigrations.VersionProvider { /// <summary> /// Class which can read from / write to a version table in an MSSQL database /// </summary> public class MssqlVersionProvider : VersionProviderBase { /// <summary> /// Gets or sets the name of the table to use. Defaults to ...
namespace SimpleMigrations.VersionProvider { /// <summary> /// Class which can read from / write to a version table in an SQLite database /// </summary> public class MssqlVersionProvider : VersionProviderBase { /// <summary> /// Gets or sets the name of the table to use. Defaults to...
mit
C#
f43e523c1a082eede8f1b991cad21caa168d8970
Update index.cshtml
KovalNikita/apmathcloud
SITE/index.cshtml
SITE/index.cshtml
@{ var txt = DateTime.Now; // C# int m = 1; int b = 1; double t_0 = 1; double t_end = 100; double z_0 = 0; double z_d = 10; double t1 = t_0; double t2 = t_end; double h = 0.1; double width = 0.05; var amplitudeRequest = Request.Params["amplitude"]; var amplitudeValue = 1; var clear = int.TryParse(amplitudeReques...
@{ double [] Solver(double []T,int n) { double [] X = new double [n]; return X; } var txt = DateTime.Now; // C# int m = 1; int b = 1; double t_0 = 1; double t_end = 100; double z_0 = 0; double z_d = 10; double t1 = t_0; double t2 = t_end; double h = 0.1; double width = 0.05; var amplitudeRequest = Request.Params[...
mit
C#
f3ca835c75131901148902fad3a0077113c603e1
Fix error
wieslawsoltes/Core2D,wieslawsoltes/Core2D,Core2D/Core2D,wieslawsoltes/Core2D,Core2D/Core2D,wieslawsoltes/Core2D
src/Core2D.Serializer.Xaml/XamlConstants.cs
src/Core2D.Serializer.Xaml/XamlConstants.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.Serializer.Xaml { public static class XamlConstants { public const string CoreNamespace = "https://github.com/wieslawsoltes/Core2...
// 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.Serializer.Xaml { public static class XamlConstants { public const string CoreNamespace = "https://github.com/wieslawsoltes/Core2...
mit
C#
9bb82bd15788b7683d12dc19abc2e10056b29610
Update unit tests
StefanBertels/language-ext,StanJav/language-ext,louthy/language-ext
LanguageExt.Tests/TypeClassMonoid.cs
LanguageExt.Tests/TypeClassMonoid.cs
using Xunit; using System.Linq; using LanguageExt.TypeClasses; using LanguageExt.Instances; using static LanguageExt.Prelude; using static LanguageExt.TypeClass; using LanguageExt; namespace LanguageExtTests { public class TypeClassMonoid { [Fact] public void IntMonoid() { ...
using Xunit; using System.Linq; using LanguageExt.TypeClasses; using LanguageExt.Instances; using static LanguageExt.Prelude; using static LanguageExt.TypeClass; using LanguageExt; namespace LanguageExtTests { public class TypeClassMonoid { [Fact] public void IntMonoid() { ...
mit
C#
8a6841e34b93ef6375f1fc33da5e0bdd253f7bf4
Update WebSocketClient base class to support IJsonProvider
sonvister/Binance
src/Binance/WebSocket/WebSocketClient.cs
src/Binance/WebSocket/WebSocketClient.cs
using System; using System.Threading; using System.Threading.Tasks; using Microsoft.Extensions.Logging; namespace Binance.WebSocket { public abstract class WebSocketClient : JsonProvider, IWebSocketClient { #region Public Events public event EventHandler<EventArgs> Open; public event...
using System; using System.Threading; using System.Threading.Tasks; using Binance.WebSocket.Events; using Microsoft.Extensions.Logging; namespace Binance.WebSocket { public abstract class WebSocketClient : IWebSocketClient { #region Public Events public event EventHandler<EventArgs> Open; ...
mit
C#
bb5811849e652546150a8d22beb5c949a02d779f
fix tostring indentation of stacktrace
nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet
WalletWasabi.Gui/CrashReporter/Models/SerializedException.cs
WalletWasabi.Gui/CrashReporter/Models/SerializedException.cs
using System; using System.Collections.Generic; using WalletWasabi.Helpers; namespace WalletWasabi.Gui.CrashReporter.Models { [Serializable] public class SerializedException { public string ExceptionType { get; set; } public string Message { get; set; } public string StackTrace { get; set; } public Serializ...
using System; using System.Collections.Generic; using WalletWasabi.Helpers; namespace WalletWasabi.Gui.CrashReporter.Models { [Serializable] public class SerializedException { public string ExceptionType { get; set; } public string Message { get; set; } public string StackTrace { get; set; } public Serializ...
mit
C#
fe7b2c686cceb10c94424150a39f89455225f37c
Improve xmldoc
peppy/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,smoogipooo/osu-framework,ZLima12/osu-framework,ppy/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,peppy/osu-framework,ZLima12/osu-framework
osu.Framework/Input/TouchEventManager.cs
osu.Framework/Input/TouchEventManager.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 System.Diagnostics; using osu.Framework.Graphics; using osu.Framework.Input.Events; using osu.Framework.Input.States; using osuTK...
// 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 System.Diagnostics; using osu.Framework.Graphics; using osu.Framework.Input.Events; using osu.Framework.Input.States; using osuTK...
mit
C#
90d69c121625ddc69e88b5a232e7c4f6afa51076
Allow legacy score to be constructed even if replay file is missing
peppy/osu,smoogipoo/osu,peppy/osu,peppy/osu-new,ppy/osu,smoogipoo/osu,UselessToucan/osu,UselessToucan/osu,NeoAdonis/osu,NeoAdonis/osu,UselessToucan/osu,ppy/osu,smoogipoo/osu,peppy/osu,smoogipooo/osu,NeoAdonis/osu,ppy/osu
osu.Game/Scoring/LegacyDatabasedScore.cs
osu.Game/Scoring/LegacyDatabasedScore.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System; using System.Linq; using osu.Framework.IO.Stores; using osu.Game.Beatmaps; using osu.Game.Rulesets; using osu.Game.Scoring.Legacy; namespace osu.Game.Scori...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System; using System.Linq; using osu.Framework.IO.Stores; using osu.Game.Beatmaps; using osu.Game.Rulesets; using osu.Game.Scoring.Legacy; namespace osu.Game.Scori...
mit
C#
6c76473636b095487b7c05eda4d553bdc4e97e3d
Revert "Switch off the default diagnostic provider"
nicklv/Nancy,damianh/Nancy,tparnell8/Nancy,Novakov/Nancy,tareq-s/Nancy,asbjornu/Nancy,ccellar/Nancy,adamhathcock/Nancy,duszekmestre/Nancy,jonathanfoster/Nancy,duszekmestre/Nancy,jonathanfoster/Nancy,fly19890211/Nancy,wtilton/Nancy,jchannon/Nancy,jmptrader/Nancy,dbolkensteyn/Nancy,sadiqhirani/Nancy,AIexandr/Nancy,sroyla...
src/Nancy/Diagnostics/DefaultDiagnostics.cs
src/Nancy/Diagnostics/DefaultDiagnostics.cs
namespace Nancy.Diagnostics { using System.Collections.Generic; using ModelBinding; using Nancy.Bootstrapper; using Responses.Negotiation; using Nancy.Culture; /// <summary> /// Wires up the diagnostics support at application startup. /// </summary> public class DefaultD...
namespace Nancy.Diagnostics { using System.Collections.Generic; using System.Linq; using ModelBinding; using Nancy.Bootstrapper; using Responses.Negotiation; using Nancy.Culture; /// <summary> /// Wires up the diagnostics support at application startup. /// </summary> ...
mit
C#
be8eb25136821ced46de5796c1a961266e3b3979
Add endpoint to get all instances
mvno/Okanshi.Dashboard,mvno/Okanshi.Dashboard,mvno/Okanshi.Dashboard,mvno/Okanshi.Dashboard
src/Okanshi.Dashboard/DashboardModule.cs
src/Okanshi.Dashboard/DashboardModule.cs
using Nancy; using Okanshi.Dashboard.Models; namespace Okanshi.Dashboard { public class DashboardModule : NancyModule { private readonly IGetHealthChecks _getHealthChecks; public DashboardModule(IConfiguration configuration, IGetMetrics getMetrics, IGetHealthChecks getHealthChecks) { _getHealthChecks = ge...
using Nancy; using Okanshi.Dashboard.Models; namespace Okanshi.Dashboard { public class DashboardModule : NancyModule { private readonly IGetHealthChecks _getHealthChecks; public DashboardModule(IConfiguration configuration, IGetMetrics getMetrics, IGetHealthChecks getHealthChecks) { _getHealthChecks = ge...
mit
C#
d9e23f70f05a9f17a462fe70f197632229cbfa74
update Model.cs
grokify/ringcentral-sdk-csharp-simple
src/RingCentralSimple.Api/Model/Model.cs
src/RingCentralSimple.Api/Model/Model.cs
using System; using System.Collections.Generic; using Newtonsoft.Json; namespace RingCentralSimple.Model { public class Base { public string ToJson() { return JsonConvert.SerializeObject( this, Formatting.None, new Json...
using System; using System.Collections.Generic; using Newtonsoft.Json; namespace RingCentralSimple.Model { public class Base { public string ToJson() { return JsonConvert.SerializeObject(this); } } } namespace RingCentralSimple.Model { public cla...
mit
C#
9152c632d90a5c844328257526fa5510e50c1c16
add more cases to Method_order tests
JakeGinnivan/ApiApprover
src/PublicApiGeneratorTests/Method_order.cs
src/PublicApiGeneratorTests/Method_order.cs
using PublicApiGeneratorTests.Examples; using Xunit; namespace PublicApiGeneratorTests { public class Method_order : ApiGeneratorTestsBase { [Fact] public void Should_be_alphabetical_order() { AssertPublicApi<MethodOrdering>( @"namespace PublicApiGeneratorTests.Examples { ...
using PublicApiGeneratorTests.Examples; using Xunit; namespace PublicApiGeneratorTests { public class Method_order : ApiGeneratorTestsBase { [Fact] public void Should_be_alphabetical_order() { AssertPublicApi<MethodOrdering>( @"namespace PublicApiGeneratorTests.Examples { ...
mit
C#
48f9b7f5bcfc987f4e1310e4ae670c2583be6919
Add a getter
picrap/dnlib,kiootic/dnlib,jorik041/dnlib,Arthur2e5/dnlib,yck1509/dnlib,ilkerhalil/dnlib,modulexcite/dnlib,0xd4d/dnlib,ZixiangBoy/dnlib
dot10/dotNET/MDTable.cs
dot10/dotNET/MDTable.cs
using System; using System.IO; using dot10.IO; namespace dot10.dotNET { /// <summary> /// A MD table (eg. Method table) /// </summary> public sealed class MDTable : IDisposable { uint numRows; TableInfo tableInfo; IImageStream imageStream; /// <summary> /// Returns total number of rows /// </summary>...
using System; using System.IO; using dot10.IO; namespace dot10.dotNET { /// <summary> /// A MD table (eg. Method table) /// </summary> public sealed class MDTable : IDisposable { uint numRows; TableInfo tableInfo; IImageStream imageStream; /// <summary> /// Returns total number of rows /// </summary>...
mit
C#
88b1e8c004706c4a06b43a264e9c118092e50a61
replace message type in MessageReceivedEvent
TakeAsh/cs-p2pChat
p2pChat/MessageReceivedEvent.cs
p2pChat/MessageReceivedEvent.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using TakeAshUtility; namespace p2pChat { public class MessageReceivedEventArgs : EventArgs { public MessageReceivedEventArgs(ChatMessage message) { Message = message; } ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using TakeAshUtility; namespace p2pChat { public class MessageReceivedEventArgs : EventArgs { public MessageReceivedEventArgs(string message) { Message = message; } p...
mit
C#
be3428350ca775e6d321592098849a19913d2c51
Update to version 1.1
jamesfoster/DeepEqual
src/DeepEqual/Properties/AssemblyInfo.cs
src/DeepEqual/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("De...
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("De...
mit
C#
3f44897e20822038fb2cec5adabc47ccb5720f3d
change ICollection<INotification> _domainEvents
linfx/LinFx,linfx/LinFx
src/LinFx/Domain/Models/AggregateRoot.cs
src/LinFx/Domain/Models/AggregateRoot.cs
using MediatR; using System.Collections.Generic; namespace LinFx.Domain.Models { /// <summary> /// 聚合根 /// </summary> public abstract class AggregateRoot : Entity, IAggregateRoot { private ICollection<INotification> _domainEvents; public void AddDomainEvent(INotification eventItem...
using MediatR; using System.Collections.Generic; namespace LinFx.Domain.Models { /// <summary> /// 聚合根 /// </summary> public abstract class AggregateRoot : Entity, IAggregateRoot { private List<INotification> _domainEvents; public void AddDomainEvent(INotification eventItem) ...
mit
C#
7cccf9064e240e31f0fb0ffeccd95fec2b06af1b
Add multi-span support to CompilationFactory
terrajobst/nquery-vnext
src/NQuery.Testing/CompilationFactory.cs
src/NQuery.Testing/CompilationFactory.cs
using System; using System.Collections.Immutable; using NQuery.Text; namespace NQuery { public static class CompilationFactory { private static readonly DataContext DataContext = NorthwindDataContext.Instance; public static Compilation CreateQuery(string query) { var synta...
using System; using NQuery.Text; namespace NQuery { public static class CompilationFactory { private static readonly DataContext DataContext = NorthwindDataContext.Instance; public static Compilation CreateQuery(string query) { var syntaxTree = SyntaxTree.ParseQuery(query)...
mit
C#
12f792d1c0740ccd5e0334dc1d9740b776f83fb2
Fix PCL implementation of Reset
yonglehou/Polly,cicorias/Polly,manastalukdar/Polly,mauricedb/Polly,czerwonkabartosz/Polly,joelhulen/Polly,alphaleonis/Polly,michael-wolfenden/Polly
src/Polly.Net35/Utilities/SystemClock.cs
src/Polly.Net35/Utilities/SystemClock.cs
using System; using System.Threading; namespace Polly.Utilities { /// <summary> /// Time related delegates used to improve testability of the code /// </summary> public static class SystemClock { #if !PORTABLE /// <summary> /// Allows the setting of a custom Thread.Sleep implementa...
using System; using System.Threading; #if PORTABLE using System.Threading.Tasks; #endif namespace Polly.Utilities { /// <summary> /// Time related delegates used to improve testability of the code /// </summary> public static class SystemClock { /// <summary> /// Allows the settin...
bsd-3-clause
C#
6ac968207c2490eb2f07765f35dbd45027c6abc9
update about page
tugberkugurlu/tugberk-web,tugberkugurlu/tugberk-web,tugberkugurlu/tugberk-web,tugberkugurlu/tugberk-web
src/Tugberk.Web/Views/About/Index.cshtml
src/Tugberk.Web/Views/About/Index.cshtml
<div class="about-holder"> <div class="row"> <div class="col"> <h2>About Tugberk Ugurlu</h2> </div> </div> <div class="row"> <div class="col"> <figure class="figure"> <img src="/images/IMG_4060.JPG" class="figure-img img-fluid" alt="Tugberk in...
<div class="about-holder"> <div class="row"> <div class="col"> <h2>About Tugberk Ugurlu</h2> </div> </div> <div class="row"> <div class="col"> <figure class="figure"> <img src="/images/IMG_4060.JPG" class="figure-img img-fluid" alt="Tugberk in...
agpl-3.0
C#
b36b89a718191d1e5fe396a2f4b873941890d5bc
Fix #2340 backwards took calculation on Audit ToString impl
CSGOpenSource/elasticsearch-net,adam-mccoy/elasticsearch-net,elastic/elasticsearch-net,CSGOpenSource/elasticsearch-net,elastic/elasticsearch-net,adam-mccoy/elasticsearch-net,adam-mccoy/elasticsearch-net,CSGOpenSource/elasticsearch-net
src/Elasticsearch.Net/Auditing/Audit.cs
src/Elasticsearch.Net/Auditing/Audit.cs
using System; namespace Elasticsearch.Net { public class Audit { public AuditEvent Event { get; internal set; } public DateTime Started { get; } public DateTime Ended { get; internal set; } public Node Node { get; internal set; } public string Path { get; internal set; } public Exception Exception { get;...
using System; namespace Elasticsearch.Net { public class Audit { public AuditEvent Event { get; internal set; } public DateTime Started { get; } public DateTime Ended { get; internal set; } public Node Node { get; internal set; } public string Path { get; internal set; } public Exception Exception { get;...
apache-2.0
C#
81353dfcc725f4acdfba058e61a53e82ad1209e2
fix mainwindow caption
MetacoSA/Metaco-Trader,NicolasDorier/PowerWallet,MetacoSA/PowerWallet
PowerWallet/App.xaml.cs
PowerWallet/App.xaml.cs
using NBitcoin; using PowerWallet.Modules; using PowerWallet.ViewModel; using System; using System.Collections.Generic; using System.ComponentModel.Composition.Hosting; using System.ComponentModel.Composition.Primitives; using System.ComponentModel.Composition; using System.Configuration; using System.Data; using Syst...
using NBitcoin; using PowerWallet.Modules; using PowerWallet.ViewModel; using System; using System.Collections.Generic; using System.ComponentModel.Composition.Hosting; using System.ComponentModel.Composition.Primitives; using System.ComponentModel.Composition; using System.Configuration; using System.Data; using Syst...
mit
C#
015a2aed966dd6a2e217675706ac062413926fe9
Increase FileVersion to 4.0.7
CslaGenFork/CslaGenFork,CslaGenFork/CslaGenFork,CslaGenFork/CslaGenFork,CslaGenFork/CslaGenFork
trunk/Solutions/CslaGenFork/Properties/AssemblyInfo.cs
trunk/Solutions/CslaGenFork/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: Ass...
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: Ass...
mit
C#
8dd7c85762e9d5d9b64de77ee6686ce98dbf42b7
Add Path property to exception
khellang/Middleware,khellang/Middleware
src/SpaFallback/SpaFallbackException.cs
src/SpaFallback/SpaFallbackException.cs
using System; using System.Text; using Microsoft.AspNetCore.Http; namespace Hellang.Middleware.SpaFallback { public class SpaFallbackException : Exception { private const string Fallback = nameof(SpaFallbackExtensions.UseSpaFallback); private const string StaticFiles = "UseStaticFiles"; ...
using System; using System.Text; using Microsoft.AspNetCore.Http; namespace Hellang.Middleware.SpaFallback { public class SpaFallbackException : Exception { private const string Fallback = nameof(SpaFallbackExtensions.UseSpaFallback); private const string StaticFiles = "UseStaticFiles"; ...
mit
C#
49f9cf38156d1d1d4333b89e49c9b2bf5861e4c3
Ajuste para numeros long
kleberksms/StaticCommons
src/StaticCommons/Validation/Numeric.cs
src/StaticCommons/Validation/Numeric.cs
using System; namespace StaticCommons.Validation { public static class Numeric { static Numeric(){} public static bool StringIsAnNumber(string input) { int value; long value64; return int.TryParse(input, out value) || long.TryParse(input, out value64...
namespace StaticCommons.Validation { public static class Numeric { static Numeric(){} public static bool StringIsAnNumber(string input) { int value; return int.TryParse(input, out value); } } }
mit
C#
8a5fd76f4f4bdae9be569c0752a4250a47c1a0d8
Fix mistyped field in `PROPVARIANT`
stakx/stakx.WIC.Interop,stakx/stakx.WIC
stakx.WIC.Interop/Structures/PROPVARIANT.cs
stakx.WIC.Interop/Structures/PROPVARIANT.cs
using System; using System.Runtime.InteropServices; namespace stakx.WIC.Interop { [StructLayout(LayoutKind.Sequential, Pack = 8)] public struct PROPVARIANT { public VARTYPE Type; public PROPVARIANT_Value Value; } [StructLayout(LayoutKind.Explicit)] public struct PROPVARIANT_Va...
using System; using System.Runtime.InteropServices; namespace stakx.WIC.Interop { [StructLayout(LayoutKind.Sequential, Pack = 8)] public struct PROPVARIANT { public VARTYPE Type; public PROPVARIANT_Value Value; } [StructLayout(LayoutKind.Explicit)] public struct PROPVARIANT_Va...
mit
C#
c690d5f3bab8c67f47365f2b83f222633505a6e6
Add clarifying comment in ValueEditorCache
JimBobSquarePants/Umbraco-CMS,arknu/Umbraco-CMS,abjerner/Umbraco-CMS,KevinJump/Umbraco-CMS,marcemarc/Umbraco-CMS,umbraco/Umbraco-CMS,robertjf/Umbraco-CMS,dawoe/Umbraco-CMS,dawoe/Umbraco-CMS,KevinJump/Umbraco-CMS,arknu/Umbraco-CMS,dawoe/Umbraco-CMS,JimBobSquarePants/Umbraco-CMS,marcemarc/Umbraco-CMS,arknu/Umbraco-CMS,ro...
src/Umbraco.Core/Cache/ValueEditorCache.cs
src/Umbraco.Core/Cache/ValueEditorCache.cs
using System.Collections.Generic; using System.Linq; using Umbraco.Cms.Core.Events; using Umbraco.Cms.Core.Models; using Umbraco.Cms.Core.Notifications; using Umbraco.Cms.Core.PropertyEditors; namespace Umbraco.Cms.Core.Cache { public class ValueEditorCache : IValueEditorCache, INotificationHandler<DataTy...
using System.Collections.Generic; using System.Linq; using Umbraco.Cms.Core.Events; using Umbraco.Cms.Core.Models; using Umbraco.Cms.Core.Notifications; using Umbraco.Cms.Core.PropertyEditors; namespace Umbraco.Cms.Core.Cache { public class ValueEditorCache : IValueEditorCache, INotificationHandler<DataTy...
mit
C#
1e00171578134fc2a5c09dfeb1cac80be207e4ea
Update S3Exception to inherit from AwsException
carbon/Amazon
src/Amazon.S3/Exceptions/S3Exception.cs
src/Amazon.S3/Exceptions/S3Exception.cs
using System.Net; using Amazon.Exceptions; using Amazon.Scheduling; namespace Amazon.S3; public sealed class S3Exception : AwsException, IException { private readonly S3Error? _error; public S3Exception(string message, HttpStatusCode statusCode) : base(message, statusCode) { } pub...
using System.Net; using Amazon.Scheduling; namespace Amazon.S3; // TODO: Inhert from AwsException public sealed class S3Exception : Exception, IException { public S3Exception(string message, HttpStatusCode statusCode) : base(message) { HttpStatusCode = statusCode; } ...
mit
C#
3b79faac3d4d12122832f9fb1acce0a734c0f659
Initialize CreateCommand with an GitExecutor
appharbor/appharbor-cli
src/AppHarbor/Commands/CreateCommand.cs
src/AppHarbor/Commands/CreateCommand.cs
using System; using System.Linq; namespace AppHarbor.Commands { public class CreateCommand : ICommand { private readonly IAppHarborClient _appHarborClient; private readonly ApplicationConfiguration _applicationConfiguration; private readonly GitExecutor _gitExecutor; public CreateCommand(IAppHarborClient a...
using System; using System.Linq; namespace AppHarbor.Commands { public class CreateCommand : ICommand { private readonly IAppHarborClient _appHarborClient; private readonly ApplicationConfiguration _applicationConfiguration; public CreateCommand(IAppHarborClient appHarborClient, ApplicationConfiguration appl...
mit
C#
44089b368fb86105e3ebdc9c6c5b67cf95657264
Set CreateOnly to false by defaultso publish is true by default.
xero-github/Nuget,pratikkagda/nuget,dolkensp/node.net,GearedToWar/NuGet2,pratikkagda/nuget,pratikkagda/nuget,antiufo/NuGet2,xoofx/NuGet,kumavis/NuGet,atheken/nuget,jmezach/NuGet2,RichiCoder1/nuget-chocolatey,jmezach/NuGet2,mrward/nuget,alluran/node.net,rikoe/nuget,jholovacs/NuGet,alluran/node.net,zskullz/nuget,pratikka...
src/CommandLine/Commands/PushCommand.cs
src/CommandLine/Commands/PushCommand.cs
using System; using System.Collections.Generic; using System.ComponentModel.Composition; using System.IO; using NuGet.Common; namespace NuGet.Commands { [Export(typeof(ICommand))] [Command(typeof(NuGetResources), "push", "PushCommandDescription", AltName="pu", MinArgs = 2, MaxArgs = 2, UsageD...
using System; using System.Collections.Generic; using System.ComponentModel.Composition; using System.IO; using NuGet.Common; namespace NuGet.Commands { [Export(typeof(ICommand))] [Command(typeof(NuGetResources), "push", "PushCommandDescription", AltName="pu", MinArgs = 2, MaxArgs = 2, UsageD...
apache-2.0
C#
3077702c532f33f3577a77607a2a111c59db962a
Fix working directory for lldb launch.
faxue-msft/MIEngine,pieandcakes/MIEngine,edumunoz/MIEngine,faxue-msft/MIEngine,csiusers/MIEngine,pieandcakes/MIEngine,orbitcowboy/MIEngine,rajkumar42/MIEngine,rajkumar42/MIEngine,chuckries/MIEngine,Microsoft/MIEngine,orbitcowboy/MIEngine,chuckries/MIEngine,chuckries/MIEngine,edumunoz/MIEngine,csiusers/MIEngine,orbitcow...
src/MICore/Transports/LocalTransport.cs
src/MICore/Transports/LocalTransport.cs
// Copyright (c) Microsoft. 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.Text; using System.Threading; using System.Diagnostics; using System.IO; using System.Collections.Speciali...
// Copyright (c) Microsoft. 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.Text; using System.Threading; using System.Diagnostics; using System.IO; using System.Collections.Speciali...
mit
C#
d14dca7bbb20ceb58bf63dfde0de556f82cbccd6
Remove forced height for testing
gestaoaju/commerce,gestaoaju/commerce
src/Views/App/Dashboard/Overview.cshtml
src/Views/App/Dashboard/Overview.cshtml
@* * Copyright (c) gestaoaju.com.br - All rights reserved. * Licensed under MIT (https://github.com/gestaoaju/commerce/blob/master/LICENSE). *@ @{ Layout = "~/Views/Shared/_AppLayout.cshtml"; } @section scripts { <script type="text/javascript" src="/js/overview.min.js" asp-append-version="true"></script> } <d...
@* * Copyright (c) gestaoaju.com.br - All rights reserved. * Licensed under MIT (https://github.com/gestaoaju/commerce/blob/master/LICENSE). *@ @{ Layout = "~/Views/Shared/_AppLayout.cshtml"; } @section scripts { <script type="text/javascript" src="/js/overview.min.js" asp-append-version="true"></script> } <d...
mit
C#
dd544f54b52423622aeadf2452608661b8af8bd5
Remove unused usings
mvno/Okanshi.Dashboard,mvno/Okanshi.Dashboard,mvno/Okanshi.Dashboard,mvno/Okanshi.Dashboard
src/Okanshi.Dashboard/InMemoryConfiguration.cs
src/Okanshi.Dashboard/InMemoryConfiguration.cs
using System.Collections.Generic; namespace Okanshi.Dashboard { public class InMemoryConfiguration : IConfiguration { private static readonly List<OkanshiServer> _configuration = new List<OkanshiServer>(); public void Add(OkanshiServer server) { _configuration.Add(server); } public IEnumerable<Okans...
using System; using System.Collections.Generic; using System.Linq; namespace Okanshi.Dashboard { public class InMemoryConfiguration : IConfiguration { private static readonly List<OkanshiServer> _configuration = new List<OkanshiServer>(); public void Add(OkanshiServer server) { _configuration.Add(server)...
mit
C#
86147cec5da485786668cb607fe12ad2451ce0de
Include EnpointName in logging context
ucdavis/Purchasing,ucdavis/Purchasing,ucdavis/Purchasing
Purchasing.Mvc/Logging/SerilogControllerActionFilter.cs
Purchasing.Mvc/Logging/SerilogControllerActionFilter.cs
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc.Filters; using Serilog; namespace Purchasing.Mvc.Logging { public class SerilogControllerActionFilter : IActionFilter { private readonly IDiag...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc.Filters; using Serilog; namespace Purchasing.Mvc.Logging { public class SerilogControllerActionFilter : IActionFilter { private readonly IDiagnosticContext _diagnosticContext;...
mit
C#
f49196712021ad8dd440dae824efe0a3961c9e48
Add google analytics tracking code.
ivanz/TraktorPlaylistExporter
TraktorPlaylistExporter.Web/Views/Shared/_Layout.cshtml
TraktorPlaylistExporter.Web/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</title> @Styles.Render("~/Content/css") @Scripts.Render("~/bundles/modernizr") </head> <body> <div class="container body-content"> ...
<!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>@ViewBag.Title</title> @Styles.Render("~/Content/css") @Scripts.Render("~/bundles/modernizr") </head> <body> <div class="container body-content"> ...
mit
C#
98d6af52b9c763e71383c540e39c6194c9815c1b
Edit it
jogibear9988/websocket-sharp,sta/websocket-sharp,sta/websocket-sharp,jogibear9988/websocket-sharp,jogibear9988/websocket-sharp,sta/websocket-sharp,sta/websocket-sharp,jogibear9988/websocket-sharp
websocket-sharp/Server/IWebSocketSession.cs
websocket-sharp/Server/IWebSocketSession.cs
#region License /* * IWebSocketSession.cs * * The MIT License * * Copyright (c) 2013-2014 sta.blockhead * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, includi...
#region License /* * IWebSocketSession.cs * * The MIT License * * Copyright (c) 2013-2014 sta.blockhead * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, includi...
mit
C#
86a51e8adeedacda86369b2c6bdfe554bc8e1759
Fix path to compiled lib
JonDouglas/XamarinComponents,topgenorth/XamarinComponents,topgenorth/XamarinComponents,xamarin/XamarinComponents,xamarin/XamarinComponents,bholmes/XamarinComponents,xamarin/XamarinComponents,JonDouglas/XamarinComponents,topgenorth/XamarinComponents,xamarin/XamarinComponents,bholmes/XamarinComponents,bholmes/XamarinComp...
Android/AndroidThings/build.cake
Android/AndroidThings/build.cake
#addin nuget:?package=Cake.Xamarin.Build #addin nuget:?package=Cake.Xamarin var TARGET = Argument ("t", Argument ("target", "Default")); var NUGET_VERSION = "0.1-devpreview"; var JAR_VERSION = "0.1-devpreview"; var JAR_URL = string.Format ("https://bintray.com/google/androidthings/download_file?file_path=com%2Fgoogl...
#addin nuget:?package=Cake.Xamarin.Build #addin nuget:?package=Cake.Xamarin var TARGET = Argument ("t", Argument ("target", "Default")); var NUGET_VERSION = "0.1-devpreview"; var JAR_VERSION = "0.1-devpreview"; var JAR_URL = string.Format ("https://bintray.com/google/androidthings/download_file?file_path=com%2Fgoogl...
mit
C#
fb6973e26452f7e100a19879f6a2efb3eb5824bf
Remove rechargeAmount
andrewjleavitt/SpaceThing
Assets/Scripts/ShieldBehavior.cs
Assets/Scripts/ShieldBehavior.cs
using UnityEngine; public class ShieldBehavior { public float amount = 0.0f; public float rechargeRate = 0.0f; private float capacity = 0.0f; private float nextRecharge = 0.0f; private string shieldName; public ShieldBehavior(string newShieldName, float newCapacity, float newRechargeAmount,...
using UnityEngine; public class ShieldBehavior { public float amount = 0.0f; public float rechargeAmount = 0.0f; public float rechargeRate = 0.0f; private float capacity = 0.0f; private float nextRecharge = 0.0f; private string shieldName; public ShieldBehavior(string newShieldName, flo...
unlicense
C#
e6030a8b7cc225f2b4efb2243d85e35768388b8d
Update Logos.Git version (for new dependencies).
LogosBible/LogosGit
src/Logos.Git/Properties/AssemblyInfo.cs
src/Logos.Git/Properties/AssemblyInfo.cs
using System; using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyTitle("Logos.Git")] [assembly: AssemblyDescription("Utility code for working with local git repos and the GitHub web API.")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("Logos Bible Software")] [assemb...
using System; using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyTitle("Logos.Git")] [assembly: AssemblyDescription("Utility code for working with local git repos and the GitHub web API.")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("Logos Bible Software")] [assemb...
mit
C#
609bdf47196316634c913ce11d949262c60ee1d0
add extra body extend test
r2i-sitecore/dotless,rytmis/dotless,r2i-sitecore/dotless,r2i-sitecore/dotless,dotless/dotless,r2i-sitecore/dotless,rytmis/dotless,r2i-sitecore/dotless,rytmis/dotless,modulexcite/dotless,rytmis/dotless,modulexcite/dotless,modulexcite/dotless,modulexcite/dotless,modulexcite/dotless,rytmis/dotless,modulexcite/dotless,rytm...
src/dotless.Test/Specs/ExtendFixture.cs
src/dotless.Test/Specs/ExtendFixture.cs
using dotless.Core.Parser.Infrastructure; namespace dotless.Test.Specs { using System.Collections.Generic; using NUnit.Framework; public class ExtendFixture : SpecFixtureBase { [Test] public void ExtendSelector() { string input = @"nav ul:extend(.inline) { backgr...
using dotless.Core.Parser.Infrastructure; namespace dotless.Test.Specs { using System.Collections.Generic; using NUnit.Framework; public class ExtendFixture : SpecFixtureBase { [Test] public void ExtendSelector() { string input = @"nav ul:extend(.inline) { backgr...
apache-2.0
C#
22e91e7a925bfcdd69be61b0324f6bc3da5ad8ab
add configure await sample
Fody/FodyAddinSamples,bcuff/FodyAddinSamples,Fody/FodyAddinSamples
ConfigureAwaitSample/ConfigureAwaitSample.cs
ConfigureAwaitSample/ConfigureAwaitSample.cs
using System.Threading; using System.Threading.Tasks; using Fody; using NUnit.Framework; [TestFixture] [ConfigureAwait(false)] public class ConfigureAwaitSample { [Test] public async void Run() { var beforeAwaitId = Thread.CurrentThread.ManagedThreadId; await Task.Delay(30); Assert...
using System.Threading; using System.Threading.Tasks; using Fody; using NUnit.Framework; [TestFixture] [ConfigureAwait(false)] public class ConfigureAwaitSample { [Test] public async void Run() { var beforeAwaitId = Thread.CurrentThread.ManagedThreadId; await Task.Delay(30); Assert...
mit
C#
a7ca3deb62104a77d092fb7dda5a992d13b8a0fd
change turret BlendColor to Black
billtowin/mega-epic-super-tankz,billtowin/mega-epic-super-tankz
modules/myModule/scripts/enemy/turret.cs
modules/myModule/scripts/enemy/turret.cs
function createTurret(%x_pos, %y_pos, %range, %angle) { // Create the sprite. %turret = new Sprite() { class = Turret; Image = "ToyAssets:HollowArrow"; BodyType = dynamic; BlendColor = "Black"; LinearDamping = 100; Position = %x_pos SPC %y_pos; Angle = %angle; Si...
function createTurret(%x_pos, %y_pos, %range, %angle) { // Create the sprite. %turret = new Sprite() { class = Turret; Image = "ToyAssets:HollowArrow"; BodyType = dynamic; LinearDamping = 100; Position = %x_pos SPC %y_pos; Angle = %angle; Size = 3; SceneLayer = 2...
mit
C#
133721888b52153dc563ed35c76bc105c8f96cf7
Correct test for TeamCity status
beeker/FAKE,MiloszKrajewski/FAKE,beeker/FAKE,beeker/FAKE,MiloszKrajewski/FAKE,MiloszKrajewski/FAKE,MiloszKrajewski/FAKE,beeker/FAKE
src/test/Test.FAKECore/TeamCitySpecs.cs
src/test/Test.FAKECore/TeamCitySpecs.cs
using System.Collections.Generic; using System.Linq; using Fake; using Machine.Specifications; namespace Test.FAKECore { public class when_encapsuting_strings { It should_encapsulate_without_special_chars = () => TeamCityHelper.EncapsulateSpecialChars("Total 47, Failures 1, NotRun 0, Incon...
using System.Collections.Generic; using System.Linq; using Fake; using Machine.Specifications; namespace Test.FAKECore { public class when_encapsuting_strings { It should_encapsulate_without_special_chars = () => TeamCityHelper.EncapsulateSpecialChars("Total 47, Failures 1, NotRun 0, Incon...
apache-2.0
C#
cc4df1b890198175155550b00cd123e557861394
Format contribution info as annotation
cake-contrib/Cake.Issues.Website,cake-contrib/Cake.Issues.Website,cake-contrib/Cake.Issues.Website
input/docs/index.cshtml
input/docs/index.cshtml
--- Title: Documentation --- <div class="alert alert-info"> <p> We gladly accept your contributions. If there is something that you would like to add then you can edit the content directly on GitHub. </p> </div> @foreach(IDocument child in Model.DocumentList(Keys.Children).OrderBy(x => x.Get<int>(Docs...
--- Title: Documentation --- <p> We gladly accept your contributions. If there is something that you would like to add then you can edit the content directly on GitHub. </p> @foreach(IDocument child in Model.DocumentList(Keys.Children).OrderBy(x => x.Get<int>(DocsKeys.Order, 1000))) { <h1>@(child.String(Keys.T...
mit
C#
d429caf9975b283348e743c1e7eccef4b7ce5665
Update ServiceCollectionApplier.cs
mrahhal/MR.AttributeDI
src/MR.AttributeDI.ServiceCollection/ServiceCollectionApplier.cs
src/MR.AttributeDI.ServiceCollection/ServiceCollectionApplier.cs
using System; using Microsoft.Extensions.DependencyInjection; namespace MR.AttributeDI.ServiceCollection { /// <summary> /// An applier for Microsoft's <see cref="IServiceCollection"/>. /// </summary> public class ServiceCollectionApplier : IApplier { private readonly IServiceCollection _services; public Se...
using System; using Microsoft.Extensions.DependencyInjection; namespace MR.AttributeDI.ServiceCollection { /// <summary> /// An applier for Microsoft's <see cref="IServiceCollection"/>. /// </summary> public class ServiceCollectionApplier : IApplier { private IServiceCollection _services; public ServiceColl...
mit
C#
226eefcc5c0a87d26962b4c22b68b2e53211535e
Add note about hash storage
ppy/osu,ppy/osu,peppy/osu,ppy/osu,peppy/osu,peppy/osu
osu.Game/Collections/BeatmapCollection.cs
osu.Game/Collections/BeatmapCollection.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System; using System.Collections.Generic; using JetBrains.Annotations; using osu.Game.Beatmaps; using osu.Game.Database; using Realms; namespace osu.Game.Collectio...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System; using System.Collections.Generic; using JetBrains.Annotations; using osu.Game.Beatmaps; using osu.Game.Database; using Realms; namespace osu.Game.Collectio...
mit
C#
9344897542ff6b6463d8377d61f63b3ec0c8b5b3
Split session statics reset method to prevent unloading seasonal backgrounds while idle
NeoAdonis/osu,NeoAdonis/osu,peppy/osu,ppy/osu,NeoAdonis/osu,peppy/osu,ppy/osu,ppy/osu,peppy/osu
osu.Game/Configuration/SessionStatics.cs
osu.Game/Configuration/SessionStatics.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; using osu.Game.Graphics.UserInterface; using osu.Game.Online.API.Requests.Responses; using osu.Game.Overlays; namespace osu.Game.Configur...
// 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; using osu.Game.Graphics.UserInterface; using osu.Game.Online.API.Requests.Responses; using osu.Game.Overlays; namespace osu.Game.Configur...
mit
C#
8f4d3e8f3e432fe3bf15d0117714c655e1a00905
bump to 3.16.0
AzureAD/microsoft-authentication-library-for-dotnet,AzureAD/microsoft-authentication-library-for-dotnet,AzureAD/azure-activedirectory-library-for-dotnet,AzureAD/microsoft-authentication-library-for-dotnet,AzureAD/microsoft-authentication-library-for-dotnet
src/ADAL.Common/CommonAssemblyInfo.cs
src/ADAL.Common/CommonAssemblyInfo.cs
//------------------------------------------------------------------------------ // // Copyright (c) Microsoft Corporation. // All rights reserved. // // This code is licensed under the MIT License. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated doc...
//------------------------------------------------------------------------------ // // Copyright (c) Microsoft Corporation. // All rights reserved. // // This code is licensed under the MIT License. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated doc...
mit
C#
6cee7e1a5a9feb72e1835e960c2fee50fd01cb25
升级版本到2.3.4
tangxuehua/equeue,geffzhang/equeue,geffzhang/equeue,tangxuehua/equeue,tangxuehua/equeue
src/EQueue/Properties/AssemblyInfo.cs
src/EQueue/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.InteropServices; // 有关程序集的常规信息通过以下 // 特性集控制。更改这些特性值可修改 // 与程序集关联的信息。 [assembly: AssemblyTitle("EQueue")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProduct("EQueue")] [assembly: AssemblyCopy...
using System.Reflection; using System.Runtime.InteropServices; // 有关程序集的常规信息通过以下 // 特性集控制。更改这些特性值可修改 // 与程序集关联的信息。 [assembly: AssemblyTitle("EQueue")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProduct("EQueue")] [assembly: AssemblyCopy...
mit
C#
a7f2d06b4ad73ff664e1b0cc8e0086c57b214c60
update HelloWorld example
jingwood/d2dlib,jingwood/d2dlib,jingwood/d2dlib
src/Examples/SampleCode/HelloWorld.cs
src/Examples/SampleCode/HelloWorld.cs
/* * MIT License * * Copyright (c) 2009-2018 Jingwood, unvell.com. All right reserved. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the...
/* * MIT License * * Copyright (c) 2009-2018 Jingwood, unvell.com. All right reserved. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the...
mit
C#
b3be5d55fa6563e6bff656aa5938f2b0bc8c6698
Add another test.
KirillOsenkov/MathParser
src/GuiLabs.MathParser.Tests/Tests.cs
src/GuiLabs.MathParser.Tests/Tests.cs
using System; using System.Collections.Generic; using Xunit; namespace GuiLabs.MathParser.Tests { public class Tests { [Fact] public void TestParser() { Binder.Default.RegisterVariable("Random", () => new Random(1).NextDouble()); var compiler = new C...
using System; using System.Collections.Generic; using Xunit; namespace GuiLabs.MathParser.Tests { public class Tests { [Fact] public void TestParser() { Binder.Default.RegisterVariable("Random", () => new Random(1).NextDouble()); var compiler = new C...
mit
C#
a0c1d22d2cf2d8ba5999a4f9e0dfb36a00d68198
Fix HttpPoster, and add server script
arfbtwn/hyena,GNOME/hyena,GNOME/hyena,dufoli/hyena,petejohanson/hyena,petejohanson/hyena,dufoli/hyena,arfbtwn/hyena
src/Hyena/Hyena.Metrics/HttpPoster.cs
src/Hyena/Hyena.Metrics/HttpPoster.cs
// // HttpPoster.cs // // Author: // Gabriel Burt <gabriel.burt@gmail.com> // // Copyright (c) 2010 Novell, Inc. // // 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, i...
// // HttpPoster.cs // // Author: // Gabriel Burt <gabriel.burt@gmail.com> // // Copyright (c) 2010 Novell, Inc. // // 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, i...
mit
C#
1c2fd2e8fa6fe43f15fa71fbac897cf1aea627c3
Update to Loader Interface
thinkabouthub/Nugety
src/Nugety.Nuget/NugetModuleLoader.cs
src/Nugety.Nuget/NugetModuleLoader.cs
using System.Collections.Generic; using System.Reflection; namespace Nugety { public class NugetModuleLoader : INugetModuleLoader { private NugetLoaderOptions options; public NugetModuleLoader(INugetyCatalogProvider catalog) { Catalog = catalog; } public I...
using System.Collections.Generic; using System.Reflection; namespace Nugety { public class NugetModuleLoader : INugetModuleLoader { private NugetLoaderOptions options; public NugetModuleLoader(INugetyCatalogProvider catalog) { Catalog = catalog; } public I...
agpl-3.0
C#
1a05d22f3142e9c473e30bfcea24912122e6af20
Fix a few for HttpBasicIdentity.cs
microdee/websocket-sharp,pjc0247/websocket-sharp-unity,TabbedOut/websocket-sharp,pjc0247/websocket-sharp-unity,sta/websocket-sharp,zq513705971/WebSocketApp,alberist/websocket-sharp,juoni/websocket-sharp,Liryna/websocket-sharp,zhangwei900808/websocket-sharp,microdee/websocket-sharp,alberist/websocket-sharp,Liryna/websoc...
websocket-sharp/Net/HttpBasicIdentity.cs
websocket-sharp/Net/HttpBasicIdentity.cs
#region License /* * HttpBasicIdentity.cs * * This code is derived from System.Net.HttpListenerBasicIdentity.cs of Mono * (http://www.mono-project.com). * * The MIT License * * Copyright (c) 2005 Novell, Inc. (http://www.novell.com) * Copyright (c) 2014 sta.blockhead * * Permission is hereby granted, free of...
#region License /* * HttpBasicIdentity.cs * * This code is derived from System.Net.HttpListenerBasicIdentity.cs of Mono * (http://www.mono-project.com). * * The MIT License * * Copyright (c) 2005 Novell, Inc. (http://www.novell.com) * Copyright (c) 2014 sta.blockhead * * Permission is hereby granted, free of...
mit
C#
09caaa3a900a1d7299b47425340874b4f59c6a5a
Add required defaults for tests
bugsnag/bugsnag-unity,bugsnag/bugsnag-unity,bugsnag/bugsnag-unity,bugsnag/bugsnag-unity,bugsnag/bugsnag-unity,bugsnag/bugsnag-unity
tests/Bugsnag.Unity.Tests/TestConfiguration.cs
tests/Bugsnag.Unity.Tests/TestConfiguration.cs
using System; using System.Collections.Generic; using UnityEngine; namespace Bugsnag.Unity.Tests { public class TestConfiguration : IConfiguration { public TimeSpan MaximumLogsTimePeriod { get; set; } = TimeSpan.FromSeconds(1); public Dictionary<LogType, int> MaximumTypePerTimePeriod { get; set; } p...
using System; using System.Collections.Generic; using UnityEngine; namespace Bugsnag.Unity.Tests { public class TestConfiguration : IConfiguration { public TimeSpan MaximumLogsTimePeriod { get; set; } public Dictionary<LogType, int> MaximumTypePerTimePeriod { get; set; } public TimeSpan UniqueLogsTi...
mit
C#
f7636789d9db31816f3fdbfd7e21468761aa4925
Use setting candles on CandleStickChart
alexeykuzmin0/DTW
DTW/GUI/MainForm.cs
DTW/GUI/MainForm.cs
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace GUI { public partial class MainForm : Form { Finance.AbstractCandleTokenizer c...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace GUI { public partial class MainForm : Form { Finance.AbstractCandleTokenizer c...
apache-2.0
C#
a07177e0bb537e1653e8f5457289e24b6bd4171b
Bump version to 1.0.0rc2
github-for-unity/Unity,github-for-unity/Unity,github-for-unity/Unity
common/SolutionInfo.cs
common/SolutionInfo.cs
#pragma warning disable 436 using System.Reflection; using System.Resources; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; [assembly: AssemblyProduct("GitHub for Unity")] [assembly: AssemblyVersion(System.AssemblyVersionInformation.VersionForAssembly)] [assembly: AssemblyFileVersion(Sys...
#pragma warning disable 436 using System.Reflection; using System.Resources; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; [assembly: AssemblyProduct("GitHub for Unity")] [assembly: AssemblyVersion(System.AssemblyVersionInformation.VersionForAssembly)] [assembly: AssemblyFileVersion(Sys...
mit
C#
cb5d244a9570b6620655acd0d10497b8925a2f69
use the specialfolder enum instead of a magic string for localappdata path detection
SexyFishHorse/CitiesSkylines-Logger
Logger/OutputLog.cs
Logger/OutputLog.cs
namespace SexyFishHorse.CitiesSkylines.Logger { using System; using System.IO; internal class OutputLog { public OutputLog(string modFolderName, string logFileName) { FileLocation = GenerateFileLocationPath(modFolderName, logFileName); } public string FileL...
namespace SexyFishHorse.CitiesSkylines.Logger { using System; using System.IO; internal class OutputLog { public OutputLog(string modFolderName, string logFileName) { FileLocation = GenerateFileLocationPath(modFolderName, logFileName); } public string FileL...
mit
C#
46d19e68f953ad61ca8b90dfffce95b966190677
Update RegionFactory.cs
tiksn/TIKSN-Framework
TIKSN.Core/Globalization/RegionFactory.cs
TIKSN.Core/Globalization/RegionFactory.cs
using System; using System.Globalization; using Microsoft.Extensions.Caching.Memory; using Microsoft.Extensions.Options; using TIKSN.Data.Cache.Memory; namespace TIKSN.Globalization { public class RegionFactory : MemoryCacheDecoratorBase<RegionInfo>, IRegionFactory { public RegionFactory(IMemoryCache ...
using Microsoft.Extensions.Caching.Memory; using Microsoft.Extensions.Options; using System; using System.Globalization; using TIKSN.Data.Cache.Memory; namespace TIKSN.Globalization { public class RegionFactory : MemoryCacheDecoratorBase<RegionInfo>, IRegionFactory { public RegionFactory(IMemoryCache ...
mit
C#
80a2104dd4ad361e3c75c28cd4d9c7b3bb99007f
Make contravariant.
Faithlife/FaithlifeUtility
src/Faithlife.Utility/IHasEquivalence.cs
src/Faithlife.Utility/IHasEquivalence.cs
namespace Faithlife.Utility { /// <summary> /// Implemented by reference classes that do not want to implement IEquatable{T}, /// but do want to support some form of equivalence. /// </summary> /// <typeparam name="T">The class type.</typeparam> /// <remarks>This interface is similar to IEquatable{T}, but avoids ...
namespace Faithlife.Utility { /// <summary> /// Implemented by reference classes that do not want to implement IEquatable{T}, /// but do want to support some form of equivalence. /// </summary> /// <typeparam name="T">The class type.</typeparam> /// <remarks>This interface is similar to IEquatable{T}, but avoids ...
mit
C#
e99e98aad3879ddfcd4c7241dbda84f6a3df9943
Update AssemblyInfo.cs
sukona/Grapevine,scottoffen/Grapevine
src/Grapevine/Properties/AssemblyInfo.cs
src/Grapevine/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.InteropServices; 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: AssemblyTitle("Gr...
using System.Reflection; using System.Runtime.InteropServices; 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: AssemblyTitle("Gr...
apache-2.0
C#
d09f157ad5beb24ac405d96e640ea8c09d59b834
refactor dfmengine.cs
DuncanmaMSFT/docfx,sergey-vershinin/docfx,dotnet/docfx,hellosnow/docfx,hellosnow/docfx,928PJY/docfx,928PJY/docfx,pascalberger/docfx,hellosnow/docfx,pascalberger/docfx,superyyrrzz/docfx,dotnet/docfx,LordZoltan/docfx,dotnet/docfx,LordZoltan/docfx,sergey-vershinin/docfx,superyyrrzz/docfx,LordZoltan/docfx,superyyrrzz/docfx...
src/Microsoft.DocAsCode.Dfm/DfmEngine.cs
src/Microsoft.DocAsCode.Dfm/DfmEngine.cs
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.DocAsCode.Dfm { using System; using System.Collections.Generic; using System.Collections.Immutable; using Microsoft.DocAsCode.Markd...
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.DocAsCode.Dfm { using System; using System.Collections.Generic; using System.Collections.Immutable; using Microsoft.DocAsCode.Markd...
mit
C#
8d2bcf9ad77d0e91d92b7b6cc1be4526c15b8206
fix copy & paste typo
dnauck/Portable.Licensing,dnauck/Portable.Licensing,dreamrain21/Portable.Licensing,dreamrain21/Portable.Licensing
src/Portable.Licensing/Model/Customer.cs
src/Portable.Licensing/Model/Customer.cs
// // Copyright © 2012 - 2013 Nauck IT KG http://www.nauck-it.de // // Author: // Daniel Nauck <d.nauck(at)nauck-it.de> // // 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 wit...
// // Copyright © 2012 - 2013 Nauck IT KG http://www.nauck-it.de // // Author: // Daniel Nauck <d.nauck(at)nauck-it.de> // // 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 wit...
mit
C#
2c33a9ca8dea47e8837d2826573e584447ca213f
Update Palindrome.cs
michaeljwebb/Algorithm-Practice
Other/Palindrome.cs
Other/Palindrome.cs
//Check to see if given string is a palindrome. Return true or false. using System; using System.Collections.Generic; public class Palindrome { public static void Main() { string testString = "racecar"; Palindrome(testString); } public static void Palindrome(string s){ ...
//Check to see if given string is a palindrome. Return true or false. //Not completed using System; using System.Collections.Generic; public class Test { public static void Main() { string testString = "racecar"; Palindrome(testString); } public static string Palindrome(string s){...
mit
C#
83158472603dffc9f37b3e0ddeaf5204b552a9e1
Correct order of parameters
peppy/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,peppy/osu-framework,ZLima12/osu-framework,peppy/osu-framework,ppy/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,EVAST9919/osu-framework,smoogipooo/osu-framework,ZLima12/osu-framework
osu.Framework.Tests/Platform/TrackBassTest.cs
osu.Framework.Tests/Platform/TrackBassTest.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System.Threading; using ManagedBass; using NUnit.Framework; using osu.Framework.Audio.Track; using osu.Framework.IO.Stores; namespace osu.Framework.Tests.Platform ...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System.Threading; using ManagedBass; using NUnit.Framework; using osu.Framework.Audio.Track; using osu.Framework.IO.Stores; namespace osu.Framework.Tests.Platform ...
mit
C#
75b3881c32f6761cb9ae22d1584345581dee5680
Update KymPhillpotts.cs
beraybentesen/planetxamarin,planetxamarin/planetxamarin,stvansolano/planetxamarin,planetxamarin/planetxamarin,stvansolano/planetxamarin,planetxamarin/planetxamarin,MabroukENG/planetxamarin,MabroukENG/planetxamarin,beraybentesen/planetxamarin,stvansolano/planetxamarin,planetxamarin/planetxamarin,beraybentesen/planetxama...
src/Firehose.Web/Authors/KymPhillpotts.cs
src/Firehose.Web/Authors/KymPhillpotts.cs
using System; using System.Collections.Generic; using Firehose.Web.Infrastructure; public class KymPhillpotts : IWorkAtXamarinOrMicrosoft { public string FirstName => "Kym"; public string LastName => "Phillpotts"; public string ShortBioOrTagLine => "is one of the Xamarin University instructors"; publi...
using System; using System.Collections.Generic; using Firehose.Web.Infrastructure; public class KymPhillpotts : IWorkAtXamarinOrMicrosoft { public string FirstName => "Kym"; public string LastName => "Phillpotts"; public string ShortBioOrTagLine => "instructor at Xamarin University"; public string Sta...
mit
C#
8adcb812bad78aa2dbc89837315dffe11ff4f867
Use Generic monospace font family for DOCX
GetTabster/Tabster
Plugins/FileTypes/WordDoc/WordDocExporter.cs
Plugins/FileTypes/WordDoc/WordDocExporter.cs
#region using System; using System.Drawing; using Novacode; using Tabster.Data; using Tabster.Data.Processing; #endregion namespace WordDoc { public class WordDocExporter : ITablatureFileExporter { public WordDocExporter() { FileType = new FileType("Microsoft Offi...
#region using System; using System.Drawing; using Novacode; using Tabster.Data; using Tabster.Data.Processing; #endregion namespace WordDoc { public class WordDocExporter : ITablatureFileExporter { public WordDocExporter() { FileType = new FileType("Microsoft Offi...
apache-2.0
C#
750f7469ca7c87ae3eed7e7d4658c3550721c11d
Correct BID_ASK Description
qusma/ib-csharp,sebfia/ib-csharp,krs43/ib-csharp
Krs.Ats.IBNet/Enums/HistoricalDataType.cs
Krs.Ats.IBNet/Enums/HistoricalDataType.cs
using System; using System.ComponentModel; namespace Krs.Ats.IBNet { /// <summary> /// Historical Data Request Return Types /// </summary> [Serializable()] public enum HistoricalDataType { /// <summary> /// Return Trade data only /// </summary> [De...
using System; using System.ComponentModel; namespace Krs.Ats.IBNet { /// <summary> /// Historical Data Request Return Types /// </summary> [Serializable()] public enum HistoricalDataType { /// <summary> /// Return Trade data only /// </summary> [De...
mit
C#
b4dffcd9194527c7b02f8fcb0302bfd98dbbe0f5
add the proper request methods
tparnell8/Untappd.Net,tparnell8/Untappd.Net,rodkings/Untappd.Net,rodkings/Untappd.Net
src/Untappd.Net/Request/RepositoryPost.cs
src/Untappd.Net/Request/RepositoryPost.cs
using System.Threading.Tasks; using Untappd.Net.Client; namespace Untappd.Net.Request { public partial class Repository { /// <summary> /// do a post with actions /// </summary> /// <param name="credentials"></param> /// <param name="action"></param> /// <return...
using System.Threading.Tasks; using Untappd.Net.Client; namespace Untappd.Net.Request { public partial class Repository { /// <summary> /// do a post with actions /// </summary> /// <param name="credentials"></param> /// <param name="action"></param> /// <return...
mit
C#
058889d6a44ee9525b0cad9a5ea0f893881f3f2c
add RotateRight(), RotateLeft() extension tests
martinlindhe/Punku
PunkuTests/Extensions/ByteArrayExtensions.cs
PunkuTests/Extensions/ByteArrayExtensions.cs
using System; using System.Text; using NUnit.Framework; using Punku; [TestFixture] [Category ("Extensions")] public class Extensions_ByteArray { [Test] public void DosString01 () { byte[] x = { (byte)'a', (byte)'b', (byte)'c', (byte)'$' }; Assert.AreEqual ( x.ToDosString (), "abc" ); } [Test] pu...
using System; using System.Text; using NUnit.Framework; using Punku; [TestFixture] [Category ("Extensions")] public class Extensions_ByteArray { [Test] public void DosString01 () { byte[] x = { (byte)'a', (byte)'b', (byte)'c', (byte)'$' }; Assert.AreEqual ( x.ToDosString (), "abc" ); } [Test] pu...
mit
C#
302756337922442a80a0e16028d247c449a12054
Add custom exception for PageFragmentWatcher
cezarypiatek/MaintainableSelenium,cezarypiatek/Tellurium,cezarypiatek/MaintainableSelenium,cezarypiatek/Tellurium,cezarypiatek/Tellurium,cezarypiatek/MaintainableSelenium
Src/MvcPages/WebPages/PageFragmentWatcher.cs
Src/MvcPages/WebPages/PageFragmentWatcher.cs
using System; using System.Linq.Expressions; using OpenQA.Selenium; using OpenQA.Selenium.Remote; using Tellurium.MvcPages.SeleniumUtils; using Tellurium.MvcPages.WebPages.WebForms; namespace Tellurium.MvcPages.WebPages { public class PageFragmentWatcher { private readonly RemoteWebDriver driver; ...
using OpenQA.Selenium.Remote; using Tellurium.MvcPages.SeleniumUtils; namespace Tellurium.MvcPages.WebPages { public class PageFragmentWatcher { private readonly RemoteWebDriver driver; private readonly string containerId; public PageFragmentWatcher(RemoteWebDriver driver, string conta...
mit
C#
54f07139db1fe29849e83cf660852e4f5a512fcb
Improve default payment method dropdown text
btcpayserver/btcpayserver,btcpayserver/btcpayserver,btcpayserver/btcpayserver,btcpayserver/btcpayserver
BTCPayServer/Models/StoreViewModels/CheckoutExperienceViewModel.cs
BTCPayServer/Models/StoreViewModels/CheckoutExperienceViewModel.cs
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Threading.Tasks; using BTCPayServer.Payments; using BTCPayServer.Services; using BTCPayServer.Validation; using Microsoft.AspNetCore.Mvc.Rendering; namespace BTCPayServer.Models.StoreViewModels...
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Threading.Tasks; using BTCPayServer.Payments; using BTCPayServer.Services; using BTCPayServer.Validation; using Microsoft.AspNetCore.Mvc.Rendering; namespace BTCPayServer.Models.StoreViewModels...
mit
C#
522af2a4bf8a50a9c59c4edb6c8aa9c9c008a1c2
Add assembly informational version
CalebChalmers/NetworkMonitor
NetworkMonitor/Properties/AssemblyInfo.cs
NetworkMonitor/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#
f08c40e861fb7f2c6875633c992b88508ee828f6
Remove Debugging Code
charlenni/Mapsui,charlenni/Mapsui
Samples/Mapsui.Samples.iOS/AppDelegate.cs
Samples/Mapsui.Samples.iOS/AppDelegate.cs
namespace Mapsui.Samples.iOS; [Register ("AppDelegate")] public class AppDelegate : UIApplicationDelegate { public override UIWindow? Window { get; set; } public override bool FinishedLaunching (UIApplication application, NSDictionary launchOptions) { // create a new window ins...
namespace Mapsui.Samples.iOS; [Register ("AppDelegate")] public class AppDelegate : UIApplicationDelegate { public override UIWindow? Window { get; set; } public override bool FinishedLaunching (UIApplication application, NSDictionary launchOptions) { Mapsui.UI.iOS.MapControl.U...
mit
C#
0b49d9fac554c1d7935f91f6277a1b3ef402c21a
Tweak white value
Sirush/UDHBot,Sirush/UDHBot
Skin/RectangleSampleAvatarColorSkinModule.cs
Skin/RectangleSampleAvatarColorSkinModule.cs
using DiscordBot.Domain; using ImageMagick; namespace DiscordBot.Skin { /// <summary> /// Fill the background with the color based on the pfp /// </summary> public class RectangleSampleAvatarColorSkinModule : ISkinModule { public int StartX { get; set; } public int StartY { get; set...
using DiscordBot.Domain; using ImageMagick; namespace DiscordBot.Skin { /// <summary> /// Fill the background with the color based on the pfp /// </summary> public class RectangleSampleAvatarColorSkinModule : ISkinModule { public int StartX { get; set; } public int StartY { get; set...
mit
C#
48da4b58f6a4927dd460b7808d2ece9fc56d1e9a
Fix points per octave
svenboulanger/SpiceSharp,svenboulanger/SpiceSharp
SpiceSharp/Simulations/Sweeps/OctaveSweep.cs
SpiceSharp/Simulations/Sweeps/OctaveSweep.cs
using System; using System.Collections.Generic; using SpiceSharp.Diagnostics; namespace SpiceSharp.Simulations.Sweeps { public class OctaveSweep : Sweep<double> { /// <summary> /// Get the points /// </summary> public override IEnumerable<double> Points { ge...
using System; using System.Collections.Generic; using SpiceSharp.Diagnostics; namespace SpiceSharp.Simulations.Sweeps { public class OctaveSweep : Sweep<double> { /// <summary> /// Get the points /// </summary> public override IEnumerable<double> Points { ge...
mit
C#