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
2e3450b3f58e4290289194c0fd58ecf28fe3931c
Make Mods readonly
smoogipoo/osu,peppy/osu,ppy/osu,smoogipooo/osu,NeoAdonis/osu,smoogipoo/osu,ppy/osu,smoogipoo/osu,ppy/osu,NeoAdonis/osu,NeoAdonis/osu,peppy/osu,peppy/osu,peppy/osu-new
osu.Game/Screens/Play/GameplayState.cs
osu.Game/Screens/Play/GameplayState.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System.Collections.Generic; using osu.Framework.Bindables; using osu.Game.Beatmaps; using osu.Game.Rulesets; using osu.Game.Rulesets.Judgements; using osu.Game.Rule...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System.Collections.Generic; using osu.Framework.Bindables; using osu.Game.Beatmaps; using osu.Game.Rulesets; using osu.Game.Rulesets.Judgements; using osu.Game.Rule...
mit
C#
41441771ae2d4cb0bc95ecceef32b3a8d2b19593
Remove unnecessary cast
peppy/osu,UselessToucan/osu,EVAST9919/osu,naoey/osu,peppy/osu-new,ppy/osu,DrabWeb/osu,ZLima12/osu,ppy/osu,peppy/osu,NeoAdonis/osu,UselessToucan/osu,naoey/osu,smoogipoo/osu,ppy/osu,ZLima12/osu,DrabWeb/osu,smoogipoo/osu,smoogipoo/osu,EVAST9919/osu,2yangk23/osu,smoogipooo/osu,DrabWeb/osu,2yangk23/osu,NeoAdonis/osu,peppy/o...
osu.Game/Tests/Platform/TestStorage.cs
osu.Game/Tests/Platform/TestStorage.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 osu.Framework.Platform; namespace osu.Game.Tests.Platform { public class TestStorage : DesktopStorage { public TestStorage(string baseName) ...
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using osu.Framework.Platform; namespace osu.Game.Tests.Platform { public class TestStorage : DesktopStorage { public TestStorage(string baseName) ...
mit
C#
7226ccc229019b84de268fc71bd517eae24bc1a2
Kill off another host watchdog test
tgstation/tgstation-server,Cyberboss/tgstation-server,tgstation/tgstation-server,Cyberboss/tgstation-server,tgstation/tgstation-server-tools
tests/Tgstation.Server.Host.Watchdog.Tests/TestWatchdog.cs
tests/Tgstation.Server.Host.Watchdog.Tests/TestWatchdog.cs
using Microsoft.Extensions.Logging; using Microsoft.VisualStudio.TestTools.UnitTesting; using Moq; using System; using System.Threading; using System.Threading.Tasks; using Tgstation.Server.Host.Startup; namespace Tgstation.Server.Host.Watchdog.Tests { [TestClass] public sealed class TestWatchdog { [TestMethod] ...
using Microsoft.Extensions.Logging; using Microsoft.VisualStudio.TestTools.UnitTesting; using Moq; using System; using System.Threading; using System.Threading.Tasks; using Tgstation.Server.Host.Startup; namespace Tgstation.Server.Host.Watchdog.Tests { [TestClass] public sealed class TestWatchdog { [TestMethod] ...
agpl-3.0
C#
da255ff9db89ae98dbaae23d54a264bb50df2817
Make `TestProject.GetProjectDirectory` more thorough when finding project directory.
aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore
test/Microsoft.AspNetCore.Razor.Test.Common/Language/TestProject.cs
test/Microsoft.AspNetCore.Razor.Test.Common/Language/TestProject.cs
// Copyright (c) .NET Foundation. 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.IO; using Microsoft.AspNetCore.Testing; namespace Microsoft.AspNetCore.Razor.Language { public static class TestProject...
// Copyright (c) .NET Foundation. 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.IO; using System.Reflection; namespace Microsoft.AspNetCore.Razor.Language { public static class TestProject { ...
apache-2.0
C#
74440dcfdcc35fa847ecafe1d577f618a7d2b34b
Make the cursors click every so often
johnneijzen/osu,2yangk23/osu,ZLima12/osu,UselessToucan/osu,peppy/osu,smoogipoo/osu,ppy/osu,UselessToucan/osu,EVAST9919/osu,johnneijzen/osu,2yangk23/osu,smoogipoo/osu,EVAST9919/osu,smoogipoo/osu,UselessToucan/osu,peppy/osu,ZLima12/osu,NeoAdonis/osu,peppy/osu-new,ppy/osu,smoogipooo/osu,NeoAdonis/osu,ppy/osu,NeoAdonis/osu...
osu.Game.Rulesets.Osu.Tests/TestSceneGameplayCursor.cs
osu.Game.Rulesets.Osu.Tests/TestSceneGameplayCursor.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 NUnit.Framework; using osu.Framework.Allocation; using osu.Framework.Graphics; using osu.Framework.Testing.Input; u...
// 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 NUnit.Framework; using osu.Framework.Allocation; using osu.Framework.Graphics; using osu.Framework.Testing.Input; u...
mit
C#
76080368e900f2b866f46235eebff0f7bda19a6d
Mark test as headless
NeoAdonis/osu,NeoAdonis/osu,NeoAdonis/osu,UselessToucan/osu,ppy/osu,smoogipooo/osu,smoogipoo/osu,peppy/osu,ppy/osu,peppy/osu,peppy/osu-new,smoogipoo/osu,smoogipoo/osu,ppy/osu,UselessToucan/osu,peppy/osu,UselessToucan/osu
osu.Game.Rulesets.Taiko.Tests/TestSceneSampleOutput.cs
osu.Game.Rulesets.Taiko.Tests/TestSceneSampleOutput.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.Linq; using osu.Framework.Testing; using osu.Game.Audio; using osu.Game.Beatmaps; using osu.Game.Rulesets.Taiko.Objects.Drawables; using osu.Game.Tests.Visua...
// 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.Linq; using osu.Game.Audio; using osu.Game.Beatmaps; using osu.Game.Rulesets.Taiko.Objects.Drawables; using osu.Game.Tests.Visual; namespace osu.Game.Rulese...
mit
C#
345352be6757ab9225df004307e07a48de2523dd
Mark PerformUpdate as an instant handle method (doesn't really help with anything)
smoogipoo/osu,NeoAdonis/osu,ppy/osu,peppy/osu,ppy/osu,NeoAdonis/osu,smoogipooo/osu,ppy/osu,peppy/osu-new,UselessToucan/osu,peppy/osu,UselessToucan/osu,smoogipoo/osu,peppy/osu,smoogipoo/osu,UselessToucan/osu,NeoAdonis/osu
osu.Game/Online/RealtimeMultiplayer/MultiplayerRoom.cs
osu.Game/Online/RealtimeMultiplayer/MultiplayerRoom.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. #nullable enable using System; using System.Collections.Generic; using JetBrains.Annotations; namespace osu.Game.Online.RealtimeMultiplayer { /// <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. #nullable enable using System; using System.Collections.Generic; namespace osu.Game.Online.RealtimeMultiplayer { /// <summary> /// A multiplayer room. /// <...
mit
C#
c44370c75e14fc38600dd9488494b06c0be907ca
Add services to DI
ronaldme/Watcher,ronaldme/Watcher,ronaldme/Watcher
Watcher.Service/Program.cs
Watcher.Service/Program.cs
using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Hosting; using Microsoft.Extensions.Logging; using Watcher.Common; using Watcher.DAL; using Watcher.Service.API; using Watcher.Service.Services; using Watcher.Service.Services.Notifiers; namespace Watcher.Service { class Program { ...
using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Hosting; using Microsoft.Extensions.Logging; using Watcher.Common; using Watcher.DAL; using Watcher.Service.Services; using Watcher.Service.Services.Notifiers; namespace Watcher.Service { class Program { static void Main(string...
mit
C#
c54a4ea61b7724974a541d5ab28721e99e46b153
Fix for several handlers for one message in projection group
linkelf/GridDomain,andreyleskov/GridDomain
GridDomain.CQRS.Messaging/MessageRouting/ProjectionGroup.cs
GridDomain.CQRS.Messaging/MessageRouting/ProjectionGroup.cs
using System; using System.Collections.Generic; using System.Linq; namespace GridDomain.CQRS.Messaging.MessageRouting { public class ProjectionGroup: IProjectionGroup { private readonly IServiceLocator _locator; readonly Dictionary<Type, List<Action<object>>> _handlers = new Dictionary<Type, Li...
using System; using System.Collections.Generic; namespace GridDomain.CQRS.Messaging.MessageRouting { public class ProjectionGroup: IProjectionGroup { private readonly IServiceLocator _locator; readonly Dictionary<Type, List<Action<object>>> _handlers = new Dictionary<Type, List<Action<object>>>...
apache-2.0
C#
24e546d1b52ac0bbcc4d2a9d5f7f10d432f1fdd2
Revert accidental change
pharring/xunit-performance,Microsoft/xunit-performance,mmitche/xunit-performance,visia/xunit-performance,ianhays/xunit-performance,Microsoft/xunit-performance,ericeil/xunit-performance
src/common/GlobalAssemblyInfo.cs
src/common/GlobalAssemblyInfo.cs
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System.Reflection; [assembly: AssemblyCompany("Microsoft Corporation")] [assembly: AssemblyProduct("xUnit Performance Testing Framework")] [assembly: AssemblyCop...
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System.Reflection; [assembly: AssemblyCompany("Microsoft Corporation")] [assembly: AssemblyProduct("xUnit Performance Testing Framework")] [assembly: AssemblyCop...
mit
C#
09538d70f007e497e45fca5ef0f2ccc683ccc37b
test fixed
Softlr/Selenium.WebDriver.Extensions
test/Selenium.WebDriver.Extensions.Tests/ByTests.cs
test/Selenium.WebDriver.Extensions.Tests/ByTests.cs
namespace Selenium.WebDriver.Extensions.Tests { using System.Diagnostics.CodeAnalysis; using AutoFixture; using FluentAssertions; using Xunit; using static By; using static Shared.Trait; using SeleniumBy = OpenQA.Selenium.By; [Trait(CATEGORY, UNIT)] [ExcludeFromCodeCoverage] pub...
namespace Selenium.WebDriver.Extensions.Tests { using System.Diagnostics.CodeAnalysis; using AutoFixture; using FluentAssertions; using Xunit; using static By; using static Shared.Trait; using SeleniumBy = OpenQA.Selenium.By; [Trait(CATEGORY, UNIT)] [ExcludeFromCodeCoverage] pub...
apache-2.0
C#
7cebd84f531ddcc95e17f3b44a649f68ac3686d6
Rename CapDatabaseStorageMarkerService to CapStorageMarkerService
ouraspnet/cap,dotnetcore/CAP,dotnetcore/CAP,dotnetcore/CAP
src/DotNetCore.CAP.InMemoryStorage/CAP.InMemoryCapOptionsExtension.cs
src/DotNetCore.CAP.InMemoryStorage/CAP.InMemoryCapOptionsExtension.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 DotNetCore.CAP.InMemoryStorage; using DotNetCore.CAP.Processor; using Microsoft.Extensions.DependencyInjection; // ReSharper disable once CheckNamespace nam...
// Copyright (c) .NET Core Community. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. using DotNetCore.CAP.InMemoryStorage; using DotNetCore.CAP.Processor; using Microsoft.Extensions.DependencyInjection; // ReSharper disable once CheckNamespace nam...
mit
C#
817701d2596d07bc51e0e96438905233b8b3bbe0
Add docs
jasonmalinowski/roslyn,shyamnamboodiripad/roslyn,dotnet/roslyn,bartdesmet/roslyn,CyrusNajmabadi/roslyn,weltkante/roslyn,mavasani/roslyn,weltkante/roslyn,bartdesmet/roslyn,CyrusNajmabadi/roslyn,shyamnamboodiripad/roslyn,shyamnamboodiripad/roslyn,jasonmalinowski/roslyn,jasonmalinowski/roslyn,dotnet/roslyn,bartdesmet/rosl...
src/Features/Core/Portable/InheritanceMargin/InheritanceMarginItem.cs
src/Features/Core/Portable/InheritanceMargin/InheritanceMarginItem.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.Collections.Immutable; using System.Linq; using System.Threading; using System.Threading.Tasks; names...
// 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.Collections.Immutable; using System.Linq; using System.Threading; using System.Threading.Tasks; names...
mit
C#
610a1c7b8fddceb0dcee2f395a15d1a904a76f51
Use await um command tests
takenet/messaginghub-client-csharp
src/Takenet.MessagingHub.Client.Test/MessagingHubClientTests_SendCommand.cs
src/Takenet.MessagingHub.Client.Test/MessagingHubClientTests_SendCommand.cs
using Lime.Protocol; using NSubstitute; using NUnit.Framework; using Shouldly; using System; using System.Threading; using System.Threading.Tasks; namespace Takenet.MessagingHub.Client.Test { [TestFixture] internal class MessagingHubClientTests_SendCommand : MessagingHubClientTestBase { [SetUp] ...
using Lime.Protocol; using NSubstitute; using NUnit.Framework; using Shouldly; using System; using System.Threading; using System.Threading.Tasks; namespace Takenet.MessagingHub.Client.Test { [TestFixture] internal class MessagingHubClientTests_SendCommand : MessagingHubClientTestBase { [SetUp] ...
apache-2.0
C#
6596d12a4226ad246f0cade5024f630219ca9a85
add public key
gubookgu/azure-sdk-for-net,MabOneSdk/azure-sdk-for-net,jasper-schneider/azure-sdk-for-net,Matt-Westphal/azure-sdk-for-net,gubookgu/azure-sdk-for-net,hovsepm/azure-sdk-for-net,gubookgu/azure-sdk-for-net,herveyw/azure-sdk-for-net,vladca/azure-sdk-for-net,ailn/azure-sdk-for-net,nacaspi/azure-sdk-for-net,pomortaz/azure-sdk...
src/ResourceManagement/HDInsight/HDInsight/Properties/AssemblyInfo.cs
src/ResourceManagement/HDInsight/HDInsight/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("HDI...
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("HDI...
apache-2.0
C#
ea393d368450994faae24243953cc0f0a4aba5e5
Make FillScreen ExecuteInEditMode
momo-the-monster/workshop-trails
Assets/MMM/Trails/Scripts/FillScreen.cs
Assets/MMM/Trails/Scripts/FillScreen.cs
using UnityEngine; /* * Scale a Quad to fill an Orthographic Camera's Field of View * */ namespace mmm { [ExecuteInEditMode] public class FillScreen : MonoBehaviour { // Change for non-square textures public float aspectRatio = 1f; // This class could be expanded to work for Pe...
using UnityEngine; /* * Scale a Quad to fill an Orthographic Camera's Field of View * */ namespace mmm { public class FillScreen : MonoBehaviour { // Change for non-square textures public float aspectRatio = 1f; // This class could be expanded to work for Perspective & Ortho camera...
mit
C#
903eb1a535f21cb1ba62ef88eaea3fc4d7e62b6b
Adjust display property on a-driver
mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander
Battery-Commander.Web/Models/Vehicle.cs
Battery-Commander.Web/Models/Vehicle.cs
using System; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace BatteryCommander.Web.Models { public class Vehicle { [Key, DatabaseGenerated(DatabaseGeneratedOption.Identity)] public int Id { get; set; } [Required] publi...
using System; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace BatteryCommander.Web.Models { public class Vehicle { [Key, DatabaseGenerated(DatabaseGeneratedOption.Identity)] public int Id { get; set; } [Required] publi...
mit
C#
10934771ed4763bff1a18c1d187cef0a1b9f4ea2
Simplify default constructor
SICU-Stress-Measurement-System/frontend-cs
StressMeasurementSystem/ViewModels/AbstractPlotViewModel.cs
StressMeasurementSystem/ViewModels/AbstractPlotViewModel.cs
using System.Collections.Generic; using OxyPlot; using OxyPlot.Wpf; namespace StressMeasurementSystem.ViewModels { public abstract class AbstractPlotViewModel { protected PlotModel PlotModel { get; set; } protected List<DataPointSeries> SeriesList { get; set; } protected AbstractPlotV...
using System.Collections.Generic; using OxyPlot; using OxyPlot.Wpf; namespace StressMeasurementSystem.ViewModels { public abstract class AbstractPlotViewModel { protected PlotModel PlotModel { get; set; } protected List<DataPointSeries> SeriesList { get; set; } protected AbstractPlotV...
apache-2.0
C#
7d04baeb7bcec6eb8afea6d3625b8b8ba6b9307b
Fix multiple enumerating in MessageHandlerService
HelloKitty/GladNet2,HelloKitty/GladNet2.0,HelloKitty/GladNet2,HelloKitty/GladNet2.0
src/GladNet3.Handler.API/Services/MessageHandlerService.cs
src/GladNet3.Handler.API/Services/MessageHandlerService.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace GladNet { /// <summary> /// Message handling service that aggregates handlers /// and manages the try dispatching of them and accepts a default /// handler to fall back to if it fails. //...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace GladNet { /// <summary> /// Message handling service that aggregates handlers /// and manages the try dispatching of them and accepts a default /// handler to fall back to if it fails. //...
bsd-3-clause
C#
47db7499c83adaa40e3c7a9cc144fd2a7605a8fd
bump to 1.3.3
Terradue/DotNetTep,Terradue/DotNetTep
Terradue.Tep/Properties/AssemblyInfo.cs
Terradue.Tep/Properties/AssemblyInfo.cs
/*! \namespace Terradue.Tep @{ Terradue.Tep Software Package provides with all the functionalities specific to the TEP. \xrefitem sw_version "Versions" "Software Package Version" 1.3.3 \xrefitem sw_link "Links" "Software Package List" [Terradue.Tep](https://git.terradue.com/sugar/Terradue.Tep) \xref...
/*! \namespace Terradue.Tep @{ Terradue.Tep Software Package provides with all the functionalities specific to the TEP. \xrefitem sw_version "Versions" "Software Package Version" 1.3.2 \xrefitem sw_link "Links" "Software Package List" [Terradue.Tep](https://git.terradue.com/sugar/Terradue.Tep) \xref...
agpl-3.0
C#
909d1cf7b732607b0afac0db2947d72a4cd040b1
comment changes.
bostelk/delta
Delta.Core/DeltaGame.cs
Delta.Core/DeltaGame.cs
using System; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Content; namespace Delta { public class DeltaGame : Game //just a name holder { bool _isInitialized = false; ResourceContentManager _embedded = null; public DeltaGame(Rectangle screenArea) : base() ...
using System; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Content; namespace Delta { public class DeltaGame : Game //just a name holder { bool _isInitialized = false; ResourceContentManager _embedded = null; public DeltaGame(Rectangle screenArea) : base() ...
mit
C#
3c9ade5ccec840939575aa1d8c9c37c2dcdb51b6
Update AssemblyInfo.cs
tb2johm/MMVVM
UsageExample/Properties/AssemblyInfo.cs
UsageExample/Properties/AssemblyInfo.cs
using System.Reflection; using System.Resources; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Windows; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated ...
using System.Reflection; using System.Resources; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Windows; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated ...
mit
C#
1dd354120b1013759d210e49902e08393c6d18b9
Fix beatmap potentially changing in test scene
smoogipoo/osu,peppy/osu,UselessToucan/osu,NeoAdonis/osu,peppy/osu,smoogipooo/osu,NeoAdonis/osu,UselessToucan/osu,smoogipoo/osu,peppy/osu-new,ppy/osu,UselessToucan/osu,peppy/osu,smoogipoo/osu,ppy/osu,ppy/osu,NeoAdonis/osu
osu.Game.Tests/Visual/Editing/TestSceneTimingScreen.cs
osu.Game.Tests/Visual/Editing/TestSceneTimingScreen.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.Game.Rulesets.Edit; using osu.Game.Rulesets.Osu; using osu.Game.Screens.Edit; using osu.Game.Screens.Edit...
// 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.Game.Rulesets.Edit; using osu.Game.Rulesets.Osu; using osu.Game.Rulesets.Osu.Beatmaps; using osu.Game.Scr...
mit
C#
28ac016b1e0e111880b0de5e7a23ae7d0f6801c4
Add DiscordGame.Url
BundledSticksInkorperated/Discore
src/Discore/DiscordGame.cs
src/Discore/DiscordGame.cs
namespace Discore { /// <summary> /// Representation of the game a user is currently playing. /// </summary> public sealed class DiscordGame { /// <summary> /// Gets the name of the game. /// </summary> public string Name { get; } /// <summary> /// Ge...
namespace Discore { /// <summary> /// Representation of the game a user is currently playing. /// </summary> public sealed class DiscordGame { /// <summary> /// Gets the name of the game. /// </summary> public string Name { get; } /// <summary> /// Ge...
mit
C#
ed9304571989a98315bbfa287d17b409b84c08be
Add overloads for the AppBuilderExtensions to allow passing in of the HttpConfiguration
dd4t/DD4T.RestService.WebApi
source/DD4T.RestService.WebApi/AppBuilderExtensions.cs
source/DD4T.RestService.WebApi/AppBuilderExtensions.cs
using Autofac; using Autofac.Integration.WebApi; using DD4T.ContentModel.Contracts.Configuration; using DD4T.ContentModel.Contracts.Logging; using DD4T.ContentModel.Contracts.Providers; using DD4T.ContentModel.Contracts.Resolvers; using DD4T.DI.Autofac; using DD4T.Utils; using DD4T.Utils.Logging; using DD4T.Utils.Reso...
using Autofac; using Autofac.Integration.WebApi; using DD4T.ContentModel.Contracts.Configuration; using DD4T.ContentModel.Contracts.Logging; using DD4T.ContentModel.Contracts.Providers; using DD4T.ContentModel.Contracts.Resolvers; using DD4T.DI.Autofac; using DD4T.Utils; using DD4T.Utils.Logging; using DD4T.Utils.Reso...
apache-2.0
C#
410b6b06182ebee2793c6e54e9a22a8257e180fd
Rename GetNoOp to Identity
awseward/restivus
src/Restivus/Extensions.cs
src/Restivus/Extensions.cs
using System; using System.Collections.Generic; using System.Linq; using System.Net.Http; using System.Text; using System.Threading.Tasks; namespace Restivus { public static class Extensions { public static StringContent AsJsonContent(this string json) { var safeJson = string.IsNul...
using System; using System.Collections.Generic; using System.Linq; using System.Net.Http; using System.Text; using System.Threading.Tasks; namespace Restivus { public static class Extensions { public static StringContent AsJsonContent(this string json) { var safeJson = string.IsNul...
mit
C#
9bda6425b4264edf8794dbe74210e525564db7d5
update version
prodot/ReCommended-Extension
Sources/ReCommendedExtension/Properties/AssemblyInfo.cs
Sources/ReCommendedExtension/Properties/AssemblyInfo.cs
using System.Reflection; using ReCommendedExtension; // 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(ZoneMarker.ExtensionName)] [assembly: AssemblyDescript...
using System.Reflection; using ReCommendedExtension; // 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(ZoneMarker.ExtensionName)] [assembly: AssemblyDescript...
apache-2.0
C#
dd5514f246597be15e29ac1d31aebadbb20f87d3
combine implementation of MouseCursors
Unity-Technologies/CodeEditor,Unity-Technologies/CodeEditor
src/CodeEditor.Text.UI.Unity.Editor/Implementation/UnityEditorMouseCursorRegions.cs
src/CodeEditor.Text.UI.Unity.Editor/Implementation/UnityEditorMouseCursorRegions.cs
using CodeEditor.Composition; using CodeEditor.Text.UI.Unity.Engine; using UnityEngine; namespace CodeEditor.Text.UI.Unity.Editor.Implementation { [Export(typeof(IMouseCursorRegions))] [Export(typeof(IMouseCursors))] class UnityEditorMouseCursors: IMouseCursorRegions, IMouseCursors { public IMouseCursor Text { ...
using CodeEditor.Composition; using CodeEditor.Text.UI.Unity.Engine; using UnityEngine; namespace CodeEditor.Text.UI.Unity.Editor.Implementation { [Export(typeof(IMouseCursorRegions))] class UnityEditorMouseCursorRegions : IMouseCursorRegions { public void AddMouseCursorRegion(Rect region, IMouseCursor cursor) ...
mit
C#
eed8fa00687424544f11377b4b1d205d9e48ddb3
Update version to 2.0
citizenmatt/resharper-template-compiler
src/resharper-template-compiler/Properties/AssemblyInfo.cs
src/resharper-template-compiler/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("resharper-template-compiler")] [assembly: ...
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("resharper-template-compiler")] [assembly:...
apache-2.0
C#
a7f764c696fce229f2b3d50c2fad45aa032d7c19
Refactor ITermDataProviderExtensions.GetActualValues method
atata-framework/atata,YevgeniyShunevych/Atata,YevgeniyShunevych/Atata,atata-framework/atata
src/Atata/Extensions/ITermDataProviderExtensions.cs
src/Atata/Extensions/ITermDataProviderExtensions.cs
using System; using System.Linq; namespace Atata { public static class ITermDataProviderExtensions { public static string[] GetActualValues(this ITermDataProvider provider, string fallbackValue) { string[] rawValues = provider.Values != null && provider.Values.Any() ...
using System.Linq; namespace Atata { public static class ITermDataProviderExtensions { public static string[] GetActualValues(this ITermDataProvider provider, string fallbackValue) { string[] rawValues = (provider.Values != null && provider.Values.Any()) ? provider.Values :...
apache-2.0
C#
3575525c2eb4596a1e249339b2a0dccfb034e33d
Update src/Avalonia.Controls/Notifications/Notification.cs
wieslawsoltes/Perspex,wieslawsoltes/Perspex,jkoritzinsky/Avalonia,SuperJMN/Avalonia,wieslawsoltes/Perspex,wieslawsoltes/Perspex,wieslawsoltes/Perspex,SuperJMN/Avalonia,grokys/Perspex,AvaloniaUI/Avalonia,SuperJMN/Avalonia,SuperJMN/Avalonia,akrisiun/Perspex,jkoritzinsky/Avalonia,wieslawsoltes/Perspex,jkoritzinsky/Avaloni...
src/Avalonia.Controls/Notifications/Notification.cs
src/Avalonia.Controls/Notifications/Notification.cs
// Copyright (c) The Avalonia Project. All rights reserved. // Licensed under the MIT license. See licence.md file in the project root for full license information. using System; namespace Avalonia.Controls.Notifications { /// <summary> /// A notification that can be shown in a window or by the host operatin...
// Copyright (c) The Avalonia Project. All rights reserved. // Licensed under the MIT license. See licence.md file in the project root for full license information. using System; namespace Avalonia.Controls.Notifications { /// <summary> /// Implements the INotification interfaces. /// Can be displayed by...
mit
C#
5522f8d9e47e6ecfb5e74496042cefc959138af8
Add some documentation.
MrJoy/UnityGUIExtensions.Examples,MrJoy/UnityGUIExtensions.Examples
Assets/UnityGUIExtensions.Examples/AutoSelectExample.cs
Assets/UnityGUIExtensions.Examples/AutoSelectExample.cs
using UnityEngine; using System; using System.Collections; public class AutoSelectExample : MonoBehaviour { private string a = "", b = "", c = ""; public void OnGUI() { GUILayout.BeginArea(new Rect(0, 0, 400, 200)); GUILayout.BeginHorizontal(); GUILayout.Label("Auto-selecting text field:", GUILa...
using UnityEngine; using System; using System.Collections; public class AutoSelectExample : MonoBehaviour { private string a = "", b = "", c = ""; public void OnGUI() { GUILayout.BeginArea(new Rect(0, 0, 400, 200)); a = GUILayoutExt.AutoSelectTextArea("fieldA", a); b = GUILayoutExt.AutoSelectTextA...
mit
C#
5bcb20245c4b801d5e59ec7b5d3d89829bd30fe3
Use the actual db data
mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander
Battery-Commander.Web/Models/NavigationViewComponent.cs
Battery-Commander.Web/Models/NavigationViewComponent.cs
using BatteryCommander.Web.Controllers; using BatteryCommander.Web.Services; using Microsoft.AspNetCore.Mvc; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace BatteryCommander.Web.Models { public class NavigationViewComponent : ViewComponent { p...
using BatteryCommander.Web.Controllers; using BatteryCommander.Web.Services; using Microsoft.AspNetCore.Mvc; using System; using System.Collections.Generic; using System.Threading.Tasks; namespace BatteryCommander.Web.Models { public class NavigationViewComponent : ViewComponent { private readonly Dat...
mit
C#
bb18e65b1c8f80ab1349252a1dad61573621f87d
Update DocumentTextBindingBehavior.cs
wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D
src/Core2D/Behaviors/DocumentTextBindingBehavior.cs
src/Core2D/Behaviors/DocumentTextBindingBehavior.cs
#nullable enable using System; using Avalonia; using Avalonia.Xaml.Interactivity; using AvaloniaEdit; namespace Core2D.Behaviors; public class DocumentTextBindingBehavior : Behavior<TextEditor> { private TextEditor _textEditor; public static readonly StyledProperty<string> TextProperty = AvaloniaPro...
#if false #nullable enable using System; using Avalonia; using Avalonia.Xaml.Interactivity; using AvaloniaEdit; namespace Core2D.Behaviors; public class DocumentTextBindingBehavior : Behavior<TextEditor> { private TextEditor _textEditor; public static readonly StyledProperty<string> TextProperty = A...
mit
C#
acbbf01a2360861a4dc0a7324b0280809d2071ca
Delete unused Converters property on AppInternalInfo
NFig/NFig
NFig/AppInternalInfo.cs
NFig/AppInternalInfo.cs
using System; using JetBrains.Annotations; using NFig.Encryption; namespace NFig { class AppInternalInfo { internal string AppName { get; } [CanBeNull] internal Type SettingsType { get; set; } [CanBeNull] internal ISettingEncryptor Encryptor { get; set; } // todo: event...
using System; using System.Collections.Generic; using JetBrains.Annotations; using NFig.Converters; using NFig.Encryption; namespace NFig { class AppInternalInfo { internal string AppName { get; } [CanBeNull] internal Type SettingsType { get; set; } [CanBeNull] internal...
mit
C#
3d4c7bc35c0bf1ffd1137655184acc4da1d0aa30
Make sure Jasper MessageId goes across the wire
JasperFx/jasper,JasperFx/jasper,JasperFx/jasper
src/Jasper.ConfluentKafka/KafkaTransportProtocol.cs
src/Jasper.ConfluentKafka/KafkaTransportProtocol.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Confluent.Kafka; using Jasper.Transports; namespace Jasper.ConfluentKafka { public class KafkaTransportProtocol<TKey, TVal> : ITransportProtocol<Message<TKey, TVal>> { private const string JasperMessageIdHeader ...
using System.Text; using Confluent.Kafka; using Jasper.Transports; namespace Jasper.ConfluentKafka { public class KafkaTransportProtocol<TKey, TVal> : ITransportProtocol<Message<TKey, TVal>> { public Message<TKey, TVal> WriteFromEnvelope(Envelope envelope) => new Message<TKey, TVal> ...
mit
C#
f4e20cebb3c4f317f5350031e1b167cc5b1f6ced
Address CodeFactor.
nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet
WalletWasabi.Gui/Controls/LockScreen/SlideLockScreen.xaml.cs
WalletWasabi.Gui/Controls/LockScreen/SlideLockScreen.xaml.cs
using System; using System.Collections.Generic; using Avalonia.Media; using Avalonia.Input; using Avalonia.Controls; using Avalonia.Markup.Xaml; using Avalonia.Controls.Primitives; using ReactiveUI; using Avalonia; using System.Reactive.Linq; using System.Reactive.Disposables; namespace WalletWasabi.Gui.Controls.Lock...
using System; using System.Collections.Generic; using Avalonia.Media; using Avalonia.Input; using Avalonia.Controls; using Avalonia.Markup.Xaml; using Avalonia.Controls.Primitives; using ReactiveUI; using Avalonia; using System.Reactive.Linq; using System.Reactive.Disposables; namespace WalletWasabi.Gui.Controls.Lock...
mit
C#
ceb76b10958ee4de347df36b6f6fea85550a6429
Remove unused using statements.
wangkanai/Detection
test/Wangkanai.Detection.Test/DetectionServiceTests.cs
test/Wangkanai.Detection.Test/DetectionServiceTests.cs
 using Microsoft.AspNetCore.Http; using System; using Xunit; namespace Wangkanai.Detection.Test { public class DetectionServiceTests { [Fact] public void Ctor_IServiceProvider_Success() { string userAgent = "Agent"; var context = new DefaultHttpContext(); ...
 using Microsoft.AspNetCore.Http; using System; using System.IO; using Xunit; namespace Wangkanai.Detection.Test { public class DetectionServiceTests { [Fact] public void Ctor_IServiceProvider_Success() { string userAgent = "Agent"; var context = new DefaultHttp...
apache-2.0
C#
6bd8269066d8e2472d9a8fedb9b7d1f0c53b489b
Update to RC@
Azure-Samples/active-directory-dotnet-webapp-openidconnect-aspnet5,AzureADSamples/WebApp-OpenIdConnect-AspNet5,Azure-Samples/active-directory-dotnet-webapp-openidconnect-aspnet5,Azure-Samples/active-directory-dotnet-webapp-openidconnect-aspnet5,AzureADSamples/WebApp-OpenIdConnect-AspNet5,AzureADSamples/WebApp-OpenIdCon...
WebApp-OpenIdConnect-DotNet/Controllers/AccountController.cs
WebApp-OpenIdConnect-DotNet/Controllers/AccountController.cs
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Authentication.Cookies; using Microsoft.AspNetCore.Authentication.OpenIdConnect; using Microsoft.AspNetCore.Http.Authentication; using Microsoft.AspNetCore.Mvc; // For more information on enabli...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Authentication.Cookies; using Microsoft.AspNetCore.Authentication.OpenIdConnect; using Microsoft.AspNetCore.Http.Authentication; using Microsoft.AspNetCore.Mvc; // For more information on enabli...
unknown
C#
9a2425f316903a8725da40f6d0374afa91aebe8c
Remove unused field for now to appease inspectcode
peppy/osu,ppy/osu,smoogipoo/osu,NeoAdonis/osu,NeoAdonis/osu,peppy/osu,smoogipoo/osu,peppy/osu,ppy/osu,ppy/osu,smoogipooo/osu,NeoAdonis/osu,smoogipoo/osu
osu.Game/Beatmaps/Drawables/Cards/Buttons/DownloadButton.cs
osu.Game/Beatmaps/Drawables/Cards/Buttons/DownloadButton.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.Sprites; using osu.Game.Online.API.Requests.Responses; namespace osu.Game.Beatmaps.Drawables.Cards.Buttons { public class DownloadButton...
// 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.Sprites; using osu.Game.Online.API.Requests.Responses; namespace osu.Game.Beatmaps.Drawables.Cards.Buttons { public class DownloadButton...
mit
C#
f79097ecb8419b24b49bde64a8fe13387901b143
Format AwsCredential
carbon/Amazon
src/Amazon.Core/Security/AwsCredential.cs
src/Amazon.Core/Security/AwsCredential.cs
using System; using System.Threading.Tasks; namespace Amazon { public sealed class AwsCredential : IAwsCredential { public AwsCredential(string accessKeyId, string secretAccessKey) { AccessKeyId = accessKeyId ?? throw new ArgumentNullException(nameof(accessKeyId)); ...
using System; using System.Threading.Tasks; namespace Amazon { public sealed class AwsCredential : IAwsCredential { public AwsCredential(string accessKeyId, string secretAccessKey) { AccessKeyId = accessKeyId ?? throw new ArgumentNullException(nameof(accessKeyId));...
mit
C#
0623b2eb1fc440e8011d54ec140b6ac8297888c6
Clean up EndOfRequestHandler
stormleoxia/xsp,stormleoxia/xsp,arthot/xsp,murador/xsp,murador/xsp,murador/xsp,arthot/xsp,stormleoxia/xsp,arthot/xsp,murador/xsp,arthot/xsp,stormleoxia/xsp
src/Mono.WebServer/EndOfRequestHandler.cs
src/Mono.WebServer/EndOfRequestHandler.cs
// // Mono.WebServer.EndOfRequestHandler // // Authors: // Daniel Lopez Ridruejo // Gonzalo Paniagua Javier // // Documentation: // Brian Nickel // // Copyright (c) 2002 Daniel Lopez Ridruejo. // (c) 2002,2003 Ximian, Inc. // All rights reserved. // (C) Copyright 2004-2010 Novell, Inc. (http://www....
// // Mono.WebServer.EndOfRequestHandler // // Authors: // Daniel Lopez Ridruejo // Gonzalo Paniagua Javier // // Documentation: // Brian Nickel // // Copyright (c) 2002 Daniel Lopez Ridruejo. // (c) 2002,2003 Ximian, Inc. // All rights reserved. // (C) Copyright 2004-2010 Novell, Inc. (http://www....
mit
C#
f097e26796a76aa92c2b224c7d4933fd9cd97d57
add Teaser to aria-label and title for accessibility
smbc-digital/iag-webapp,smbc-digital/iag-webapp,smbc-digital/iag-webapp
src/StockportWebapp/Views/Shared/CampaignBanner.cshtml
src/StockportWebapp/Views/Shared/CampaignBanner.cshtml
@model StockportWebapp.Models.CarouselContent <div> <a href="@Model.URL" aria-label="@Model.Title @Model.Teaser" title="@Model.Title @Model.Teaser"> <div class="l-background-hs-image"> <div class="stockport-carousel-text"> <h1>@Model.Title</h1> <p> ...
@model StockportWebapp.Models.CarouselContent <div> <a href="@Model.URL" aria-label="@Model.Title" title="@Model.Title"> <div class="l-background-hs-image"> <div class="stockport-carousel-text"> <h1>@Model.Title</h1> <p> @Model.Teaser ...
mit
C#
391882a3dd3e1c86f0ea116b7ad71f3f9ed3b761
Fix tests
merbla/serilog,serilog/serilog,skomis-mm/serilog,serilog/serilog,CaioProiete/serilog,nblumhardt/serilog,merbla/serilog,skomis-mm/serilog,nblumhardt/serilog
src/Serilog/Formatting/Display/Padding.cs
src/Serilog/Formatting/Display/Padding.cs
using System.IO; using Serilog.Parsing; namespace Serilog.Formatting.Display { static class Padding { static readonly char[] PaddingChars = new string(' ', 80).ToCharArray(); /// <summary> /// Writes the provided value to the output, applying direction-based padding when <paramref na...
using System.IO; using Serilog.Parsing; namespace Serilog.Formatting.Display { static class Padding { static readonly char[] PaddingChars = new string(' ', 80).ToCharArray(); /// <summary> /// Writes the provided value to the output, applying direction-based padding when <paramref na...
apache-2.0
C#
8ea4c10ce7ad7f1559c9177378a78757464537e1
Fix GetCurrentRequestIpAddress when there is no request
hfloyd/Umbraco-CMS,leekelleher/Umbraco-CMS,WebCentrum/Umbraco-CMS,rasmuseeg/Umbraco-CMS,abryukhov/Umbraco-CMS,lars-erik/Umbraco-CMS,JimBobSquarePants/Umbraco-CMS,KevinJump/Umbraco-CMS,NikRimington/Umbraco-CMS,madsoulswe/Umbraco-CMS,lars-erik/Umbraco-CMS,mattbrailsford/Umbraco-CMS,mattbrailsford/Umbraco-CMS,leekelleher/...
src/Umbraco.Core/HttpContextExtensions.cs
src/Umbraco.Core/HttpContextExtensions.cs
using System.Web; namespace Umbraco.Core { public static class HttpContextExtensions { public static T GetContextItem<T>(this HttpContextBase httpContext, string key) { if (httpContext == null) return default(T); if (httpContext.Items[key] == null) return default(T); ...
using System.Web; namespace Umbraco.Core { public static class HttpContextExtensions { public static T GetContextItem<T>(this HttpContextBase httpContext, string key) { if (httpContext == null) return default(T); if (httpContext.Items[key] == null) return default(T); ...
mit
C#
a510bd363f78f0a72d0ff109fde1ef5fe9f23cc0
Enable lowercase-urls by default
hanssens/recipes-for-kendo
source/RecipesForKendo.Web/App_Start/RouteConfig.cs
source/RecipesForKendo.Web/App_Start/RouteConfig.cs
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using System.Web.Routing; namespace RecipesForKendo.Web { public class RouteConfig { public static void RegisterRoutes(RouteCollection routes) { routes.IgnoreRoute("{resource}...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using System.Web.Routing; namespace RecipesForKendo.Web { public class RouteConfig { public static void RegisterRoutes(RouteCollection routes) { routes.IgnoreRoute("{resource}...
mit
C#
cc97b1fb84195a792cef2b33ebc07a91da2f65ee
Replace LocalCache on MemoryDistributedCache
OrchardCMS/Brochard,OrchardCMS/Brochard,petedavis/Orchard2,xkproject/Orchard2,yiji/Orchard2,jtkech/Orchard2,alexbocharov/Orchard2,yiji/Orchard2,xkproject/Orchard2,stevetayloruk/Orchard2,lukaskabrt/Orchard2,stevetayloruk/Orchard2,webrot/Orchard2,petedavis/Orchard2,petedavis/Orchard2,lukaskabrt/Orchard2,webrot/Orchard2,s...
src/Orchard.Environment.Cache/DefaultMemoryCache.cs
src/Orchard.Environment.Cache/DefaultMemoryCache.cs
using Orchard.DependencyInjection; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Caching.Memory; using Microsoft.Extensions.Caching.Distributed; using Microsoft.Extensions.DependencyInjection.Extensions; namespace Orchard.Environment.Cache { public class DefaultMemoryCache : IModule ...
using Orchard.DependencyInjection; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Caching.Memory; using Microsoft.Extensions.Caching.Distributed; using Microsoft.Extensions.DependencyInjection.Extensions; namespace Orchard.Environment.Cache { public class DefaultMemoryCache : IModule ...
bsd-3-clause
C#
95ef9f70b2ab7efa13e4f6f7938838c806bedba1
Fix MemberCloneResult constructor
Washi1337/AsmResolver,Washi1337/AsmResolver,Washi1337/AsmResolver,Washi1337/AsmResolver
src/AsmResolver.DotNet/Cloning/MemberCloneResult.cs
src/AsmResolver.DotNet/Cloning/MemberCloneResult.cs
using System; using System.Collections.Generic; namespace AsmResolver.DotNet.Cloning { /// <summary> /// Provides information about the result of a metadata cloning procedure. /// </summary> public class MemberCloneResult { private readonly IDictionary<IMemberDescriptor, IMemberDescriptor> ...
using System; using System.Collections.Generic; namespace AsmResolver.DotNet.Cloning { /// <summary> /// Provides information about the result of a metadata cloning procedure. /// </summary> public class MemberCloneResult { private readonly IDictionary<IMemberDescriptor, IMemberDescriptor> ...
mit
C#
2f1ffbd81e6d573a6d5dfa6b06647a0d071d3903
Make ThreadSafeObjectPool actually thread safe (#8106)
AvaloniaUI/Avalonia,SuperJMN/Avalonia,AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,SuperJMN/Avalonia,AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,SuperJMN/Avalonia,AvaloniaUI/Avalonia,SuperJMN/Avalonia,AvaloniaUI/Avalonia,SuperJMN/Avalonia,SuperJMN/Avalonia,grokys/Perspex,grokys/Perspex,SuperJMN/Avalonia
src/Avalonia.Base/Threading/ThreadSafeObjectPool.cs
src/Avalonia.Base/Threading/ThreadSafeObjectPool.cs
using System.Collections.Generic; namespace Avalonia.Threading { public class ThreadSafeObjectPool<T> where T : class, new() { private Stack<T> _stack = new Stack<T>(); public static ThreadSafeObjectPool<T> Default { get; } = new ThreadSafeObjectPool<T>(); public T Get() { ...
using System.Collections.Generic; namespace Avalonia.Threading { public class ThreadSafeObjectPool<T> where T : class, new() { private Stack<T> _stack = new Stack<T>(); private object _lock = new object(); public static ThreadSafeObjectPool<T> Default { get; } = new ThreadSafeObjectPool...
mit
C#
af268c1e8fc62382a06009516e27195848cef23a
add panel control to test app
northwoodspd/UIA.Extensions,northwoodspd/UIA.Extensions
src/UIA.Fluent.TestApplication/MainForm.Designer.cs
src/UIA.Fluent.TestApplication/MainForm.Designer.cs
namespace UIA.Fluent.TestApplication { partial class MainForm { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> ...
namespace UIA.Fluent.TestApplication { partial class MainForm { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> ...
mit
C#
436a6df917da0b3bea796da3c0471b12889db148
Fix up log viewer - if viewing all log items & filterExpression is null or emtpy string return all log items
abjerner/Umbraco-CMS,rasmuseeg/Umbraco-CMS,leekelleher/Umbraco-CMS,JimBobSquarePants/Umbraco-CMS,JimBobSquarePants/Umbraco-CMS,abryukhov/Umbraco-CMS,tcmorris/Umbraco-CMS,abryukhov/Umbraco-CMS,madsoulswe/Umbraco-CMS,robertjf/Umbraco-CMS,arknu/Umbraco-CMS,dawoe/Umbraco-CMS,robertjf/Umbraco-CMS,KevinJump/Umbraco-CMS,mattb...
src/Umbraco.Core/Logging/Viewer/ExpressionFilter.cs
src/Umbraco.Core/Logging/Viewer/ExpressionFilter.cs
using System; using System.Linq; using Serilog.Events; using Serilog.Filters.Expressions; namespace Umbraco.Core.Logging.Viewer { //Log Expression Filters (pass in filter exp string) public class ExpressionFilter : ILogFilter { private Func<LogEvent, bool> _filter; private readonly string ...
using System; using System.Linq; using Serilog.Events; using Serilog.Filters.Expressions; namespace Umbraco.Core.Logging.Viewer { //Log Expression Filters (pass in filter exp string) public class ExpressionFilter : ILogFilter { private Func<LogEvent, bool> _filter; private readonly string ...
mit
C#
e963a9f40fb688c665062b703b86d5ae1b42ec11
rename to IPackageReadRepository
tugberkugurlu/zippy
src/Zippy.Server.Abstractions/IPackageRepository.cs
src/Zippy.Server.Abstractions/IPackageRepository.cs
using System; using System.Collections.Generic; using System.IO; using System.Threading.Tasks; namespace Zippy.Server.Abstractions { public class PaginatedResult<TItem> { public PaginatedResult(long skipped, byte taken, long totalCount, IReadOnlyList<TItem> items) { if(items == nul...
using System; using System.Collections.Generic; using System.IO; using System.Threading.Tasks; namespace Zippy.Server.Abstractions { public class PaginatedResult<TItem> { public PaginatedResult(long skipped, byte taken, long totalCount, IReadOnlyList<TItem> items) { if(items == nul...
agpl-3.0
C#
312213501f43aee90121e092f9a6f798def7736c
update sample image url
xamarin/XamarinComponents,xamarin/XamarinComponents,xamarin/XamarinComponents,xamarin/XamarinComponents,xamarin/XamarinComponents,xamarin/XamarinComponents
iOS/SDWebImage/samples/SDWebImageSimpleSample/SDWebImageSimpleSample/ViewController.cs
iOS/SDWebImage/samples/SDWebImageSimpleSample/SDWebImageSimpleSample/ViewController.cs
using System; using Foundation; using UIKit; using SDWebImage; namespace SDWebImageSimpleSample { public partial class ViewController : UIViewController { protected ViewController(IntPtr handle) : base(handle) { // Note: this .ctor should not contain any initialization logic. } public override void ...
using System; using Foundation; using UIKit; using SDWebImage; namespace SDWebImageSimpleSample { public partial class ViewController : UIViewController { protected ViewController(IntPtr handle) : base(handle) { // Note: this .ctor should not contain any initialization logic. } public override void ...
mit
C#
37640d1c0820ba9cf1ab8cddbdaacf38d7aa6af4
Update Lists migrations for Autoroute
qt1/orchard4ibn,Anton-Am/Orchard,escofieldnaxos/Orchard,TalaveraTechnologySolutions/Orchard,LaserSrl/Orchard,salarvand/Portal,Praggie/Orchard,jchenga/Orchard,Anton-Am/Orchard,escofieldnaxos/Orchard,SouleDesigns/SouleDesigns.Orchard,emretiryaki/Orchard,dcinzona/Orchard-Harvest-Website,spraiin/Orchard,neTp9c/Orchard,arma...
src/Orchard.Web/Modules/Orchard.Lists/Migrations.cs
src/Orchard.Web/Modules/Orchard.Lists/Migrations.cs
using Orchard.ContentManagement.MetaData; using Orchard.Core.Contents.Extensions; using Orchard.Data.Migration; namespace Orchard.Lists { public class Migrations : DataMigrationImpl { public int Create() { ContentDefinitionManager.AlterTypeDefinition("List", cfg=>cfg ...
using Orchard.ContentManagement.MetaData; using Orchard.Core.Contents.Extensions; using Orchard.Data.Migration; namespace Orchard.Lists { public class Migrations : DataMigrationImpl { public int Create() { ContentDefinitionManager.AlterTypeDefinition("List", cfg=>cfg ...
bsd-3-clause
C#
e9bb1702b01a4ece2d19fbf8edd0b21c9ae89eca
reduce sleep from 100 to 30
sdcb/sdmap
sdmap/test/sdmap.ext.test/SmokeTest.cs
sdmap/test/sdmap.ext.test/SmokeTest.cs
using sdmap.Extensions; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading; using System.Threading.Tasks; using Xunit; namespace sdmap.ext.test { public class SmokeTest { [Fact] public void WatchSmoke() { ...
using sdmap.Extensions; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading; using System.Threading.Tasks; using Xunit; namespace sdmap.ext.test { public class SmokeTest { [Fact] public void WatchSmoke() { ...
mit
C#
4808d5935dd45e66b9a74d1fd5d16c9982e1e7ee
set "Errored" flag for CustomTIming
romansp/MiniProfiler.Elasticsearch
src/MiniProfiler.Elasticsearch/MiniProfilerElasticsearch.cs
src/MiniProfiler.Elasticsearch/MiniProfilerElasticsearch.cs
namespace StackExchange.Profiling.Elasticsearch; using System; using System.Linq; using global::Elasticsearch.Net; using Profiling; /// <summary> /// <see cref="IApiCallDetails"/> handler class. /// </summary> internal static class MiniProfilerElasticsearch { /// <summary> /// Handles <see cref="IApiCallDeta...
namespace StackExchange.Profiling.Elasticsearch; using System; using System.Linq; using global::Elasticsearch.Net; using Profiling; /// <summary> /// <see cref="IApiCallDetails"/> handler class. /// </summary> internal static class MiniProfilerElasticsearch { /// <summary> /// Handles <see cref="IApiCallDeta...
mit
C#
6842357661b40c7f79f27358acf48af318b4878d
set scrollbar width function
brookshi/123,brookshi/DuDuRiBao
DuDuRiBao/Utils/ResUtil.cs
DuDuRiBao/Utils/ResUtil.cs
#region License // Copyright 2015 Brook Shi // // 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 applic...
#region License // Copyright 2015 Brook Shi // // 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 applic...
agpl-3.0
C#
4af422fb2ff5a796f8568f2b35004a60edd0bfce
Fix build.
MaartenX/ConnectQl
src/ConnectQl.Sample.Net461/Program.cs
src/ConnectQl.Sample.Net461/Program.cs
// MIT License // // Copyright (c) 2017 Maarten van Sambeek. // // 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, cop...
// MIT License // // Copyright (c) 2017 Maarten van Sambeek. // // 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, cop...
mit
C#
48cf40b195efe0aaa453a158313538a338a9f6ba
Add missing resource base class
viagogo/gogokit.net
src/GogoKit/Models/Response/Carrier.cs
src/GogoKit/Models/Response/Carrier.cs
using HalKit.Json; using HalKit.Models.Response; using System.Collections.Generic; using System.Runtime.Serialization; namespace GogoKit.Models.Response { /// <summary> /// A carrier (e.g. UPS) that will collect tickets that are to be delivered. /// </summary> /// <remarks>See http://developer.viagogo...
using HalKit.Json; using HalKit.Models.Response; using System.Collections.Generic; using System.Runtime.Serialization; namespace GogoKit.Models.Response { /// <summary> /// A carrier (e.g. UPS) that will collect tickets that are to be delivered. /// </summary> /// <remarks>See http://developer.viagogo...
mit
C#
fe5b5b4baba834b64f20ae627c1d659df1c514bc
Fix bug in DecodeCommands - spatial scaling was always forced
imazen/imageflow-dotnet
src/Imageflow/Fluent/DecodeCommands.cs
src/Imageflow/Fluent/DecodeCommands.cs
using System; using System.ComponentModel; using System.Drawing; using System.Linq; namespace Imageflow.Fluent { public enum DecderDownscalingMode { /// <summary> /// Use the Imageflow default (usually highest quality) /// </summary> Unspecified = 0, /// <summary> ...
using System; using System.ComponentModel; using System.Drawing; using System.Linq; namespace Imageflow.Fluent { [Flags] public enum DecderDownscalingMode { /// <summary> /// Use the Imageflow default (usually highest quality) /// </summary> Unspecified = 0, /// <su...
agpl-3.0
C#
08f263e3f45da7910623d1e052f21cebf8ffe8d9
Add new unit tests
viniciuschiele/Scrypt
src/Scrypt.Tests/ScryptEncoderTests.cs
src/Scrypt.Tests/ScryptEncoderTests.cs
using Scrypt; using System; using Xunit; namespace Scrypt.Tests { public class ScryptEncoderTests { [Fact] public void TestEncode() { int iterationCount = 2; for (int i = 0; i < 15; i++) { var encoder = new ScryptEncoder(iterationCou...
using Scrypt; using Xunit; namespace Scrypt.Tests { public class ScryptEncoderTests { [Fact] public void TestEncode() { var encoder = new ScryptEncoder(); var hashedPassword = encoder.Encode("MyPassword"); Assert.True(encoder.Compare("MyPassword", ha...
apache-2.0
C#
1ffb74df7f14f6b4d7614f6a9b5199d9bf6717f8
Update AssemblyInfo.cs
AzureAutomationTeam/azure-powershell,ClogenyTechnologies/azure-powershell,ClogenyTechnologies/azure-powershell,ClogenyTechnologies/azure-powershell,AzureAutomationTeam/azure-powershell,AzureAutomationTeam/azure-powershell,ClogenyTechnologies/azure-powershell,AzureAutomationTeam/azure-powershell,AzureAutomationTeam/azur...
src/StackAdmin/Storage.Management/Commands.Management.Storage/Properties/AssemblyInfo.cs
src/StackAdmin/Storage.Management/Commands.Management.Storage/Properties/AssemblyInfo.cs
// ---------------------------------------------------------------------------------- // // Copyright Microsoft Corporation // 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.apa...
// ---------------------------------------------------------------------------------- // // Copyright Microsoft Corporation // 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.apa...
apache-2.0
C#
83b03d9a89baf41cceaf1b9368ff954f6a3a7e23
remove stateful from OnlineShopDbContext
StoikoNeykov/OnlineShop,StoikoNeykov/OnlineShop
OnlineShop/Libs/OnlineShop.Libs.Data/OnlineShopDbContext.cs
OnlineShop/Libs/OnlineShop.Libs.Data/OnlineShopDbContext.cs
using OnlineShop.Libs.Data.Contracts; using System.Data.Entity; using System; using OnlineShop.Libs.Data.Factories; using OnlineShop.Libs.Models; namespace OnlineShop.Libs.Data { public class OnlineShopDbContext : DbContext, IOnlineShopDbContext { // needed for add-migration private static s...
using OnlineShop.Libs.Data.Contracts; using System.Data.Entity; using System; using OnlineShop.Libs.Data.Factories; using OnlineShop.Libs.Models; namespace OnlineShop.Libs.Data { public class OnlineShopDbContext : DbContext, IOnlineShopDbContext { private readonly IStatefulFactory statefulFactory; ...
mit
C#
0740a0d211a05ead186d8bbb4fc897d4edc7eb46
Update Test CollectionPageInstance to use JsonObject
ginach/msgraph-sdk-dotnet
tests/Microsoft.Graph.Core.Test/TestModels/CollectionPageInstance.cs
tests/Microsoft.Graph.Core.Test/TestModels/CollectionPageInstance.cs
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ ...
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ ...
mit
C#
ae919ac9b64aef481ab434c03ac95d6063e0fcd2
Fix example client
inter8ection/Obvs
Examples/Client/Program.cs
Examples/Client/Program.cs
using System; using System.Reactive.Concurrency; using System.Reactive.Linq; using Obvs.Types; using Obvs.ActiveMQ.Configuration; using Obvs.Configuration; using Obvs.Example.Messages; using Obvs.Serialization.Json.Configuration; namespace Obvs.Example.Client { internal static class Program { private ...
using System; using Obvs.Types; using Obvs.ActiveMQ.Configuration; using Obvs.Configuration; using Obvs.Example.Messages; using Obvs.Serialization.Json.Configuration; namespace Obvs.Example.Client { internal static class Program { private static void Main(string[] args) { var broke...
mit
C#
20f5b31f339d6e6991cead705d3cd20266e44ef1
Update IAzureTableStorageRepositoryInitializer.cs
tiksn/TIKSN-Framework
TIKSN.Core/Data/AzureStorage/IAzureTableStorageRepositoryInitializer.cs
TIKSN.Core/Data/AzureStorage/IAzureTableStorageRepositoryInitializer.cs
using Microsoft.Azure.Cosmos.Table; using System.Threading; using System.Threading.Tasks; namespace TIKSN.Data.AzureStorage { public interface IAzureTableStorageRepositoryInitializer<T> where T : ITableEntity { Task InitializeAsync(CancellationToken cancellationToken); } }
using Microsoft.WindowsAzure.Storage.Table; using System.Threading; using System.Threading.Tasks; namespace TIKSN.Data.AzureStorage { public interface IAzureTableStorageRepositoryInitializer<T> where T : ITableEntity { Task InitializeAsync(CancellationToken cancellationToken); } }
mit
C#
fc45f6c4be0d1dde3f27d3dbfcfbd7821645ff17
add legacy links to homepage for testing purposes
robpaveza/Hawk,robpaveza/Hawk,devhawk/Hawk,devhawk/Hawk
Views/Home/Index.cshtml
Views/Home/Index.cshtml
@using Microsoft.AspNet.Mvc.Rendering @using System.Text; @functions { HtmlString TestLink(string url) { var tw = new StringCollectionTextWriter(Encoding.UTF8); tw.WriteLine($"<li><a href=\"{url}\">{url}</a></li>"); return new HtmlString(tw); } } <h1>Temporary home page stand in</...
<h1>Temporary home page stand in</h1>
mit
C#
696879df884c9b37c85cd83f25f125e053ce06dc
add trace level logging for tile sync on join
Necromunger/unitystation,Necromunger/unitystation,Necromunger/unitystation,krille90/unitystation,krille90/unitystation,krille90/unitystation,Necromunger/unitystation,fomalsd/unitystation,Necromunger/unitystation,fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation,fom...
UnityProject/Assets/Scripts/Messages/Server/TileChangesNewClientSync.cs
UnityProject/Assets/Scripts/Messages/Server/TileChangesNewClientSync.cs
using System.Collections; using System.Collections.Generic; using System.Linq; using UnityEngine; using Mirror; //long name I know. This is for syncing new clients when they join to all of the tile changes public class TileChangesNewClientSync : ServerMessage { //just a best guess, try increasing it until the messag...
using System.Collections; using System.Collections.Generic; using System.Linq; using UnityEngine; using Mirror; //long name I know. This is for syncing new clients when they join to all of the tile changes public class TileChangesNewClientSync : ServerMessage { //just a best guess, try increasing it until the messag...
agpl-3.0
C#
a03f0f69acd602aa0c762dc84400f332c3c334a4
remove absolute database path
MattsGitCode/DevDotMail,MattsGitCode/DevDotMail
DevDotMail/Bootstrapper.cs
DevDotMail/Bootstrapper.cs
using Nancy; using SQLite; using System; using System.Collections.Generic; using System.Configuration; using System.IO; using System.Linq; using System.Web; namespace DevDotMail { public class Bootstrapper : DefaultNancyBootstrapper { public static MailParser mailParser; protec...
using Nancy; using SQLite; using System; using System.Collections.Generic; using System.Configuration; using System.Linq; using System.Web; namespace DevDotMail { public class Bootstrapper : DefaultNancyBootstrapper { public static MailParser mailParser; protected override void ...
mit
C#
e488f93b177a6b3920a2e95b42daac67bd4a91c3
Add explanation for the annoying windows popup
btcpayserver/btcpayserver,btcpayserver/btcpayserver,btcpayserver/btcpayserver,btcpayserver/btcpayserver
BTCPayServer/Views/Wallets/WalletSendLedger.cshtml
BTCPayServer/Views/Wallets/WalletSendLedger.cshtml
@model WalletSendLedgerModel @{ Layout = "../Shared/_NavLayout.cshtml"; ViewData["Title"] = "Manage wallet"; ViewData.SetActivePageAndTitle(WalletsNavPages.Send); } <h4>Sign the transaction with Ledger</h4> <div id="walletAlert" class="alert alert-danger alert-dismissible" style="display:none;" role="aler...
@model WalletSendLedgerModel @{ Layout = "../Shared/_NavLayout.cshtml"; ViewData["Title"] = "Manage wallet"; ViewData.SetActivePageAndTitle(WalletsNavPages.Send); } <h4>Sign the transaction with Ledger</h4> <div id="walletAlert" class="alert alert-danger alert-dismissible" style="display:none;" role="aler...
mit
C#
0de1038032bb48e0825c5e090b227e1296b9b14f
Update Program.cs
medhajoshi27/GitTest1
ConsoleApplication1/ConsoleApplication1/Program.cs
ConsoleApplication1/ConsoleApplication1/Program.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ConsoleApplication1 { class Program { static void Main(string[] args) { //hello Console.Writeline("World"); } } }
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ConsoleApplication1 { class Program { static void Main(string[] args) { //hello } } }
mit
C#
f80d72b9cb681befe28d86232424f17d0599318f
increase packets per second max.
zhennTil/LiteNetLib,RevenantX/LiteNetLib
LiteNetLib/NetConstants.cs
LiteNetLib/NetConstants.cs
namespace LiteNetLib { public enum SendOptions { Unreliable, ReliableUnordered, Sequenced, ReliableOrdered } public static class NetConstants { public const int HeaderSize = 1; public const int SequencedHeaderSize = 3; public const int Fragmen...
namespace LiteNetLib { public enum SendOptions { Unreliable, ReliableUnordered, Sequenced, ReliableOrdered } public static class NetConstants { public const int HeaderSize = 1; public const int SequencedHeaderSize = 3; public const int Fragmen...
mit
C#
f4949cb539f1d3d59e5b1063712b866567e9ccb4
Update copyright
msorens/SqlDiffFramework
SqlDiffFramework/SqlDiffFramework/Properties/AssemblyInfo.cs
SqlDiffFramework/SqlDiffFramework/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("SqlDiffFramework")] [assembly: Ass...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTi...
mit
C#
faae547502731f4a95f5eab6ef2a54e3e45265db
Update ErrorResponse.cs
bugfi5h/Alexa-Smart-Home
RKon.Alexa.NET/Response/ErrorResponses/ErrorResponse.cs
RKon.Alexa.NET/Response/ErrorResponses/ErrorResponse.cs
using System; using RKon.Alexa.NET.Request; using Newtonsoft.Json; using RKon.Alexa.NET.Types; namespace RKon.Alexa.NET.Response.ErrorResponses { /// <summary> /// Exception, if this error response is for a DiscoverApplianceRequest /// </summary> public class UnvalidDiscoveryResponseException : Exce...
using System; using RKon.Alexa.NET.Request; using Newtonsoft.Json; using RKon.Alexa.NET.Types; namespace RKon.Alexa.NET.Response.ErrorResponses { /// <summary> /// Exception, if this error response is for a DiscoverApplianceRequest /// </summary> public class UnvalidDiscoveryResponseException : Exce...
mit
C#
49112ca379d3e3df80406eca519244496d9fd50b
Add timer class
rockyx/dntdiag
DNT/Diag/Timer.cs
DNT/Diag/Timer.cs
using System; using System.Diagnostics; namespace DNT.Diag { public class Timer { private const double NANO = 1 * 1000 * 1000 * 1000; private const double MICRO = 1 * 1000 * 1000; private const double MILLI = 1 * 1000; static readonly double TICKS_PER_NANO = Stopwatch.Frequency / NANO; static r...
using System; namespace DNT.Diag.Android { public class Timer { public Timer () { } } }
apache-2.0
C#
9475ccd0d8b94542cd5dc2c7179036bab3c470fc
revert accidential change
chkr1011/MQTTnet,chkr1011/MQTTnet,chkr1011/MQTTnet,chkr1011/MQTTnet,chkr1011/MQTTnet
Source/MQTTnet.AspnetCore/MqttWebSocketServerAdapter.cs
Source/MQTTnet.AspnetCore/MqttWebSocketServerAdapter.cs
using System; using System.Net.WebSockets; using System.Threading.Tasks; using Microsoft.AspNetCore.Http; using MQTTnet.Adapter; using MQTTnet.Diagnostics; using MQTTnet.Formatter; using MQTTnet.Implementations; using MQTTnet.Server; namespace MQTTnet.AspNetCore { public class MqttWebSocketServerAdapter : IMqttSe...
using System; using System.Net.WebSockets; using System.Threading.Tasks; using Microsoft.AspNetCore.Http; using MQTTnet.Adapter; using MQTTnet.Diagnostics; using MQTTnet.Formatter; using MQTTnet.Implementations; using MQTTnet.Server; namespace MQTTnet.AspNetCore { public class MqttWebSocketServerAdapter : IMqttSe...
mit
C#
4457083f00896c289000adc321c5a41043af4fc3
Remove the testing key
mattleibow/XamarinComponents,xamarin/XamarinComponents,bholmes/XamarinComponents,JonDouglas/XamarinComponents,topgenorth/XamarinComponents,xamarin/XamarinComponents,JonDouglas/XamarinComponents,bholmes/XamarinComponents,xamarin/XamarinComponents,topgenorth/XamarinComponents,JonDouglas/XamarinComponents,JonDouglas/Xamar...
XPlat/Mapbox/iOS/samples/MapboxSampleiOS/AppDelegate.cs
XPlat/Mapbox/iOS/samples/MapboxSampleiOS/AppDelegate.cs
using Foundation; using UIKit; using Mapbox; namespace MapBoxSampleiOS { // The UIApplicationDelegate for the application. This class is responsible for launching the // User Interface of the application, as well as listening (and optionally responding) to application events from iOS. [Register ("AppDeleg...
using Foundation; using UIKit; using Mapbox; namespace MapBoxSampleiOS { // The UIApplicationDelegate for the application. This class is responsible for launching the // User Interface of the application, as well as listening (and optionally responding) to application events from iOS. [Register ("AppDeleg...
mit
C#
921561e3af44204b984d6ea8d193a73e95a253c3
Bump version
gonzalocasas/NetMetrixSDK
Properties/AssemblyInfo.cs
Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Resources; // 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. [ass...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Resources; // 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. [ass...
mit
C#
a3ee5ebb99d82c0a7d8d3b6b9bf769337d52cbd5
Update version to 0.9.1
chylex/TweetDuck,chylex/TweetDuck,chylex/TweetDuck,chylex/TweetDuck
Properties/AssemblyInfo.cs
Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.InteropServices; using TweetDick; // 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(Program.BrandName)] [asse...
using System.Reflection; using System.Runtime.InteropServices; using TweetDick; // 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(Program.BrandName)] [asse...
mit
C#
f2fc1b844cdcd11d93db4d9e34ce196e5b0dfa1f
Remove unused namespace
another-guy/Murmansk.ComponentModel
Properties/AssemblyInfo.cs
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("Murmansk.ComponentModel")] [assembly: Ass...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("Mu...
mit
C#
1e891483b83a503bc4715ff28d9998d2d4b7d488
Update assembly infos
protyposis/AudioAlign
Properties/AssemblyInfo.cs
Properties/AssemblyInfo.cs
using System.Reflection; using System.Resources; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Windows; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // ass...
using System.Reflection; using System.Resources; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Windows; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // ass...
agpl-3.0
C#
4d17e3e74e615f77193110f4d76ae02d15359409
Fix dummy fix
michael-reichenauer/GitMind
GitMind/GitModel/Branch.cs
GitMind/GitModel/Branch.cs
using System.Collections.Generic; using System.Linq; namespace GitMind.GitModel { // Some extra Branch internal class Branch { private readonly Repository repository; private readonly string tipCommitId; private readonly string firstCommitId; private readonly string parentCommitId; private readonly IRead...
using System.Collections.Generic; using System.Linq; namespace GitMind.GitModel { // Some extra Branch and some internal class Branch { private readonly Repository repository; private readonly string tipCommitId; private readonly string firstCommitId; private readonly string parentCommitId; private reado...
mit
C#
4ac4b2848b8c2ad814274150e7030d91485d3582
Clean up
asibahi/RoomArrangement
RoomArrangement/Program.cs
RoomArrangement/Program.cs
using static System.Console; namespace RoomArrangement { class Program { static void Main(string[] args) { var input = new Input(); input.RequestInput(); var bldgProgram = new BldgProgram(input); var house = new House(input, bldgProgram); house.RunThrowAndStick(); house.RunPushPull(); f...
using System; namespace RoomArrangement { class Program { static void Main(string[] args) { var input = new Input(); input.RequestInput(); var bldgProgram = new BldgProgram(input); var house = new House(input, bldgProgram); house.RunThrowAndStick(); house.RunPushPull(); foreach(Room r i...
mit
C#
b17aa35e7394f90cd823f3c9c646a72e3dd5e1f1
Add tests to AccessTest.cs
GoogleCloudPlatform/dotnet-docs-samples,GoogleCloudPlatform/dotnet-docs-samples,GoogleCloudPlatform/dotnet-docs-samples,GoogleCloudPlatform/dotnet-docs-samples
iam/api/AccessTest/AccessTest.cs
iam/api/AccessTest/AccessTest.cs
// Copyright 2019 Google Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agree...
// Copyright 2018 Google Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agree...
apache-2.0
C#
c83c3e92fcebfe9793633ed1b55fa330ab4028a0
apply a private setter in a protected property
ppy/osu,NeoAdonis/osu,smoogipooo/osu,peppy/osu,peppy/osu,smoogipoo/osu,smoogipoo/osu,ppy/osu,smoogipoo/osu,UselessToucan/osu,NeoAdonis/osu,peppy/osu,NeoAdonis/osu,peppy/osu-new,ppy/osu,UselessToucan/osu,UselessToucan/osu
osu.Game/Rulesets/UI/Scrolling/ScrollingPlayfield.cs
osu.Game/Rulesets/UI/Scrolling/ScrollingPlayfield.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.Game.Rulesets.Objects.Drawables; using osu.Game.Skinning; using osuTK; namespace osu.Game.Rulese...
// 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.Game.Rulesets.Objects.Drawables; using osu.Game.Skinning; using osuTK; namespace osu.Game.Rulese...
mit
C#
30a9593e20ec1d37fd5149ba28f3e1007e78d1ec
Sort usings.
KirillOsenkov/roslyn,a-ctor/roslyn,sharwell/roslyn,CyrusNajmabadi/roslyn,gafter/roslyn,dpoeschl/roslyn,reaction1989/roslyn,tmat/roslyn,MattWindsor91/roslyn,mattwar/roslyn,bartdesmet/roslyn,jamesqo/roslyn,tvand7093/roslyn,ErikSchierboom/roslyn,davkean/roslyn,mgoertz-msft/roslyn,VSadov/roslyn,jkotas/roslyn,AnthonyDGreen/...
src/VisualStudio/Core/Next/FindReferences/TaggedTextAndHighlightSpan.cs
src/VisualStudio/Core/Next/FindReferences/TaggedTextAndHighlightSpan.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.Immutable; using Microsoft.CodeAnalysis.Classification; using Microsoft.CodeAnalysis.Text; namespace Microsoft.VisualStudio.Languag...
// 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 Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.Text; using System.Collections.Immutable; using Microsoft.CodeAnalysis.Classification; namespace ...
mit
C#
6e4fcab867152c13c1ff9bd6aa7e3f4d60b26c42
restructure abstract class PackageResolver
tsolarin/dotnet-globals,tsolarin/dotnet-globals
src/DotNet.Executor.Core/PackageResolvers/PackageResolver.cs
src/DotNet.Executor.Core/PackageResolvers/PackageResolver.cs
namespace DotNet.Executor.Core.PackageResolvers { using System; using System.IO; internal abstract class PackageResolver { protected DirectoryInfo PackagesFolder { get; set; } protected DirectoryInfo PackageFolder { get; set; } protected string Source { get; set; } abst...
namespace DotNet.Executor.Core.PackageResolvers { using System; using System.IO; abstract class PackageResolver { protected DirectoryInfo PackagesFolder { get; set; } protected DirectoryInfo PackageFolder { get; set; } protected string Source { get; set; } abstract prot...
mit
C#
0858ab13597adf20c2c49f6110ae63e912523744
Fix comment typo.
peterlanoie/aspnet-mvc-slack
src/Pelasoft.AspNet.Mvc.Slack/WebHookErrorReportAttribute.cs
src/Pelasoft.AspNet.Mvc.Slack/WebHookErrorReportAttribute.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Web.Mvc; using WebHooks = Slack.Webhooks; namespace Pelasoft.AspNet.Mvc.Slack { /// <summary> /// Defines an action filter that logs thrown exceptions to a Slack channel. /// </summary> [AttributeUsage(A...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Web.Mvc; using WebHooks = Slack.Webhooks; namespace Pelasoft.AspNet.Mvc.Slack { /// <summary> /// Defines an action filter that logs thrown exceptions to a Slack channel. /// </summary> [AttributeUsage(A...
mit
C#
356c83c3835217a8815f0b8c6cc812677f1ebb99
add registration for validators
jarocki76/SimpleCQS.Autofac
src/SimpleCQS.Autofac/ContainerBuilderSimpleCQSExtensions.cs
src/SimpleCQS.Autofac/ContainerBuilderSimpleCQSExtensions.cs
using System.Diagnostics.CodeAnalysis; using System.Reflection; using Autofac; using FluentValidation; using SimpleCQS.Command; using SimpleCQS.Command.Validation; using SimpleCQS.Query; namespace SimpleCQS.Autofac { [ExcludeFromCodeCoverage] public static class ContainerBuilderSimpleCQSExtensions { public ...
using System.Diagnostics.CodeAnalysis; using System.Reflection; using Autofac; using SimpleCQS.Command; using SimpleCQS.Command.Validation; using SimpleCQS.Query; namespace SimpleCQS.Autofac { [ExcludeFromCodeCoverage] public static class ContainerBuilderSimpleCQSExtensions { public static void RegisterSimp...
apache-2.0
C#
c9d504e4fcf36e42cf90b19528e4b1cedaee441e
Fix BDL failure during headless runs
ZLima12/osu-framework,DrabWeb/osu-framework,peppy/osu-framework,peppy/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,Tom94/osu-framework,ZLima12/osu-framework,EVAST9919/osu-framework,smoogipooo/osu-framework,DrabWeb/osu-framework,DrabWeb/osu-framework,Tom94/osu-frame...
osu.Framework/Testing/DrawFrameRecordingContainer.cs
osu.Framework/Testing/DrawFrameRecordingContainer.cs
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE using System.Collections.Generic; using JetBrains.Annotations; using osu.Framework.Allocation; using osu.Framework.Configuration; using osu.Framework.Graphics;...
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE using System.Collections.Generic; using osu.Framework.Allocation; using osu.Framework.Configuration; using osu.Framework.Graphics; using osu.Framework.Graphics...
mit
C#
80dcfb8b8c90a6de6efbd3640955163b5726e88a
Remove some locking
nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet
WalletWasabi/Models/ObservableConcurrentHashSet.cs
WalletWasabi/Models/ObservableConcurrentHashSet.cs
using ConcurrentCollections; using System; using System.Collections; using System.Collections.Generic; using System.Collections.Specialized; using System.Linq; using System.Text; namespace WalletWasabi.Models { public class ObservableConcurrentHashSet<T> : IReadOnlyCollection<T> // DO NOT IMPLEMENT INotifyCollection...
using ConcurrentCollections; using System; using System.Collections; using System.Collections.Generic; using System.Collections.Specialized; using System.Linq; using System.Text; namespace WalletWasabi.Models { public class ObservableConcurrentHashSet<T> : IReadOnlyCollection<T> // DO NOT IMPLEMENT INotifyCollection...
mit
C#
8c5b61d3e1599514d36601d7c5f79a6657377ea5
Remove unused constructor.
izrik/ChamberLib,izrik/ChamberLib,izrik/ChamberLib
ChamberLib.OpenTK/Song.cs
ChamberLib.OpenTK/Song.cs
using System; using System.IO; namespace ChamberLib { public class Song : ISong { public Song(SoundEffect soundEffect) { if (soundEffect == null) throw new ArgumentNullException("soundEffect"); this.soundEffect = soundEffect; } readonly SoundEffect sou...
using System; using System.IO; namespace ChamberLib { public class Song : ISong { public Song(string name, Stream stream, SoundEffect.FileFormat format) : this(SoundEffect.Create(name, stream, format)) { } public Song(SoundEffect soundEffect) { i...
lgpl-2.1
C#
6f31c31aee5401d087863c60ae81efcdb578b084
Set forced_root_block property to false in _EditorSetup partial view.
Talagozis/Talagozis.Website,Talagozis/Talagozis.Website,Talagozis/Talagozis.Website
Talagozis.Website/Areas/Manager/Views/Shared/Partial/_EditorSetup.cshtml
Talagozis.Website/Areas/Manager/Views/Shared/Partial/_EditorSetup.cshtml
<script type="text/javascript"> function addFormEditor(selector) { tinymce.init({ selector: selector, menubar: false, branding: false, convert_urls: false, forced_root_block: false, plugins: [ "autoresize autolink code ...
<script type="text/javascript"> function addFormEditor(selector) { tinymce.init({ selector: selector, menubar: false, branding: false, convert_urls: false, plugins: [ "autoresize autolink code hr paste lists piranhaimage piranhalin...
mit
C#
6182ddfedbc5383ae3bf950acb2f25507a49d906
Update WorkOrder_MenuFunctions.cs
NakedObjectsGroup/NakedObjectsFramework,NakedObjectsGroup/NakedObjectsFramework,NakedObjectsGroup/NakedObjectsFramework,NakedObjectsGroup/NakedObjectsFramework
Test/AdventureWorksFunctionalModel/Production/WorkOrder_MenuFunctions.cs
Test/AdventureWorksFunctionalModel/Production/WorkOrder_MenuFunctions.cs
// Copyright Naked Objects Group Ltd, 45 Station Road, Henley on Thames, UK, RG9 1AT // 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 requi...
// Copyright Naked Objects Group Ltd, 45 Station Road, Henley on Thames, UK, RG9 1AT // 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 requi...
apache-2.0
C#
b63f09fbfd7790924171b086175150cfa564e674
Tweak format on qual list
mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander
BatteryCommander.Web/Views/Qualification/List.cshtml
BatteryCommander.Web/Views/Qualification/List.cshtml
@model IEnumerable<BatteryCommander.Common.Models.Qualification> @using BatteryCommander.Common.Models; @{ ViewBag.Title = "Qualifications"; } <h2>@ViewBag.Title @Html.ActionLink("Add New", "New", null, new { @class = "btn btn-primary" })</h2> <table class="table table-bordered"> <tr> <th> @Html.D...
@model IEnumerable<BatteryCommander.Common.Models.Qualification> @using BatteryCommander.Common.Models; @{ ViewBag.Title = "Qualifications"; } <h2>@ViewBag.Title</h2> <p> @Html.ActionLink("Add New", "New", null, new { @class = "btn btn-primary" }) </p> <table class="table table-bordered"> <tr> ...
mit
C#
3aaf2c6255945841c443c07bb0c80cce5604a59a
Create server side API for single multiple answer question
Promact/trappist,Promact/trappist,Promact/trappist,Promact/trappist,Promact/trappist
Trappist/src/Promact.Trappist.Repository/Questions/QuestionRepository.cs
Trappist/src/Promact.Trappist.Repository/Questions/QuestionRepository.cs
using System.Collections.Generic; using Promact.Trappist.DomainModel.Models.Question; using System.Linq; using Promact.Trappist.DomainModel.DbContext; namespace Promact.Trappist.Repository.Questions { public class QuestionRepository : IQuestionRepository { private readonly TrappistDbContext _dbContext...
using System.Collections.Generic; using Promact.Trappist.DomainModel.Models.Question; using System.Linq; using Promact.Trappist.DomainModel.DbContext; namespace Promact.Trappist.Repository.Questions { public class QuestionRepository : IQuestionRepository { private readonly TrappistDbContext _dbContext...
mit
C#
8ff6fd987e00bc44f654c718e3754010e662da11
Fix copyright
nunit/nunit3-vs-adapter
src/NUnit3TestAdapterInstall/Properties/AssemblyInfo.cs
src/NUnit3TestAdapterInstall/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("NUn...
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("NU...
mit
C#
cf3a0f1b9d5352dbeb4fa745545b615df89293c6
Sort using directives
nabychan/omnisharp-roslyn,OmniSharp/omnisharp-roslyn,jtbm37/omnisharp-roslyn,DustinCampbell/omnisharp-roslyn,nabychan/omnisharp-roslyn,jtbm37/omnisharp-roslyn,OmniSharp/omnisharp-roslyn,hal-ler/omnisharp-roslyn,DustinCampbell/omnisharp-roslyn,hal-ler/omnisharp-roslyn
src/OmniSharp.DotNet/Models/DotNetProjectInformation.cs
src/OmniSharp.DotNet/Models/DotNetProjectInformation.cs
using System.Collections.Generic; using Microsoft.DotNet.ProjectModel; namespace OmniSharp.DotNet.Models { internal class DotNetProjectInformation { public DotNetProjectInformation(ProjectContext projectContext, string configuration, bool includeSourceFiles = false) { this.Path = p...
using Microsoft.DotNet.ProjectModel; using System.Collections.Generic; namespace OmniSharp.DotNet.Models { internal class DotNetProjectInformation { public DotNetProjectInformation(ProjectContext projectContext, string configuration, bool includeSourceFiles = false) { this.Path = p...
mit
C#
6915fe85ef7676da171bfad173cffc4aded426af
Fix Areas property is not deserialized, In the return value of the GetRichMenuListAsync method.
pierre3/LineMessagingApi,pierre3/LineMessagingApi
Line.Messaging/Messages/RichMenu/ResponseRichMenu.cs
Line.Messaging/Messages/RichMenu/ResponseRichMenu.cs
namespace Line.Messaging { /// <summary> /// Rich menu response object. /// https://developers.line.me/en/docs/messaging-api/reference/#rich-menu-response-object /// </summary> public class ResponseRichMenu : RichMenu { /// <summary> /// Rich menu ID /// </summary> ...
namespace Line.Messaging { /// <summary> /// Rich menu response object. /// https://developers.line.me/en/docs/messaging-api/reference/#rich-menu-response-object /// </summary> public class ResponseRichMenu : RichMenu { /// <summary> /// Rich menu ID /// </summary> ...
mit
C#
a86ebccf5c478c5d76d3e4e3385e0f68f22f4903
Patch out the Tracescope for as far as possible when applicable.
bartwe/StaxelTraceViewer
Staxel.Trace/TraceScope.cs
Staxel.Trace/TraceScope.cs
using System; using System.Diagnostics; using System.Runtime; using System.Runtime.CompilerServices; namespace Staxel.Trace { public struct TraceScope : IDisposable { public TraceKey Key; [TargetedPatchingOptOut("")] [MethodImpl(MethodImplOptions.AggressiveInlining)] public TraceS...
using System; namespace Staxel.Trace { public struct TraceScope : IDisposable { public TraceKey Key; public TraceScope(TraceKey key) { Key = key; TraceRecorder.Enter(Key); } public void Dispose() { TraceRecorder.Leave(Key); } } }
unlicense
C#