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
ecefe8331bb63495737a4237b6a45ccb96a1ba72
Remove AbstractBlockCommentingEditingCommandHandler's legacy implementation
shyamnamboodiripad/roslyn,mgoertz-msft/roslyn,genlu/roslyn,tmat/roslyn,abock/roslyn,gafter/roslyn,AmadeusW/roslyn,davkean/roslyn,AmadeusW/roslyn,agocke/roslyn,stephentoub/roslyn,CyrusNajmabadi/roslyn,CyrusNajmabadi/roslyn,AlekseyTs/roslyn,mavasani/roslyn,brettfo/roslyn,weltkante/roslyn,gafter/roslyn,panopticoncentral/r...
src/EditorFeatures/Core/Implementation/BlockCommentEditing/AbstractBlockCommentEditingCommandHandler.cs
src/EditorFeatures/Core/Implementation/BlockCommentEditing/AbstractBlockCommentEditingCommandHandler.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 Microsoft.CodeAnalysis.Editor.Commands; using Microsoft.VisualStudio.Text.Operations; using VSCommanding = Microsoft.VisualStudio.Comman...
// 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 Microsoft.CodeAnalysis.Editor.Commands; using Microsoft.VisualStudio.Text.Operations; using VSCommanding = Microsoft.VisualStudio.Comman...
mit
C#
c8ee2b4202607663a277a04b7f909f6e5d5817ee
Fix SQLite compatibility for NH-2875 test.
fredericDelaporte/nhibernate-core,nhibernate/nhibernate-core,ngbrown/nhibernate-core,nkreipke/nhibernate-core,hazzik/nhibernate-core,ManufacturingIntelligence/nhibernate-core,lnu/nhibernate-core,lnu/nhibernate-core,alobakov/nhibernate-core,lnu/nhibernate-core,ManufacturingIntelligence/nhibernate-core,nhibernate/nhibern...
src/NHibernate.Test/NHSpecificTest/NH2875/Fixture.cs
src/NHibernate.Test/NHSpecificTest/NH2875/Fixture.cs
using System.Text; using NHibernate.Cfg; using NHibernate.Mapping.ByCode; using NHibernate.Tool.hbm2ddl; using NUnit.Framework; using SharpTestsEx; namespace NHibernate.Test.NHSpecificTest.NH2875 { [TestFixture] public class Fixture { public const string ForeignKeyName = "FK_NAME_TO_EXPECT_IN_DDL"; ...
using System.Text; using NHibernate.Cfg; using NHibernate.Mapping.ByCode; using NHibernate.Tool.hbm2ddl; using NUnit.Framework; using SharpTestsEx; namespace NHibernate.Test.NHSpecificTest.NH2875 { [TestFixture] public class Fixture { public const string ForeignKeyName = "FK_NAME_TO_EXPECT_IN_DDL"; ...
lgpl-2.1
C#
b9cf92af55e8c9058e20cd840418af8e945689a8
Make the login URL configurable.
jammycakes/dolstagis.web,jammycakes/dolstagis.web,jammycakes/dolstagis.web
src/Dolstagis.Web/Lifecycle/LoginHandler.cs
src/Dolstagis.Web/Lifecycle/LoginHandler.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Dolstagis.Web.Lifecycle { public class LoginHandler : ILoginHandler { public string LoginUrl { get; set; } public LoginHandler() { Lo...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Dolstagis.Web.Lifecycle { public class LoginHandler : ILoginHandler { public object GetLogin(IHttpContext context) { return new RedirectResult("...
mit
C#
e0e688b9bcc9ac2138bd2376783a2174e299444a
Fix after rebase
joemcbride/graphql-dotnet,graphql-dotnet/graphql-dotnet,joemcbride/graphql-dotnet,graphql-dotnet/graphql-dotnet,graphql-dotnet/graphql-dotnet
src/GraphQL.GraphiQLCore/GraphQLSettings.cs
src/GraphQL.GraphiQLCore/GraphQLSettings.cs
using System; using Microsoft.AspNetCore.Http; namespace GraphQL.GraphiQLCore { public class GraphQLSettings { public PathString Path { get; set; } = "/api/graphql"; public Func<HttpContext, object> BuildUserContext { get; set; } } }
using System; using Microsoft.AspNetCore.Http; namespace GraphQL.GraphiQLCore { public class GraphQLSettings { public PathString Path { get; set; } = "/api/graphql"; public ISchema Schema { get; set; } public Func<HttpContext, object> BuildUserContext { get; set; } } }
mit
C#
6e2d2f72da66bda07f4c62ad73185ed60de29c31
Update IsUnique.cs
michaeljwebb/Algorithm-Practice
Other/IsUnique.cs
Other/IsUnique.cs
//Determine if string has all unique characters -- return true or false. using System; using System.Collections.Generic; public class Test { public static void Main() { string test = "Google"; Console.WriteLine(IsUnique(test)); } public static bool IsUnique(string s){ Dictionary<char,int> uni = ...
//Determine if string has all unique characters -- return true or false. using System; using System.Collections.Generic; public class Test { public static void Main() { string test = "Google"; Console.WriteLine(IsUnique(test)); } public static bool IsUnique(string s){ Dictionary<int,int> uni = n...
mit
C#
3fc2af7b5880e1f4fdb31f393c8edc74d7b494d2
fix test case for AzureStack (#6977)
AsrOneSdk/azure-sdk-for-net,brjohnstmsft/azure-sdk-for-net,stankovski/azure-sdk-for-net,jackmagic313/azure-sdk-for-net,yugangw-msft/azure-sdk-for-net,ayeletshpigelman/azure-sdk-for-net,markcowl/azure-sdk-for-net,AsrOneSdk/azure-sdk-for-net,yugangw-msft/azure-sdk-for-net,brjohnstmsft/azure-sdk-for-net,hyonholee/azure-sd...
sdk/azurestack/Microsoft.AzureStack.Management.Commerce.Admin/tests/src/SubscriberUsageAggregateTests.cs
sdk/azurestack/Microsoft.AzureStack.Management.Commerce.Admin/tests/src/SubscriberUsageAggregateTests.cs
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // using Microsoft.AzureStack.Management.Commerce.Admin; using Microsoft.AzureStack.Management.Commerce.Admin.Models; using System; using Xunit; namespace Co...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // using Microsoft.AzureStack.Management.Commerce.Admin; using Microsoft.AzureStack.Management.Commerce.Admin.Models; using System; using Xunit; namespace Co...
mit
C#
7d05ca8d07d9e7dd768b5c9f20054f1e9eb6f2d4
Add output abbreviation text for named pipe relay client to service dispatcher to match the service proxy.
greghoover/gluon,greghoover/gluon,greghoover/gluon
hase/hase.DevLib/Service/ServiceDispatcher.cs
hase/hase.DevLib/Service/ServiceDispatcher.cs
using hase.DevLib.Contract.FileSystemQuery; using hase.DevLib.Service.FileSystemQuery; using ProtoBuf; using System; using System.IO.Pipes; namespace hase.DevLib.Service { public class ServiceDispatcher { private static readonly string pipeName = nameof(FileSystemQueryService); private NamedPi...
using hase.DevLib.Contract.FileSystemQuery; using hase.DevLib.Service.FileSystemQuery; using ProtoBuf; using System; using System.IO.Pipes; namespace hase.DevLib.Service { public class ServiceDispatcher { private static readonly string pipeName = nameof(FileSystemQueryService); private NamedPi...
mit
C#
439ebe8d74097b49758740d2e42d1951a761ed8a
Add CI target
xamarin/XamarinComponents,xamarin/XamarinComponents,xamarin/XamarinComponents,xamarin/XamarinComponents,xamarin/XamarinComponents,xamarin/XamarinComponents
Android/ARCore/build.cake
Android/ARCore/build.cake
#load "../../common.cake" var TARGET = Argument ("t", Argument ("target", "Default")); var NUGET_VERSION = "1.12.0"; var AAR_VERSION = "1.12.0"; var AAR_URL = string.Format("https://dl.google.com/dl/android/maven2/com/google/ar/core/{0}/core-{0}.aar", AAR_VERSION); var OBJ_VERSION = "0.3.0"; var OBJ_URL = string.For...
#load "../../common.cake" var TARGET = Argument ("t", Argument ("target", "Default")); var NUGET_VERSION = "1.12.0"; var AAR_VERSION = "1.12.0"; var AAR_URL = string.Format("https://dl.google.com/dl/android/maven2/com/google/ar/core/{0}/core-{0}.aar", AAR_VERSION); var OBJ_VERSION = "0.3.0"; var OBJ_URL = string.For...
mit
C#
6ed898c84ae1c88fdc16094312864204435deac5
Update Program.cs
chenbo4092/Test
Test/Test/Test/Program.cs
Test/Test/Test/Program.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Test { class Program { static void Main(string[] args) { Console.Write("45646456"); Console.Write("fsdsdfsdfs"); Console.Write("fsdsdfsdfs"); } } }
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Test { class Program { static void Main(string[] args) { Console.Write("fsdsdfsdfs"); } } }
lgpl-2.1
C#
b3e60d6592ec2b30a3b9eaa6795b33cd90e88d95
Fix line endings in a file
macro187/verbot
Verbot/VersionLocation.cs
Verbot/VersionLocation.cs
using MacroGuards; using MacroSemver; using MacroSln; namespace Verbot { /// <summary> /// A location where the current version can be recorded /// </summary> /// public class VersionLocation { public VersionLocation(VisualStudioProject project) { Guard.NotNull(pro...
using MacroGuards; using MacroSemver; using MacroSln; namespace Verbot { /// <summary> /// A location where the current version can be recorded /// </summary> /// public class VersionLocation { public VersionLocation(VisualStudioProject project) { Guard.NotNull(pr...
mit
C#
43da1171303f3db481011d698e5f83a7703516de
Add one using statement.
ikeough/IFC-gen,ikeough/IFC-gen,ikeough/IFC-gen
src/IFC-gen/csharp/Program.cs
src/IFC-gen/csharp/Program.cs
using System; using System.Collections.Generic; using System.Reflection; using System.IO; using System.Linq; using System.Text; using Antlr4.Runtime; using Antlr4.Runtime.Tree; namespace IFC.Generate { class Program { static void Main(string[] args) { if(args.Length != 2) { Console.WriteLine("The synt...
using System; using System.Collections.Generic; using System.Reflection; using System.IO; using System.Linq; using System.Text; using Antlr4.Runtime; using Antlr4.Runtime.Tree; namespace IFC.Generate { class Program { static void Main(string[] args) { if(args.Length != 2) { Console.WriteLine("The synt...
mit
C#
fe63a09a0f2bb4a640ad92fad039c1f6a1fc323e
Fix missing dependency in test
ppy/osu,ppy/osu,peppy/osu,NeoAdonis/osu,NeoAdonis/osu,NeoAdonis/osu,peppy/osu,peppy/osu,ppy/osu
osu.Game.Tournament.Tests/Components/TestSceneSongBar.cs
osu.Game.Tournament.Tests/Components/TestSceneSongBar.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using NUnit.Framework; using osu.Framework.Allocation; using osu.Framework.Graphics; using osu.Game.Beatmaps.Legacy; using osu.Game.Tests.Visual; using osu.Game.Tournamen...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using NUnit.Framework; using osu.Framework.Graphics; using osu.Game.Beatmaps.Legacy; using osu.Game.Tests.Visual; using osu.Game.Tournament.Components; namespace osu.Gam...
mit
C#
8dbddfab559830ffe19f3c675af4ca0367a296d3
Add HTTP method
ppy/osu,peppy/osu,UselessToucan/osu,johnneijzen/osu,NeoAdonis/osu,smoogipoo/osu,johnneijzen/osu,2yangk23/osu,smoogipoo/osu,EVAST9919/osu,NeoAdonis/osu,ppy/osu,EVAST9919/osu,smoogipoo/osu,peppy/osu-new,NeoAdonis/osu,smoogipooo/osu,2yangk23/osu,UselessToucan/osu,ppy/osu,UselessToucan/osu,peppy/osu,peppy/osu
osu.Game/Online/API/Requests/MarkChannelAsReadRequest.cs
osu.Game/Online/API/Requests/MarkChannelAsReadRequest.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.Net.Http; using osu.Framework.IO.Network; using osu.Game.Online.Chat; namespace osu.Game.Online.API.Requests { public class MarkChannelAsReadRequest : ...
// 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.Game.Online.Chat; namespace osu.Game.Online.API.Requests { public class MarkChannelAsReadRequest : APIRequest { private readonly Channel chann...
mit
C#
954576f3e753d6f19ec80e1583beaef84753e5fd
Fix build warning.
mysql-net/MySqlConnector,mysql-net/MySqlConnector,gitsno/MySqlConnector,gitsno/MySqlConnector
tests/SideBySide.Baseline/Properties/AssemblyInfo.cs
tests/SideBySide.Baseline/Properties/AssemblyInfo.cs
using System.Reflection; [assembly: AssemblyTitle("SideBySide.Baseline")] [assembly: AssemblyProduct("SideBySide.Baseline")] [assembly: AssemblyCopyright("Copyright 2016 Bradley Grainger")] [assembly: AssemblyVersion("1.0.*")]
using System.Reflection; [assembly: AssemblyTitle("SideBySide.Baseline")] [assembly: AssemblyProduct("SideBySide.Baseline")] [assembly: AssemblyCopyright("Copyright 2016 Bradley Grainger")] [assembly: AssemblyVersion("1.0.*")] [assembly: AssemblyFileVersion("1.0.*")]
mit
C#
78b04f74b2a8b63fba78bb57ba041763e12a2175
Fix typo
kluchrj/WarGame,kluchrj/WarGame
WarGUI/Shuffle.cs
WarGUI/Shuffle.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; using System.Security.Cryptography; namespace WarGUI { public static class ThreadSafeRandom { [ThreadStatic] private static Random Local; public static Random ThisThreadsRando...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; using System.Security.Cryptography; namespace WarGUI { public static class ThreadSafeRandom { [ThreadStatic] private static Random Local; public static Random ThisThreadsRando...
mit
C#
7ef2494668122eeba5b3a6c67dcb51fc0590c1a6
Connect Event constructors #12
AngleSharp/AngleSharp.Scripting,AngleSharp/AngleSharp.Scripting
AngleSharp.Scripting.JavaScript/EngineInstance.cs
AngleSharp.Scripting.JavaScript/EngineInstance.cs
namespace AngleSharp.Scripting.JavaScript { using AngleSharp.Dom; using AngleSharp.Dom.Events; using Jint; using Jint.Runtime.Environments; using System; using System.Collections.Generic; sealed class EngineInstance { readonly Dictionary<Object, DomNodeInstance> _objects; ...
namespace AngleSharp.Scripting.JavaScript { using AngleSharp.Dom; using Jint; using Jint.Runtime.Environments; using System; using System.Collections.Generic; sealed class EngineInstance { readonly Dictionary<Object, DomNodeInstance> _objects; readonly Engine _engine; ...
mit
C#
71d2b88b02ab89422dd23a889e708f4fda29111e
fix build?
ElectronNET/Electron.NET,ElectronNET/Electron.NET,ElectronNET/Electron.NET,ElectronNET/Electron.NET,ElectronNET/Electron.NET
ElectronNET.CLI/Commands/Actions/DirectoryCopy.cs
ElectronNET.CLI/Commands/Actions/DirectoryCopy.cs
using System.Collections.Generic; using System.IO; namespace ElectronNET.CLI.Commands.Actions { public static class DirectoryCopy { public static void Do(string sourceDirName, string destDirName, bool copySubDirs, List<string> ignoredSubDirs) { // Get the subdirectories for the spe...
using System.Collections.Generic; using System.IO; namespace ElectronNET.CLI.Commands.Actions { public static class DirectoryCopy { public static void Do(string sourceDirName, string destDirName, bool copySubDirs, List<string> ignoredSubDirs) { // Get the subdirectories for the spe...
mit
C#
3066ca0a8d29cc1d861128865646ed2511272d6e
Check if resx file exists
projectkudu/AzureFunctions,agruning/azure-functions-ux,chunye/azure-functions-ux,projectkudu/WebJobsPortal,chunye/azure-functions-ux,chunye/azure-functions-ux,agruning/azure-functions-ux,chunye/azure-functions-ux,projectkudu/AzureFunctions,agruning/azure-functions-ux,projectkudu/WebJobsPortal,agruning/azure-functions-u...
AzureFunctions.ResxConverter/ResxConvertor.cs
AzureFunctions.ResxConverter/ResxConvertor.cs
using Newtonsoft.Json.Linq; using System; using System.Collections; using System.IO; using System.Resources; using System.Text; namespace AzureFunctions.ResxConvertor { public class ResxConvertor { public void SaveResxAsTypeScriptFile(string[] resxFiles, string outputTSFilePAth) { ...
using Newtonsoft.Json.Linq; using System; using System.Collections; using System.Resources; using System.Text; namespace AzureFunctions.ResxConvertor { public class ResxConvertor { public void SaveResxAsTypeScriptFile(string[] resxFiles, string outputTSFilePAth) { var sb = new Stri...
apache-2.0
C#
2ee11e09eeaf6fb5c62a70cbb6bd0ad7cfaa1c68
Make sure we have useful ToString
larsbrubaker/agg-sharp,jlewin/agg-sharp,MatterHackers/agg-sharp
DataConverters3D/Object3D/ChildrenSelector.cs
DataConverters3D/Object3D/ChildrenSelector.cs
/* Copyright (c) 2017, Lars Brubaker, John Lewin All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and...
/* Copyright (c) 2017, Lars Brubaker, John Lewin All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and...
bsd-2-clause
C#
fa9373197b34db4d70d5e0fb72ef44fd6fcd098f
change RuntimeManifest paramter. download path for AssetBundleList is now forwarding to master branch.
sassembla/Autoya,sassembla/Autoya,sassembla/Autoya
Assets/Autoya/Settings/AutoyaRuntimeManifestObject.cs
Assets/Autoya/Settings/AutoyaRuntimeManifestObject.cs
using System; using System.Collections.Generic; using System.Linq; using UnityEngine; namespace AutoyaFramework.AppManifest { /** Autoyaで使用する動的な設定パラメータに関する型情報。 アプリケーション内に保存される。 動的に書き換えることができる。 初期値を与えることができる。 独自型を置く場合、ToString()をつけると、Autoya.Manifest_GetAppManifest()メソッドでSe...
using System; using System.Collections.Generic; using System.Linq; using UnityEngine; namespace AutoyaFramework.AppManifest { /** Autoyaで使用する動的な設定パラメータに関する型情報。 アプリケーション内に保存される。 動的に書き換えることができる。 初期値を与えることができる。 独自型を置く場合、ToString()をつけると、Autoya.Manifest_GetAppManifest()メソッドでSe...
mit
C#
4270a38d3880769b6f43178c06cdbe629fc938ea
add EmployeeTest
MIS-Department/HR-Department,MIS-Department/HR-Department,MIS-Department/HR-Department
HR-Department.IntegrationTest/EmployeeTest.cs
HR-Department.IntegrationTest/EmployeeTest.cs
using System.Data.SqlClient; using System.Linq; using DapperExtensions; using HR_Department.DataLayer; using HR_Department.Models.Tables; using NUnit.Framework; namespace HR_Department.IntegrationTest { [TestFixture] public class EmployeeTest { [Test] public void EmployeeGetAlltest() ...
using System.Data.SqlClient; using System.Linq; using DapperExtensions; using HR_Department.DataLayer; using HR_Department.Models.Tables; using NUnit.Framework; namespace HR_Department.IntegrationTest { [TestFixture] public class EmployeeTest { [Test] public void EmployeeGetAlltest() ...
mit
C#
1438ffc3765a4ad5a8c1ce41b9888602b7dd6d9e
Add TemplateId to IgnitionModel
sitecoreignition/Ignition.Foundation
Ignition.Foundation.Core/Mvc/IgnitionModel.cs
Ignition.Foundation.Core/Mvc/IgnitionModel.cs
using System; using System.ComponentModel; using System.Xml.Serialization; using Glass.Mapper.Sc.Configuration; using Glass.Mapper.Sc.Configuration.Attributes; using Sitecore.ContentSearch; using Sitecore.ContentSearch.Converters; using Sitecore.Data; using Sitecore.Globalization; namespace Ignition.Foundation.Core.M...
using System; using System.ComponentModel; using System.Xml.Serialization; using Glass.Mapper.Sc.Configuration; using Glass.Mapper.Sc.Configuration.Attributes; using Sitecore.ContentSearch; using Sitecore.ContentSearch.Converters; using Sitecore.Data; using Sitecore.Globalization; namespace Ignition.Foundation.Core.M...
mit
C#
567204a8a4b37036cea446e43da7bc70da5f4845
Remove obsolete code
MarimerLLC/csla,MarimerLLC/csla,rockfordlhotka/csla,rockfordlhotka/csla,rockfordlhotka/csla,MarimerLLC/csla
Source/Csla/Configuration/Fluent/CslaConfiguration.cs
Source/Csla/Configuration/Fluent/CslaConfiguration.cs
//----------------------------------------------------------------------- // <copyright file="CslaConfiguration.cs" company="Marimer LLC"> // Copyright (c) Marimer LLC. All rights reserved. // Website: https://cslanet.com // </copyright> // <summary>Use this type to configure the settings for CSLA .NET</summar...
//----------------------------------------------------------------------- // <copyright file="CslaConfiguration.cs" company="Marimer LLC"> // Copyright (c) Marimer LLC. All rights reserved. // Website: https://cslanet.com // </copyright> // <summary>Use this type to configure the settings for CSLA .NET</summar...
mit
C#
2f8fa83b7b6c26942141186ff6a3f4ae5504b6f4
Update SomeResponseTests.cs
mattiasnordqvist/Web-Anchor
WebAnchor.Tests/IntegrationTests/SomeResponseTests.cs
WebAnchor.Tests/IntegrationTests/SomeResponseTests.cs
using System.Net; using System.Net.Http; using System.Text; using System.Threading.Tasks; using Newtonsoft.Json; using NUnit.Framework; using WebAnchor.ResponseParser; using WebAnchor.Tests.ACollectionOfRandomTests.Fixtures; using WebAnchor.Tests.TestUtils; namespace WebAnchor.Tests.IntegrationTests { [TestFix...
using System.Net; using System.Net.Http; using System.Text; using System.Threading.Tasks; using Newtonsoft.Json; using NUnit.Framework; using WebAnchor.ResponseParser; using WebAnchor.Tests.ACollectionOfRandomTests.Fixtures; using WebAnchor.Tests.TestUtils; namespace WebAnchor.Tests.IntegrationTests { [TestFix...
mit
C#
622469473f64f8be839f948da5a50ccd1e2d512b
add gauges for process uptime & number of threads
DeonHeyns/Metrics.NET,ntent-ad/Metrics.NET,Liwoj/Metrics.NET,huoxudong125/Metrics.NET,MetaG8/Metrics.NET,ntent-ad/Metrics.NET,Liwoj/Metrics.NET,MetaG8/Metrics.NET,etishor/Metrics.NET,Recognos/Metrics.NET,cvent/Metrics.NET,mnadel/Metrics.NET,MetaG8/Metrics.NET,mnadel/Metrics.NET,huoxudong125/Metrics.NET,Recognos/Metrics...
Src/Metrics/PerfCounters/ThreadPoolMetrics.cs
Src/Metrics/PerfCounters/ThreadPoolMetrics.cs
using System; using System.Diagnostics; using System.Threading; namespace Metrics.PerfCounters { public static class ThreadPoolMetrics { public static void RegisterThreadPoolGauges(MetricsContext context) { context.Gauge("Thread Pool Available Threads", () => { int threads, ports; ...
using System.Threading; namespace Metrics.PerfCounters { public static class ThreadPoolMetrics { public static void RegisterThreadPoolGauges(MetricsContext context) { context.Gauge("Thread Pool Available Threads", () => { int threads, ports; ThreadPool.GetAvailableThreads(out threa...
apache-2.0
C#
e85d5e07fdf1b1d98291f09c348120195f11b26d
Modify Demo
sunkaixuan/SqlSugar
Src/Asp.Net/SqlServerTest/Demo/DemoE_CodeFirst.cs
Src/Asp.Net/SqlServerTest/Demo/DemoE_CodeFirst.cs
using SqlSugar; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace OrmTest { public class DemoE_CodeFirst { public static void Init() { Console.WriteLine(""); Console.WriteLine("#### CodeFirst Start ####"); SqlSug...
using SqlSugar; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace OrmTest { public class DemoE_CodeFirst { public static void Init() { Console.WriteLine(""); Console.WriteLine("#### CodeFirst Start ####"); SqlSug...
apache-2.0
C#
642f676f63a3424d0411d4783598bc18a84fc1b3
バージョン番号を更新したよ!
YKSoftware/YKToolkit.Controls
YKToolkit.Controls/Properties/AssemblyInfo.cs
YKToolkit.Controls/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.InteropServices; using System.Windows; [assembly: AssemblyTitle("YKToolkit.Controls")] #if NET4 [assembly: AssemblyDescription(".NET Framework 4.0 用 の WPF カスタムコントロールライブラリです。")] #else [assembly: AssemblyDescription("WPF カスタムコントロールライブラリです。")] #endif [assembly: Ass...
using System.Reflection; using System.Runtime.InteropServices; using System.Windows; [assembly: AssemblyTitle("YKToolkit.Controls")] #if NET4 [assembly: AssemblyDescription(".NET Framework 4.0 用 の WPF カスタムコントロールライブラリです。")] #else [assembly: AssemblyDescription("WPF カスタムコントロールライブラリです。")] #endif [assembly: Ass...
mit
C#
7f1fb5e6f9b963b7eec471cd675de17de44c9e42
Update Albu structure
Xeeynamo/KingdomHearts
OpenKh.Kh2/Jiminy/Albu.cs
OpenKh.Kh2/Jiminy/Albu.cs
using Xe.BinaryMapper; namespace OpenKh.Kh2.Jiminy { public class Albu { [Data] public byte World { get; set; } //Worl -> Id [Data(Count = 2)] public string Number { get; set; } //menu/<region>/jm_photo/<world_id><number>.bin [Data] public byte Padding { get; set; } [Data] publ...
using Xe.BinaryMapper; namespace OpenKh.Kh2.Jiminy { public class Albu { [Data] public byte World { get; set; } //Worl -> Id [Data(Count = 2)] public string Number { get; set; } //menu/<region>/jm_photo/<world_id><number>.bin [Data] public byte Padding { get; set; } [Data] publ...
mit
C#
21476c503dfb3bab7e6a462eefbd3320b5b1a7e0
Update ComputationAssembly.cs
HelloKitty/DistributedComputationEngine
TerminalClient/Compilation/ComputationAssembly.cs
TerminalClient/Compilation/ComputationAssembly.cs
using System; using System.Codedom; namespace Distributed.Compile { ///<Summary> /// Provides a wrapper for the dyanmic assembly, method substituion and etc. /// It's important that this class only be created once or we will suffer memory issues /// as dynamic assemblies in the same AppDomain cannot be freed up. ...
//
mit
C#
961f61a19a42de93cd836b10ccfe7584dab4f800
Add Vector2.FormatForMathematica method
virtuallynaked/virtually-naked,virtuallynaked/virtually-naked
Viewer/src/math/FormatForMathematicaExtensions.cs
Viewer/src/math/FormatForMathematicaExtensions.cs
using SharpDX; public static class FormatForMathematicaExtensions { public static string FormatForMathematica(this Vector2 v) { return "{" + v.X + ", " + v.Y + "}"; } public static string FormatForMathematica(this Vector3 v) { return "{" + v.X + ", " + v.Y + ", " + v.Z + "}"; } public static string FormatFo...
using SharpDX; public static class FormatForMathematicaExtensions { public static string FormatForMathematica(this Vector3 v) { return "{" + v.X + ", " + v.Y + ", " + v.Z + "}"; } public static string FormatForMathematica(this Matrix3x3 m) { return "{" + FormatForMathematica(m.Row1) + ", " + FormatForMathemati...
mit
C#
876d6524f7250ed102647bd29a31abb3b979354d
Fix CodeFactor
nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet
WalletWasabi.Fluent/Controls/DialogContentHost.cs
WalletWasabi.Fluent/Controls/DialogContentHost.cs
using Avalonia; using Avalonia.Controls; using Avalonia.Controls.Primitives; namespace WalletWasabi.Fluent.Controls { /// <summary> /// Manages and hosts dialogs when it's bound to <see cref="IDialogHost"/> objects. /// </summary> public class DialogContentHost : TemplatedControl { public static readonly Styled...
using Avalonia; using Avalonia.Controls; using Avalonia.Controls.Primitives; namespace WalletWasabi.Fluent.Controls { /// <summary> /// Manages and hosts dialogs when it's bound to <see cref="IDialogHost"/> objects. /// </summary> public class DialogContentHost : TemplatedControl { public static readonly Styled...
mit
C#
0414d57e7a7085f575cc0cb797101306a9743bf8
Bump Version
AyrA/BinSend
BinSend/Properties/AssemblyInfo.cs
BinSend/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("BinSend")] [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("BinSend")] [assembly: AssemblyDescription...
unlicense
C#
fd52cab935c8da4c39a24227df413b18868743fd
Fix comment
Microsoft/xunit-performance,visia/xunit-performance,mmitche/xunit-performance,pharring/xunit-performance,ianhays/xunit-performance,Microsoft/xunit-performance,ericeil/xunit-performance
src/xunit.performance.core/MeasureInstructionsRetired.cs
src/xunit.performance.core/MeasureInstructionsRetired.cs
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using Microsoft.Xunit.Performance.Sdk; using System; namespace Microsoft.Xunit.Performance { /// <summary> /// An attribute that is applied to a method, class...
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using Microsoft.Xunit.Performance.Sdk; using System; namespace Microsoft.Xunit.Performance { /// <summary> /// An attribute that is applied to a method, class...
mit
C#
2f21cc2e0e209c2d182cb42e9ae2e35047f7483d
Add timestamp to printout
PyramidTechnologies/ThermalTalk
ThermalConsole/Program.cs
ThermalConsole/Program.cs
 using System; using System.IO; using System.Threading; using ThermalTalk; using ThermalTalk.Imaging; namespace ThermalConsole { class Program { static void Main(string[] args) { const string commport = "COM1"; const string imgpath = @"C:\temp\security_sampl...
 using System; using System.IO; using System.Threading; using ThermalTalk; using ThermalTalk.Imaging; namespace ThermalConsole { class Program { static void Main(string[] args) { const string commport = "COM1"; const string imgpath = @"C:\temp\security_sampl...
mit
C#
f329804518522c2255015b73b4df83ac2a91ca0c
Add explanation of criteria to [IsMonotonic] remarks.
McSherry/McSherry.SemanticVersioning,McSherry/libSemVer.NET
libSemVer.NET/Monotonic/MonotonicExtensions.cs
libSemVer.NET/Monotonic/MonotonicExtensions.cs
// Copyright (c) 2015-16 Liam McSherry // // 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, modify, merge, pub...
// Copyright (c) 2015-16 Liam McSherry // // 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, modify, merge, pub...
mit
C#
8bac6e181e755e5b5db0006910a751a288a7338b
Remove sqrt from LevelToDb
ppy/osu-framework,smoogipooo/osu-framework,smoogipooo/osu-framework,ZLima12/osu-framework,peppy/osu-framework,peppy/osu-framework,ppy/osu-framework,ZLima12/osu-framework,ppy/osu-framework,peppy/osu-framework
osu.Framework/Audio/BassUtils.cs
osu.Framework/Audio/BassUtils.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 ManagedBass; using osu.Framework.Logging; namespace osu.Framework.Audio { internal static class BassUtils { /// <summary> ///...
// 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 ManagedBass; using osu.Framework.Logging; namespace osu.Framework.Audio { internal static class BassUtils { /// <summary> ///...
mit
C#
704f45a65d71f2aff70118025ec27af0a3def738
add conditional attribute to RRTracer so that it doesnt get called in release builds
mwrock/RequestReduce,mwrock/RequestReduce,mwrock/RequestReduce
RequestReduce/RRTracer.cs
RequestReduce/RRTracer.cs
using System; using System.Diagnostics; using System.Threading; namespace RequestReduce { public static class RRTracer { [Conditional("DEBUG")] public static void Trace(string messageFormat, params object[] args) { if (System.Diagnostics.Trace.Listeners.Count <= 0) return; ...
using System; using System.Diagnostics; using System.Threading; namespace RequestReduce { public static class RRTracer { public static void Trace(string messageFormat, params object[] args) { if (System.Diagnostics.Trace.Listeners.Count <= 0) return; var msg = string.Fo...
apache-2.0
C#
dbe15e47918bf78e233c9084a54c07664ad51173
fix code review empty line
Kentico/Deliver-Dancing-Goat-.NET-MVC,Kentico/Deliver-Dancing-Goat-.NET-MVC,Kentico/cloud-sample-app-net,Kentico/cloud-sample-app-net,Kentico/cloud-sample-app-net
DancingGoat/Helpers/EditLinkHelper.cs
DancingGoat/Helpers/EditLinkHelper.cs
using DancingGoat.Areas.Admin; using KenticoCloud.ContentManagement.Helpers; using KenticoCloud.ContentManagement.Helpers.Configuration; namespace DancingGoat.Helpers { public sealed class EditLinkHelper { private static EditLinkHelper _instance = null; private static readonly object padlock ...
using DancingGoat.Areas.Admin; using KenticoCloud.ContentManagement.Helpers; using KenticoCloud.ContentManagement.Helpers.Configuration; namespace DancingGoat.Helpers { public sealed class EditLinkHelper { private static EditLinkHelper _instance = null; private static readonly object padlock ...
mit
C#
489300869da16235a5884373879134c63ce845af
Add source option
dukemiller/twitch-tv-viewer
twitch-tv-viewer/ViewModels/Dialogs/SettingsViewModel.cs
twitch-tv-viewer/ViewModels/Dialogs/SettingsViewModel.cs
using System; using System.Collections.ObjectModel; using System.Windows.Input; using GalaSoft.MvvmLight; using GalaSoft.MvvmLight.Command; using twitch_tv_viewer.Repositories; namespace twitch_tv_viewer.ViewModels.Dialogs { internal class SettingsViewModel : ViewModelBase { private ObservableCollecti...
using System; using System.Collections.ObjectModel; using System.Windows.Input; using GalaSoft.MvvmLight; using GalaSoft.MvvmLight.Command; using twitch_tv_viewer.Repositories; namespace twitch_tv_viewer.ViewModels.Dialogs { internal class SettingsViewModel : ViewModelBase { private ObservableCollecti...
mit
C#
55d4ea0292bee528219826d891fcdb1e4c110787
Fix comment
fabiocav/azure-webjobs-sdk-script,Azure/azure-webjobs-sdk-script,fabiocav/azure-webjobs-sdk-script,fabiocav/azure-webjobs-sdk-script,Azure/azure-webjobs-sdk-script,Azure/azure-webjobs-sdk-script,fabiocav/azure-webjobs-sdk-script,Azure/azure-webjobs-sdk-script
src/WebJobs.Script/Extensions/INameResolverExtensions.cs
src/WebJobs.Script/Extensions/INameResolverExtensions.cs
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. using System; using System.Reflection; using Microsoft.Azure.WebJobs.Host; namespace Microsoft.Azure.WebJobs.Script { public static class INameResolverExtensions ...
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. using System; using System.Reflection; using Microsoft.Azure.WebJobs.Host; namespace Microsoft.Azure.WebJobs.Script { public static class INameResolverExtensions ...
mit
C#
bff0333355b7def68832950533d2cabc42410786
Remove unused code
LeBodro/super-salaryman-2044
Assets/DataManagement/Editor/GameDataTest.cs
Assets/DataManagement/Editor/GameDataTest.cs
using UnityEngine; using NUnit.Framework; using System.Collections.Generic; public class GameDataTest { [Test] public void IsInstantiable() { var json = new GameData(); Assert.NotNull(json); } [Test] public void CanLoadGameData() { var json = new GameData(); ...
using UnityEngine; using UnityEditor; using NUnit.Framework; using System.Collections; using System.Collections.Generic; public class GameDataTest { [Test] public void IsInstantiable() { var json = new GameData(); Assert.NotNull(json); } [Test] public void CanLoadGameData() ...
mit
C#
120b82ae00a41ec18435dbde7dac443867ad18d5
Update webhook test page design
btcpayserver/btcpayserver,btcpayserver/btcpayserver,btcpayserver/btcpayserver,btcpayserver/btcpayserver
BTCPayServer/Views/Stores/TestWebhook.cshtml
BTCPayServer/Views/Stores/TestWebhook.cshtml
@model EditWebhookViewModel @using BTCPayServer.Client.Models; @{ Layout = "../Shared/_NavLayout.cshtml"; ViewData.SetActivePageAndTitle(StoreNavPages.Webhooks, "Send a test event to a webhook endpoint", Context.GetStoreData().StoreName); } <div class="row"> <div class="col-lg-8"> <form method="po...
@model EditWebhookViewModel @using BTCPayServer.Client.Models; @{ Layout = "../Shared/_NavLayout.cshtml"; ViewData.SetActivePageAndTitle(StoreNavPages.Webhooks, "Test Webhook", Context.GetStoreData().StoreName); } <div class="row"> <div class="col-lg-8"> <form method="post"> <h4 class=...
mit
C#
952770405bcafcc0318d715a25de02c071d76d23
Handle closed /proc/self/fd/ in stream encode.
Xesyto/Buzzbox
Buzzbox/Buzzbox-Stream/StreamEncode.cs
Buzzbox/Buzzbox-Stream/StreamEncode.cs
using System; using System.CodeDom; using System.Collections.Generic; using System.IO; using System.Linq; using Buzzbox_Common; using Buzzbox_Common.Encoders; namespace Buzzbox_Stream { class StreamEncode { public bool LoopForever; public bool ShuffleFields; private MtgEncodeFormatEnc...
using System.Collections.Generic; using System.IO; using System.Linq; using Buzzbox_Common; using Buzzbox_Common.Encoders; namespace Buzzbox_Stream { class StreamEncode { public bool LoopForever; public bool ShuffleFields; private MtgEncodeFormatEncoder _encoder; priva...
mit
C#
27b82a6b1d87d2f4e4f61995884f852ee9ad3c4a
Fix touch input raising an input state change with incorrect last position
peppy/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,ZLima12/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,ppy/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,ZLima12/osu-framework,smoogipooo/osu-framework,EVAST9919/osu-framework
osu.Framework/Input/StateChanges/TouchInput.cs
osu.Framework/Input/StateChanges/TouchInput.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.Input.StateChanges.Events; using osu.Framework.Input.States; namespace osu.Framework.Input.StateChanges { /// <summary> /// Denotes a change ...
// 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.Input.StateChanges.Events; using osu.Framework.Input.States; namespace osu.Framework.Input.StateChanges { /// <summary> /// Denotes a change ...
mit
C#
5dd641bc60065e5555a8c50b04387cdd0febe33b
Remove the nullable disable annotation in the test project.
ppy/osu,peppy/osu,ppy/osu,peppy/osu,peppy/osu,ppy/osu
osu.Game.Tests/Audio/SampleInfoEqualityTest.cs
osu.Game.Tests/Audio/SampleInfoEqualityTest.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using NUnit.Framework; using osu.Game.Audio; namespace osu.Game.Tests.Audio { [TestFixture] public class SampleInfoEqualityTest { [Test] publ...
// 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. #nullable disable using NUnit.Framework; using osu.Game.Audio; namespace osu.Game.Tests.Audio { [TestFixture] public class SampleInfoEqualityTest { ...
mit
C#
d2f89df1e327727e4a3829a5599e09a901982138
Update how byte[] is mapped.
ucdavis/Commencement,ucdavis/Commencement,ucdavis/Commencement
Commencement.Core/Domain/Attachment.cs
Commencement.Core/Domain/Attachment.cs
using System; using System.ComponentModel.DataAnnotations; using FluentNHibernate.Mapping; using UCDArch.Core.DomainModel; namespace Commencement.Core.Domain { public class Attachment : DomainObject { public Attachment() { PublicGuid = Guid.NewGuid(); } ...
using System; using System.ComponentModel.DataAnnotations; using FluentNHibernate.Mapping; using UCDArch.Core.DomainModel; namespace Commencement.Core.Domain { public class Attachment : DomainObject { public Attachment() { PublicGuid = Guid.NewGuid(); } ...
mit
C#
a354741b4b47c5a6b9566a5df9c7397b023c6aeb
Fix the add role command (#5532)
space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14
Content.Server/Roles/AddRoleCommand.cs
Content.Server/Roles/AddRoleCommand.cs
using Content.Server.Administration; using Content.Server.Players; using Content.Shared.Administration; using Content.Shared.Roles; using Robust.Server.Player; using Robust.Shared.Console; using Robust.Shared.IoC; using Robust.Shared.Prototypes; using System.Linq; namespace Content.Server.Roles { [AdminCommand(Ad...
using Content.Server.Administration; using Content.Server.Players; using Content.Shared.Administration; using Content.Shared.Roles; using Robust.Server.Player; using Robust.Shared.Console; using Robust.Shared.IoC; using Robust.Shared.Prototypes; namespace Content.Server.Roles { [AdminCommand(AdminFlags.Fun)] ...
mit
C#
97d27c3c010f919df566b3edab7a30c234a5ac35
implement GetAttributeOfType in EnumExtenstions
SorenZ/Alamut.DotNet
src/Alamut.Helpers/Enum/EnumExtensions.cs
src/Alamut.Helpers/Enum/EnumExtensions.cs
using System.ComponentModel; using System.Reflection; using System.Collections; using System.Collections.Generic; namespace Alamut.Helpers.Enum { public static class EnumExtensions { /// <summary> /// provide the value of Description of an enum type /// </summary> /// <param na...
using System.ComponentModel; using System.Reflection; using System.Collections; using System.Collections.Generic; namespace Alamut.Helpers.Enum { public static class EnumExtensions { /// <summary> /// provide the value of Description of an enum type /// </summary> /// <param na...
mit
C#
2d1a235d2bcf92b5cf772552dbd13974a2f2751d
Add null check to Remote
GitTools/GitVersion,gep13/GitVersion,asbjornu/GitVersion,GitTools/GitVersion,gep13/GitVersion,asbjornu/GitVersion
src/GitVersion.LibGit2Sharp/Git/Remote.cs
src/GitVersion.LibGit2Sharp/Git/Remote.cs
using GitVersion.Extensions; using GitVersion.Helpers; namespace GitVersion; internal sealed class Remote : IRemote { private static readonly LambdaEqualityHelper<IRemote> equalityHelper = new(x => x.Name); private static readonly LambdaKeyComparer<IRemote, string> comparerHelper = new(x => x.Name); priv...
using GitVersion.Helpers; namespace GitVersion; internal sealed class Remote : IRemote { private static readonly LambdaEqualityHelper<IRemote> equalityHelper = new(x => x.Name); private static readonly LambdaKeyComparer<IRemote, string> comparerHelper = new(x => x.Name); private readonly LibGit2Sharp.Rem...
mit
C#
9c074e0ffbf10fe23af9ddd867c7b6eadd5c25e7
Fix editor not showing sign when time goes negative
NeoAdonis/osu,smoogipoo/osu,smoogipoo/osu,UselessToucan/osu,peppy/osu,peppy/osu,UselessToucan/osu,peppy/osu,smoogipooo/osu,ppy/osu,smoogipoo/osu,ppy/osu,UselessToucan/osu,NeoAdonis/osu,ppy/osu,NeoAdonis/osu,peppy/osu-new
osu.Game/Screens/Edit/Components/TimeInfoContainer.cs
osu.Game/Screens/Edit/Components/TimeInfoContainer.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using osu.Framework.Graphics; using osu.Game.Graphics.Sprites; using System; using osu.Framework.Allocation; using osu.Game.Graphics; namespace osu.Game.Screens.Edit.Co...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using osu.Framework.Graphics; using osu.Game.Graphics.Sprites; using System; using osu.Framework.Allocation; using osu.Game.Graphics; namespace osu.Game.Screens.Edit.Co...
mit
C#
8cf6fdf5f9b59fede43d413267cabfbd3eda32f7
Update Effect3 test to use indexer property instead of GetByTag method.
mono/CocosSharp,MSylvia/CocosSharp,zmaruo/CocosSharp,hig-ag/CocosSharp,haithemaraissia/CocosSharp,MSylvia/CocosSharp,haithemaraissia/CocosSharp,hig-ag/CocosSharp,TukekeSoft/CocosSharp,TukekeSoft/CocosSharp,netonjm/CocosSharp,netonjm/CocosSharp,mono/CocosSharp,zmaruo/CocosSharp
tests/tests/classes/tests/EffectsAdvancedTest/Effect3.cs
tests/tests/classes/tests/EffectsAdvancedTest/Effect3.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using CocosSharp; namespace tests { public class Effect3 : EffectAdvanceTextLayer { public override void OnEnter() { base.OnEnter(); var bg = this[EffectAdvanceScene.kTagBackground]; var target1 = bg...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using CocosSharp; namespace tests { public class Effect3 : EffectAdvanceTextLayer { public override void OnEnter() { base.OnEnter(); var bg = GetChildByTag(EffectAdvanceScene.kTagBackground); var tar...
mit
C#
60b118f89edb569dd2ce82e3a3424dc9fd34eec5
Read serial number from the proper Pages property
paszczi/MLabs.Ogg
MLabs.Ogg/src/Streams/OggStream.cs
MLabs.Ogg/src/Streams/OggStream.cs
// // Copyright (c) 2011 Maciej Paszta // // 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, modify, merge, pub...
// // Copyright (c) 2011 Maciej Paszta // // 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, modify, merge, pub...
mit
C#
fa967667dc5c88528d2266a52035d8b215aef9cf
add using amazon modified: MeetU/MeetU/API/ImageDemoController.cs
Mooophy/meetu,Mooophy/meetu,Mooophy/meetu
MeetU/MeetU/API/ImageDemoController.cs
MeetU/MeetU/API/ImageDemoController.cs
using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Http; using System.Web.Http; using Amazon; using Amazon.S3; using Amazon.S3.Model; using MeetU.Lib; namespace MeetU.API { public class ImageDemoController : ApiController { // GET: api/ImageDemo ...
using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Http; using System.Web.Http; //using Amazon; //using Amazon.S3; //using Amazon.S3.Model; using MeetU.Lib; namespace MeetU.API { public class ImageDemoController : ApiController { // GET: api/ImageDe...
mit
C#
fc6e488be70d54fb033c1d6e54cd98b8ca217957
Update CompositeEventTelemeter.cs
tiksn/TIKSN-Framework
TIKSN.Core/Analytics/Telemetry/CompositeEventTelemeter.cs
TIKSN.Core/Analytics/Telemetry/CompositeEventTelemeter.cs
using System; using System.Collections.Generic; using System.Diagnostics; using System.Threading.Tasks; using TIKSN.Configuration; namespace TIKSN.Analytics.Telemetry { public class CompositeEventTelemeter : IEventTelemeter { private readonly IPartialConfiguration<CommonTelemetryOptions> commonConfigu...
using System; using System.Collections.Generic; using System.Diagnostics; using System.Threading.Tasks; using TIKSN.Configuration; namespace TIKSN.Analytics.Telemetry { public class CompositeEventTelemeter : IEventTelemeter { private readonly IPartialConfiguration<CommonTelemetryOptions> commonConfigu...
mit
C#
c67e439646d8465e683a854b53dcd4c4e9a0593a
add PascalCase field
thinkAmi-sandbox/NancyOwinHeroku-sample
NancyOwinHeroku-sample/Modules/HomeModule.cs
NancyOwinHeroku-sample/Modules/HomeModule.cs
using Nancy; namespace NancyOwinHeroku_sample.Modules { public class HomeModule : NancyModule { public HomeModule() { Get["/"] = _ => "Hello World"; Get["/json"] = _ => { var ringo = new[] { new { Id = 1, ...
using Nancy; namespace NancyOwinHeroku_sample.Modules { public class HomeModule : NancyModule { public HomeModule() { Get["/"] = _ => "Hello World"; Get["/json"] = _ => { var ringo = new[] { new { Id = 1, ...
mit
C#
dfa4277fcf372948673eab7133f52412d165176a
Fix #define for non-Win8 metro compilation
Ixonos-USA/SharpDX,wyrover/SharpDX,shoelzer/SharpDX,TigerKO/SharpDX,fmarrabal/SharpDX,TigerKO/SharpDX,wyrover/SharpDX,waltdestler/SharpDX,shoelzer/SharpDX,TechPriest/SharpDX,andrewst/SharpDX,TigerKO/SharpDX,VirusFree/SharpDX,manu-silicon/SharpDX,VirusFree/SharpDX,TechPriest/SharpDX,jwollen/SharpDX,weltkante/SharpDX,wel...
Source/SharpDX.Direct2D1/InputDescription.cs
Source/SharpDX.Direct2D1/InputDescription.cs
// Copyright (c) 2010-2011 SharpDX - Alexandre Mutel // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use, copy, modi...
// Copyright (c) 2010-2011 SharpDX - Alexandre Mutel // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use, copy, modi...
mit
C#
48133f028eb4f8493d6c12843f40fcdce94a4558
simplify TestCommentParser
benjamin-hodgson/Pidgin
Pidgin.Tests/CommentParserTests.cs
Pidgin.Tests/CommentParserTests.cs
using Pidgin.Comment; using Xunit; using static Pidgin.Parser; using static Pidgin.Parser<char>; namespace Pidgin.Tests; public class CommentParserTests : ParserTestBase { [Theory] [InlineData("//\n")] [InlineData("//")] [InlineData("// here is a comment ending with an osx style newline\n")] [In...
using Pidgin.Comment; using Xunit; using static Pidgin.Parser; using static Pidgin.Parser<char>; namespace Pidgin.Tests; public class CommentParserTests : ParserTestBase { [Theory] [InlineData("//\n")] [InlineData("//")] [InlineData("// here is a comment ending with an osx style newline\n")] [In...
mit
C#
0196e6a3e7c279d1cb951a3238747afa645f1095
Add HasBabby
cooperra/ld34-beanstalkers-extreme
Assets/Scripts/StateManager.cs
Assets/Scripts/StateManager.cs
using UnityEngine; using System.Collections; using System.Collections.Generic; public enum GameStates{ RUNNING, PAUSED, LOSE, MIDLEVEL, LOADING, CREDITS, PAUSED_NO_UI } public class StateManager : MonoBehaviour{ public static StateManager Instance { get; private set; } public Gam...
using UnityEngine; using System.Collections; using System.Collections.Generic; public enum GameStates{ RUNNING, PAUSED, LOSE, MIDLEVEL, LOADING, CREDITS, PAUSED_NO_UI } public class StateManager : MonoBehaviour{ public static StateManager Instance { get; private set; } public Gam...
mit
C#
a871995dc7f4157f2080a3ee19a941ea58147a58
use async logging
ArsenShnurkov/BitSharp
BitSharp.Node/LoggingModule.cs
BitSharp.Node/LoggingModule.cs
using BitSharp.Common.ExtensionMethods; using Ninject.Modules; using NLog; using NLog.Config; using NLog.Targets; using NLog.Targets.Wrappers; using System.IO; namespace BitSharp.Node { public class LoggingModule : NinjectModule { private readonly string directory; private readonl...
using Ninject.Modules; using NLog; using NLog.Config; using NLog.Targets; using System.IO; namespace BitSharp.Node { public class LoggingModule : NinjectModule { private readonly string directory; private readonly LogLevel logLevel; public LoggingModule(string baseDirecto...
unlicense
C#
33addcc032d95269b640c154337b3859e2cc79cb
Fix links in Base _Layout.cshtml
KristianMariyanov/VotingSystem,KristianMariyanov/VotingSystem,KristianMariyanov/VotingSystem
VotingSystem.Web/Views/Shared/_Layout.cshtml
VotingSystem.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 - My ASP.NET Application</title> @Styles.Render("~/Content/css") @Styles.Render("~/Content/kendo") @RenderSection("styles", required: false...
<!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>@ViewBag.Title - My ASP.NET Application</title> @Styles.Render("~/Content/css") @Styles.Render("~/Content/kendo") @RenderSection("styles", required: false...
mit
C#
687b10ceb8e806574c579b8368b83cc3f8614af2
Add new UWP API contracts to WindowsApiChecker
vladkol/MixedRealityToolkit-Unity,DDReaper/MixedRealityToolkit-Unity,killerantz/HoloToolkit-Unity,vladkol/MixedRealityToolkit-Unity,vladkol/MixedRealityToolkit-Unity,killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity
Assets/MixedRealityToolkit/Utilities/WindowsApiChecker.cs
Assets/MixedRealityToolkit/Utilities/WindowsApiChecker.cs
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. using UnityEngine; #if WINDOWS_UWP using Windows.Foundation.Metadata; #endif namespace Microsoft.MixedReality.Toolkit.Windows.Utilities { /// <summary> ///...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. using UnityEngine; #if !UNITY_EDITOR && UNITY_WSA using Windows.Foundation.Metadata; #endif namespace Microsoft.MixedReality.Toolkit.Windows.Utilities { //...
mit
C#
fbfb4feed363b150b18bcba57935bf9e729ed1b9
Update EventArgsCache.cs
Fody/PropertyChanged
PropertyChanged.Fody/EventArgsCache.cs
PropertyChanged.Fody/EventArgsCache.cs
using System.Collections.Generic; using System.Linq; using Mono.Cecil; using Mono.Cecil.Cil; public class EventArgsCache { public EventArgsCache(ModuleWeaver moduleWeaver) { this.moduleWeaver = moduleWeaver; var attributes = TypeAttributes.AutoClass | TypeAttributes.AutoLayout | TypeAttributes...
using System.Collections.Generic; using System.Linq; using Mono.Cecil; using Mono.Cecil.Cil; public class EventArgsCache { public EventArgsCache(ModuleWeaver moduleWeaver) { this.moduleWeaver = moduleWeaver; var attributes = TypeAttributes.AutoClass | TypeAttributes.AutoLayout | TypeAttributes...
mit
C#
34c3b2205eb228be9ce41f19c648b966db8cbb38
Add missing doc.
fszlin/certes,fszlin/certes
src/Certes/Pkcs/CertificationRequestBuilder.cs
src/Certes/Pkcs/CertificationRequestBuilder.cs
using Org.BouncyCastle.Crypto; using Org.BouncyCastle.Crypto.Parameters; using System; namespace Certes.Pkcs { /// <summary> /// Represents a CSR builder. /// </summary> /// <seealso cref="Certes.Pkcs.CertificationRequestBuilderBase" /> public class CertificationRequestBuilder : CertificationReque...
using Org.BouncyCastle.Crypto; using Org.BouncyCastle.Crypto.Parameters; using System; namespace Certes.Pkcs { /// <summary> /// Represents a CSR builder. /// </summary> /// <seealso cref="Certes.Pkcs.CertificationRequestBuilderBase" /> public class CertificationRequestBuilder : CertificationReque...
mit
C#
b80ff2ae14c25004b9770b96c9e04dde82bb6211
Fix compile error.
DimensionDataResearch/daas-demo,DimensionDataResearch/daas-demo,DimensionDataResearch/daas-demo,DimensionDataResearch/daas-demo,DimensionDataResearch/daas-demo,DimensionDataResearch/daas-demo,DimensionDataResearch/daas-demo
src/DaaSDemo.KubeClient/Models/KubeResource.cs
src/DaaSDemo.KubeClient/Models/KubeResource.cs
using Newtonsoft.Json; namespace DaaSDemo.KubeClient.Models { /// <summary> /// The base class for Kubernetes resources. /// </summary> public abstract class KubeResource { /// <summary> /// APIVersion defines the versioned schema of this representation of an object. Servers...
namespace DaaSDemo.KubeClient.Models { /// <summary> /// The base class for Kubernetes resources. /// </summary> public abstract class KubeResource { /// <summary> /// APIVersion defines the versioned schema of this representation of an object. Servers should convert recogniz...
mit
C#
5126a0af9bb1f34c1305db0aeed2d7f48b372e68
fix AOT error donot use ToArray in QuickSort
RyotaMurohoshi/UniLinq
unity_project/Assets/UniLinq/QuickSort.cs
unity_project/Assets/UniLinq/QuickSort.cs
// // QuickSort.cs // // Authors: // Alejandro Serrano "Serras" (trupill@yahoo.es) // Marek Safar <marek.safar@gmail.com> // Jb Evain (jbevain@novell.com) // // (C) 2007 - 2008 Novell, Inc. (http://www.novell.com) // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this soft...
// // QuickSort.cs // // Authors: // Alejandro Serrano "Serras" (trupill@yahoo.es) // Marek Safar <marek.safar@gmail.com> // Jb Evain (jbevain@novell.com) // // (C) 2007 - 2008 Novell, Inc. (http://www.novell.com) // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this soft...
mit
C#
7a970d9aec108483b23cfea9620826c5cda5e2d9
fix connectionstring
Team-Russian-Spring-Punch/Team-Work
CarsFactory/CarsFactory.MongoDb.Data/MongoDbRepository.cs
CarsFactory/CarsFactory.MongoDb.Data/MongoDbRepository.cs
using Cars.Models; using MongoDB.Bson; using MongoDB.Bson.Serialization; using MongoDB.Driver; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CarsFactory.MongoDb.Data { public class MongoDbRepository { private const string ...
using Cars.Models; using MongoDB.Bson; using MongoDB.Bson.Serialization; using MongoDB.Driver; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CarsFactory.MongoDb.Data { public class MongoDbRepository { private const string ...
mit
C#
15fd7e9a34bd47a2ea29d33300df61017571747e
Update OpeningFilesThroughPath.cs
aspose-cells/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,maria-shahid-aspose/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,asposecells/Aspose_Cells_NET,as...
Examples/CSharp/Files/Handling/OpeningFilesThroughPath.cs
Examples/CSharp/Files/Handling/OpeningFilesThroughPath.cs
using System.IO; using Aspose.Cells; using System; namespace Aspose.Cells.Examples.Files.Handling { public class OpeningFilesThroughPath { public static void Main(string[] args) { //Exstart:1 // The path to the documents directory. string dataDir = Aspose.Ce...
using System.IO; using Aspose.Cells; using System; namespace Aspose.Cells.Examples.Files.Handling { public class OpeningFilesThroughPath { public static void Main(string[] args) { //Exstart:1 // The path to the documents directory. string dataDir = Aspose.Ce...
mit
C#
3ce42c434aa6eb96a0ffc23d6309cd9c9d62ee85
make internals visible to tests
chrismetcalf/SODA.NET,CityofSantaMonica/SODA.NET
Source/SODA/Properties/AssemblyInfo.cs
Source/SODA/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: AssemblyTi...
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: AssemblyTi...
mit
C#
f02cfbfcfc30f5afe76bb20176f26c07ecf6eef4
Add support for executing a specific file from #gist
ryanrousseau/ScriptCs.Gist
ScriptCs.Gist/GistLineProcessor.cs
ScriptCs.Gist/GistLineProcessor.cs
using System.Linq; using ScriptCs.Contracts; namespace ScriptCs.Gist { /// <summary> /// Process "#gist $gistId" lines by downloading .csx files in the gist, /// saving to a gists folder, and then parsing the new file /// </summary> public class GistLineProcessor : DirectiveLineProcessor { ...
using ScriptCs.Contracts; namespace ScriptCs.Gist { /// <summary> /// Process "#gist $gistId" lines by downloading .csx files in the gist, /// saving to a gists folder, and then parsing the new file /// </summary> public class GistLineProcessor : DirectiveLineProcessor { private readon...
apache-2.0
C#
6644347c8cff05a8e3e72282fdaf7189ae92bd5b
remove warning
lukaselmer/ethz-game-lab,lukaselmer/ethz-game-lab,lukaselmer/ethz-game-lab
Assets/Scripts/WaveManager.cs
Assets/Scripts/WaveManager.cs
using System; using UnityEngine; namespace Game { public class WaveManager { private int interval = 0; private Wave currentWave; Checkpoint start; GameObject enemyPrefab; Transform enemyParent; //private float wait = 0; GameLogic game; public WaveManager (GameLogic game, GameObject enemyPrefab, ...
using System; using UnityEngine; namespace Game { public class WaveManager { private int interval = 0; private Wave currentWave; Checkpoint start; GameObject enemyPrefab; Transform enemyParent; private float wait = 0; GameLogic game; public WaveManager (GameLogic game, GameObject enemyPrefab, Ch...
mit
C#
e9d77f6284f85f6143d1f3ebd3872419e30211dd
Fix FxCop build errors
shibayan/kudu,projectkudu/kudu,projectkudu/kudu,puneet-gupta/kudu,EricSten-MSFT/kudu,puneet-gupta/kudu,projectkudu/kudu,projectkudu/kudu,shibayan/kudu,EricSten-MSFT/kudu,EricSten-MSFT/kudu,shibayan/kudu,puneet-gupta/kudu,shibayan/kudu,shibayan/kudu,EricSten-MSFT/kudu,puneet-gupta/kudu,EricSten-MSFT/kudu,projectkudu/kud...
Kudu.Services/Filters/FunctionExceptionFilterAttribute.cs
Kudu.Services/Filters/FunctionExceptionFilterAttribute.cs
using Kudu.Services.Arm; using System; using System.IO; using System.Net; using System.Net.Http; using System.Web.Http.Filters; namespace Kudu.Services.Filters { [AttributeUsage(AttributeTargets.Class | AttributeTargets.Method, Inherited = true, AllowMultiple = true)] public sealed class FunctionExceptionFilt...
using Kudu.Services.Arm; using System; using System.IO; using System.Net; using System.Net.Http; using System.Web.Http.Filters; namespace Kudu.Services.Filters { public class FunctionExceptionFilterAttribute : ExceptionFilterAttribute { public override void OnException(HttpActionExecutedContext contex...
apache-2.0
C#
b640c2420e0b7e8f2de4ba154cbbfe459108297b
Update IPixelBandSetter.cs
LANDIS-II-Foundation/Landis-Spatial-Modeling-Library
src/RasterIO/IPixelBandSetter.cs
src/RasterIO/IPixelBandSetter.cs
// Contributors: // James Domingo, Green Code LLC namespace Landis.RasterIO { /// <summary> /// Sets the value for a particular band in a pixel with a specific data type. /// </summary> public interface IPixelBandSetter<T> where T : struct { void SetValue(T newValue); } }
// Copyright 2010 Green Code LLC // All rights reserved. // // The copyright holders license this file under the New (3-clause) BSD // License (the "License"). You may not use this file except in // compliance with the License. A copy of the License is available at // // http://www.opensource.org/licenses/BSD-3-Cla...
apache-2.0
C#
8fa345c4c9933092a4f14dd5dabb3be002f7ff6f
Update assembly meta info
refactorsaurusrex/ExcelLaunchPad
ExcelLaunchPad/Rawr.Console/Properties/AssemblyInfo.cs
ExcelLaunchPad/Rawr.Console/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("Ex...
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("Ex...
mit
C#
832c17deb696b55d94fd26fb1196332053bd1b4d
Add useful ColorExtension
mikelovesrobots/daft-pong,mikelovesrobots/daft-pong
app/Assets/Scripts/ColorExtensions.cs
app/Assets/Scripts/ColorExtensions.cs
using UnityEngine; using System.Collections; public static class ColorExtensions { public static Color FullBright(this Color color) { var newColor = color; newColor.a = 1.0f; return newColor; } public static Color FullTransparent(this Color color) { var newColor = color; ...
using UnityEngine; using System.Collections; public static class ColorExtensions { public static Color FullBright(this Color color) { var newColor = color; newColor.a = 1.0f; return newColor; } }
mit
C#
ef5b0b067c7c47af27f0ec4730a0d7b2aee456c2
fix parsing html issue in RTF
tonyqus/toxy
ToxyFramework/Parsers/RTFTextParser.cs
ToxyFramework/Parsers/RTFTextParser.cs
using DCSoft.RTF; using System; using System.Collections.Generic; using System.Text; namespace Toxy.Parsers { public class RTFTextParser : PlainTextParser { public RTFTextParser(ParserContext context): base(context) { this.Context = context; } public override strin...
using DCSoft.RTF; using System; using System.Collections.Generic; using System.Text; namespace Toxy.Parsers { public class RTFTextParser : PlainTextParser { public RTFTextParser(ParserContext context): base(context) { this.Context = context; } public override strin...
apache-2.0
C#
255c5fdb12a273e0615c027361120678449e6054
Update version to 7.0.1
Weingartner/XUnitRemote
XUnitRemote/Properties/AssemblyInfo.cs
XUnitRemote/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("XU...
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("XU...
mit
C#
c9dffb2046d519372737e7cd03d3f52fd402e58d
fix build
SzymonPobiega/docs.particular.net,pedroreys/docs.particular.net,eclaus/docs.particular.net,WojcikMike/docs.particular.net,yuxuac/docs.particular.net,pashute/docs.particular.net
Snippets/Snippets_5/Logging/Log4Net/OverrideViaProfile.cs
Snippets/Snippets_5/Logging/Log4Net/OverrideViaProfile.cs
using NServiceBus; using NServiceBus.Log4Net; public class OverrideViaProfile { #region LoggingConfigWithProfile public class YourProfileLoggingHandler : NServiceBus.Hosting.Profiles.IConfigureLoggingForProfile<YourProfile> { public void Configure(IConfigureThisEndpoint specifier) { ...
using NServiceBus; using NServiceBus.Log4Net; public class OverrideViaProfile { #region LoggingConfigWithProfile public class YourProfileLoggingHandler : NServiceBus.Hosting.Profiles.IConfigureLoggingForProfile<YourProfile> { public void Configure(IConfigureThisEndpoint specifier) { ...
apache-2.0
C#
9c399429b8fcd9f49bc042ef6bbadd7c885b38d7
Use LogContext to push additional properties.
SuperJMN/Avalonia,jkoritzinsky/Avalonia,jkoritzinsky/Avalonia,AvaloniaUI/Avalonia,SuperJMN/Avalonia,AvaloniaUI/Avalonia,jkoritzinsky/Avalonia,Perspex/Perspex,SuperJMN/Avalonia,SuperJMN/Avalonia,jkoritzinsky/Avalonia,wieslawsoltes/Perspex,wieslawsoltes/Perspex,jkoritzinsky/Avalonia,jkoritzinsky/Perspex,AvaloniaUI/Avalon...
src/Avalonia.Logging.Serilog/SerilogLogger.cs
src/Avalonia.Logging.Serilog/SerilogLogger.cs
// Copyright (c) The Avalonia Project. All rights reserved. // Licensed under the MIT license. See licence.md file in the project root for full license information. using System; using Serilog; using Serilog.Context; using AvaloniaLogEventLevel = Avalonia.Logging.LogEventLevel; using SerilogLogEventLevel = Serilog.Eve...
// Copyright (c) The Avalonia Project. All rights reserved. // Licensed under the MIT license. See licence.md file in the project root for full license information. using System.Collections.Generic; using Serilog; using AvaloniaLogEventLevel = Avalonia.Logging.LogEventLevel; using SerilogLogEventLevel = Serilog.Events...
mit
C#
5e20a31d4571d6564f4bbee061b0590d4723ceaa
Add get best id method for movie.
henrikfroehling/TraktApiSharp
Source/Lib/TraktApiSharp/Objects/Get/Movies/TraktMovie.cs
Source/Lib/TraktApiSharp/Objects/Get/Movies/TraktMovie.cs
namespace TraktApiSharp.Objects.Get.Movies { using Newtonsoft.Json; using System; using System.Collections.Generic; /// <summary>A Trakt movie.</summary> public class TraktMovie { /// <summary>Gets or sets the movie title.</summary> [JsonProperty(PropertyName = "title")] ...
namespace TraktApiSharp.Objects.Get.Movies { using Newtonsoft.Json; using System; using System.Collections.Generic; public class TraktMovie { #region Minimal Info [JsonProperty(PropertyName = "title")] public string Title { get; set; } [JsonProperty(PropertyName =...
mit
C#
2a87b851fae5d3fb783c936782155968006f1900
Add proper transaction rollback logic on exception
NeoAdonis/osu,DrabWeb/osu,smoogipooo/osu,ZLima12/osu,DrabWeb/osu,UselessToucan/osu,smoogipoo/osu,peppy/osu-new,naoey/osu,peppy/osu,ZLima12/osu,NeoAdonis/osu,smoogipoo/osu,NeoAdonis/osu,johnneijzen/osu,peppy/osu,EVAST9919/osu,naoey/osu,ppy/osu,smoogipoo/osu,2yangk23/osu,EVAST9919/osu,ppy/osu,johnneijzen/osu,peppy/osu,Us...
osu.Game/Database/DatabaseWriteUsage.cs
osu.Game/Database/DatabaseWriteUsage.cs
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using System; using Microsoft.EntityFrameworkCore.Storage; namespace osu.Game.Database { public class DatabaseWriteUsage : IDisposable { public readonl...
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using System; using Microsoft.EntityFrameworkCore.Storage; namespace osu.Game.Database { public class DatabaseWriteUsage : IDisposable { public readonl...
mit
C#
68015ef10c14ec9f21dfc3fa3718a71a1ec22aa1
Fix argon reverse arrow becoming white after switching skins
ppy/osu,ppy/osu,peppy/osu,ppy/osu,peppy/osu,peppy/osu
osu.Game.Rulesets.Osu/Skinning/Argon/ArgonReverseArrow.cs
osu.Game.Rulesets.Osu/Skinning/Argon/ArgonReverseArrow.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.Extensions.Color4Extensions; using osu.Framework.Graphics; using osu.Framework.Graphics...
// 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.Extensions.Color4Extensions; using osu.Framework.Graphics; using osu.Framework.Graphics...
mit
C#
135498c91863dbaabc75b3351535e6bca9bc32fa
Remove unused variable.
hazzik/nhibernate-core,livioc/nhibernate-core,lnu/nhibernate-core,fredericDelaporte/nhibernate-core,ManufacturingIntelligence/nhibernate-core,hazzik/nhibernate-core,lnu/nhibernate-core,alobakov/nhibernate-core,ngbrown/nhibernate-core,nhibernate/nhibernate-core,alobakov/nhibernate-core,fredericDelaporte/nhibernate-core,...
src/NHibernate/Engine/Query/CallableParser.cs
src/NHibernate/Engine/Query/CallableParser.cs
using System; using System.Text.RegularExpressions; using NHibernate.Util; using NHibernate.SqlCommand; namespace NHibernate.Engine.Query { public static class CallableParser { public class Detail { public bool IsCallable; public bool HasReturn; public string FunctionName; } private static readonl...
using System; using System.Text.RegularExpressions; using NHibernate.Util; using NHibernate.SqlCommand; namespace NHibernate.Engine.Query { public static class CallableParser { public class Detail { public bool IsCallable; public bool HasReturn; public string FunctionName; } private static readonl...
lgpl-2.1
C#
f89b190fa4908c3285d11db72204b80daae32b81
update function so it can use core dll, fix (obvious) syntax errors
ChrisWoody/artidea-api
ArtIdea.Function/run.csx
ArtIdea.Function/run.csx
#r "ArtIdea.Core.dll" // note for future, might require to be in a bin folder, https://docs.microsoft.com/en-us/azure/azure-functions/functions-reference-csharp#referencing-custom-assemblies using System.Net; using ArtIdea.Core; public static async Task<HttpResponseMessage> Run(HttpRequestMessage req, TraceWrite...
#r "ApiIdea.Core.dll" // note for future, might require to be in a bin folder, https://docs.microsoft.com/en-us/azure/azure-functions/functions-reference-csharp#referencing-custom-assemblies public static async Task<HttpResponseMessage> Run(HttpRequestMessage req, TraceWriter log) { try { log.Inf...
mit
C#
4edccf54e620042f20bd828a62e16c297f08851a
Enable data tests
bdukes/Dnn.Platform,valadas/Dnn.Platform,valadas/Dnn.Platform,valadas/Dnn.Platform,nvisionative/Dnn.Platform,mitchelsellers/Dnn.Platform,valadas/Dnn.Platform,dnnsoftware/Dnn.Platform,nvisionative/Dnn.Platform,dnnsoftware/Dnn.Platform,mitchelsellers/Dnn.Platform,dnnsoftware/Dnn.Platform,mitchelsellers/Dnn.Platform,dnnso...
Build/Cake/unit-tests.cs
Build/Cake/unit-tests.cs
using Cake.Common.IO; using Cake.Common.Tools.MSBuild; using Cake.Common.Tools.VSTest; using Cake.Common.Tools.VSWhere; using Cake.Common.Tools.VSWhere.Latest; using Cake.Core.Diagnostics; using Cake.Frosting; /// <summary> /// Runs units tests on solution. Make sure to build the solution before running this...
using Cake.Common.IO; using Cake.Common.Tools.MSBuild; using Cake.Common.Tools.VSTest; using Cake.Common.Tools.VSWhere; using Cake.Common.Tools.VSWhere.Latest; using Cake.Core.Diagnostics; using Cake.Frosting; /// <summary> /// Runs units tests on solution. Make sure to build the solution before running this...
mit
C#
95d43ec9fb4f272b40b332f853556f47ffd90715
Test Observable: Rename imitator class.
ethankennerly/UnityToykit
Editor/Tests/TestObservable.cs
Editor/Tests/TestObservable.cs
using NUnit.Framework; public sealed class TestObservable { private sealed class Imitator<T> { private T m_Value; public T value { get { return m_Value; } } public void OnChanged(T previousValue, T value) { m_Value = value; } } [Test] public void SetStringAndAppend() { Observab...
using NUnit.Framework; public sealed class TestObservable { private sealed class Observer<T> { private T m_Value; public T value { get { return m_Value; } } public void OnChanged(T previousValue, T value) { m_Value = value; } } [Test] public void SetStringAndAppend() { Observab...
mit
C#
98225e611e8b8adb57adde31d2e05a9d1cf9a149
Simplify detection async methods within MethodCase.
fixie/fixie,bardoloi/fixie,JakeGinnivan/fixie,KevM/fixie,Duohong/fixie,EliotJones/fixie,bardoloi/fixie
src/Fixie/MethodCase.cs
src/Fixie/MethodCase.cs
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Threading.Tasks; namespace Fixie { public class MethodCase : Case { readonly ClassFixture fixture; readonly MethodInfo method; public MethodCase(ClassFixture fixture, MethodInfo me...
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Runtime.CompilerServices; using System.Threading.Tasks; namespace Fixie { public class MethodCase : Case { readonly ClassFixture fixture; readonly MethodInfo method; readonly bool i...
mit
C#
2e559cbee8c338d3df626be76f583d90bbbfc967
Fix assertion for number of items in a line in CharacterVerse.txt
sillsdev/Glyssen,sillsdev/Glyssen
ProtoScript/CharacterVerse.cs
ProtoScript/CharacterVerse.cs
using System; using System.Collections.Generic; using System.Linq; using ProtoScript.Properties; using SIL.ScriptureUtils; namespace ProtoScript { public class CharacterVerse { private static IEnumerable<CharacterVerse> s_data; static CharacterVerse() { LoadAll(); } public static int GetCharacter(str...
using System; using System.Collections.Generic; using System.Linq; using ProtoScript.Properties; using SIL.ScriptureUtils; namespace ProtoScript { public class CharacterVerse { private static IEnumerable<CharacterVerse> s_data; static CharacterVerse() { LoadAll(); } public static int GetCharacter(str...
mit
C#
00455b8938987873ee57823aac3fe7e61b0bd17b
Test refactoring
kshanafelt/commandline,anthonylangsworth/commandline,Emergensys/commandline,anthonylangsworth/commandline,huoxudong125/commandline,Emergensys/commandline,Ehryk/commandline,Thilas/commandline,nausley/commandline,Thilas/commandline,nausley/commandline,kshanafelt/commandline,rmboggs/commandline,rmboggs/commandline,Ehryk/c...
src/CommandLine.Tests/Unit/ParserResultExtensionsTests.cs
src/CommandLine.Tests/Unit/ParserResultExtensionsTests.cs
// Copyright 2005-2015 Giacomo Stelluti Scala & Contributors. All rights reserved. See doc/License.md in the project root for license information. using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using CommandLine.Tests.Fakes; using Xunit;...
// Copyright 2005-2015 Giacomo Stelluti Scala & Contributors. All rights reserved. See doc/License.md in the project root for license information. using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using CommandLine.Tests.Fakes; using Xunit;...
mit
C#
5fddfa8e973eb58917900883a96202eac78ef36e
Add xmldocs to ITeamExplorerServiceHolder
github/VisualStudio,github/VisualStudio,github/VisualStudio
src/GitHub.Exports/Services/ITeamExplorerServiceHolder.cs
src/GitHub.Exports/Services/ITeamExplorerServiceHolder.cs
using System; using GitHub.Primitives; using GitHub.Models; using Microsoft.VisualStudio.Threading; namespace GitHub.Services { /// <summary> /// Used by the home section to share its IServiceProvider /// with the nav items (which otherwise would not have access to one /// with source control change e...
using System; using GitHub.Primitives; using GitHub.Models; using Microsoft.VisualStudio.Threading; namespace GitHub.Services { /// <summary> /// Used by the home section to share its IServiceProvider /// with the nav items (which otherwise would not have access to one /// with source control change e...
mit
C#
5358249b0b9e5a609ae2003e4113542feb41370c
Add comments to RocketScriptBase
xoofx/GitRocketFilter,xoofx/GitRocketFilter
src/RocketScriptBase.cs
src/RocketScriptBase.cs
// Copyright (c) Alexandre Mutel. All rights reserved. // Licensed under the BSD license. See LICENSE file in the project root for full license information. using System; using LibGit2Sharp; namespace GitRocketFilter { /// <summary> /// Base class for a script. /// </summary> public abstract class Ro...
// Copyright (c) Alexandre MUTEL. All rights reserved. // Licensed under the BSD license. See LICENSE file in the project root for full license information. using LibGit2Sharp; namespace GitRocketFilter { public abstract class RocketScriptBase { private readonly RocketFilterApp rocketFilterApp; ...
bsd-2-clause
C#
12e8f1c80bcc876724bbaa002c0e9f1258415825
Disable fail test.
joaoasrosa/pullrequests-viewer,joaoasrosa/pullrequests-viewer,joaoasrosa/pullrequests-viewer,joaoasrosa/pullrequests-viewer,joaoasrosa/pullrequests-viewer
tests/PullRequestsViewer.WebApp.Tests/Dummy.cs
tests/PullRequestsViewer.WebApp.Tests/Dummy.cs
using System; using System.Collections.Generic; using System.Text; using Xunit; namespace PullRequestsViewer.WebApp.Tests { public class Dummy { [Fact] public void Assert_True() { Assert.Equal(".", "."); } //[Fact] //public void Assert_False() ...
using System; using System.Collections.Generic; using System.Text; using Xunit; namespace PullRequestsViewer.WebApp.Tests { public class Dummy { [Fact] public void Assert_True() { Assert.Equal(".", "."); } [Fact] public void Assert_False() {...
mit
C#
29fc3a10db3c5c623d208f248aa48eed5c8bd217
update main() to netcoreapp2.0
collinbarrett/FilterLists,collinbarrett/FilterLists,collinbarrett/FilterLists,collinbarrett/FilterLists,collinbarrett/FilterLists
src/FilterLists.Api/Program.cs
src/FilterLists.Api/Program.cs
using JetBrains.Annotations; using Microsoft.AspNetCore; using Microsoft.AspNetCore.Hosting; namespace FilterLists.Api { [UsedImplicitly] public class Program { [UsedImplicitly] public static void Main(string[] args) { BuildWebHost(args).Run(); } public...
using System.IO; using JetBrains.Annotations; using Microsoft.AspNetCore.Hosting; namespace FilterLists.Api { [UsedImplicitly] public class Program { [UsedImplicitly] public static void Main(string[] args) { var host = new WebHostBuilder() .UseKestrel() ...
mit
C#
5533b9dec6d8100a54ff11db6798ed7958f6d4aa
Replace Send with ToJson so the library is independent from how you send it
Valetude/Valetude.Rollbar
Rollbar.Net/RollbarPayload.cs
Rollbar.Net/RollbarPayload.cs
using System; using Newtonsoft.Json; namespace Rollbar { public class RollbarPayload { public RollbarPayload(string accessToken, RollbarData data) { if (string.IsNullOrWhiteSpace(accessToken)) { throw new ArgumentNullException("accessToken"); } if (data ...
using System; using Newtonsoft.Json; using RestSharp; namespace Rollbar { public class RollbarPayload { public RollbarPayload(string accessToken, RollbarData data) { if (string.IsNullOrWhiteSpace(accessToken)) { throw new ArgumentNullException("accessToken"); } ...
mit
C#
acd4073100d6520f3176e81f3e6fccc72464f5a0
Fix typo
SaladLab/Unity3D.IncrementalCompiler,SaladbowlCreative/Unity3D.IncrementalCompiler
extra/UniversalCompiler/Compilers/Incremental60Compiler.cs
extra/UniversalCompiler/Compilers/Incremental60Compiler.cs
using System; using System.Diagnostics; using System.IO; using System.Linq; internal class Incremental60Compiler : Compiler { public override string Name => "Incremental C# Compiler 6.0"; public override bool NeedsPdb2MdbConversion => false; public Incremental60Compiler(Logger logger, string directory) : base(l...
using System; using System.Diagnostics; using System.IO; using System.Linq; internal class Incremental60Compiler : Compiler { public override string Name => "Incremental C# Compiler C# 6.0"; public override bool NeedsPdb2MdbConversion => false; public Incremental60Compiler(Logger logger, string directory) : bas...
mit
C#
a1467ae1877feca295ccd9b0681be6f8eedfb6fd
Fix build
dgarage/NBXplorer,dgarage/NBXplorer
NBXplorer.Client/Serializer.cs
NBXplorer.Client/Serializer.cs
using NBitcoin; using Newtonsoft.Json; using Newtonsoft.Json.Linq; using System; using System.Collections.Generic; using System.Text; namespace NBXplorer { public class Serializer { private readonly Network _Network; public Network Network { get { return _Network; } } public JsonSerializerS...
using NBitcoin; using Newtonsoft.Json; using Newtonsoft.Json.Linq; using System; using System.Collections.Generic; using System.Text; namespace NBXplorer { public class Serializer { private readonly Network _Network; public Network Network { get { return _Network; } } public JsonSerializerS...
mit
C#
d7b39612208b538180f629abc61000798fafa864
Use BuildTarget.iPhone instead of preprocessor #if, Unity seems to have trouble with this.
GoCarrot/teak-unity,GoCarrot/teak-unity,GoCarrot/teak-unity,GoCarrot/teak-unity,GoCarrot/teak-unity
Assets/Teak/Editor/TeakPostProcessBuild.cs
Assets/Teak/Editor/TeakPostProcessBuild.cs
#region License /* Teak -- Copyright (C) 2016 GoCarrot Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
#region License /* Teak -- Copyright (C) 2016 GoCarrot Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
apache-2.0
C#
1becd839a446835115f97c7b47539063ce21c901
Revert "Test"
blstream/AugmentedSzczecin_WP,blstream/AugmentedSzczecin_WP,blstream/AugmentedSzczecin_WP
AugmentedSzczecin/AugmentedSzczecin/App.xaml.cs
AugmentedSzczecin/AugmentedSzczecin/App.xaml.cs
using AugmentedSzczecin.ViewModels; using AugmentedSzczecin.Views; using Caliburn.Micro; using System; using System.Collections.Generic; using Windows.ApplicationModel.Activation; using Windows.UI.Xaml.Controls; namespace AugmentedSzczecin { public sealed partial class App { private WinRTContainer con...
using AugmentedSzczecin.Interfaces; using AugmentedSzczecin.Services; using AugmentedSzczecin.ViewModels; using AugmentedSzczecin.Views; using Caliburn.Micro; using System; using System.Collections.Generic; using Windows.ApplicationModel.Activation; using Windows.UI.Xaml.Controls; namespace AugmentedSzczecin { publi...
apache-2.0
C#
e63edf5b4914ec04f55b2de779709e2120d93315
Fix volume control displaying on non-vertical scroll events
NeoAdonis/osu,peppy/osu-new,ppy/osu,peppy/osu,peppy/osu,smoogipoo/osu,ppy/osu,NeoAdonis/osu,smoogipoo/osu,UselessToucan/osu,NeoAdonis/osu,peppy/osu,smoogipoo/osu,UselessToucan/osu,ppy/osu,UselessToucan/osu,smoogipooo/osu
osu.Game/Overlays/Volume/VolumeControlReceptor.cs
osu.Game/Overlays/Volume/VolumeControlReceptor.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.Graphics.Containers; using osu.Framework.Input; using osu.Framework.Input.Bindings; using osu.Framework.Input.Events; using osu.Framewo...
// 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.Graphics.Containers; using osu.Framework.Input; using osu.Framework.Input.Bindings; using osu.Framework.Input.Events; using osu.Framewo...
mit
C#
f32282a3a8c108e21533797be574a8efbb0cb420
add queueBinding
kheiakiyama/speech-eng-functions
SentenceScraping/run.csx
SentenceScraping/run.csx
#r "System.Configuration" #r "System.Collections" #r "System.Linq.Expressions" #load "../QuestionEntity.csx" using System.Net; using System.Net.Http; using System.Configuration; using System.Linq; using Newtonsoft.Json; using Microsoft.Azure; using Microsoft.WindowsAzure.Storage; using Microsoft.WindowsAzure.Storage.T...
#r "System.Configuration" #r "System.Collections" #r "System.Linq.Expressions" #load "../QuestionEntity.csx" using System.Net; using System.Net.Http; using System.Configuration; using System.Linq; using Newtonsoft.Json; using Microsoft.Azure; using Microsoft.WindowsAzure.Storage; using Microsoft.WindowsAzure.Storage.T...
mit
C#
a7c78cc5b39ff408e5817f46d7d10857dff68923
extend vertex soup to handle vertex-at-a-time
jeske/SimpleScene,smoothdeveloper/SimpleScene,RealRui/SimpleScene,Namone/SimpleScene
SimpleScene/Util/VertexSoup.cs
SimpleScene/Util/VertexSoup.cs
// Copyright(C) David W. Jeske, 2012 // Released to the public domain. Use, modify and relicense at will. using System; using System.Collections.Generic; using System.Text; using System.Drawing; namespace Util3d { // VertexSoup // // This class is used to accumulate a uniquefied set of fully-configured-3d verti...
// Copyright(C) David W. Jeske, 2012 // Released to the public domain. Use, modify and relicense at will. using System; using System.Collections.Generic; using System.Text; using System.Drawing; namespace Util3d { // VertexSoup // // This class is used to accumulate a uniquefied set of fully-configured-3d verti...
apache-2.0
C#