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 |
|---|---|---|---|---|---|---|---|---|
f4ae5d14aebc079825e76b4a5aa3c640389bff29 | Fix iOS release step to build solution instead of project | Julien-Mialon/Cake.Storm,Julien-Mialon/Cake.Storm | fluent/src/Cake.Storm.Fluent.iOS/Steps/iOSReleaseStep.cs | fluent/src/Cake.Storm.Fluent.iOS/Steps/iOSReleaseStep.cs | using System.IO;
using System.Linq;
using Cake.Common.IO;
using Cake.Common.Tools.MSBuild;
using Cake.Core;
using Cake.Core.IO;
using Cake.Storm.Fluent.Helpers;
using Cake.Storm.Fluent.iOS.Common;
using Cake.Storm.Fluent.Interfaces;
using Cake.Storm.Fluent.InternalExtensions;
using Cake.Storm.Fluent.Steps;
namespace ... | using System.IO;
using System.Linq;
using Cake.Common.IO;
using Cake.Common.Tools.MSBuild;
using Cake.Core;
using Cake.Core.IO;
using Cake.Storm.Fluent.Helpers;
using Cake.Storm.Fluent.iOS.Common;
using Cake.Storm.Fluent.Interfaces;
using Cake.Storm.Fluent.InternalExtensions;
using Cake.Storm.Fluent.Steps;
namespace ... | mit | C# |
82f8a369317504aab8df5ec703b9f897d0340c59 | Clean up | markaschell/SoftwareThresher | code/SoftwareThresher/SoftwareThresher/Tasks/NotFoundInCSharpProject.cs | code/SoftwareThresher/SoftwareThresher/Tasks/NotFoundInCSharpProject.cs | using System;
using System.Collections.Generic;
using SoftwareThresher.Observations;
namespace SoftwareThresher.Tasks {
public class NotFoundInCSharpProject : Task {
public string ReportTitle { get { return "Items not included in a C# project"; } }
public List<Observation> Execute(List<Observation... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SoftwareThresher.Observations;
namespace SoftwareThresher.Tasks
{
public class NotFoundInCSharpProject : Task
{
public string ReportTitle
{
get
... | mit | C# |
457a1e0d3f3d4a4f9ad73129a97464ddc0d586ab | Update assembly for 1.0.7 | AshleyPoole/ssllabs-api-wrapper | SSLLabsApiWrapper/Properties/AssemblyInfo.cs | SSLLabsApiWrapper/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("SS... | 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("SS... | mit | C# |
fbeb02601dca05bf492485378bb9032035349d36 | Make Indent Length Public | SnowmanTackler/SamSeifert.Utilities,SnowmanTackler/SamSeifert.Utilities | SamSeifert.Utilities/Logging/IndentLogger.cs | SamSeifert.Utilities/Logging/IndentLogger.cs | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SamSeifert.Utilities.Logging
{
public class IndentLogger : BaseLogger
{
private readonly BaseLogger WrappedLogger;
public int IndentLength = ... | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SamSeifert.Utilities.Logging
{
public class IndentLogger : BaseLogger
{
private readonly BaseLogger WrappedLogger;
public IndentLogger()
... | mit | C# |
33eabdd60474ffb9b8fafdb5dcc46c26ca916492 | Add missing fields to Hurricane. | jcheng31/WundergroundAutocomplete.NET | WundergroundClient/Autocomplete/Hurricane.cs | WundergroundClient/Autocomplete/Hurricane.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace WundergroundClient.Autocomplete
{
/// <summary>
/// Tropical Cyclone Basins used by Wunderground.
///
/// Though NorthIndian and SouthIndian are referred to in
/// the "currenthurricane" feature docume... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace WundergroundClient.Autocomplete
{
/// <summary>
/// Tropical Cyclone Basins used by Wunderground.
///
/// Though NorthIndian and SouthIndian are referred to in
/// the "currenthurricane" feature docume... | mit | C# |
ebbca865b370b88813b286db05566aa41f8538ed | Exclude DefaultStopwatch from code coverage | rvernagus/NBenchmarker | src/NBenchmarker/NBenchmarker/DefaultStopwatch.cs | src/NBenchmarker/NBenchmarker/DefaultStopwatch.cs | using System;
using System.Diagnostics;
using System.Diagnostics.CodeAnalysis;
namespace NBenchmarker
{
[ExcludeFromCodeCoverage] // Just a facade for BCL Stopwatch
public class DefaultStopwatch : IStopwatch
{
private Stopwatch _watch;
public DefaultStopwatch()
{
_wat... | using System;
using System.Diagnostics;
namespace NBenchmarker
{
public class DefaultStopwatch : IStopwatch
{
private Stopwatch _watch;
public DefaultStopwatch()
{
_watch = new Stopwatch();
}
public TimeSpan GetElapsedTime()
{
return _w... | mit | C# |
da1087d215bc7618de70675d4cd0baa339e736a7 | Update index header message. | jpfultonzm/trainingsandbox,jpfultonzm/trainingsandbox,jpfultonzm/trainingsandbox | ZirMed.TrainingSandbox/Views/Home/Index.cshtml | ZirMed.TrainingSandbox/Views/Home/Index.cshtml | @{
ViewBag.Title = "Home Page";
}
<div class="jumbotron">
<h1>ASP.NET - ZirMed Training Sandbox</h1>
<p class="lead">ASP.NET is a free web framework for building great Web sites and Web applications using HTML, CSS and JavaScript.</p>
<p><a href="http://asp.net" class="btn btn-primary btn-lg">Learn mo... | @{
ViewBag.Title = "Home Page";
}
<div class="jumbotron">
<h1>ASP.NET</h1>
<p class="lead">ASP.NET is a free web framework for building great Web sites and Web applications using HTML, CSS and JavaScript.</p>
<p><a href="http://asp.net" class="btn btn-primary btn-lg">Learn more »</a></p>
</div>
... | mit | C# |
dc9d804882072193c564f7abb5a6eaf8d98fb303 | Fix YukariCake animator in new version | Barleytree/NitoriWare,uulltt/NitoriWare,plrusek/NitoriWare,Barleytree/NitoriWare,NitorInc/NitoriWare,NitorInc/NitoriWare | Assets/Resources/Microgames/YukariCake/Scripts/YukariCakeController.cs | Assets/Resources/Microgames/YukariCake/Scripts/YukariCakeController.cs | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class YukariCakeController : MonoBehaviour {
// Properties
public YukariCakeReimu Enemy;
public List<AudioSource> AudioSources;
public Animator YukariAnimator;
public AudioSource YukariSource;
public AudioCl... | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class YukariCakeController : MonoBehaviour {
// Properties
public YukariCakeReimu Enemy;
public List<AudioSource> AudioSources;
public Animator YukariAnimator;
public AudioSource YukariSource;
public AudioCl... | mit | C# |
6b11f1d0e5ededd715d0fa8303e6eb83b92cb559 | Check for null value | wieslawsoltes/Core2D,Core2D/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,Core2D/Core2D | Core2D/Path/XPathSegment.cs | Core2D/Path/XPathSegment.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.Collections.Generic;
using System.Text;
namespace Core2D
{
/// <summary>
/// <see cref="XPathFigure"/> segment base class.
/// </summary>... | // Copyright (c) Wiesław Šoltés. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Collections.Generic;
using System.Text;
namespace Core2D
{
/// <summary>
/// <see cref="XPathFigure"/> segment base class.
/// </summary>... | mit | C# |
2002a2c06f9595a06cb9fec14cc20fb346bdb19d | Increase number of tests total | Benrnz/BudgetAnalyser | BudgetAnalyser.UnitTest/MetaTest.cs | BudgetAnalyser.UnitTest/MetaTest.cs | using System;
using System.Linq;
using System.Reflection;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace BudgetAnalyser.UnitTest
{
[TestClass]
public class MetaTest
{
private const int ExpectedMinimumTests = 868;
[TestMethod]
public void ListAllTests()
... | using System;
using System.Linq;
using System.Reflection;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace BudgetAnalyser.UnitTest
{
[TestClass]
public class MetaTest
{
private const int ExpectedMinimumTests = 836;
[TestMethod]
public void ListAllTests()
... | mit | C# |
a857fc8918a2364d2617fe955685e71259e5c809 | Add repository to bootstrap registrations | csf-dev/agiil,csf-dev/agiil,csf-dev/agiil,csf-dev/agiil | Agiil.Bootstrap/Data/DataModule.cs | Agiil.Bootstrap/Data/DataModule.cs | using System;
using Agiil.Data;
using Agiil.Domain.Data;
using Autofac;
using CSF.Data;
using CSF.Data.Entities;
using CSF.Data.NHibernate;
namespace Agiil.Bootstrap.Data
{
public class DataModule : Module
{
protected override void Load(ContainerBuilder builder)
{
builder
.RegisterType<NHibe... | using System;
using Agiil.Data;
using Agiil.Domain.Data;
using Autofac;
using CSF.Data;
using CSF.Data.Entities;
using CSF.Data.NHibernate;
namespace Agiil.Bootstrap.Data
{
public class DataModule : Module
{
protected override void Load(ContainerBuilder builder)
{
builder
.RegisterType<NHibe... | mit | C# |
e25aa38c36e66bf0da12cfbec72f30519a969676 | rename functionappdev -> functionapp | agruning/azure-functions-ux,chunye/azure-functions-ux,projectkudu/AzureFunctions,agruning/azure-functions-ux,chunye/azure-functions-ux,projectkudu/AzureFunctions,projectkudu/WebJobsPortal,projectkudu/AzureFunctions,chunye/azure-functions-ux,chunye/azure-functions-ux,agruning/azure-functions-ux,agruning/azure-functions-... | AzureFunctions/Common/Constants.cs | AzureFunctions/Common/Constants.cs | namespace AzureFunctions.Common
{
public static class Constants
{
public const string SubscriptionTemplate = "{0}/subscriptions/{1}?api-version={2}";
public const string CSMApiVersion = "2014-04-01";
public const string CSMUrl = "https://management.azure.com";
public const strin... | namespace AzureFunctions.Common
{
public static class Constants
{
public const string SubscriptionTemplate = "{0}/subscriptions/{1}?api-version={2}";
public const string CSMApiVersion = "2014-04-01";
public const string CSMUrl = "https://management.azure.com";
public const strin... | apache-2.0 | C# |
1f20236db91b780c299d8c6fd0293e15afc1f0ab | Add warning for UWP that it works only in x86 yet | florin-chelaru/urho,florin-chelaru/urho,florin-chelaru/urho,florin-chelaru/urho,florin-chelaru/urho,florin-chelaru/urho | Bindings/UWP/UwpUrhoInitializer.cs | Bindings/UWP/UwpUrhoInitializer.cs | using System;
using System.IO;
using System.Runtime.InteropServices;
using Windows.Storage;
namespace Urho.UWP
{
public static class UwpUrhoInitializer
{
internal static void OnInited()
{
var folder = ApplicationData.Current.LocalFolder.Path;
if (IntPtr.Size == 8)
{
throw new NotSupportedException(... | using System;
using System.IO;
using System.Runtime.InteropServices;
using Windows.Storage;
namespace Urho.UWP
{
public static class UwpUrhoInitializer
{
internal static void OnInited()
{
var folder = ApplicationData.Current.LocalFolder.Path;
}
}
}
| mit | C# |
3a06b786616e9e85b180a18455759960f3f59e51 | Normalize TextWebConsole with Html5WebConsole's UX | kamsar/Kamsar.WebConsole,kamsar/Kamsar.WebConsole | Kamsar.WebConsole/TextWebConsole.cs | Kamsar.WebConsole/TextWebConsole.cs | using System;
using System.Text;
using System.Web;
namespace Kamsar.WebConsole
{
/// <summary>
/// Variant of the WebConsole that emits the Write/WriteLines done as plain text lines (instead of HTML).
/// Useful when capturing text logs of a console (eg for non-web-emission contexts)
///
/// Progress reports ar... | using System.Text;
using System.Web;
namespace Kamsar.WebConsole
{
/// <summary>
/// Variant of the WebConsole that emits the Write/WriteLines done as plain text lines (instead of HTML).
/// Useful when capturing text logs of a console (eg for non-web-emission contexts)
///
/// Progress reports are not captured... | mit | C# |
9d5d021c30d9f2bcc0f2dd9bd9a24879e1fdf2ae | switch push for 8 byte values | zdimension/Cosmos,jp2masa/Cosmos,MetSystem/Cosmos,sgetaz/Cosmos,trivalik/Cosmos,CosmosOS/Cosmos,MyvarHD/Cosmos,kant2002/Cosmos-1,zhangwenquan/Cosmos,MyvarHD/Cosmos,zhangwenquan/Cosmos,CosmosOS/Cosmos,tgiphil/Cosmos,fanoI/Cosmos,tgiphil/Cosmos,zdimension/Cosmos,zarlo/Cosmos,zarlo/Cosmos,MyvarHD/Cosmos,sgetaz/Cosmos,sget... | source2/IL2CPU/Cosmos.IL2CPU.X86/IL/Ldc_R8.cs | source2/IL2CPU/Cosmos.IL2CPU.X86/IL/Ldc_R8.cs | using System;
using CPU = Cosmos.Compiler.Assembler.X86;
using Cosmos.IL2CPU.ILOpCodes;
using Cosmos.Compiler.Assembler;
namespace Cosmos.IL2CPU.X86.IL
{
[Cosmos.IL2CPU.OpCode( ILOpCode.Code.Ldc_R8 )]
public class Ldc_R8 : ILOp
{
public Ldc_R8( Cosmos.Compiler.Assembler.Assembler aAsmblr )
... | using System;
using CPU = Cosmos.Compiler.Assembler.X86;
using Cosmos.IL2CPU.ILOpCodes;
using Cosmos.Compiler.Assembler;
namespace Cosmos.IL2CPU.X86.IL
{
[Cosmos.IL2CPU.OpCode( ILOpCode.Code.Ldc_R8 )]
public class Ldc_R8 : ILOp
{
public Ldc_R8( Cosmos.Compiler.Assembler.Assembler aAsmblr )
... | bsd-3-clause | C# |
13d18880cccfe75d294869c5940df5f5f3684bb4 | use a switch expression | destructurama/attributed | src/Destructurama.Attributed/Attributed/LogWithNameAttribute.cs | src/Destructurama.Attributed/Attributed/LogWithNameAttribute.cs | // Copyright 2015-2018 Destructurama Contributors, Serilog Contributors
//
// 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 requ... | // Copyright 2015-2018 Destructurama Contributors, Serilog Contributors
//
// 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 requ... | apache-2.0 | C# |
c1899fd95372c85c6119f149748b5a1b00c51ddf | fix typo in comment (#870) | dotnetcore/CAP,dotnetcore/CAP,ouraspnet/cap,dotnetcore/CAP | src/DotNetCore.CAP/Internal/TopicAttribute.cs | src/DotNetCore.CAP/Internal/TopicAttribute.cs | // Copyright (c) .NET Core Community. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using System;
namespace DotNetCore.CAP.Internal
{
/// <inheritdoc />
/// <summary>
/// An abstract attribute that for kafka attribute or rabbit mq att... | // Copyright (c) .NET Core Community. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using System;
namespace DotNetCore.CAP.Internal
{
/// <inheritdoc />
/// <summary>
/// An abstract attribute that for kafka attribute or rabbit mq att... | mit | C# |
99acd3c216fed578c9551166d852b2705cfca095 | add docs to signature | libgit2/libgit2sharp,oliver-feng/libgit2sharp,AMSadek/libgit2sharp,ethomson/libgit2sharp,psawey/libgit2sharp,AArnott/libgit2sharp,OidaTiftla/libgit2sharp,rcorre/libgit2sharp,shana/libgit2sharp,vorou/libgit2sharp,rcorre/libgit2sharp,ethomson/libgit2sharp,AMSadek/libgit2sharp,AArnott/libgit2sharp,sushihangover/libgit2sha... | LibGit2Sharp/Signature.cs | LibGit2Sharp/Signature.cs | using System;
using System.Runtime.InteropServices;
namespace LibGit2Sharp
{
/// <summary>
/// A signature
/// </summary>
public class Signature
{
private readonly GitSignature sig = new GitSignature();
private DateTimeOffset? when;
internal Signature(IntPtr signaturePtr... | using System;
using System.Runtime.InteropServices;
namespace LibGit2Sharp
{
public class Signature
{
private readonly GitSignature sig = new GitSignature();
private DateTimeOffset? when;
internal Signature(IntPtr signaturePtr, bool ownedByRepo = true)
{
Marshal.Pt... | mit | C# |
0d15dec532202b2febdc1f1e2c5900323b2649e3 | fix nullable bug | loresoft/FluentCommand | src/FluentCommand.SqlServer/SqlTypeMapping.cs | src/FluentCommand.SqlServer/SqlTypeMapping.cs | using System;
using System.Collections.Generic;
namespace FluentCommand
{
public static class SqlTypeMapping
{
private static readonly Dictionary<Type, string> _nativeType = new Dictionary<Type, string>
{
{typeof(bool), "bit"},
{typeof(byte), "tinyint"},
{ty... | using System;
using System.Collections.Generic;
namespace FluentCommand
{
public static class SqlTypeMapping
{
private static readonly Dictionary<Type, string> _nativeType = new Dictionary<Type, string>
{
{typeof(bool), "bit"},
{typeof(byte), "tinyint"},
{ty... | mit | C# |
2e1011335b130bbaf6dc5beae9edc723ef81f8f2 | Update SpaceFolder.cs | KerbaeAdAstra/KerbalFuture | KerbalFuture/SpaceFolder.cs | KerbalFuture/SpaceFolder.cs | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
using KSP;
namespace KerbalFuture
{
class SpaceFolderData : MonoBehavior
{
public static string path()
{
return System.IO.Path.GetDirectoryName(System.Reflection.Assembly.GetExecutingAssembly().Loca... | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
using KSP;
namespace KerbalFuture
{
class SpaceFolderData : MonoBehavior
{
public static string path()
{
return System.IO.Path.GetDirectoryName(System.Reflection.Assembly.GetExecutingAssembly().Loca... | mit | C# |
dc262199ee5f9f6e0acd62b3fe34dd3594a6cee4 | Allow ReleaseDate to be surfaced as it's still returned for Locker and ~/Track/Details calls | 7digital/SevenDigital.Api.Schema,scooper91/SevenDigital.Api.Schema | src/Schema/Releases/Release.cs | src/Schema/Releases/Release.cs | using System;
using System.Xml.Serialization;
using SevenDigital.Api.Schema.Artists;
using SevenDigital.Api.Schema.Attributes;
using SevenDigital.Api.Schema.Legacy;
using SevenDigital.Api.Schema.Media;
using SevenDigital.Api.Schema.Packages;
using SevenDigital.Api.Schema.ParameterDefinitions.Get;
using SevenDi... | using System;
using System.Xml.Serialization;
using SevenDigital.Api.Schema.Artists;
using SevenDigital.Api.Schema.Attributes;
using SevenDigital.Api.Schema.Legacy;
using SevenDigital.Api.Schema.Media;
using SevenDigital.Api.Schema.Packages;
using SevenDigital.Api.Schema.ParameterDefinitions.Get;
using SevenDi... | mit | C# |
0ffc133bc41a703e1e9496331b502c170ac2b3bd | update to layer 70 | OpenTl/OpenTl.Schema | src/OpenTl.Schema/SchemaInfo.cs | src/OpenTl.Schema/SchemaInfo.cs | namespace OpenTl.Schema
{
public static class SchemaInfo
{
public static int SchemaVersion { get; } = 70;
}
} | namespace OpenTl.Schema
{
public static class SchemaInfo
{
public static int SchemaVersion { get; } = 68;
}
} | mit | C# |
65467a4446e882613f62f05c17df0096d4e81f0f | Change menu partial view type | stvnhrlnd/SH,stvnhrlnd/SH,stvnhrlnd/SH | SH.Site/Views/Partials/_Menu.cshtml | SH.Site/Views/Partials/_Menu.cshtml | @model MenuViewModel
<a href="#menu" id="menu-link">
<i class="fa fa-bars" aria-hidden="true"></i>
<i class="fa fa-times" aria-hidden="true"></i>
</a>
<div id="menu">
<div class="pure-menu">
<span class="pure-menu-heading">@Model.SiteName</span>
<ul class="pure-menu-list">
@for... | @inherits UmbracoViewPage<MenuViewModel>
<a href="#menu" id="menu-link">
<i class="fa fa-bars" aria-hidden="true"></i>
<i class="fa fa-times" aria-hidden="true"></i>
</a>
<div id="menu">
<div class="pure-menu">
<span class="pure-menu-heading">@Model.SiteName</span>
<ul class="pure-menu-lis... | mit | C# |
a8f79f19267e522cd33187e9f17ba1f2a64f6fc9 | Bump v1.0.1 | karronoli/tiny-sato | TinySato/Properties/AssemblyInfo.cs | TinySato/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// アセンブリに関する一般情報は以下の属性セットをとおして制御されます。
// アセンブリに関連付けられている情報を変更するには、
// これらの属性値を変更してください。
[assembly: AssemblyTitle("TinySato")]
[assembly: AssemblyDescription("Sato Barcode Printer Language(SBPL) wrapper")]
[a... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// アセンブリに関する一般情報は以下の属性セットをとおして制御されます。
// アセンブリに関連付けられている情報を変更するには、
// これらの属性値を変更してください。
[assembly: AssemblyTitle("TinySato")]
[assembly: AssemblyDescription("Sato Barcode Printer Language(SBPL) wrapper")]
[a... | apache-2.0 | C# |
1461ec818635ecb55a4ba84439432f3f083d5db7 | Clean up | stormpath/stormpath-dotnet-owin-middleware | test/Stormpath.Owin.UnitTest/CookieParserTests.cs | test/Stormpath.Owin.UnitTest/CookieParserTests.cs | using System.Collections.Generic;
using FluentAssertions;
using Stormpath.Owin.Middleware.Internal;
using Xunit;
namespace Stormpath.Owin.UnitTest
{
public class CookieParserTests
{
public static IEnumerable<object[]> EmptyTestCases()
{
yield return new object[] { new string[] { nu... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using FluentAssertions;
using Stormpath.Owin.Middleware.Internal;
using Xunit;
namespace Stormpath.Owin.UnitTest
{
public class CookieParserTests
{
public static IEnumerable<object[]> EmptyTestCases()
... | apache-2.0 | C# |
77875230e1cd04a354cd87afbdf5242dce743cb2 | add new options | ruarai/Trigrad,ruarai/Trigrad | Trigrad/DataTypes/TrigradOptions.cs | Trigrad/DataTypes/TrigradOptions.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Trigrad.DataTypes
{
/// <summary> Options for the usage of the TrigradCompressor. </summary>
public class TrigradOptions
{
/// <summary> Constructs a TrigradOptions with a ... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Trigrad.DataTypes
{
/// <summary> Options for the usage of the TrigradCompressor. </summary>
public class TrigradOptions
{
/// <summary> Constructs a TrigradOptions with a ... | mit | C# |
2c37a9f8a9d97d41ed84a7659c2449d77965d7bb | Fix test. | ajayanandgit/mbunit-v3,Gallio/mbunit-v3,mterwoord/mbunit-v3,Gallio/mbunit-v3,mterwoord/mbunit-v3,Gallio/mbunit-v3,xJom/mbunit-v3,xJom/mbunit-v3,xJom/mbunit-v3,Gallio/mbunit-v3,xJom/mbunit-v3,mterwoord/mbunit-v3,Gallio/mbunit-v3,ajayanandgit/mbunit-v3,Gallio/mbunit-v3,ajayanandgit/mbunit-v3,xJom/mbunit-v3,mterwoord/mbun... | src/Gallio/Gallio.Tests/Runtime/Preferences/FilePreferenceStoreTest.cs | src/Gallio/Gallio.Tests/Runtime/Preferences/FilePreferenceStoreTest.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using Gallio.Common.Policies;
using Gallio.Runtime.Preferences;
using MbUnit.Framework;
namespace Gallio.Tests.Runtime.Preferences
{
[TestsOn(typeof(FilePreferenceStore))]
public class FilePrefer... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using Gallio.Common.Policies;
using Gallio.Runtime.Preferences;
using MbUnit.Framework;
namespace Gallio.Tests.Runtime.Preferences
{
[TestsOn(typeof(FilePreferenceStore))]
public class FilePrefer... | apache-2.0 | C# |
4cfb92aea8274f0a49631141574bac7dc72afeb8 | Make known tags readonly | dotnet/roslyn-analyzers,dotnet/roslyn-analyzers | src/Utilities/Compiler/Extensions/WellKnownDiagnosticTagsExtensions.cs | src/Utilities/Compiler/Extensions/WellKnownDiagnosticTagsExtensions.cs | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
namespace Microsoft.CodeAnalysis
{
internal static class WellKnownDiagnosticTagsExtensions
{
public const string EnabledRuleInAggressiveMode ... | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
namespace Microsoft.CodeAnalysis
{
internal static class WellKnownDiagnosticTagsExtensions
{
public const string EnabledRuleInAggressiveMode ... | mit | C# |
777ee122a81f76871160f73cf00848f114a64e75 | Implement IsValidDestination for Knight | ProgramFOX/Chess.NET | ChessDotNet/Pieces/Knight.cs | ChessDotNet/Pieces/Knight.cs | using System;
namespace ChessDotNet.Pieces
{
public class Knight : ChessPiece
{
public override Player Owner
{
get;
set;
}
public Knight(Player owner)
{
Owner = owner;
}
public override string GetFenCharacter()
... | namespace ChessDotNet.Pieces
{
public class Knight : ChessPiece
{
public override Player Owner
{
get;
set;
}
public Knight(Player owner)
{
Owner = owner;
}
public override string GetFenCharacter()
{
... | mit | C# |
17ebd2ae27f2910eaafa7b7b90c0c25f517b43d4 | Use expression properties | MHeasell/Mappy,MHeasell/Mappy | Mappy/UI/Drawables/DrawableTile.cs | Mappy/UI/Drawables/DrawableTile.cs | namespace Mappy.UI.Drawables
{
using System.Drawing;
using Mappy.Data;
using Mappy.UI.Painters;
public class DrawableTile : IDrawable
{
private readonly IMapTile tile;
private readonly BitmapGridPainter painter;
private readonly ContourHeightPainter heightPainter... | namespace Mappy.UI.Drawables
{
using System.Drawing;
using Mappy.Data;
using Mappy.UI.Painters;
public class DrawableTile : IDrawable
{
private readonly IMapTile tile;
private readonly BitmapGridPainter painter;
private readonly ContourHeightPainter heightPainter... | mit | C# |
735f492afa526e3dcb6cbc993213751253bdffd8 | remove Stateful from IOnlineShopDbContext | StoikoNeykov/OnlineShop,StoikoNeykov/OnlineShop | OnlineShop/Libs/OnlineShop.Libs.Data/Contracts/IOnlineShopDbContext.cs | OnlineShop/Libs/OnlineShop.Libs.Data/Contracts/IOnlineShopDbContext.cs | using OnlineShop.Libs.Models;
using System.Data.Entity;
using System.Data.Entity.Infrastructure;
using System.Threading.Tasks;
namespace OnlineShop.Libs.Data.Contracts
{
public interface IOnlineShopDbContext
{
IDbSet<TEntity> Set<TEntity>() where TEntity : class;
DbEntityEntry<TEntity> Entry<... | using OnlineShop.Libs.Models;
using System.Data.Entity;
using System.Threading.Tasks;
namespace OnlineShop.Libs.Data.Contracts
{
public interface IOnlineShopDbContext
{
IDbSet<TEntity> Set<TEntity>() where TEntity : class;
IStateful<TEntity> GetStateful<TEntity>(TEntity entity) where TEntity ... | mit | C# |
2729c6288641dac4a5948e8bdbf6e8a5d9966eca | Add WebMyAccount to IGIDXClient | TSEVOLLC/GIDX.SDK-csharp | src/GIDX.SDK/IGIDXClient.cs | src/GIDX.SDK/IGIDXClient.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GIDX.SDK
{
public interface IGIDXClient : IClient
{
ICustomerIdentityClient CustomerIdentity { get; }
IDocumentLibraryClient DocumentLibrary { get; }
IWebCashie... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GIDX.SDK
{
public interface IGIDXClient : IClient
{
ICustomerIdentityClient CustomerIdentity { get; }
IDocumentLibraryClient DocumentLibrary { get; }
IWebCashie... | mit | C# |
243ecedd402531d871e9fb44118953b7bb6c239b | Update AndroidLinearAccelerationProbe.cs | predictive-technology-laboratory/sensus,predictive-technology-laboratory/sensus,predictive-technology-laboratory/sensus,predictive-technology-laboratory/sensus,predictive-technology-laboratory/sensus,predictive-technology-laboratory/sensus | Sensus.Android.Shared/Probes/Movement/AndroidLinearAccelerationProbe.cs | Sensus.Android.Shared/Probes/Movement/AndroidLinearAccelerationProbe.cs | using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using Android.Hardware;
using Sensus.Probes.Movement;
namespace Sensus.Android.Probes.Movement
{
public class AndroidLinearAccelerationProbe : LinearAccelerationProbe
{
private AndroidSensorListener _linea... | using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using Android.Hardware;
using Sensus.Probes.Movement;
namespace Sensus.Android.Probes.Movement
{
class AndroidLinearAccelerationProbe : LinearAccelerationProbe
{
private AndroidSensorListener _linearaccele... | apache-2.0 | C# |
eed9a2314e8a32a3fe93375b712e8df5a8ea66ba | Update AssemblyInfo.cs | Tulpep/Network-AutoSwitch | Tulpep.NetworkAutoSwitch.NetworkStateLibrary/Properties/AssemblyInfo.cs | Tulpep.NetworkAutoSwitch.NetworkStateLibrary/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("Tul... | 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("Tul... | mit | C# |
ca1cad22ce40b37c176ae9cd31bead29a3db3aa5 | Update ObservableExtensions.cs | keith-hall/Extensions,keith-hall/Extensions | src/ObservableExtensions.cs | src/ObservableExtensions.cs | using System;
using System.Reactive.Linq;
namespace HallLibrary.Extensions
{
/// <summary>
/// Contains extension methods for working with observables.
/// </summary>
public static class ObservableExtensions
{
/// <summary>
/// Returns the current value of an observable with the previous value.
/// </summar... | using System;
using System.Reactive.Linq;
namespace HallLibrary.Extensions
{
/// <summary>
/// Contains extension methods for working with observables.
/// </summary>
public static class ObservableExtensions
{
/// <summary>
/// Returns the current value of an observable with the previous value.
/// </summar... | apache-2.0 | C# |
83d9645762cc1e200f8b101491ce9328ab788eb4 | add code to pass test | jgraber/ForgetTheMilk,jgraber/ForgetTheMilk,jgraber/ForgetTheMilk | ForgetTheMilk/ForgetTheMilk/Controllers/TaskController.cs | ForgetTheMilk/ForgetTheMilk/Controllers/TaskController.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
using System.Web;
using System.Web.Mvc;
namespace ForgetTheMilk.Controllers
{
public class TaskController : Controller
{
public ActionResult Index()
{
return View(Tasks);
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
using System.Web;
using System.Web.Mvc;
namespace ForgetTheMilk.Controllers
{
public class TaskController : Controller
{
public ActionResult Index()
{
return View(Tasks);
... | apache-2.0 | C# |
c262052ebfa6f619fe51761440de24b064755bad | replace debug tracepoints with trace tracepoints | rjw57/streamkinect2.net | StreamKinect2Tests/Mocks.cs | StreamKinect2Tests/Mocks.cs | using System.Diagnostics;
using StreamKinect2;
using System.Collections.Generic;
using System;
namespace StreamKinect2Tests.Mocks
{
/// <summary>
/// A mock zeroconf browser which avoids our test suite advertising to all and sundry.
/// </summary>
public class MockZeroconfServiceBrowser : IZeroconfSer... | using System.Diagnostics;
using StreamKinect2;
using System.Collections.Generic;
using System;
namespace StreamKinect2Tests.Mocks
{
/// <summary>
/// A mock zeroconf browser which avoids our test suite advertising to all and sundry.
/// </summary>
public class MockZeroconfServiceBrowser : IZeroconfSer... | bsd-2-clause | C# |
ac8b3d80d225fb979ad6c03de21fa1b1ce3c2cca | Bump version 0.2.0 | SaladLab/Akka.Interfaced,SaladbowlCreative/Akka.Interfaced,SaladLab/Akka.Interfaced,SaladbowlCreative/Akka.Interfaced | plugins/Akka.Interfaced.Persistence/Properties/AssemblyInfoGenerated.cs | plugins/Akka.Interfaced.Persistence/Properties/AssemblyInfoGenerated.cs | // <auto-generated/>
using System.Reflection;
[assembly: AssemblyVersionAttribute("0.0.0")]
[assembly: AssemblyFileVersionAttribute("0.2.0")]
[assembly: AssemblyInformationalVersionAttribute("0.2.0-beta")]
namespace System {
internal static class AssemblyVersionInformation {
internal const string Version ... | // <auto-generated/>
using System.Reflection;
[assembly: AssemblyVersionAttribute("0.0.0")]
[assembly: AssemblyFileVersionAttribute("0.2.0")]
[assembly: AssemblyInformationalVersionAttribute("0.2.0")]
namespace System {
internal static class AssemblyVersionInformation {
internal const string Version = "0.... | mit | C# |
f71f9eb7be950a488227fbdea5ff9201764048b1 | Add optional InvoiceId | haithemaraissia/XamarinStripe,xamarin/XamarinStripe | XamarinStripe/StripeInvoiceItem.cs | XamarinStripe/StripeInvoiceItem.cs | /*
* Copyright 2011 Joe Dluzen, 2012 Xamarin, Inc.
*
* Author(s):
* Joe Dluzen (jdluzen@gmail.com)
*
* 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/li... | /*
* Copyright 2011 Joe Dluzen, 2012 Xamarin, Inc.
*
* Author(s):
* Joe Dluzen (jdluzen@gmail.com)
*
* 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/li... | apache-2.0 | C# |
69798055d43f8021f3f52b7265afaff345ffda53 | Update Program.cs | tropo/tropo-webapi-csharp,tropo/tropo-webapi-csharp | TropoOutboundSMS/Program.cs | TropoOutboundSMS/Program.cs | using System;
using System.Collections.Generic;
using System.Web;
using System.Xml;
using TropoCSharp.Structs;
using TropoCSharp.Tropo;
namespace OutboundTest
{
/// <summary>
/// A simple console appplication used to launch a Tropo Session and send an outbound SMS.
/// Note - use in conjnction withe the O... | using System;
using System.Collections.Generic;
using System.Web;
using System.Xml;
using TropoCSharp.Structs;
using TropoCSharp.Tropo;
namespace OutboundTest
{
/// <summary>
/// A simple console appplication used to launch a Tropo Session and send an outbound SMS.
/// Note - use in conjnction withe the O... | mit | C# |
d63001b975071f446c4ac17c885ad2ffdb860201 | Use POL.OpenPOLUtilsConfigKey() where applicable. Adjusted retrieval of character name mappings to avoid problems/crashes if the registry entry is somehow not a string value. | Zastai/POLUtils | PlayOnline.FFXI/Character.cs | PlayOnline.FFXI/Character.cs | using System;
using System.IO;
using Microsoft.Win32;
using PlayOnline.Core;
namespace PlayOnline.FFXI {
public class Character {
internal Character(string ContentID) {
this.ID_ = ContentID;
this.DataDir_ = Path.Combine(POL.GetApplicationPath(AppID.FFXI), Path.Combine("User", ContentID));
}
... | using System;
using System.IO;
using Microsoft.Win32;
using PlayOnline.Core;
namespace PlayOnline.FFXI {
public class Character {
internal Character(string ContentID) {
this.ID_ = ContentID;
this.DataDir_ = Path.Combine(POL.GetApplicationPath(AppID.FFXI), Path.Combine("User", ContentID));
}
... | apache-2.0 | C# |
bb6600e8b6a1a6cbd5baf6e432775e29073f7626 | Simplify network accessing | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi.Gui/Program.cs | WalletWasabi.Gui/Program.cs | using Avalonia;
using Avalonia.Threading;
using AvalonStudio.Shell;
using AvalonStudio.Shell.Extensibility.Platforms;
using NBitcoin;
using System;
using System.IO;
using System.Runtime.InteropServices;
using System.Threading.Tasks;
using WalletWasabi.Gui.CommandLine;
using WalletWasabi.Gui.ViewModels;
using WalletWas... | using Avalonia;
using Avalonia.Threading;
using AvalonStudio.Shell;
using AvalonStudio.Shell.Extensibility.Platforms;
using NBitcoin;
using System;
using System.IO;
using System.Runtime.InteropServices;
using System.Threading.Tasks;
using WalletWasabi.Gui.CommandLine;
using WalletWasabi.Gui.ViewModels;
using WalletWas... | mit | C# |
78a4ccdae6ed3afd6680b3bbddd65808c04df158 | Rename some unit tests. | DavidLievrouw/OwinRequestScopeContext | src/OwinRequestScopeContext.Tests/AppBuilderExtensionsFixture.cs | src/OwinRequestScopeContext.Tests/AppBuilderExtensionsFixture.cs | #if NETFRAMEWORK
using System;
using System.Diagnostics.CodeAnalysis;
using NUnit.Framework;
using Owin;
using FakeItEasy;
namespace DavidLievrouw.OwinRequestScopeContext {
[TestFixture]
public class AppBuilderExtensionsFixture {
[TestFixture]
public class UseRequestScopeContext : AppBuilderEx... | #if NETFRAMEWORK
using System;
using System.Diagnostics.CodeAnalysis;
using NUnit.Framework;
using Owin;
using FakeItEasy;
namespace DavidLievrouw.OwinRequestScopeContext {
[TestFixture]
public class AppBuilderExtensionsFixture {
[TestFixture]
public class UseRequestScopeContext : AppBuilderEx... | mit | C# |
ae2afbd735995ed9cbf0d82a9417ebad1839cbaa | Allow page on submit to be null | TimGeyssens/MCFly,TimGeyssens/MCFly,TimGeyssens/MCFly | MCFly/Core/Form.cs | MCFly/Core/Form.cs |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Web;
using Umbraco.Core.Persistence;
using Umbraco.Core.Persistence.DatabaseAnnotations;
namespace MCFly.Core
{
[TableName("MCFlyForms")]
[PrimaryKey("Id", autoIncrement = true)]
[ExplicitC... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Web;
using Umbraco.Core.Persistence;
using Umbraco.Core.Persistence.DatabaseAnnotations;
namespace MCFly.Core
{
[TableName("MCFlyForms")]
[PrimaryKey("Id", autoIncrement = true)]
[ExplicitC... | mit | C# |
ca6857447345d4dc35aadeba1241f91b63dcc645 | Make `NotificationOverlay` dependency optional in `CollectionSettings` | ppy/osu,ppy/osu,ppy/osu,peppy/osu,peppy/osu,peppy/osu | osu.Game/Overlays/Settings/Sections/Maintenance/CollectionsSettings.cs | osu.Game/Overlays/Settings/Sections/Maintenance/CollectionsSettings.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.Localisation;
using osu.Game.Collections;
using osu.Game.Database;
using osu.Game.Localisation;
using osu.Game.Overla... | // 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.Localisation;
using osu.Game.Collections;
using osu.Game.Database;
using osu.Game.Localisation;
using osu.Game.Overla... | mit | C# |
87ef59bcfd4288da62a78ff33b237762a6e368a5 | Correct display of B5 and B3 in StatusFlags.ToString() | eightlittlebits/elbsms | elbsms_core/CPU/StatusFlags.cs | elbsms_core/CPU/StatusFlags.cs | using System.Text;
namespace elbsms_core.CPU
{
struct StatusFlags
{
public const int S = 0b1000_0000;
public const int Z = 0b0100_0000;
public const int B5 = 0b0010_0000;
public const int H = 0b0001_0000;
public const int B3 = 0b0000_1000;
public const int P = 0... | using System.Text;
namespace elbsms_core.CPU
{
struct StatusFlags
{
public const int S = 0b1000_0000;
public const int Z = 0b0100_0000;
public const int B5 = 0b0010_0000;
public const int H = 0b0001_0000;
public const int B3 = 0b0000_1000;
public const int P = 0... | mit | C# |
8417ebd77f63feb2ee4c66b348cae5e84292e0a4 | add rename explanation. | amiralles/contest,amiralles/contest | src/Contest.Demo/Demo.cs | src/Contest.Demo/Demo.cs | namespace Demo { //It doesn't match naming conventions but it reads better in the console ;)
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using _ = System.Action<Contest.Core.Runner>;
// ReSharper disable UnusedMember.Local
cl... | namespace Demo { //It doesn't match naming conventions but looks clear in the console ;)
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using _ = System.Action<Contest.Core.Runner>;
// ReSharper disable UnusedMember.Local
class ... | mit | C# |
da14c6509237787fb36ec0b8a844d1065d496c16 | Move SharpDX to next minor verison 2.5.1 | manu-silicon/SharpDX,TigerKO/SharpDX,wyrover/SharpDX,davidlee80/SharpDX-1,TechPriest/SharpDX,davidlee80/SharpDX-1,PavelBrokhman/SharpDX,waltdestler/SharpDX,fmarrabal/SharpDX,Ixonos-USA/SharpDX,dazerdude/SharpDX,andrewst/SharpDX,wyrover/SharpDX,fmarrabal/SharpDX,RobyDX/SharpDX,jwollen/SharpDX,fmarrabal/SharpDX,Ixonos-US... | Source/SharedAssemblyInfo.cs | Source/SharedAssemblyInfo.cs | // Copyright (c) 2010-2013 SharpDX - Alexandre Mutel
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy,... | // Copyright (c) 2010-2013 SharpDX - Alexandre Mutel
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy,... | mit | C# |
3481a5fd19025c5e3b1f1fecbed1f99868238212 | Fix wording | btcpayserver/btcpayserver,btcpayserver/btcpayserver,btcpayserver/btcpayserver,btcpayserver/btcpayserver | BTCPayServer/Views/Stores/ImportWallet/File.cshtml | BTCPayServer/Views/Stores/ImportWallet/File.cshtml | @model WalletSetupViewModel
@addTagHelper *, BundlerMinifier.TagHelpers
@{
Layout = "_LayoutWalletSetup";
ViewData["Title"] = "Import your wallet file";
}
@section Navbar {
<a asp-controller="Stores" asp-action="ImportWallet" asp-route-storeId="@Model.StoreId" asp-route-cryptoCode="@Model.CryptoCode" asp-r... | @model WalletSetupViewModel
@addTagHelper *, BundlerMinifier.TagHelpers
@{
Layout = "_LayoutWalletSetup";
ViewData["Title"] = "Import your wallet file";
}
@section Navbar {
<a asp-controller="Stores" asp-action="ImportWallet" asp-route-storeId="@Model.StoreId" asp-route-cryptoCode="@Model.CryptoCode" asp-r... | mit | C# |
00390909bd1b85088ff00edb340cf0bebba84539 | Add ToPlayer for GenericPosition | bawNg/Oxide,Nogrod/Oxide-2,Nogrod/Oxide-2,bawNg/Oxide,LaserHydra/Oxide,LaserHydra/Oxide,Visagalis/Oxide,Visagalis/Oxide | Oxide.Core/Libraries/Covalence/IPlayerCharacter.cs | Oxide.Core/Libraries/Covalence/IPlayerCharacter.cs | namespace Oxide.Core.Libraries.Covalence
{
/// <summary>
/// Represents a position of a point in 3D space
/// </summary>
public struct GenericPosition
{
public readonly float X, Y, Z;
public GenericPosition(float x, float y, float z)
{
X = x; Y = y; Z = z;
... | namespace Oxide.Core.Libraries.Covalence
{
/// <summary>
/// Represents a position of a point in 3D space
/// </summary>
public struct GenericPosition
{
public readonly float X, Y, Z;
public GenericPosition(float x, float y, float z)
{
X = x; Y = y; Z = z;
... | mit | C# |
7419a2a5a54b0d4d9d54df4fdeaa4cb0682a2aed | Remove inheritdoc from BaseHttpServer | SnowflakePowered/snowflake,SnowflakePowered/snowflake,RonnChyran/snowflake,faint32/snowflake-1,RonnChyran/snowflake,faint32/snowflake-1,RonnChyran/snowflake,SnowflakePowered/snowflake,faint32/snowflake-1 | Snowflake.API/Service/HttpServer/BaseHttpServer.cs | Snowflake.API/Service/HttpServer/BaseHttpServer.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Mono.Net;
using System.Threading;
namespace Snowflake.Service.HttpServer
{
public abstract class BaseHttpServer : IBaseHttpServer
{
HttpListener serverListener;
Thread serve... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Mono.Net;
using System.Threading;
namespace Snowflake.Service.HttpServer
{
/// <inheritdoc/>
public abstract class BaseHttpServer : IBaseHttpServer
{
HttpListener serverListener... | mpl-2.0 | C# |
060abba55721416aec1eef2ffef41429957d0e80 | Remove unused | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi.Gui/CommandLine/CommandInterpreter.cs | WalletWasabi.Gui/CommandLine/CommandInterpreter.cs | using Mono.Options;
using System;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices;
using System.Threading.Tasks;
using WalletWasabi.Helpers;
using WalletWasabi.Logging;
namespace WalletWasabi.Gui.CommandLine
{
public static class CommandInterpreter
{
/// <returns>If the GUI should run or n... | using Mono.Options;
using System;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices;
using System.Threading.Tasks;
using WalletWasabi.Helpers;
using WalletWasabi.Logging;
using WalletWasabi.WebClients.Wasabi;
namespace WalletWasabi.Gui.CommandLine
{
public static class CommandInterpreter
{
/... | mit | C# |
5083173b24b661579f359b2d5340263f4ad5587c | Use new OAID reading method | adjust/unity_sdk,adjust/unity_sdk,adjust/unity_sdk | Assets/AdjustOaid/Android/AdjustOaidAndroid.cs | Assets/AdjustOaid/Android/AdjustOaidAndroid.cs | using System;
using System.Runtime.InteropServices;
using UnityEngine;
namespace com.adjust.sdk.oaid
{
#if UNITY_ANDROID
public class AdjustOaidAndroid
{
private static AndroidJavaClass ajcAdjustOaid = new AndroidJavaClass("com.adjust.sdk.oaid.AdjustOaid");
private static AndroidJavaObject ajoCurrent... | using System;
using System.Runtime.InteropServices;
using UnityEngine;
namespace com.adjust.sdk.oaid
{
#if UNITY_ANDROID
public class AdjustOaidAndroid
{
private static AndroidJavaClass ajcAdjustOaid = new AndroidJavaClass("com.adjust.sdk.oaid.AdjustOaid");
public static void ReadOaid()
... | mit | C# |
53ffe4794f863cf26529a9581bfc556dc1865b45 | Add `LocalisableString` overloads for extension methods. | ppy/osu-framework,peppy/osu-framework,ZLima12/osu-framework,ZLima12/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,peppy/osu-framework | osu.Framework/Extensions/LocalisationExtensions/LocalisableStringExtensions.cs | osu.Framework/Extensions/LocalisationExtensions/LocalisableStringExtensions.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.Localisation;
namespace osu.Framework.Extensions.LocalisationExtensions
{
public static class LocalisableStringExtensions
{
/// <sum... | // 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.Localisation;
namespace osu.Framework.Extensions.LocalisationExtensions
{
public static class LocalisableStringExtensions
{
/// <sum... | mit | C# |
308c9dcff357ae71d614083a2f40852195ab1512 | Remove commented out code | NumbersInternational/CefSharp,illfang/CefSharp,jamespearce2006/CefSharp,battewr/CefSharp,illfang/CefSharp,battewr/CefSharp,rover886/CefSharp,wangzheng888520/CefSharp,joshvera/CefSharp,yoder/CefSharp,zhangjingpu/CefSharp,VioletLife/CefSharp,twxstar/CefSharp,yoder/CefSharp,dga711/CefSharp,ruisebastiao/CefSharp,gregmartin... | CefSharp.BrowserSubprocess/CefRenderProcess.cs | CefSharp.BrowserSubprocess/CefRenderProcess.cs | using CefSharp.Internals;
using System.Collections.Generic;
using System.ServiceModel;
namespace CefSharp.BrowserSubprocess
{
public class CefRenderProcess : CefSubProcess, IRenderProcess
{
private DuplexChannelFactory<IBrowserProcess> channelFactory;
private CefBrowserBase browser;
pu... | using CefSharp.Internals;
using System.Collections.Generic;
using System.ServiceModel;
namespace CefSharp.BrowserSubprocess
{
public class CefRenderProcess : CefSubProcess, IRenderProcess
{
private DuplexChannelFactory<IBrowserProcess> channelFactory;
private CefBrowserBase browser;
pu... | bsd-3-clause | C# |
9e25cc88d7fd116932a6bfe7faa42514285d9f73 | Remove 0.1 sec waiting periods on Crazy Talk: Helps streams running at low framerates avoid strikes from slow action | CaitSith2/ktanemod-twitchplays,ashbash1987/ktanemod-twitchplays | Assets/Scripts/ComponentSolvers/Modded/Perky/CrazyTalkComponentSolver.cs | Assets/Scripts/ComponentSolvers/Modded/Perky/CrazyTalkComponentSolver.cs | using System;
using System.Collections;
using System.Reflection;
using UnityEngine;
public class CrazyTalkComponentSolver : ComponentSolver
{
public CrazyTalkComponentSolver(BombCommander bombCommander, MonoBehaviour bombComponent, IRCConnection ircConnection, CoroutineCanceller canceller) :
base(bombComm... | using System;
using System.Collections;
using System.Reflection;
using UnityEngine;
public class CrazyTalkComponentSolver : ComponentSolver
{
public CrazyTalkComponentSolver(BombCommander bombCommander, MonoBehaviour bombComponent, IRCConnection ircConnection, CoroutineCanceller canceller) :
base(bombComm... | mit | C# |
9b4b324a413cf35ef08c2d491fc35be97161e962 | Fix broken tests updated for longer max name. | frackleton/ApplicationInsights-SDK-Labs,Microsoft/ApplicationInsights-SDK-Labs | AggregateMetrics/AggregateMetrics.Tests/CounterCollectionLimitsTests.cs | AggregateMetrics/AggregateMetrics.Tests/CounterCollectionLimitsTests.cs | namespace CounterCollection.Tests
{
using System;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.ApplicationInsights;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Microsoft.ApplicationInsights.Extensibility.AggregateMetrics;
[TestC... | namespace CounterCollection.Tests
{
using System;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.ApplicationInsights;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Microsoft.ApplicationInsights.Extensibility.AggregateMetrics;
[TestC... | mit | C# |
1d0c6d951018becc3f27026cee2606dc8690349d | Update MergingCells.cs | maria-shahid-aspose/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,aspose-cells/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,aspose-cells/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,aspose-cells/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,asposecel... | Examples/CSharp/Formatting/ConfiguringAlignmentSettings/MergingCells.cs | Examples/CSharp/Formatting/ConfiguringAlignmentSettings/MergingCells.cs | using System.IO;
using Aspose.Cells;
namespace Aspose.Cells.Examples.Formatting.ConfiguringAlignmentSettings
{
public class MergingCells
{
public static void Main(string[] args)
{
//ExStart:1
// The path to the documents directory.
string dataDir = Aspose.Ce... | using System.IO;
using Aspose.Cells;
namespace Aspose.Cells.Examples.Formatting.ConfiguringAlignmentSettings
{
public class MergingCells
{
public static void Main(string[] args)
{
// The path to the documents directory.
string dataDir = Aspose.Cells.Examples.Utils.GetDa... | mit | C# |
0a849478d371d618d1dd6d77fc98cf93306e5cd6 | Remove explicit framework version dependency in signing | hanu412/roslyn,shyamnamboodiripad/roslyn,MavenRain/roslyn,AnthonyDGreen/roslyn,ErikSchierboom/roslyn,pjmagee/roslyn,tang7526/roslyn,marksantos/roslyn,sharadagrawal/TestProject2,DanielRosenwasser/roslyn,swaroop-sridhar/roslyn,antiufo/roslyn,jeffanders/roslyn,YOTOV-LIMITED/roslyn,robinsedlaczek/roslyn,tmeschter/roslyn,ba... | src/Compilers/Core/Desktop/Interop/ClrStrongName.cs | src/Compilers/Core/Desktop/Interop/ClrStrongName.cs | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Runtime.InteropServices;
using System.Security;
namespace Microsoft.CodeAnalysis.Interop
{
internal static class ClrStrongNam... | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Runtime.InteropServices;
namespace Microsoft.CodeAnalysis.Interop
{
internal static class ClrStrongName
{
[DllImp... | mit | C# |
ea685b4f2352b31abcbf769826499aea0e8fb793 | Add 'article' EmbedType | AntiTcb/Discord.Net,RogueException/Discord.Net,Confruggy/Discord.Net | src/Discord.Net.Core/Entities/Messages/EmbedType.cs | src/Discord.Net.Core/Entities/Messages/EmbedType.cs | namespace Discord
{
public enum EmbedType
{
Rich,
Link,
Video,
Image,
Gifv,
Article
}
}
| namespace Discord
{
public enum EmbedType
{
Rich,
Link,
Video,
Image,
Gifv
}
}
| mit | C# |
ba7f80fff33d42bba6b3f7089bd19a2d6bea4974 | Make internals (in particular Runtime.*) visible to the tests. | pythonnet/pythonnet,Konstantin-Posudevskiy/pythonnet,yagweb/pythonnet,AlexCatarino/pythonnet,denfromufa/pythonnet,vmuriart/pythonnet,yagweb/pythonnet,denfromufa/pythonnet,denfromufa/pythonnet,dmitriyse/pythonnet,vmuriart/pythonnet,pythonnet/pythonnet,Konstantin-Posudevskiy/pythonnet,AlexCatarino/pythonnet,QuantConnect/... | src/runtime/assemblyinfo.cs | src/runtime/assemblyinfo.cs | using System;
using System.Reflection;
using System.Resources;
using System.Runtime.InteropServices;
using System.Runtime.CompilerServices;
[assembly: AssemblyProduct("Python for .NET")]
[assembly: AssemblyVersion("4.0.0.1")]
[assembly: AssemblyDefaultAlias("Python.Runtime.dll")]
[assembly: CLSCompliant(true)]
[assemb... | using System;
using System.Reflection;
using System.Resources;
using System.Runtime.InteropServices;
[assembly: AssemblyProduct("Python for .NET")]
[assembly: AssemblyVersion("4.0.0.1")]
[assembly: AssemblyDefaultAlias("Python.Runtime.dll")]
[assembly: CLSCompliant(true)]
[assembly: ComVisible(false)]
[assembly: Assem... | mit | C# |
b0c2f6a6554e135ed914ef12111b094bd2650458 | Fix FxCop warning CA1018 (attributes should have AttributeUsage) | shimingsg/corefx,ericstj/corefx,ViktorHofer/corefx,ericstj/corefx,wtgodbe/corefx,wtgodbe/corefx,wtgodbe/corefx,shimingsg/corefx,ViktorHofer/corefx,ericstj/corefx,ViktorHofer/corefx,shimingsg/corefx,wtgodbe/corefx,wtgodbe/corefx,ViktorHofer/corefx,shimingsg/corefx,ViktorHofer/corefx,shimingsg/corefx,ericstj/corefx,erics... | src/Common/src/CoreLib/System/Runtime/CompilerServices/DiscardableAttribute.cs | src/Common/src/CoreLib/System/Runtime/CompilerServices/DiscardableAttribute.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.
namespace System.Runtime.CompilerServices
{
// Custom attribute to indicating a TypeDef is a discardable attribu... | // 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.
namespace System.Runtime.CompilerServices
{
// Custom attribute to indicating a TypeDef is a discardable attribu... | mit | C# |
d34f8feb39e69d2e0a71e055169e4b88dde91e7a | Update SignIn.cshtml | tariqs-repo/SignalR-Notification-State-Manager,tariqs-repo/SignalR-Notification-State-Manager | Sample_Project/SingnalRNotificationStateManager/Views/Home/SignIn.cshtml | Sample_Project/SingnalRNotificationStateManager/Views/Home/SignIn.cshtml |
@{
ViewBag.Title = "SingIn";
}
<h2>SingIn</h2>
<b>Mock login. Type anything to signin.</b>
@using(Html.BeginForm("SignIn", "Home"))
{
@Html.ValidationSummary()
<table>
<tr>
<td>Username</td>
<td>@Html.TextBox("Username", "dhetteri")</td>
</tr>
<tr>
<td>Password</td>
<td>@Html.TextBox("passw... |
@{
ViewBag.Title = "SingIn";
}
<h2>SingIn</h2>
<b>Mock login. Type anything in to signin.</b>
@using(Html.BeginForm("SignIn", "Home"))
{
@Html.ValidationSummary()
<table>
<tr>
<td>Username</td>
<td>@Html.TextBox("Username", "dhetteri")</td>
</tr>
<tr>
<td>Password</td>
<td>@Html.TextBox("pa... | apache-2.0 | C# |
b3a4ef9a6d2fe7f521883c466f6c6feefa0611a5 | Update NotificationUnsubscribe.cshtml | SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice | src/SFA.DAS.EmployerAccounts.Web/Views/Settings/NotificationUnsubscribe.cshtml | src/SFA.DAS.EmployerAccounts.Web/Views/Settings/NotificationUnsubscribe.cshtml | @model OrchestratorResponse<SummaryUnsubscribeViewModel>
@{
ViewBag.Title = "Unsubscribe from notification";
ViewBag.PageId = "unsubscribe-notification";
ViewBag.HideNav = true;
}
<div class="grid-row">
<div class="column-two-thirds">
@if (Model.Data.AlreadyUnsubscribed)
{
... | @model OrchestratorResponse<SummaryUnsubscribeViewModel>
@{
ViewBag.Title = "Unsubscribe from notification";
ViewBag.PageId = "unsubscribe-notification";
ViewBag.HideNav = true;
}
<div class="grid-row">
<div class="column-two-thirds">
@if (Model.Data.AlreadyUnsubscribed)
{
... | mit | C# |
832d736ffbd07bd77600e83c103ac4245d857ddd | Change ODataRoutingConventions to expose a Collection instead of an IList | yonglehou/WebApi,LianwMS/WebApi,lungisam/WebApi,abkmr/WebApi,LianwMS/WebApi,scz2011/WebApi,lewischeng-ms/WebApi,lungisam/WebApi,scz2011/WebApi,chimpinano/WebApi,yonglehou/WebApi,congysu/WebApi,abkmr/WebApi,congysu/WebApi,lewischeng-ms/WebApi,chimpinano/WebApi | src/System.Web.Http.OData/OData/Routing/Conventions/ODataRoutingConventions.cs | src/System.Web.Http.OData/OData/Routing/Conventions/ODataRoutingConventions.cs | // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information.
using System.Collections.ObjectModel;
namespace System.Web.Http.OData.Routing.Conventions
{
/// <summary>
/// Provides helper methods for creating routing conventions.
/// ... | // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information.
using System.Collections.Generic;
namespace System.Web.Http.OData.Routing.Conventions
{
/// <summary>
/// Provides helper methods for creating routing conventions.
/// </su... | mit | C# |
7ebe65b5c0715755d95962bd83a690966181333c | Use known test vectors | ektrah/nsec | tests/Algorithms/X25519Tests.cs | tests/Algorithms/X25519Tests.cs | using System;
using NSec.Cryptography;
using Xunit;
namespace NSec.Tests.Algorithms
{
public static class X25519Tests
{
public static readonly TheoryData<string, string, string> Rfc7748TestVectors = Rfc.X25519Tests.Rfc7748TestVectors;
[Theory]
[MemberData(nameof(Rfc7748TestVectors))]
... | using System;
using NSec.Cryptography;
using Xunit;
namespace NSec.Tests.Algorithms
{
public static class X25519Tests
{
[Fact]
public static void BitMasked()
{
var a = new X25519();
var kdf = new HkdfSha256();
using (var kA = new Key(a))
... | mit | C# |
dc1f3cac6152b430a1739bad231bc4aff2542146 | add TODO for versioning | collinbarrett/FilterLists,collinbarrett/FilterLists,collinbarrett/FilterLists,collinbarrett/FilterLists,collinbarrett/FilterLists | api/FilterLists.Api/Controllers/ListsController.cs | api/FilterLists.Api/Controllers/ListsController.cs | using FilterLists.Services;
using Microsoft.AspNetCore.Mvc;
namespace FilterLists.Api.Controllers
{
//TODO: migrate controllers to separate projects by version, use dependency injection
//TODO: automate URL versioning
[Route("v1/[controller]")]
public class ListsController : Controller
{
p... | using FilterLists.Services;
using Microsoft.AspNetCore.Mvc;
namespace FilterLists.Api.Controllers
{
//TODO: automate URL versioning
[Route("v1/[controller]")]
public class ListsController : Controller
{
private readonly IListService _listService;
public ListsController(IListService li... | mit | C# |
fd291296110ecfc6a0539069271abc40c07fd2b9 | Rephrase parsing to the end of input in terms of Map. | plioi/parsley | src/Parsley/ParserExtensions.cs | src/Parsley/ParserExtensions.cs | using System.Diagnostics.CodeAnalysis;
namespace Parsley;
public static class ParserExtensions
{
public static bool TryParse<TItem, TValue>(
this Parser<TItem, TValue> parse,
ReadOnlySpan<TItem> input,
[NotNullWhen(true)] out TValue? value,
[NotNullWhen(false)] out ParseError? erro... | using System.Diagnostics.CodeAnalysis;
namespace Parsley;
public static class ParserExtensions
{
public static bool TryParse<TItem, TValue>(
this Parser<TItem, TValue> parse,
ReadOnlySpan<TItem> input,
[NotNullWhen(true)] out TValue? value,
[NotNullWhen(false)] out ParseError? erro... | mit | C# |
cd6e0223e428d7feba5bfd4aeb4369eb26b8ae64 | add words as well as phrases to the index | kreeben/resin,kreeben/resin | src/Sir.Store/LatinTokenizer.cs | src/Sir.Store/LatinTokenizer.cs | using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
namespace Sir.Store
{
public class LatinTokenizer : ITokenizer
{
private static char[] _delimiters = new char[] {
'.', ',', '?', '!',
':', ';', '\\', '... | using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
namespace Sir.Store
{
public class LatinTokenizer : ITokenizer
{
private static char[] _delimiters = new char[] {
'.', ',', '?', '!',
':', ';', '\\', '... | mit | C# |
1a55ba3556300996bf9bb34d7782bd0a4e010610 | Put WNDCLASS fields in the correct order | AArnott/pinvoke | src/User32/User32+WNDCLASSEX.cs | src/User32/User32+WNDCLASSEX.cs | // Copyright (c) to owners found in https://github.com/AArnott/pinvoke/blob/master/COPYRIGHT.md. All rights reserved.
// Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
namespace PInvoke
{
using System;
using System.Runtime.InteropServices;
/// <cont... | // Copyright (c) to owners found in https://github.com/AArnott/pinvoke/blob/master/COPYRIGHT.md. All rights reserved.
// Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
namespace PInvoke
{
using System;
using System.Runtime.InteropServices;
/// <cont... | mit | C# |
30ae321ce657a54e67990ca59a473660ff9ad078 | Use the correct iteration count in IterationDataAttribute | diryboy/roslyn,jasonmalinowski/roslyn,nguerrera/roslyn,dotnet/roslyn,abock/roslyn,AmadeusW/roslyn,VSadov/roslyn,KirillOsenkov/roslyn,aelij/roslyn,AlekseyTs/roslyn,jasonmalinowski/roslyn,tmat/roslyn,davkean/roslyn,wvdd007/roslyn,tannergooding/roslyn,swaroop-sridhar/roslyn,KevinRansom/roslyn,eriawan/roslyn,heejaechang/ro... | src/VisualStudio/IntegrationTest/TestUtilities/IterationDataAttribute.cs | src/VisualStudio/IntegrationTest/TestUtilities/IterationDataAttribute.cs | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Generic;
using System.Reflection;
using Xunit.Sdk;
namespace Microsoft.VisualStudio.IntegrationTest.Utilities
{
/// <summary>
... | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Generic;
using System.Reflection;
using Xunit.Sdk;
namespace Microsoft.VisualStudio.IntegrationTest.Utilities
{
/// <summary>
... | mit | C# |
5524f52ad4eb918d086db5e4dd6b1699948cf5d5 | Bump to 0.5 | github-for-unity/Unity,github-for-unity/Unity,mpOzelot/Unity,mpOzelot/Unity,github-for-unity/Unity | common/SolutionInfo.cs | common/SolutionInfo.cs | using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyProduct("GitHub for Unity")]
[assembly: AssemblyVersion(System.AssemblyVersionInformation.Version)]
[assembly: AssemblyFileVersion(System.AssemblyVersionInformation.Version)]... | using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyProduct("GitHub for Unity")]
[assembly: AssemblyVersion(System.AssemblyVersionInformation.Version)]
[assembly: AssemblyFileVersion(System.AssemblyVersionInformation.Version)]... | mit | C# |
733dadcdc6592368394d02bc70820bf7cc900165 | Bump version to 0.30.6 | 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.Version)]
[assembly: AssemblyFileVersion(System.Assembl... | #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.Version)]
[assembly: AssemblyFileVersion(System.Assembl... | mit | C# |
462e67b44215491d30c669a3f45853cd336dcf67 | update mongolab uri access method | WebmarksApp/webmarks.nancy,WebmarksApp/webmarks.nancy,WebmarksApp/webmarks.nancy | webmarks.nancy/Bootstrapper.cs | webmarks.nancy/Bootstrapper.cs | using MongoDB.Driver;
using Nancy;
using Nancy.Conventions;
using Nancy.TinyIoc;
using System;
using System.Configuration;
using webmarks.nancy.Models;
namespace webmarks.nancy
{
public class Bootstrapper : DefaultNancyBootstrapper
{
protected override void ConfigureConventions(NancyConventions nancyC... | using MongoDB.Driver;
using Nancy;
using Nancy.Conventions;
using Nancy.TinyIoc;
using System;
using webmarks.nancy.Models;
namespace webmarks.nancy
{
public class Bootstrapper : DefaultNancyBootstrapper
{
protected override void ConfigureConventions(NancyConventions nancyConventions)
{
... | mit | C# |
41a77e3b3a46fcf75f82082990f9619cc9008a32 | Fix tab names on node views | jeddytier4/Opserver,manesiotise/Opserver,mqbk/Opserver,opserver/Opserver,mqbk/Opserver,jeddytier4/Opserver,manesiotise/Opserver,rducom/Opserver,GABeech/Opserver,GABeech/Opserver,manesiotise/Opserver,opserver/Opserver,rducom/Opserver,opserver/Opserver | Opserver/Views/Dashboard/CurrentStatusTypes.cs | Opserver/Views/Dashboard/CurrentStatusTypes.cs | using System.ComponentModel;
namespace StackExchange.Opserver.Views.Dashboard
{
public enum CurrentStatusTypes
{
[Description("None")]
None = 0,
[Description("Stats")]
Stats = 1,
[Description("Interfaces")]
Interfaces = 2,
[Description("VM Info")]
... | using System.ComponentModel;
namespace StackExchange.Opserver.Views.Dashboard
{
public enum CurrentStatusTypes
{
[Description("None")]
None = 0,
Stats = 1,
Interfaces = 2,
[Description("VM Info")]
VMHost = 3,
[Description("Elastic")]
Elastic = 4,... | mit | C# |
b534c845698fb2c18d7103df485e061f50c7886d | Add the time as a title to the order notes date. | ucdavis/Purchasing,ucdavis/Purchasing,ucdavis/Purchasing | Purchasing.Mvc/Views/Order/_ReviewNotes.cshtml | Purchasing.Mvc/Views/Order/_ReviewNotes.cshtml | @model ReviewOrderViewModel
<section id="notes" class="ui-corner-all display-form">
<header class="ui-corner-top ui-widget-header">
<div class="col1 showInNav">Order Notes</div>
<div class="col2">
<a href="#" class="button" id="add-note">Add Note</a>
</div>
</header>
... | @model ReviewOrderViewModel
<section id="notes" class="ui-corner-all display-form">
<header class="ui-corner-top ui-widget-header">
<div class="col1 showInNav">Order Notes</div>
<div class="col2">
<a href="#" class="button" id="add-note">Add Note</a>
</div>
</header>
... | mit | C# |
1305ae754ab061b98befb0fadb8460c8604b8fb6 | Add resources to the automated tests too | ZLima12/osu-framework,ppy/osu-framework,Nabile-Rahmani/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,Nabile-Rahmani/osu-framework,DrabWeb/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,smoogipooo/osu-framework,DrabWeb/osu-framework,default0/osu-framework,peppy/osu-framework,ZLima12/osu-framework,EVA... | osu.Framework.Tests/AutomatedVisualTestGame.cs | osu.Framework.Tests/AutomatedVisualTestGame.cs | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using osu.Framework.Allocation;
using osu.Framework.IO.Stores;
using osu.Framework.Testing;
namespace osu.Framework.Tests
{
public class Automat... | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using osu.Framework.Testing;
namespace osu.Framework.Tests
{
public class AutomatedVisualTestGame : Game
{
public AutomatedVisualTes... | mit | C# |
23eb1c655ce3b2dd5f6bea7e5f68bdc4d111fe8e | Add missing description | UselessToucan/osu,peppy/osu,smoogipoo/osu,peppy/osu,peppy/osu-new,NeoAdonis/osu,NeoAdonis/osu,smoogipoo/osu,UselessToucan/osu,ppy/osu,NeoAdonis/osu,ppy/osu,peppy/osu,UselessToucan/osu,smoogipoo/osu,smoogipooo/osu,ppy/osu | osu.Game.Rulesets.Osu/Mods/OsuModBarrelRoll.cs | osu.Game.Rulesets.Osu/Mods/OsuModBarrelRoll.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.Configuration;
using osu.Game.Rulesets.Mods;
using osu.Game.Rulesets.Osu.Objects;
using osu.Game.Rulesets.Osu.UI;
using osu.... | // 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.Configuration;
using osu.Game.Rulesets.Mods;
using osu.Game.Rulesets.Osu.Objects;
using osu.Game.Rulesets.Osu.UI;
using osu.... | mit | C# |
e801ad514bacd08de9b09f4669278ac51a777223 | Fix ruleset nullref | NeoAdonis/osu,ppy/osu,peppy/osu-new,UselessToucan/osu,smoogipoo/osu,smoogipoo/osu,UselessToucan/osu,peppy/osu,peppy/osu,smoogipooo/osu,smoogipoo/osu,NeoAdonis/osu,EVAST9919/osu,NeoAdonis/osu,EVAST9919/osu,ppy/osu,2yangk23/osu,ppy/osu,2yangk23/osu,peppy/osu,UselessToucan/osu | osu.Game/Tests/Visual/ModPerfectTestScene.cs | osu.Game/Tests/Visual/ModPerfectTestScene.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.Extensions.TypeExtensions;
using osu.Game.Beatmaps;
using osu.Game.Rulesets;
using osu.Game.Rulesets.Mods;
using osu.Game.Rulesets.Objects;
using osu.... | // 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.Extensions.TypeExtensions;
using osu.Game.Beatmaps;
using osu.Game.Rulesets;
using osu.Game.Rulesets.Mods;
using osu.Game.Rulesets.Objects;
using osu.... | mit | C# |
1657c3573b2280378da91729c49d2bd5ccbe1ca0 | update _Layout.cshtml css to style.css | MarkPieszak/AspNETCore-Vue-starter,MarkPieszak/AspNETCore-Vue-starter | content/Views/Shared/_Layout.cshtml | content/Views/Shared/_Layout.cshtml | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>@ViewData["Title"] - aspnetcore_Vue_starter</title>
<link rel="stylesheet" href="~/dist/vendor.css" asp-append-version="true" />
<environment names="Staging,Produc... | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>@ViewData["Title"] - aspnetcore_Vue_starter</title>
<link rel="stylesheet" href="~/dist/vendor.css" asp-append-version="true" />
<environment names="Staging,Produc... | mit | C# |
b4c0948f35c360f3791eb1dd96a537226c4a56bc | fix up ut | paulvanbrenk/nodejstools,zhoffice/nodejstools,mousetraps/nodejstools,bowdenk7/nodejstools,munyirik/nodejstools,hoanhtien/nodejstools,mousetraps/nodejstools,AustinHull/nodejstools,paladique/nodejstools,np83/nodejstools,Microsoft/nodejstools,chanchaldabriya/nodejstools,kant2002/nodejstools,bowdenk7/nodejstools,necroscope... | Nodejs/Tests/TestAdapterTests/NodejsTestInfoTests.cs | Nodejs/Tests/TestAdapterTests/NodejsTestInfoTests.cs |
using Microsoft.NodejsTools.TestAdapter.TestFrameworks;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace TestAdapterTests {
[TestClass]
public class NodejsTestInfoTests {
[TestMethod, Priority(0)]
public void ConstructFullyQualifiedName_ValidInput() {
//Arrange
... |
using Microsoft.NodejsTools.TestAdapter.TestFrameworks;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace TestAdapterTests {
[TestClass]
public class NodejsTestInfoTests {
[TestMethod, Priority(0)]
public void ConstructFullyQualifiedName_ValidInput() {
//Arrange
... | apache-2.0 | C# |
e88aee85b5afc5db04a79fb7a19bf240961211fe | update prefab path in test | DDReaper/MixedRealityToolkit-Unity,killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity | Assets/MixedRealityToolkit.Tests/PlayModeTests/CoreServicesTests.cs | Assets/MixedRealityToolkit.Tests/PlayModeTests/CoreServicesTests.cs | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
#if !WINDOWS_UWP
// When the .NET scripting backend is enabled and C# projects are built
// The assembly that this file is part of is still built for the player,
// ... | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
#if !WINDOWS_UWP
// When the .NET scripting backend is enabled and C# projects are built
// The assembly that this file is part of is still built for the player,
// ... | mit | C# |
896088bc0281fc3bb69b883beb9380439df77f2b | Remove using | DrabWeb/osu,peppy/osu-new,smoogipoo/osu,EVAST9919/osu,NeoAdonis/osu,ppy/osu,ppy/osu,smoogipoo/osu,smoogipooo/osu,ZLima12/osu,ZLima12/osu,2yangk23/osu,NeoAdonis/osu,DrabWeb/osu,johnneijzen/osu,ppy/osu,peppy/osu,UselessToucan/osu,2yangk23/osu,DrabWeb/osu,smoogipoo/osu,peppy/osu,johnneijzen/osu,EVAST9919/osu,UselessToucan... | osu.Game.Tests/Visual/TestCaseDirectPanel.cs | osu.Game.Tests/Visual/TestCaseDirectPanel.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 osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Game.Over... | // 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 osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Game.Beat... | mit | C# |
45679fa29e3b683bd77b7f250071f32aed3aad4b | fix typo in test/[...]/index.cshtml | btcpayserver/btcpayserver,btcpayserver/btcpayserver,btcpayserver/btcpayserver,btcpayserver/btcpayserver | BTCPayServer.Plugins.Test/Views/TestExtension/Index.cshtml | BTCPayServer.Plugins.Test/Views/TestExtension/Index.cshtml | @model BTCPayServer.Plugins.Test.TestPluginPageViewModel
<section>
<div class="container">
<h1>Challenge Completed!!</h1>
Here is also an image loaded from the plugin<br/>
<a href="https://twitter.com/NicolasDorier/status/1307221679014256640">
<img src="/Resources/img/screengrab.... | @model BTCPayServer.Plugins.Test.TestPluginPageViewModel
<section>
<div class="container">
<h1>Challenge Completed!!</h1>
Here is also an image loaded from the plugin<br/>
<a href="https://twitter.com/NicolasDorier/status/1307221679014256640">
<img src="/Resources/img/screengrab.... | mit | C# |
b2b4202f0cfb75361844731ab3d9a2073c1010aa | add GetCommentTest | Taylorgrohs/.NET-SoloProject,Taylorgrohs/.NET-SoloProject,Taylorgrohs/.NET-SoloProject | SoloProject/SoloProject.Tests/ModelTests/PostTest.cs | SoloProject/SoloProject.Tests/ModelTests/PostTest.cs | using SoloProject.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Xunit;
namespace SoloProject.Tests
{
public class PostTest
{
[Fact]
public void GetContentTest()
{
//Arrange
var post = new Post();
... | using SoloProject.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Xunit;
namespace SoloProject.Tests
{
public class PostTest
{
[Fact]
public void GetContentTest()
{
//Arrange
var post = new Post();
... | mit | C# |
dc1fac7874aff38b802f4ad50aa39b0ae3c7a73a | comment about improving animation framework | MichaelAquilina/Some-2D-RPG,littleboss/Some-2D-RPG | DivineRightConcept/DivineRightConcept/Drawing/Animation.cs | DivineRightConcept/DivineRightConcept/Drawing/Animation.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework;
namespace DivineRightConcept.Drawing
{
/// <summary>
/// Animation class that allows the user to specify an animation from a texture
/// </summary>
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework;
namespace DivineRightConcept.Drawing
{
/// <summary>
/// Animation class that allows the user to specify an animation from a texture
/// </summary>
... | mit | C# |
2c5c8cae426cf5d393f3be98703445bcdd2b18ce | Update ApplicationInsightsEventTelemeter.cs | tiksn/TIKSN-Framework | TIKSN.Core/Analytics/Telemetry/ApplicationInsightsEventTelemeter.cs | TIKSN.Core/Analytics/Telemetry/ApplicationInsightsEventTelemeter.cs | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Threading.Tasks;
using Microsoft.ApplicationInsights.DataContracts;
namespace TIKSN.Analytics.Telemetry
{
public class ApplicationInsightsEventTelemeter : IEventTelemeter
{
public Task TrackEvent(string name)
... | using Microsoft.ApplicationInsights.DataContracts;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Threading.Tasks;
namespace TIKSN.Analytics.Telemetry
{
public class ApplicationInsightsEventTelemeter : IEventTelemeter
{
public Task TrackEvent(string name)
... | mit | C# |
3564279836dbe13da43331018a365e8529e62f67 | Update TokenReplacerBase.cs | remember664/Sitecore.RestSharp,remember664/Sitecore.RestSharp | Sitecore.RestSharp/Tokens/TokenReplacerBase.cs | Sitecore.RestSharp/Tokens/TokenReplacerBase.cs | /*
Copyright 2013 Sergey Oleynik
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to i... | /*
Copyright 2013 Sergey Oleynik
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to i... | apache-2.0 | C# |
e37308df5d75f16e332bc53eb5c3619bd0c51782 | Fix fault in AssemblyHandlerIterator; attribute read issue | HelloKitty/Booma.Proxy | src/Booma.Proxy.Client.Unity.Consolidated/IoC/AssemblyHandlerIterator.cs | src/Booma.Proxy.Client.Unity.Consolidated/IoC/AssemblyHandlerIterator.cs | using System;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Reflection;
using Reflect.Extent;
namespace Booma.Proxy
{
public class AssemblyHandlerIterator<THandlerTypeProvider> : IEnumerable<Type>
where THandlerTypeProvider : IMessageHandle... | using System;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel;
using System.Reflection;
using Reflect.Extent;
namespace Booma.Proxy
{
public class AssemblyHandlerIterator<THandlerTypeProvider> : IEnumerable<Type>
where THandlerTypeProvider : IMessageHandlerTypeContainable, n... | agpl-3.0 | C# |
934d3acf850e1b9e64fb6e3969632605c19122d8 | Increment version number to sync up with NuGet | jcvandan/XeroAPI.Net,TDaphneB/XeroAPI.Net,MatthewSteeples/XeroAPI.Net,XeroAPI/XeroAPI.Net | source/XeroApi/Properties/AssemblyInfo.cs | source/XeroApi/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("XeroApi")]
[assembly: AssemblyDescription... | 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("XeroApi")]
[assembly: AssemblyDescription... | mit | C# |
73cdc0f7225994cca93fa9d1c439d37361d34881 | Fix ExponentialBackoff helper | carbon/Amazon | src/Amazon.Core/Scheduling/RetryPolicy.cs | src/Amazon.Core/Scheduling/RetryPolicy.cs | using System;
namespace Amazon.Scheduling
{
public abstract class RetryPolicy
{
public abstract bool ShouldRetry(int retryCount);
public abstract TimeSpan GetDelay(int retryCount);
public static ExponentialBackoffRetryPolicy ExponentialBackoff(TimeSpan initialDelay, TimeSpa... | using System;
namespace Amazon.Scheduling
{
public abstract class RetryPolicy
{
public abstract bool ShouldRetry(int retryCount);
public abstract TimeSpan GetDelay(int retryCount);
public static ExponentialBackoffRetryPolicy ExponentialBackoff(TimeSpan initialDelay, TimeSpa... | mit | C# |
86341eccb5b1c64344dba885411c8694dc8f794a | Remove obsolete code | martijn00/XamarinMediaManager,bubavanhalen/XamarinMediaManager,martijn00/XamarinMediaManager,mike-rowley/XamarinMediaManager,modplug/XamarinMediaManager,mike-rowley/XamarinMediaManager | MediaManager/Plugin.MediaManager.iOS/MediaManagerImplementation.cs | MediaManager/Plugin.MediaManager.iOS/MediaManagerImplementation.cs | using Plugin.MediaManager.Abstractions;
using Plugin.MediaManager.Abstractions.Implementations;
namespace Plugin.MediaManager
{
/// <summary>
/// Implementation for MediaManager
/// </summary>
public class MediaManagerImplementation : MediaManagerBase
{
private IAudioPlayer _aud... | using Plugin.MediaManager.Abstractions;
using Plugin.MediaManager.Abstractions.Implementations;
namespace Plugin.MediaManager
{
/// <summary>
/// Implementation for MediaManager
/// </summary>
public class MediaManagerImplementation : MediaManagerBase
{
private IAudioPlayer _aud... | mit | C# |
2fe723e189b10f69c43f5748f26f60b34bea6689 | Update WeeklyXamarin.cs | beraybentesen/planetxamarin,planetxamarin/planetxamarin,beraybentesen/planetxamarin,MabroukENG/planetxamarin,planetxamarin/planetxamarin,MabroukENG/planetxamarin,stvansolano/planetxamarin,planetxamarin/planetxamarin,beraybentesen/planetxamarin,MabroukENG/planetxamarin,stvansolano/planetxamarin,planetxamarin/planetxamar... | src/Firehose.Web/Authors/WeeklyXamarin.cs | src/Firehose.Web/Authors/WeeklyXamarin.cs | using Firehose.Web.Infrastructure;
using System;
using System.Collections.Generic;
namespace Firehose.Web.Authors
{
public class WeeklyXamarin : IAmACommunityMember
{
public string FirstName => "Weekly";
public string LastName => "Xamarin";
public string StateOrRegion => "Internet";
... | using Firehose.Web.Infrastructure;
using System;
using System.Collections.Generic;
namespace Firehose.Web.Authors
{
public class WeeklyXamarin : IAmACommunityMember
{
public string FirstName => "Weekly";
public string LastName => "Xamarin";
public string StateOrRegion => "Internet";
... | mit | C# |
02cf55bc730a13da6176a696a62216e1b4905a49 | Convert ToWords' tests to theory | micdenny/Humanizer,aloisdg/Humanizer,Flatlineato/Humanizer,micdenny/Humanizer,preetksingh80/Humanizer,llehouerou/Humanizer,henriksen/Humanizer,gyurisc/Humanizer,mexx/Humanizer,CodeFromJordan/Humanizer,kikoanis/Humanizer,gyurisc/Humanizer,schalpat/Humanizer,llehouerou/Humanizer,kikoanis/Humanizer,ErikSchierboom/Humanize... | src/Humanizer.Tests/NumberToWordsTests.cs | src/Humanizer.Tests/NumberToWordsTests.cs | using Xunit;
using Xunit.Extensions;
namespace Humanizer.Tests
{
public class NumberToWordsTests
{
[InlineData(1, "one")]
[InlineData(10, "ten")]
[InlineData(11, "eleven")]
[InlineData(122, "one hundred and twenty-two")]
[InlineData(3501, "three thousand five hundred an... | using Xunit;
namespace Humanizer.Tests
{
public class NumberToWordsTests
{
[Fact]
public void ToWords()
{
Assert.Equal("one", 1.ToWords());
Assert.Equal("ten", 10.ToWords());
Assert.Equal("eleven", 11.ToWords());
Assert.Equal("one hundred... | mit | C# |
0b87b7123410f712ff56a8538680992dfcec6e57 | Mark the ConstAttribute as not inherited | FonsDijkstra/CConst | CConst/CConst/ConstAttribute.cs | CConst/CConst/ConstAttribute.cs | using System;
namespace FonsDijkstra.CConst
{
[AttributeUsage(AttributeTargets.Method, Inherited = false, AllowMultiple = false)]
public sealed class ConstAttribute : Attribute
{
}
}
| using System;
namespace FonsDijkstra.CConst
{
[AttributeUsage(AttributeTargets.Method, Inherited = true, AllowMultiple = false)]
public sealed class ConstAttribute : Attribute
{
}
}
| mit | C# |
394a09311e2456c2a98aa310455c2f3ce8f07417 | Use the same type variable for all three database servers | jazd/Business,jazd/Business,jazd/Business | CSharp/SchemaVersion/Program.cs | CSharp/SchemaVersion/Program.cs | using System;
using Business.Core;
using Business.Core.Profile;
namespace Version
{
class MainClass
{
public static void Main(string[] args) {
Console.WriteLine("Hello World!");
var profile = new Profile();
IDatabase database;
database = new Business.C... | using System;
using Business.Core.Profile;
namespace Version
{
class MainClass
{
public static void Main(string[] args) {
Console.WriteLine("Hello World!");
var profile = new Profile();
var sqlitedatabase = new Business.Core.SQLite.Database(profile);
Con... | mit | C# |
86977f1cf0bfffd6c82878fda347f07323b786c7 | Add Type Forward (dotnet/coreclr#23036) | wtgodbe/corefx,ericstj/corefx,ptoonen/corefx,ptoonen/corefx,ViktorHofer/corefx,ViktorHofer/corefx,ViktorHofer/corefx,shimingsg/corefx,wtgodbe/corefx,shimingsg/corefx,ViktorHofer/corefx,wtgodbe/corefx,ericstj/corefx,wtgodbe/corefx,ptoonen/corefx,shimingsg/corefx,ericstj/corefx,shimingsg/corefx,ericstj/corefx,ericstj/cor... | src/Common/src/CoreLib/System/Runtime/AmbiguousImplementationException.cs | src/Common/src/CoreLib/System/Runtime/AmbiguousImplementationException.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Globalization;
using System.Runtime.Serialization;
namespace System.Runtime
{
[Serializable]
[... | // 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.Globalization;
using System.Runtime.Serialization;
namespace System.Runtime
{
[Serializable]
p... | mit | C# |
8d3c341008665da213fd5abfbb393d3dc9e26a22 | Improve login error handling | Esri/arcgis-runtime-demos-dotnet | src/OfflineWorkflowsSample/OfflineWorkflowsSample/Views/LoginPage.xaml.cs | src/OfflineWorkflowsSample/OfflineWorkflowsSample/Views/LoginPage.xaml.cs | using System;
using System.Threading.Tasks;
using Esri.ArcGISRuntime.Portal;
using OfflineWorkflowSample.ViewModels;
using OfflineWorkflowSample.Views;
using OfflineWorkflowsSample;
using Windows.ApplicationModel.Core;
using Windows.UI;
using Windows.UI.Popups;
using Windows.UI.ViewManagement;
using Windows.UI.Xaml;
u... | using OfflineWorkflowSample.ViewModels;
using OfflineWorkflowSample.Views;
using Windows.ApplicationModel.Core;
using Windows.UI;
using Windows.UI.ViewManagement;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
// The Blank Page item template is documented at https://go.microsoft.com/fwlink/?LinkId=234238
nam... | apache-2.0 | C# |
a2e02455b1ffd22be97513cfb1da45665d167407 | Implement IEncodingFactory #451 | mpostol/OPC-UA-OOI | Networking/DataRepository/AzureGatewayUnitTest/PartDataManagementSetupUnitTest.cs | Networking/DataRepository/AzureGatewayUnitTest/PartDataManagementSetupUnitTest.cs | //___________________________________________________________________________________
//
// Copyright (C) 2020, Mariusz Postol LODZ POLAND.
//
// To be in touch join the community at GITTER: https://gitter.im/mpostol/OPC-UA-OOI
//___________________________________________________________________________________
us... | //___________________________________________________________________________________
//
// Copyright (C) 2020, Mariusz Postol LODZ POLAND.
//
// To be in touch join the community at GITTER: https://gitter.im/mpostol/OPC-UA-OOI
//___________________________________________________________________________________
us... | mit | C# |
533a3b7c876fd58de498411badfd39a2a8c3d54b | update file version to 2.3.0.1 | JKennedy24/Xamarin.Forms.GoogleMaps,amay077/Xamarin.Forms.GoogleMaps,JKennedy24/Xamarin.Forms.GoogleMaps | Xamarin.Forms.GoogleMaps/Xamarin.Forms.GoogleMaps/Internals/ProductInformation.cs | Xamarin.Forms.GoogleMaps/Xamarin.Forms.GoogleMaps/Internals/ProductInformation.cs | using System;
namespace Xamarin.Forms.GoogleMaps.Internals
{
internal class ProductInformation
{
public const string Author = "amay077";
public const string Name = "Xamarin.Forms.GoogleMaps";
public const string Copyright = "Copyright © amay077. 2016 - 2018";
public const string... | using System;
namespace Xamarin.Forms.GoogleMaps.Internals
{
internal class ProductInformation
{
public const string Author = "amay077";
public const string Name = "Xamarin.Forms.GoogleMaps";
public const string Copyright = "Copyright © amay077. 2016 - 2018";
public const string... | mit | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.