commit stringlengths 40 40 | old_file stringlengths 4 264 | new_file stringlengths 4 264 | old_contents stringlengths 0 4.24k | new_contents stringlengths 1 5.44k | subject stringlengths 14 778 | message stringlengths 15 9.92k | lang stringclasses 277
values | license stringclasses 13
values | repos stringlengths 5 127k |
|---|---|---|---|---|---|---|---|---|---|
3f60d2da5da5e351ee17dc129c34c0dc1036ae04 | Rock.Encryption/Symmetric/CryptoConfiguration.cs | Rock.Encryption/Symmetric/CryptoConfiguration.cs | using System.Collections.Generic;
namespace RockLib.Encryption.Symmetric
{
/// <summary>
/// Defines an xml-serializable object that contains the information needed to configure an
/// instance of <see cref="SymmetricCrypto"/>.
/// </summary>
public class CryptoConfiguration
{
/// <sum... | using System.Collections.Generic;
namespace RockLib.Encryption.Symmetric
{
/// <summary>
/// Defines an xml-serializable object that contains the information needed to configure an
/// instance of <see cref="SymmetricCrypto"/>.
/// </summary>
public class CryptoConfiguration
{
/// <sum... | Revert CrytoConfiguration to using Credential implementation | Revert CrytoConfiguration to using Credential implementation
| C# | mit | RockFramework/Rock.Encryption |
9ded2b1d01705d87ae805b90a520ac18c9fa742f | osu.Framework.VisualTests/VisualTestGame.cs | osu.Framework.VisualTests/VisualTestGame.cs | //Copyright (c) 2007-2016 ppy Pty Ltd <contact@ppy.sh>.
//Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.Cursor;
using osu.Framework.Graphics.Drawables;
usi... | //Copyright (c) 2007-2016 ppy Pty Ltd <contact@ppy.sh>.
//Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.Cursor;
using osu.Framework.Graphics.Drawables;
usi... | Add frame counter to give DrawVis a bit more activity. | Add frame counter to give DrawVis a bit more activity.
| C# | mit | ZLima12/osu-framework,ppy/osu-framework,DrabWeb/osu-framework,DrabWeb/osu-framework,naoey/osu-framework,peppy/osu-framework,default0/osu-framework,paparony03/osu-framework,smoogipooo/osu-framework,EVAST9919/osu-framework,paparony03/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,DrabWe... |
da8565c0fa653c7b8dee30ec71d8a51d0cdf97f1 | osu.Game.Rulesets.Mania/Mods/ManiaKeyMod.cs | osu.Game.Rulesets.Mania/Mods/ManiaKeyMod.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using System.Linq;
using osu.Game.Beatmaps;
using osu.Game.Rulesets.Mania.Beatmaps;
using osu.Game.Rulesets.Mods;
namespace osu.Game.Rulesets.Mania.Mods
{... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using System.Linq;
using osu.Game.Beatmaps;
using osu.Game.Rulesets.Mania.Beatmaps;
using osu.Game.Rulesets.Mods;
namespace osu.Game.Rulesets.Mania.Mods
{... | Add 10K mod to incompatibility list | Add 10K mod to incompatibility list
| C# | mit | smoogipoo/osu,NeoAdonis/osu,smoogipooo/osu,peppy/osu,peppy/osu-new,NeoAdonis/osu,ppy/osu,peppy/osu,UselessToucan/osu,smoogipoo/osu,peppy/osu,UselessToucan/osu,UselessToucan/osu,ppy/osu,smoogipoo/osu,ppy/osu,NeoAdonis/osu |
3d9c3e7a26ee13b8464f5d6871de134d67939ac6 | Website/Infrastructure/HttpHeaderValueProviderFactory.cs | Website/Infrastructure/HttpHeaderValueProviderFactory.cs | using System;
using System.Web.Mvc;
namespace NuGetGallery
{
public class HttpHeaderValueProviderFactory : ValueProviderFactory
{
public override IValueProvider GetValueProvider(ControllerContext controllerContext)
{
var request = controllerContext.RequestContext.HttpContext.Reques... | using System;
using System.Web.Mvc;
namespace NuGetGallery
{
public class HttpHeaderValueProviderFactory : ValueProviderFactory
{
public override IValueProvider GetValueProvider(ControllerContext controllerContext)
{
var request = controllerContext.RequestContext.HttpContext.Reques... | Revert "Fix issue with API header binding when running under a subdirectory" | Revert "Fix issue with API header binding when running under a subdirectory"
This reverts commit d9e86ff97a08467c721955ca71a8ee2fda5ca9cd.
| C# | apache-2.0 | projectkudu/SiteExtensionGallery,skbkontur/NuGetGallery,grenade/NuGetGallery_download-count-patch,mtian/SiteExtensionGallery,ScottShingler/NuGetGallery,grenade/NuGetGallery_download-count-patch,KuduApps/NuGetGallery,KuduApps/NuGetGallery,ScottShingler/NuGetGallery,mtian/SiteExtensionGallery,projectkudu/SiteExtensionGal... |
b6489e14635b630b8b39d3cd65a267cae7ccc8a6 | src/Core/Managed/Shared/Extensibility/Implementation/Tracing/DiagnosticsEventListener.cs | src/Core/Managed/Shared/Extensibility/Implementation/Tracing/DiagnosticsEventListener.cs | namespace Microsoft.ApplicationInsights.Extensibility.Implementation.Tracing
{
using System;
#if !NET40
using System.Diagnostics.Tracing;
#endif
using System.Linq;
#if NET40
using Microsoft.Diagnostics.Tracing;
#endif
internal class DiagnosticsEventListener : EventListener
{
private co... | namespace Microsoft.ApplicationInsights.Extensibility.Implementation.Tracing
{
using System;
#if !NET40
using System.Diagnostics.Tracing;
#endif
using System.Linq;
#if NET40
using Microsoft.Diagnostics.Tracing;
#endif
internal class DiagnosticsEventListener : EventListener
{
private co... | Check if eventargs is null | Check if eventargs is null
| C# | mit | pharring/ApplicationInsights-dotnet,pharring/ApplicationInsights-dotnet,Microsoft/ApplicationInsights-dotnet,pharring/ApplicationInsights-dotnet |
5708d5aa3d049f3b8d7ad0375bec5105dde28772 | Duplicati/Library/Utility/Power/PowerSupply.cs | Duplicati/Library/Utility/Power/PowerSupply.cs | // Copyright (C) 2017, The Duplicati Team
// http://www.duplicati.com, info@duplicati.com
//
// This library is free software; you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as
// published by the Free Software Foundation; either version 2.1 of the
// L... | // Copyright (C) 2017, The Duplicati Team
// http://www.duplicati.com, info@duplicati.com
//
// This library is free software; you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as
// published by the Free Software Foundation; either version 2.1 of the
// L... | Add method to get current power source. | Add method to get current power source.
| C# | lgpl-2.1 | duplicati/duplicati,duplicati/duplicati,sitofabi/duplicati,duplicati/duplicati,duplicati/duplicati,sitofabi/duplicati,duplicati/duplicati,sitofabi/duplicati,mnaiman/duplicati,mnaiman/duplicati,mnaiman/duplicati,mnaiman/duplicati,sitofabi/duplicati,mnaiman/duplicati,sitofabi/duplicati |
2eb9befd602add624df0125bdf7b407c3fa361ca | MyPersonalAccountsModel/Inventory/StockItem.cs | MyPersonalAccountsModel/Inventory/StockItem.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace com.techphernalia.MyPersonalAccounts.Model.Inventory
{
public class StockItem
{
public int StockItemId { get; set; }
public string StockItemName { get; set; }
public int StockGroupId { get; ... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace com.techphernalia.MyPersonalAccounts.Model.Inventory
{
public class StockItem
{
public int StockItemId { get; set; }
public string StockItemName { get; set; }
public int StockGroupId { get; ... | Change datatype for OpeningBalance and OpeningRate | Change datatype for OpeningBalance and OpeningRate
| C# | mit | techphernalia/MyPersonalAccounts |
c6f061724ae785ddcff59d2b9595e3a335adaeef | src/Exceptionless.Web/Models/Token/ViewToken.cs | src/Exceptionless.Web/Models/Token/ViewToken.cs | using Foundatio.Repositories.Models;
namespace Exceptionless.Web.Models;
public class ViewToken : IIdentity, IHaveDates {
public string Id { get; set; }
public string OrganizationId { get; set; }
public string ProjectId { get; set; }
public string UserId { get; set; }
public string DefaultProject... | using Foundatio.Repositories.Models;
namespace Exceptionless.Web.Models;
public class ViewToken : IIdentity, IHaveDates {
public string Id { get; set; }
public string OrganizationId { get; set; }
public string ProjectId { get; set; }
public string UserId { get; set; }
public string DefaultProject... | Add token issuspended to view model | Add token issuspended to view model
| C# | apache-2.0 | exceptionless/Exceptionless,exceptionless/Exceptionless,exceptionless/Exceptionless,exceptionless/Exceptionless |
fc526a2ff90e4128f961a8c25f57dcfe4ddf8f0b | src/Oocx.ACME.Tests/Serialization/RegistrationTests.cs | src/Oocx.ACME.Tests/Serialization/RegistrationTests.cs | using System;
using Newtonsoft.Json;
using Oocx.ACME.Jose;
using Oocx.ACME.Protocol;
using Xunit;
namespace Oocx.ACME.Tests
{
public class RegistrationTests
{
[Fact]
public void Can_serialize()
{
var request = new NewRegistrationRequest
{
Contact... | using System;
using Newtonsoft.Json;
using Oocx.ACME.Jose;
using Oocx.ACME.Protocol;
using Xunit;
namespace Oocx.ACME.Tests
{
public class RegistrationTests
{
[Fact]
public void Can_serialize()
{
var request = new NewRegistrationRequest
{
Contact... | Fix failing test on Linux | Fix failing test on Linux
| C# | mit | oocx/acme.net |
f3431313c4f700fb9a06d1dd9bc67d27a4eecdbd | AM2320/AM2320Demo/AM2320Demo/AM2320.cs | AM2320/AM2320Demo/AM2320Demo/AM2320.cs | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Windows.Devices.I2c;
namespace AM2320Demo
{
public struct AM2320Data
{
public double Temperature;
public double Humidity;
}
public class ... | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Windows.Devices.I2c;
namespace AM2320Demo
{
public struct AM2320Data
{
public double Temperature;
public double Humidity;
}
public class ... | Add Method to Get Device | Add Method to Get Device
| C# | mit | ZhangGaoxing/windows-iot-demo,ZhangGaoxing/windows-iot-demo,ZhangGaoxing/windows-iot-demo |
f79ed00af5f6ceb60620c99632a09595e5cacc61 | src/GitVersionCore/Core/BuildAgentBase.cs | src/GitVersionCore/Core/BuildAgentBase.cs | using System;
using System.Collections.Generic;
using GitVersion.Logging;
using GitVersion.OutputVariables;
namespace GitVersion
{
public abstract class BuildAgentBase : ICurrentBuildAgent
{
protected readonly ILog Log;
protected IEnvironment Environment { get; }
protected BuildAgentBa... | using System;
using System.Collections.Generic;
using GitVersion.Logging;
using GitVersion.OutputVariables;
namespace GitVersion
{
public abstract class BuildAgentBase : ICurrentBuildAgent
{
protected readonly ILog Log;
protected IEnvironment Environment { get; }
protected BuildAgentBa... | Fix for the wrong updateBuildNumber behavior | Fix for the wrong updateBuildNumber behavior
When `updateBuildNumber` is set to false the Build Number is still be overwritten. | C# | mit | asbjornu/GitVersion,GitTools/GitVersion,gep13/GitVersion,ermshiperete/GitVersion,ParticularLabs/GitVersion,gep13/GitVersion,ermshiperete/GitVersion,ParticularLabs/GitVersion,GitTools/GitVersion,asbjornu/GitVersion,ermshiperete/GitVersion,ermshiperete/GitVersion |
b89e872cf72cd0b22f02af270a5a7352a49603d5 | FluentConsole/FluentConsoleSettings.cs | FluentConsole/FluentConsoleSettings.cs | using System;
namespace FluentConsole.Library
{
/// <summary>
/// Optionial configuration for FluentConsole
/// </summary>
public class FluentConsoleSettings
{
/// <summary>
/// Gets or sets a value indicating how long lines of text should be displayed in the console window.
... | using System;
namespace FluentConsole.Library
{
/// <summary>
/// Optionial configuration for FluentConsole
/// </summary>
public class FluentConsoleSettings
{
/// <summary>
/// Gets or sets a value indicating how long lines of text should be displayed in the console window.
... | Allow word boundary delimiter to be set by user | Allow word boundary delimiter to be set by user
| C# | mit | refactorsaurusrex/FluentConsole |
f2df118419344af4ca9eaab28fe967d7288ad100 | ConsoleWritePrettyOneDay/Spinner.cs | ConsoleWritePrettyOneDay/Spinner.cs | using System;
using System.Diagnostics;
using System.Threading.Tasks;
namespace ConsoleWritePrettyOneDay
{
public static class Spinner
{
private static char[] _chars = new[] { '|', '/', '-', '\\', '|', '/', '-', '\\' };
public static void Wait(Action action, string message = null)
... | using System;
using System.Diagnostics;
using System.Threading.Tasks;
namespace ConsoleWritePrettyOneDay
{
public static class Spinner
{
private static char[] _chars = new[] { '|', '/', '-', '\\', '|', '/', '-', '\\' };
/// <summary>
/// Displays a spinner while the provide... | Add comments to public methods | Add comments to public methods
| C# | mit | prescottadam/ConsoleWritePrettyOneDay |
cb8bfd13b0e33ec9c7e86fd53179ceb98984a020 | Source/Magick.NET/Core/Drawables/PointInfo.cs | Source/Magick.NET/Core/Drawables/PointInfo.cs | //=================================================================================================
// Copyright 2013-2016 Dirk Lemstra <https://magick.codeplex.com/>
//
// Licensed under the ImageMagick License (the "License"); you may not use this file except in
// compliance with the License. You may obtain a copy o... | //=================================================================================================
// Copyright 2013-2016 Dirk Lemstra <https://magick.codeplex.com/>
//
// Licensed under the ImageMagick License (the "License"); you may not use this file except in
// compliance with the License. You may obtain a copy o... | Use Assert instead of null check because this class is internal. | Use Assert instead of null check because this class is internal.
| C# | apache-2.0 | dlemstra/Magick.NET,dlemstra/Magick.NET |
fe78be592e86aa689f6e0ccab22006c5ae1506ed | Source/Urho3D/CSharp/Managed/Urho3D.cs | Source/Urho3D/CSharp/Managed/Urho3D.cs | //
// Copyright (c) 2017-2019 the rbfx project.
//
// 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, mer... | //
// Copyright (c) 2017-2019 the rbfx project.
//
// 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, mer... | Fix dllimport inconsistency and possibly being broken on windows. | CSharp: Fix dllimport inconsistency and possibly being broken on windows.
| C# | mit | rokups/Urho3D,rokups/Urho3D,rokups/Urho3D,rokups/Urho3D,rokups/Urho3D,rokups/Urho3D |
0f088c4d9c1801da1855763f928ad849208d2b00 | src/Avalonia.Xaml.Interactions/Custom/ShowOnDoubleTappedBehavior.cs | src/Avalonia.Xaml.Interactions/Custom/ShowOnDoubleTappedBehavior.cs | using Avalonia.Controls;
using Avalonia.Input;
using Avalonia.Interactivity;
using Avalonia.Xaml.Interactivity;
namespace Avalonia.Xaml.Interactions.Custom;
/// <summary>
/// A behavior that allows to show control on double tapped event.
/// </summary>
public class ShowOnDoubleTappedBehavior : Behavior<Control>
{
... | using Avalonia.Controls;
using Avalonia.Input;
using Avalonia.Interactivity;
using Avalonia.Xaml.Interactivity;
namespace Avalonia.Xaml.Interactions.Custom;
/// <summary>
/// A behavior that allows to show control on double tapped event.
/// </summary>
public class ShowOnDoubleTappedBehavior : Behavior<Control>
{
... | Add ResolveByName attribute to TargetControl property | Add ResolveByName attribute to TargetControl property
| C# | mit | wieslawsoltes/AvaloniaBehaviors,wieslawsoltes/AvaloniaBehaviors |
4f3511e8e9637fded836e3f0080b5ba28958ecd8 | osu.Game.Rulesets.Osu/Objects/Drawables/Pieces/GlowPiece.cs | osu.Game.Rulesets.Osu/Objects/Drawables/Pieces/GlowPiece.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.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.Sprites;
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.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.Sprites;
using osu.Framework.Graphics... | Fix ring glow lookup being incorrect | Fix ring glow lookup being incorrect
| C# | mit | johnneijzen/osu,smoogipooo/osu,NeoAdonis/osu,UselessToucan/osu,smoogipoo/osu,UselessToucan/osu,smoogipoo/osu,ppy/osu,UselessToucan/osu,ZLima12/osu,peppy/osu,EVAST9919/osu,peppy/osu-new,ppy/osu,peppy/osu,EVAST9919/osu,NeoAdonis/osu,smoogipoo/osu,NeoAdonis/osu,2yangk23/osu,ppy/osu,johnneijzen/osu,2yangk23/osu,ZLima12/osu... |
b99ea122217e8d95fc9fd74e2166e219f9733587 | XamarinLifeGameXAML/Logic/CellUtils.cs | XamarinLifeGameXAML/Logic/CellUtils.cs | using System;
namespace XamarinLifeGameXAML.Logic
{
public class CellUtils
{
public static int GetIndex(Tuple<int, int> point)
{
return GetIndex(point.Item1, point.Item2);
}
public static int GetIndex(int x, int y)
{
return (y + x * CellSize);
... | using System;
namespace XamarinLifeGameXAML.Logic
{
public class CellUtils
{
public static int GetIndex(Tuple<int, int> point)
{
return GetIndex(point.Item1, point.Item2);
}
public static int GetIndex(int x, int y)
{
return (y + x * CellSize);
... | Change number of cells. ( 9 => 7 ) | Change number of cells. ( 9 => 7 )
| C# | mit | ijufumi/xamarin-lifegame-xaml |
d6fdca59b034ff0dbd9935ee3ace044ecd1fab28 | Source/Tests/Iterator.Performance.Tests/NotConst/ArrayList_Iterator_Vs_Enumerator_Tests.cs | Source/Tests/Iterator.Performance.Tests/NotConst/ArrayList_Iterator_Vs_Enumerator_Tests.cs | namespace Iterator.Performance.Tests.NotConst
{
using BenchmarkDotNet.Attributes;
using BenchmarkDotNet.Attributes.Columns;
using RangeIt.Iterators;
using System;
using System.Collections;
[MinColumn, MaxColumn]
public class ArrayList_Iterator_Vs_Enumerator_Tests
{
private read... | namespace Iterator.Performance.Tests.NotConst
{
using BenchmarkDotNet.Attributes;
using BenchmarkDotNet.Attributes.Columns;
using RangeIt.Iterators;
using System;
using System.Collections;
[MinColumn, MaxColumn]
public class ArrayList_Iterator_Vs_Enumerator_Tests
{
private read... | Fix benchmark for arraylist iterator | Fix benchmark for arraylist iterator
| C# | mit | henrikfroehling/RangeIt |
23da2d640dbb9bc846bb85488ef574fdaafdb73e | SolidworksAddinFramework/DisposableExtensions.cs | SolidworksAddinFramework/DisposableExtensions.cs | using System;
using System.Collections.Generic;
using System.Reactive.Disposables;
using System.Text;
namespace SolidworksAddinFramework
{
public static class DisposableExtensions
{
public static IDisposable ToCompositeDisposable(this IEnumerable<IDisposable> d)
{
return new Compos... | using System;
using System.Collections.Generic;
using System.Reactive.Disposables;
using System.Text;
namespace SolidworksAddinFramework
{
public static class DisposableExtensions
{
public static IDisposable ToCompositeDisposable(this IEnumerable<IDisposable> d)
{
return new Compos... | Return added disposable from `DisposeWith` | Return added disposable from `DisposeWith`
| C# | mit | Weingartner/SolidworksAddinFramework |
7ae22322ca4d3212de14d658ad1bc9031fe2b2cb | Src/AutoFixture.xUnit.net/CustomizeAttributeComparer.cs | Src/AutoFixture.xUnit.net/CustomizeAttributeComparer.cs | using System.Collections.Generic;
namespace Ploeh.AutoFixture.Xunit
{
internal class CustomizeAttributeComparer : Comparer<CustomizeAttribute>
{
public override int Compare(CustomizeAttribute x, CustomizeAttribute y)
{
if (x is FrozenAttribute && !(y is FrozenAttribute))
... | using System.Collections.Generic;
namespace Ploeh.AutoFixture.Xunit
{
internal class CustomizeAttributeComparer : Comparer<CustomizeAttribute>
{
public override int Compare(CustomizeAttribute x, CustomizeAttribute y)
{
var xfrozen = x is FrozenAttribute;
var yfrozen = y... | Introduce variables to avoid multiple type casting | Introduce variables to avoid multiple type casting
| C# | mit | sergeyshushlyapin/AutoFixture,dcastro/AutoFixture,adamchester/AutoFixture,AutoFixture/AutoFixture,zvirja/AutoFixture,Pvlerick/AutoFixture,dcastro/AutoFixture,hackle/AutoFixture,sean-gilliam/AutoFixture,hackle/AutoFixture,sbrockway/AutoFixture,adamchester/AutoFixture,sergeyshushlyapin/AutoFixture,sbrockway/AutoFixture |
42e19d64353939493a7ba34e06cf80ec3bff01e5 | TOTD.Mailer.Templates/Properties/AssemblyInfo.cs | TOTD.Mailer.Templates/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("TOTD.Mailer.Html")]
[assembly: AssemblyDe... | 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("TOTD.Mailer.Templates")]
[assembly: Assem... | Fix project name in assembly info | Fix project name in assembly info
| C# | mit | TheOtherTimDuncan/TOTD-Mailer |
eadcab758e7eba3ec122068769026fed61bc1eba | Consul.Test/CoordinateTest.cs | Consul.Test/CoordinateTest.cs | using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Consul.Test
{
[TestClass]
public class CoordinateTest
{
[TestMethod]
public void TestCoordinate_Datacenters()
{
var client = new Client();
var datacenters = client.Coordinate.Datace... | using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Consul.Test
{
[TestClass]
public class CoordinateTest
{
[TestMethod]
public void TestCoordinate_Datacenters()
{
var client = new Client();
var info = client.Agent.Self();
... | Add test skipping for 0.5.2 | Add test skipping for 0.5.2
| C# | apache-2.0 | PlayFab/consuldotnet |
68159d9afe85e4d0e4dc6c3f04fb72efd7573c15 | Todo-List/Todo-List/XMLDataSaver.cs | Todo-List/Todo-List/XMLDataSaver.cs | // XMLDataSaver.cs
// <copyright file="XMLDataSaver.cs"> This code is protected under the MIT License. </copyright>
using System.Collections.Generic;
using System.IO;
using System.Xml.Serialization;
namespace Todo_List
{
/// <summary>
/// A static class for reading and writing to XML files.
/// </summary>... | // XMLDataSaver.cs
// <copyright file="XMLDataSaver.cs"> This code is protected under the MIT License. </copyright>
using System.Collections.Generic;
using System.IO;
using System.Xml.Serialization;
namespace Todo_List
{
/// <summary>
/// A static class for reading and writing to XML files.
/// </summary>... | Implement the read/write xml data | Implement the read/write xml data
This is done using the XML serializer class to automatically write and
read xml to a file, and back to the list of notes.
| C# | mit | wrightg42/todo-list,It423/todo-list |
7de90a513bf59b28fa32af176fef5cd1e6a401b8 | TestAppUWP/Samples/Map/MapServiceSettings.cs | TestAppUWP/Samples/Map/MapServiceSettings.cs | namespace TestAppUWP.Samples.Map
{
public class MapServiceSettings
{
public static string Token="Pippo";
}
} | namespace TestAppUWP.Samples.Map
{
public class MapServiceSettings
{
public static string Token = string.Empty;
}
} | Add bing map keys with fake default | Add bing map keys with fake default
| C# | mit | DanieleScipioni/TestApp |
233b63bdd229bc935dfef769d3c162766378b95c | Editor/Build/Platform/BuildLinux.cs | Editor/Build/Platform/BuildLinux.cs | using UnityEditor;
namespace SuperSystems.UnityBuild
{
[System.Serializable]
public class BuildLinux : BuildPlatform
{
#region Constants
private const string _name = "Linux";
private const string _dataDirNameFormat = "{0}_Data";
private const BuildTargetGroup _targetGroup = BuildTargetGroup.Standalo... | using UnityEditor;
namespace SuperSystems.UnityBuild
{
[System.Serializable]
public class BuildLinux : BuildPlatform
{
#region Constants
private const string _name = "Linux";
private const string _dataDirNameFormat = "{0}_Data";
private const BuildTargetGroup _targetGroup = BuildTargetGroup.Standalo... | Remove obsolete Linux build architectures on 2019.2+ | Remove obsolete Linux build architectures on 2019.2+
| C# | mit | Chaser324/unity-build |
c51931f134701dd3bf0ae0b46aaeb51bddbd768a | Wycademy/Wycademy/Program.cs | Wycademy/Wycademy/Program.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Wycademy
{
class Program
{
static void Main(string[] args)
{
}
}
}
| using Discord;
using Discord.Commands;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Wycademy
{
class Program
{
//Call Start() so that the bot runs in a non static method
static void Main(string[] args) => new Prog... | Set up client, settings, logging, and connection | Set up client, settings, logging, and connection
| C# | mit | Iwuh/Wycademy |
d89ab07e5b41285869ab7cd207c74defbae7af46 | UI/WPF/Modules/UI.WPF.Modules.Installation/ViewModels/Installation/InstallationItemParent.cs | UI/WPF/Modules/UI.WPF.Modules.Installation/ViewModels/Installation/InstallationItemParent.cs | #region Usings
using System.Collections.Generic;
using System.Linq;
using System.Reactive.Linq;
using System.Threading;
using System.Threading.Tasks;
using ReactiveUI;
#endregion
namespace UI.WPF.Modules.Installation.ViewModels.Installation
{
public class InstallationItemParent : InstallationItem
{
... | #region Usings
using System.Collections.Generic;
using System.Linq;
using System.Reactive.Linq;
using System.Threading;
using System.Threading.Tasks;
using ReactiveUI;
#endregion
namespace UI.WPF.Modules.Installation.ViewModels.Installation
{
public class InstallationItemParent : InstallationItem
{
... | Use CombineLatest instead of Zip | Use CombineLatest instead of Zip
| C# | mit | asarium/FSOLauncher |
3568c5b183a9eb3e5b199938a6a5274509068b0e | test/EFCore.MySql.FunctionalTests/TwoDatabasesMySqlTest.cs | test/EFCore.MySql.FunctionalTests/TwoDatabasesMySqlTest.cs | using Microsoft.EntityFrameworkCore;
using Pomelo.EntityFrameworkCore.MySql.FunctionalTests.TestUtilities;
using Pomelo.EntityFrameworkCore.MySql.Tests;
using Xunit;
namespace Pomelo.EntityFrameworkCore.MySql.FunctionalTests
{
public class TwoDatabasesMySqlTest : TwoDatabasesTestBase, IClassFixture<MySqlFixture>
... | using Microsoft.EntityFrameworkCore;
using Pomelo.EntityFrameworkCore.MySql.FunctionalTests.TestUtilities;
using Pomelo.EntityFrameworkCore.MySql.Tests;
using Xunit;
namespace Pomelo.EntityFrameworkCore.MySql.FunctionalTests
{
public class TwoDatabasesMySqlTest : TwoDatabasesTestBase, IClassFixture<MySqlFixture>
... | Adjust tests to MySqlConnector 1.4.0-beta.4. | Adjust tests to MySqlConnector 1.4.0-beta.4.
| C# | mit | PomeloFoundation/Pomelo.EntityFrameworkCore.MySql,PomeloFoundation/Pomelo.EntityFrameworkCore.MySql |
e149e07703ab36d91dab2b8235dfc30998ab45b0 | src/Arkivverket.Arkade.Core/Util/SystemInfo.cs | src/Arkivverket.Arkade.Core/Util/SystemInfo.cs | using System;
using System.IO;
using Arkivverket.Arkade.Core.Base;
namespace Arkivverket.Arkade.Core.Util
{
public static class SystemInfo
{
public static long GetAvailableDiskSpaceInBytes()
{
return GetAvailableDiskSpaceInBytes(ArkadeProcessingArea.RootDirectory.FullName);
... | using System;
using System.IO;
using System.Linq;
using Arkivverket.Arkade.Core.Base;
namespace Arkivverket.Arkade.Core.Util
{
public static class SystemInfo
{
public static long GetAvailableDiskSpaceInBytes()
{
return GetAvailableDiskSpaceInBytes(ArkadeProcessingArea.RootDirectory.... | Fix cross plattform issue with drive info method | Fix cross plattform issue with drive info method
ARKADE-245 | C# | agpl-3.0 | arkivverket/arkade5,arkivverket/arkade5,arkivverket/arkade5 |
8e541d8b20a3b3baac6e950482fe52a1b643f71f | anime-downloader.Tests/Services/MockXmlSettingsService.cs | anime-downloader.Tests/Services/MockXmlSettingsService.cs | using System;
using System.Collections.Generic;
using anime_downloader.Models;
using anime_downloader.Models.Configurations;
using anime_downloader.Services.Interfaces;
namespace anime_downloader.Tests.Services
{
public class MockXmlSettingsService: ISettingsService
{
public PathConfiguration PathConf... | using System;
using System.Collections.Generic;
using anime_downloader.Models;
using anime_downloader.Models.Configurations;
using anime_downloader.Services.Interfaces;
namespace anime_downloader.Tests.Services
{
public class MockXmlSettingsService: ISettingsService
{
public PathConfiguration PathConf... | Add version to test mock settings | Add version to test mock settings
| C# | apache-2.0 | dukemiller/anime-downloader |
7bfe95a7de5892d38242eb0d4a045f91fc2bc350 | src/SFA.DAS.EmployerUsers.Web/Models/RegisterViewModel.cs | src/SFA.DAS.EmployerUsers.Web/Models/RegisterViewModel.cs | namespace SFA.DAS.EmployerUsers.Web.Models
{
public class RegisterViewModel :ViewModelBase
{
public string FirstName { get; set; }
public string LastName { get; set; }
public string Email { get; set; }
public string Password { get; set; }
public string ConfirmPassword { ... | using System.Web.Mvc;
namespace SFA.DAS.EmployerUsers.Web.Models
{
public class RegisterViewModel :ViewModelBase
{
public string FirstName { get; set; }
public string LastName { get; set; }
public string Email { get; set; }
[AllowHtml]
public string Password { get; s... | Allow all characters for password fields | Allow all characters for password fields
Added the allow html attributes to allow all characters to be used
within the password field
| C# | mit | SkillsFundingAgency/das-employerusers,SkillsFundingAgency/das-employerusers,SkillsFundingAgency/das-employerusers |
1b08ea3be24985c624d5f0a2e19460549ad2893e | Assets/Tests/Load/LoadTest.cs | Assets/Tests/Load/LoadTest.cs | using UnityEngine;
using UnityEngine.UI;
using System.Collections;
public class LoadTest : MonoBehaviour
{
public void SignInButtonClicked()
{
GameJolt.UI.Manager.Instance.ShowSignIn((bool success) => {
if (success)
{
Debug.Log("Logged In");
}
else
{
Debug.Log("Dismissed");
}
});
}
... | using UnityEngine;
using UnityEngine.UI;
using System.Collections;
public class LoadTest : MonoBehaviour
{
public void SignInButtonClicked()
{
GameJolt.UI.Manager.Instance.ShowSignIn((bool success) => {
if (success)
{
Debug.Log("Logged In");
}
else
{
Debug.Log("Dismissed");
}
});
}
... | Load levels with SceneManager instead of Application for Unity 5.3+ | Load levels with SceneManager instead of Application for Unity 5.3+
| C# | mit | loicteixeira/gj-unity-api |
d953c1cdf7242854c0fc1f2ec8b790812e050c47 | src/Workspaces/Remote/Core/ExternalAccess/UnitTesting/Api/UnitTestingPinnedSolutionInfoWrapper.cs | src/Workspaces/Remote/Core/ExternalAccess/UnitTesting/Api/UnitTestingPinnedSolutionInfoWrapper.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.Runtime.Serialization;
using Microsoft.CodeAnalysis.Remote;
namespace Microsoft.CodeAnalysis.External... | // 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.Runtime.Serialization;
using Microsoft.CodeAnalysis.Remote;
namespace Microsoft.CodeAnalysis.External... | Fix namespace so that external access wrapper type can be accessed from UT. | Fix namespace so that external access wrapper type can be accessed from UT.
| C# | mit | shyamnamboodiripad/roslyn,physhi/roslyn,physhi/roslyn,bartdesmet/roslyn,weltkante/roslyn,ErikSchierboom/roslyn,wvdd007/roslyn,tannergooding/roslyn,dotnet/roslyn,diryboy/roslyn,physhi/roslyn,bartdesmet/roslyn,AlekseyTs/roslyn,jasonmalinowski/roslyn,mgoertz-msft/roslyn,mavasani/roslyn,sharwell/roslyn,CyrusNajmabadi/rosly... |
9bd78ddfe2d1a9e76d0a889cc7c4ad3ff6bbffe3 | src/SFA.DAS.EmployerUsers.Application/Commands/RequestChangeEmail/RequestChangeEmailCommandValidator.cs | src/SFA.DAS.EmployerUsers.Application/Commands/RequestChangeEmail/RequestChangeEmailCommandValidator.cs | using System.Threading.Tasks;
using SFA.DAS.EmployerUsers.Application.Validation;
namespace SFA.DAS.EmployerUsers.Application.Commands.RequestChangeEmail
{
public class RequestChangeEmailCommandValidator : IValidator<RequestChangeEmailCommand>
{
public Task<ValidationResult> ValidateAsync(Reque... | using System.Threading.Tasks;
using SFA.DAS.EmployerUsers.Application.Validation;
namespace SFA.DAS.EmployerUsers.Application.Commands.RequestChangeEmail
{
public class RequestChangeEmailCommandValidator : BaseValidator, IValidator<RequestChangeEmailCommand>
{
public Task<ValidationResult> Vali... | Add email validity check to change email command | Add email validity check to change email command
| C# | mit | SkillsFundingAgency/das-employerusers,SkillsFundingAgency/das-employerusers,SkillsFundingAgency/das-employerusers |
4a4463600a434a763e06090df16bf18faa0ee582 | src/KafkaHttp.Net/KafkaProducer.cs | src/KafkaHttp.Net/KafkaProducer.cs | using System.Diagnostics;
using System.Threading;
using System.Threading.Tasks;
using Quobject.SocketIoClientDotNet.Client;
namespace KafkaHttp.Net
{
public interface IKafkaProducer
{
Task CreateTopic(string name);
void Publish(params Message<string>[] payload);
}
public class KafkaPr... | using System.Diagnostics;
using System.Threading;
using System.Threading.Tasks;
using Quobject.SocketIoClientDotNet.Client;
namespace KafkaHttp.Net
{
public interface IKafkaProducer
{
Task CreateTopic(string name);
void Publish(params Message<string>[] payload);
}
public class KafkaPr... | Use acknowledgement callback to indicate whether createTopic event was successful | Use acknowledgement callback to indicate whether createTopic event was successful
| C# | apache-2.0 | hoppity/kafka-http-dotnet |
84a0b948e134092237e2cd5c7668c34f3da75a5c | osu.Game/Online/API/Requests/Responses/APIChangelogBuild.cs | osu.Game/Online/API/Requests/Responses/APIChangelogBuild.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 Newtonsoft.Json;
using System;
using System.Collections.Generic;
namespace osu.Game.Online.API.Requests.Responses
{
public class APIChangelogBuild : IEquatabl... | // 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 Newtonsoft.Json;
using System;
using System.Collections.Generic;
namespace osu.Game.Online.API.Requests.Responses
{
public class APIChangelogBuild : IEquatabl... | Fix typo in VersionNavigation class name | Fix typo in VersionNavigation class name
| C# | mit | peppy/osu,ZLima12/osu,EVAST9919/osu,peppy/osu-new,johnneijzen/osu,johnneijzen/osu,UselessToucan/osu,smoogipooo/osu,NeoAdonis/osu,ppy/osu,smoogipoo/osu,UselessToucan/osu,ppy/osu,peppy/osu,EVAST9919/osu,NeoAdonis/osu,peppy/osu,smoogipoo/osu,2yangk23/osu,ppy/osu,ZLima12/osu,2yangk23/osu,smoogipoo/osu,UselessToucan/osu,Neo... |
35e1b8d8e35a6a2e76937f1ee75ccd9b5778644f | osu.Framework/Localisation/LocalisableStringExtensions.cs | osu.Framework/Localisation/LocalisableStringExtensions.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
#nullable enable
namespace osu.Framework.Localisation
{
public static class LocalisableStringExtensions
{
/// <summary>
/// Return... | // 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;
#nullable enable
namespace osu.Framework.Localisation
{
public static class LocalisableStringExtensions
{
/// <summary>
/// Return... | Allow using `ToLocalisableString` without a format string | Allow using `ToLocalisableString` without a format string
Defaults to `null` which is what the number structs (`Double`, `Int32`,
etc.) use to format values without a format string.
| C# | mit | ppy/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,peppy/osu-framework,peppy/osu-framework,ZLima12/osu-framework,ZLima12/osu-framework,ppy/osu-framework,smoogipooo/osu-framework |
e735dbbecb225b2529162071a04875329580ff16 | TOTD.EntityFramework/ConfigurationExtensions.cs | TOTD.EntityFramework/ConfigurationExtensions.cs | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity.Infrastructure.Annotations;
using System.Data.Entity.ModelConfiguration.Configuration;
using System.Linq;
namespace TOTD.EntityFramework
{
public static class ConfigurationExtensions
{
... | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity.Infrastructure.Annotations;
using System.Data.Entity.ModelConfiguration.Configuration;
using System.Linq;
namespace TOTD.EntityFramework
{
public static class ConfigurationExtensions
{
... | Add EF extensions for identity columns and index column order | Add EF extensions for identity columns and index column order
| C# | mit | TheOtherTimDuncan/TOTD |
d2301068b6c2a04961986570075ef5075c2cf168 | osu.Game/Overlays/Changelog/ChangelogUpdateStreamControl.cs | osu.Game/Overlays/Changelog/ChangelogUpdateStreamControl.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.Game.Online.API.Requests.Responses;
namespace osu.Game.Overlays.Changelog
{
public class ChangelogUpdateStreamControl : OverlayStreamControl<APIUpdateStre... | // 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.API.Requests.Responses;
namespace osu.Game.Overlays.Changelog
{
public class ChangelogUpdateStreamControl : OverlayStreamControl<APIUpdateStre... | Fix changelog header staying dimmed after build show | Fix changelog header staying dimmed after build show
| C# | mit | ppy/osu,ppy/osu,ppy/osu,UselessToucan/osu,peppy/osu,smoogipooo/osu,smoogipoo/osu,NeoAdonis/osu,peppy/osu-new,smoogipoo/osu,peppy/osu,UselessToucan/osu,peppy/osu,UselessToucan/osu,NeoAdonis/osu,smoogipoo/osu,NeoAdonis/osu |
b8409d1787806925b714f06708fda143d4858c07 | tests/cs/extension-methods/ExtensionMethods.cs | tests/cs/extension-methods/ExtensionMethods.cs | using System;
using System.Collections.Generic;
using System.Linq;
public class Herp
{
public Herp(int X)
{
this.X = X;
}
public int X { get; private set; }
}
public static class HerpExtensions
{
public static void PrintX(this Herp Value)
{
Console.WriteLine(Value.X);
}
}
... | using System;
using System.Collections.Generic;
using System.Linq;
public class Herp
{
public Herp(int X)
{
this.X = X;
}
public int X { get; private set; }
}
public static class HerpExtensions
{
public static void PrintX(this Herp Value)
{
Console.WriteLine(Value.X);
}
}
... | Extend the extension methods test case again | Extend the extension methods test case again
| C# | mit | jonathanvdc/ecsc |
59f2017a13672be09b527873470d528717d4ae70 | osu.Game/Screens/OnlinePlay/Multiplayer/CreateMultiplayerMatchButton.cs | osu.Game/Screens/OnlinePlay/Multiplayer/CreateMultiplayerMatchButton.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.Online.Multiplayer;
using osu.Game.Screens.OnlinePlay.Match.Components;
namespace osu.Game.... | // 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.Online.Multiplayer;
using osu.Game.Screens.OnlinePlay.Match.Components;
namespace osu.Game.... | Move BindValueChanged subscriptions to LoadComplete | Move BindValueChanged subscriptions to LoadComplete
| C# | mit | smoogipoo/osu,smoogipoo/osu,peppy/osu,ppy/osu,peppy/osu-new,NeoAdonis/osu,UselessToucan/osu,smoogipoo/osu,UselessToucan/osu,smoogipooo/osu,NeoAdonis/osu,UselessToucan/osu,peppy/osu,ppy/osu,NeoAdonis/osu,peppy/osu,ppy/osu |
8c8f87b435b0b028fb07d4ec013fa3a0e2a99ed3 | src/BitFlyer.Apis/RequestData/SendChildOrderParameter.cs | src/BitFlyer.Apis/RequestData/SendChildOrderParameter.cs | using Newtonsoft.Json;
namespace BitFlyer.Apis
{
public class SendChildOrderParameter
{
[JsonProperty("product_code")]
public ProductCode ProductCode { get; set; }
[JsonProperty("child_order_type")]
public ChildOrderType ChildOrderType { get; set; }
[JsonProperty("sid... | using Newtonsoft.Json;
namespace BitFlyer.Apis
{
public class SendChildOrderParameter
{
[JsonProperty("product_code")]
public ProductCode ProductCode { get; set; }
[JsonProperty("child_order_type")]
public ChildOrderType ChildOrderType { get; set; }
[JsonProperty("sid... | Change Price type to double | Change Price type to double
| C# | mit | kiyoaki/bitflyer-api-dotnet-client |
6593fea49839e1600892ce5fbf029382d0680ec0 | Sitecore.Linqpad/Server/CookieAwareWebClient.cs | Sitecore.Linqpad/Server/CookieAwareWebClient.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Text;
using System.Threading.Tasks;
namespace Sitecore.Linqpad.Server
{
public class CookieAwareWebClient : WebClient
{
public CookieAwareWebClient(CookieContainer cookies = null)
{
th... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Text;
using System.Threading.Tasks;
namespace Sitecore.Linqpad.Server
{
public class CookieAwareWebClient : WebClient
{
public CookieAwareWebClient(CookieContainer cookies = null)
{
th... | Disable login redirect to dbbrowser.aspx forbidding redirects altogether | Disable login redirect to dbbrowser.aspx forbidding redirects altogether
| C# | mit | afortaleza/sitecore-linqpad |
2f4c37915e51cffa549ce45a0ddeddccd05ef4ee | src/Humanizer/Localisation/NumberToWords/FrenchNumberToWordsConverter.cs | src/Humanizer/Localisation/NumberToWords/FrenchNumberToWordsConverter.cs | using System.Collections.Generic;
namespace Humanizer.Localisation.NumberToWords
{
internal class FrenchNumberToWordsConverter : FrenchNumberToWordsConverterBase
{
protected override void CollectPartsUnderAHundred(ICollection<string> parts, ref int number, GrammaticalGender gender, bool pluralize)
... | using System.Collections.Generic;
namespace Humanizer.Localisation.NumberToWords
{
internal class FrenchNumberToWordsConverter : FrenchNumberToWordsConverterBase
{
protected override void CollectPartsUnderAHundred(ICollection<string> parts, ref int number, GrammaticalGender gender, bool pluralize)
... | Revert "clean code a bit" | Revert "clean code a bit"
This reverts commit eb110e56c72b3529cf9a7f649f499499315482a7.
| C# | mit | hazzik/Humanizer,MehdiK/Humanizer |
acf38d9f393b5e0037235b72e78f6940029f2bb9 | kynnaugh/StringUtils.cs | kynnaugh/StringUtils.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;
namespace kynnaugh
{
class StringUtils
{
// By Hans Passant
// http://stackoverflow.com/a/10773988
public static IntPtr NativeUtf8Fr... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;
namespace kynnaugh
{
class StringUtils
{
// By Hans Passant
// http://stackoverflow.com/a/10773988
public static IntPtr NativeUtf8Fr... | Remove BOM from UTF8 encoder | Remove BOM from UTF8 encoder
| C# | apache-2.0 | RootAccessOrg/kynnaugh |
7fdafe3717f1dd3c49f00fa21e388fb11a41e965 | squirrel/Environment.cs | squirrel/Environment.cs | using System.Collections.Generic;
using Squirrel.Nodes;
namespace Squirrel
{
public class Environment
{
private readonly Environment _parent;
private readonly Dictionary<string, INode> _definitions = new Dictionary<string, INode>();
public Environment(Environment parent)
{
... | using System.Collections.Generic;
using Squirrel.Nodes;
namespace Squirrel
{
public class Environment
{
private readonly Environment _parent;
private readonly Dictionary<string, INode> _definitions = new Dictionary<string, INode>();
public Environment(Environment parent)
{
... | Allow redefining already defined symbols | Allow redefining already defined symbols
| C# | mit | escamilla/squirrel |
5b729321e59afe769553af4fccd9a23d170b7557 | TfsHipChat/Configuration/ConfigurationProvider.cs | TfsHipChat/Configuration/ConfigurationProvider.cs | using System.IO;
using Newtonsoft.Json;
namespace TfsHipChat.Configuration
{
public class ConfigurationProvider : IConfigurationProvider
{
private TfsHipChatConfig _tfsHipChatConfig;
public TfsHipChatConfig Config
{
get
{
if (_tfsHi... | using System.IO;
using Newtonsoft.Json;
using TfsHipChat.Properties;
namespace TfsHipChat.Configuration
{
public class ConfigurationProvider : IConfigurationProvider
{
public ConfigurationProvider()
{
using (var reader = new JsonTextReader(new StreamReader(Settings.Defaul... | Remove lazy loading of configuration | Remove lazy loading of configuration
| C# | mit | timclipsham/tfs-hipchat |
fb85020fe6231eefb50c21081576000d5c4a9876 | test/Microsoft.TemplateEngine.Core.UnitTests/TestBase.cs | test/Microsoft.TemplateEngine.Core.UnitTests/TestBase.cs | using System;
using System.IO;
using System.Text;
using Microsoft.TemplateEngine.Core.Contracts;
using Xunit;
namespace Microsoft.TemplateEngine.Core.UnitTests
{
public abstract class TestBase
{
protected static void RunAndVerify(string originalValue, string expectedValue, IProcessor processor, int bu... | using System;
using System.IO;
using System.Text;
using Microsoft.TemplateEngine.Core.Contracts;
using Microsoft.TemplateEngine.Utils;
using Xunit;
namespace Microsoft.TemplateEngine.Core.UnitTests
{
public abstract class TestBase
{
protected TestBase()
{
EngineEnvironmentSettings.... | Fix failing test by setting the host object | Fix failing test by setting the host object
| C# | mit | rschiefer/templating,seancpeters/templating,danroth27/templating,lambdakris/templating,lambdakris/templating,mlorbetske/templating,rschiefer/templating,seancpeters/templating,danroth27/templating,rschiefer/templating,mlorbetske/templating,lambdakris/templating,danroth27/templating,seancpeters/templating,seancpeters/tem... |
1671f9477fcbe54dd2e59294982aaa677f9e760f | src/GeoToast/Controllers/WebsiteController.cs | src/GeoToast/Controllers/WebsiteController.cs | using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using AutoMapper;
using GeoToast.Data;
using GeoToast.Data.Models;
using GeoToast.Models;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
namespace GeoToast.Controllers
{
//[Authorize]
[Route("api/[cont... | using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using AutoMapper;
using GeoToast.Data;
using GeoToast.Data.Models;
using GeoToast.Models;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
namespace GeoToast.Controllers
{
... | Add /GET for a single website resource | Add /GET for a single website resource
| C# | mit | RockstarLabs/GeoToast,RockstarLabs/GeoToast,RockstarLabs/GeoToast |
ce80c8ff87f528f248e5d7d734b711bc788e44a1 | Source/Blade/Views/RazorTemplate.cs | Source/Blade/Views/RazorTemplate.cs | using System.Web.UI;
using Sitecore.Web.UI;
using Blade.Razor;
using Blade.Utility;
using Sitecore.Diagnostics;
namespace Blade.Views
{
/// <summary>
/// Allows statically binding a Razor template as if it were a WebControl
/// </summary>
public class RazorTemplate : WebControl
{
/// <summary>
/// Virtual pa... | using System.Web.UI;
using Sitecore.Web.UI;
using Blade.Razor;
using Blade.Utility;
using Sitecore.Diagnostics;
namespace Blade.Views
{
/// <summary>
/// Allows statically binding a Razor template as if it were a WebControl
/// </summary>
public class RazorTemplate : WebControl
{
/// <summary>
/// Virtual pa... | Allow statically bound Razor templates to be output cached | Allow statically bound Razor templates to be output cached
| C# | mit | kamsar/Blade |
5328b096373bbfa215a2a026fc59fbbe7e0360f1 | src/Compilers/Core/MSBuildTask/Portable/BuildClientShim.cs | src/Compilers/Core/MSBuildTask/Portable/BuildClientShim.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 Microsoft.CodeAnalysis.CommandLine;
using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
namespace Mi... | // 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.CommandLine;
using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
namespace Mi... | Implement RunServerCompilation in portable build task | Implement RunServerCompilation in portable build task
Implemented to return failure, at the moment, so that compilation falls back
to out-of-proc tool.
| C# | mit | pdelvo/roslyn,pdelvo/roslyn,jamesqo/roslyn,AlekseyTs/roslyn,mattscheffer/roslyn,jhendrixMSFT/roslyn,natgla/roslyn,bbarry/roslyn,KevinRansom/roslyn,brettfo/roslyn,CaptainHayashi/roslyn,MichalStrehovsky/roslyn,MattWindsor91/roslyn,CyrusNajmabadi/roslyn,khellang/roslyn,weltkante/roslyn,drognanar/roslyn,KevinRansom/roslyn,... |
3f8e3cdcef022c04d6d34208a32b816b6d2b75ab | test/Zuehlke.Eacm.Web.Backend.Tests/CQRS/EventAggregatorExtensionsFixture.cs | test/Zuehlke.Eacm.Web.Backend.Tests/CQRS/EventAggregatorExtensionsFixture.cs | using System;
using Xunit;
using Zuehlke.Eacm.Web.Backend.CQRS;
namespace Zuehlke.Eacm.Web.Backend.Tests.DomainModel
{
public class EventAggregatorExtensionsFixture
{
[Fact]
public void PublishEvent_()
{
// arrange
// act
// assert
... | using System;
using Xunit;
using Zuehlke.Eacm.Web.Backend.CQRS;
using Zuehlke.Eacm.Web.Backend.Utils.PubSubEvents;
namespace Zuehlke.Eacm.Web.Backend.Tests.DomainModel
{
public class EventAggregatorExtensionsFixture
{
[Fact]
public void PublishEvent_EventAggregatorIsNull_ThrowsExcepti... | Implement tests for the EventAggregatorExtensions class. | refactor(configurationproject): Implement tests for the EventAggregatorExtensions class.
| C# | mit | lehmamic/EnterpriseApplicationConfigurationManager,lehmamic/EnterpriseApplicationConfigurationManager,lehmamic/EnterpriseApplicationConfigurationManager,lehmamic/EnterpriseApplicationConfigurationManager |
964ff36c2a3a4816b4bc78ebc5bf274ced9854e1 | Email/C1Console/Workflows/EditConfigurableSystemNetMailClientQueueWorkflow.cs | Email/C1Console/Workflows/EditConfigurableSystemNetMailClientQueueWorkflow.cs | using System;
using System.Collections.Generic;
using System.Net.Mail;
using Composite.C1Console.Workflow;
namespace CompositeC1Contrib.Email.C1Console.Workflows
{
[AllowPersistingWorkflow(WorkflowPersistingType.Idle)]
public sealed class EditConfigurableSystemNetMailClientQueueWorkflow : EditMailQue... | using System;
using System.Collections.Generic;
using System.Net.Mail;
namespace CompositeC1Contrib.Email.C1Console.Workflows
{
public sealed class EditConfigurableSystemNetMailClientQueueWorkflow : EditMailQueueWorkflow
{
public EditConfigurableSystemNetMailClientQueueWorkflow() : base("\\Inst... | Fix copy/paste bug related to changeset a06f6c6cd5ab | Fix copy/paste bug related to changeset a06f6c6cd5ab
| C# | mit | burningice2866/CompositeC1Contrib.Email,burningice2866/CompositeC1Contrib.Email |
3a5813f0e305a7661b9daf388140585b7b162f30 | src/Glimpse.Agent.AspNet.Mvc/Messages/AfterActionMessage.cs | src/Glimpse.Agent.AspNet.Mvc/Messages/AfterActionMessage.cs |
namespace Glimpse.Agent.AspNet.Mvc.Messages
{
public class ActionInvokedMessage
{
public string ActionId { get; set; }
public Timing Timing { get; set; }
}
} |
namespace Glimpse.Agent.AspNet.Mvc.Messages
{
public class AfterActionMessage
{
public string ActionId { get; set; }
public Timing Timing { get; set; }
}
} | Update class that was missed in the last commit | Update class that was missed in the last commit
| C# | mit | peterblazejewicz/Glimpse.Prototype,zanetdev/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,zanetdev/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,Glimpse/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,Glimpse/Glimpse.Prototype,Glimpse/Glimpse.Prototype,peterblazejewicz/Glimpse.... |
fdcd03be21f8e6218cba43d34f633cf134c08c68 | Mappy/Data/FeatureRecord.cs | Mappy/Data/FeatureRecord.cs | namespace Mappy.Data
{
using Mappy.Util;
using TAUtil.Tdf;
public class FeatureRecord
{
public string Name { get; set; }
public string World { get; set; }
public string Category { get; set; }
public int FootprintX { get; set; }
public int Fo... | namespace Mappy.Data
{
using Mappy.Util;
using TAUtil.Tdf;
public class FeatureRecord
{
public string Name { get; set; }
public string World { get; set; }
public string Category { get; set; }
public int FootprintX { get; set; }
public int Fo... | Fix feature FootprintY having FootprintX value | Fix feature FootprintY having FootprintX value
| C# | mit | MHeasell/Mappy,MHeasell/Mappy |
c193330a2d3fdffb5e0a3d760f8ddb8352366f51 | src/API/Controllers/ErrorController.cs | src/API/Controllers/ErrorController.cs | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="ErrorController.cs" company="https://martincostello.com/">
// Martin Costello (c) 2016
// </copyright>
// <summary>
// ErrorController.cs
// </summary>
// --------------------... | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="ErrorController.cs" company="https://martincostello.com/">
// Martin Costello (c) 2016
// </copyright>
// <summary>
// ErrorController.cs
// </summary>
// --------------------... | Add missing '.' to /// comment | Add missing '.' to /// comment
Add missing full-stop to XML comment.
| C# | mit | martincostello/api,martincostello/api,martincostello/api |
ec3ed56c700cf8a605426bd77b38543fa9420b47 | src/AppHarbor/Commands/LoginCommand.cs | src/AppHarbor/Commands/LoginCommand.cs | using System;
namespace AppHarbor.Commands
{
public class LoginCommand : ICommand
{
private readonly AppHarborApi _appHarborApi;
private readonly EnvironmentVariableConfiguration _environmentVariableConfiguration;
public LoginCommand(AppHarborApi appHarborApi, EnvironmentVariableConfiguration environmentVari... | using System;
namespace AppHarbor.Commands
{
public class LoginCommand : ICommand
{
private readonly AppHarborApi _appHarborApi;
private readonly EnvironmentVariableConfiguration _environmentVariableConfiguration;
public LoginCommand(AppHarborApi appHarborApi, EnvironmentVariableConfiguration environmentVari... | Set environment variable configuration to the passed in parameter | Set environment variable configuration to the passed in parameter
| C# | mit | appharbor/appharbor-cli |
e604c18d9299f111d5305b696b7babf5e9368cd8 | src/Nerdbank.Streams.Benchmark/BenchmarkConfig.cs | src/Nerdbank.Streams.Benchmark/BenchmarkConfig.cs | // Copyright (c) Andrew Arnott. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Nerdbank.Streams.Benchmark
{
using BenchmarkDotNet.Configs;
using BenchmarkDotNet.Diagnosers;
using BenchmarkDotNet.Jobs;
internal class... | // Copyright (c) Andrew Arnott. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Nerdbank.Streams.Benchmark
{
using BenchmarkDotNet.Configs;
using BenchmarkDotNet.Diagnosers;
using BenchmarkDotNet.Jobs;
internal class... | Resolve compiler warnings from BenchmarkDotNet upgrade | Resolve compiler warnings from BenchmarkDotNet upgrade
| C# | mit | AArnott/Nerdbank.FullDuplexStream |
af62e04123ef3c3e5975038ba17f804553424993 | SignalR/Abstractions/HostContextExtensions.cs | SignalR/Abstractions/HostContextExtensions.cs | namespace SignalR.Abstractions
{
public static class HostContextExtensions
{
public static T GetValue<T>(this HostContext context, string key)
{
object value;
if (context.Items.TryGetValue(key, out value))
{
return (T)value;
}
... | namespace SignalR.Abstractions
{
public static class HostContextExtensions
{
public static T GetValue<T>(this HostContext context, string key)
{
object value;
if (context.Items.TryGetValue(key, out value))
{
return (T)value;
}
... | Use HostConstants in the extensions. | Use HostConstants in the extensions.
| C# | mit | shiftkey/SignalR,shiftkey/SignalR |
c0adb8b02924d2d9c79aad4531cd62fce81809ef | src/Firehose.Web/Authors/JoshKing.cs | src/Firehose.Web/Authors/JoshKing.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel.Syndication;
using System.Web;
using Firehose.Web.Infrastructure;
namespace Firehose.Web.Authors
{
public class JoshKing : IAmACommunityMember, IFilterMyBlogPosts
{
public string FirstName => "Josh";
pu... | using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel.Syndication;
using System.Web;
using Firehose.Web.Infrastructure;
namespace Firehose.Web.Authors
{
public class JoshKing : IAmACommunityMember
{
public string FirstName => "Josh";
public string LastName... | Update feed uri, blog platform transition | Update feed uri, blog platform transition | C# | mit | planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell |
c616e25c1c3e5d61651a9a6f3bfcb715c072fe64 | src/MitternachtBot/Common/TimeConstants.cs | src/MitternachtBot/Common/TimeConstants.cs | namespace Mitternacht.Common {
public class TimeConstants {
public const int WaitForForum = 500;
public const int TeamUpdate = 3 * 60 * 1000;
public const int Birthday = 60 * 1000;
public const int ForumNotification = 1 * 60 * 1000;
}
}
| namespace Mitternacht.Common {
public class TimeConstants {
public const int WaitForForum = 500;
public const int TeamUpdate = 3 * 60 * 1000;
public const int Birthday = 60 * 1000;
public const int ForumNotification = 30 * 1000;
}
}
| Check for forum notifications more often. | Check for forum notifications more often.
| C# | mit | Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW |
d7ce1efdd09c3390a906f846f54c7516b036272c | src/Generator.Tests/HeaderTestFixture.cs | src/Generator.Tests/HeaderTestFixture.cs | using System;
using System.IO;
using Cxxi;
using Cxxi.Types;
namespace Generator.Tests
{
public class HeaderTestFixture
{
protected Library library;
protected TypeMapDatabase database;
private const string TestsDirectory = @"..\..\..\tests\Native";
protected void ParseLibrary... | using System;
using System.IO;
using Cxxi;
using Cxxi.Types;
namespace Generator.Tests
{
public class HeaderTestFixture
{
protected Library library;
protected TypeMapDatabase database;
private const string TestsDirectory = @"..\..\..\tests\Native";
protected void ParseLibrary... | Update the test runner to use the new parser interface. | Update the test runner to use the new parser interface.
| C# | mit | SonyaSa/CppSharp,xistoso/CppSharp,zillemarco/CppSharp,mohtamohit/CppSharp,ktopouzi/CppSharp,inordertotest/CppSharp,imazen/CppSharp,txdv/CppSharp,Samana/CppSharp,mohtamohit/CppSharp,inordertotest/CppSharp,xistoso/CppSharp,genuinelucifer/CppSharp,KonajuGames/CppSharp,ddobrev/CppSharp,mohtamohit/CppSharp,mydogisbox/CppSha... |
5e5864586f1ec2610865de24ff989c27e07a2532 | src/FindRandomNumber.Tests/Common/RangeTests.cs | src/FindRandomNumber.Tests/Common/RangeTests.cs | using System;
using NUnit.Framework;
namespace FindRandomNumber.Common {
[TestFixture]
public class RangeTests {
[TestFixture]
public class Construction : RangeTests {
[Test]
public void GivenMaximumLessThanMinimum_Throws() {
Assert.Throws<ArgumentOutOfRangeException>(() => new Range(1... | using System;
using NUnit.Framework;
namespace FindRandomNumber.Common {
[TestFixture]
public class RangeTests {
[TestFixture]
public class Construction : RangeTests {
[Test]
public void GivenMaximumLessThanMinimum_Throws() {
Assert.Throws<ArgumentOutOfRangeException>(() => new Range(1... | Add missing unit tests for Range equality. | Add missing unit tests for Range equality.
| C# | mit | DavidLievrouw/FindRandomNumber |
aec9ea986b9c4b4f6dcd4683fd237bfde81b31e0 | src/NuGetGallery/Controllers/PagesController.cs | src/NuGetGallery/Controllers/PagesController.cs | using System;
using System.Linq;
using System.Threading.Tasks;
using System.Web.Mvc;
namespace NuGetGallery
{
public partial class PagesController : Controller
{
public IContentService ContentService { get; protected set; }
protected PagesController() { }
public PagesController(IConte... | using System;
using System.Linq;
using System.Threading.Tasks;
using System.Web.Mvc;
namespace NuGetGallery
{
public partial class PagesController : Controller
{
public IContentService ContentService { get; protected set; }
protected PagesController() { }
public PagesController(IConte... | Comment the security check so it's obvious what its for. | Comment the security check so it's obvious what its for.
| C# | apache-2.0 | projectkudu/SiteExtensionGallery,ScottShingler/NuGetGallery,projectkudu/SiteExtensionGallery,mtian/SiteExtensionGallery,ScottShingler/NuGetGallery,mtian/SiteExtensionGallery,projectkudu/SiteExtensionGallery,skbkontur/NuGetGallery,JetBrains/ReSharperGallery,JetBrains/ReSharperGallery,grenade/NuGetGallery_download-count-... |
f0b51bae1efbdf87472c4e68491d52d4545858e5 | Cheers/Cheers/Program.cs | Cheers/Cheers/Program.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Cheers
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Hello there! What's your name?");
string name = Console.ReadLine()... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Cheers
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Hello there! What's your name?");
string name = Console.ReadLine()... | Split a really long WriteLine into a Write & WriteLine. | Split a really long WriteLine into a Write & WriteLine.
| C# | mit | NewEvolution/Cheers |
ce1044e406c0d20d23465b3b9ffbb1f8697bbb85 | src/CompetitionPlatform/Views/Project/CommentsPartial.cshtml | src/CompetitionPlatform/Views/Project/CommentsPartial.cshtml | @model CompetitionPlatform.Models.ProjectViewModels.ProjectCommentPartialViewModel
<form asp-controller="ProjectDetails" asp-action="AddComment" enctype="multipart/form-data">
<div class="form-group">
@Html.Hidden("projectId", Model.ProjectId)
<input asp-for="@Model.ProjectId" type="hidden" />
... | @using System.Threading.Tasks
@using CompetitionPlatform.Helpers
@model CompetitionPlatform.Models.ProjectViewModels.ProjectCommentPartialViewModel
<form asp-controller="ProjectDetails" asp-action="AddComment" enctype="multipart/form-data">
@if (ClaimsHelper.GetUser(User.Identity).Email != null)
{
<div... | Hide comment form if user not signed in. | Hide comment form if user not signed in.
| C# | mit | LykkeCity/CompetitionPlatform,LykkeCity/CompetitionPlatform,LykkeCity/CompetitionPlatform |
9fa3a96a1bcb9a3d0cb58f820741096761da7c51 | VersionOne.Bugzilla.BugzillaAPI.Testss/BugTests.cs | VersionOne.Bugzilla.BugzillaAPI.Testss/BugTests.cs | using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace VersionOne.Bugzilla.BugzillaAPI.Testss
{
[TestClass()]
public class given_a_Bug
{
private IBug _bug;
private string _expectedReassignToPayload;
[TestInitialize()]
public void SetContext()
{
_... | using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace VersionOne.Bugzilla.BugzillaAPI.Testss
{
[TestClass()]
public class Given_A_Bug
{
private IBug _bug;
private string _expectedReassignToPayload;
[TestInitialize()]
public void SetContext()
{
_... | Rename the test class and method | S-51801: Rename the test class and method
| C# | bsd-3-clause | versionone/VersionOne.Integration.Bugzilla,versionone/VersionOne.Integration.Bugzilla,versionone/VersionOne.Integration.Bugzilla |
17d48c82f6f4d8ed22981b2ed4e749012709db55 | osu.Game.Rulesets.Catch/Skinning/Legacy/LegacyFruitPiece.cs | osu.Game.Rulesets.Catch/Skinning/Legacy/LegacyFruitPiece.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Bindables;
using osu.Framework.Graphics.Textures;
using osu.Game.Rulesets.Catch.Objects.Drawables;
namespace osu.Game.Rulesets.Catch.Skinning.Legacy
... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Bindables;
using osu.Game.Rulesets.Catch.Objects.Drawables;
namespace osu.Game.Rulesets.Catch.Skinning.Legacy
{
internal class LegacyFruitPiece :... | Use switch statement instead of an array | Use switch statement instead of an array
| C# | mit | ppy/osu,NeoAdonis/osu,peppy/osu,NeoAdonis/osu,smoogipoo/osu,smoogipoo/osu,UselessToucan/osu,ppy/osu,peppy/osu-new,NeoAdonis/osu,UselessToucan/osu,smoogipooo/osu,ppy/osu,smoogipoo/osu,peppy/osu,peppy/osu,UselessToucan/osu |
0d60fe7cfc5829a4434756baa0c9fd86ed3eaf8e | src/TelemetryChannels/ServerTelemetryChannel/Shared/Implementation/BackendResponse.cs | src/TelemetryChannels/ServerTelemetryChannel/Shared/Implementation/BackendResponse.cs | namespace Microsoft.ApplicationInsights.WindowsServer.TelemetryChannel.Implementation
{
using System.Runtime.Serialization;
[DataContract]
internal class BackendResponse
{
[DataMember(Name = "itemsReceived")]
public int ItemsReceived { get; set; }
[DataMember(Name = "itemsAcce... | namespace Microsoft.ApplicationInsights.WindowsServer.TelemetryChannel.Implementation
{
using System.Runtime.Serialization;
[DataContract]
internal class BackendResponse
{
[DataMember(Name = "itemsReceived")]
public int ItemsReceived { get; set; }
[DataMember(Name = "itemsAcce... | Change Error class to internal | Change Error class to internal
| C# | mit | pharring/ApplicationInsights-dotnet,pharring/ApplicationInsights-dotnet,pharring/ApplicationInsights-dotnet,Microsoft/ApplicationInsights-dotnet |
060b4fa5266a9cd1e334111d968036141e379cd8 | osu.Game.Tests/Visual/Multiplayer/TestSceneMultiplayerPlayer.cs | osu.Game.Tests/Visual/Multiplayer/TestSceneMultiplayerPlayer.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 NUnit.Framework;
using osu.Framework.Testing;
using osu.Game.Rulesets.Osu;
using osu.Game.Screens.OnlinePlay.Multiplayer;
namespace osu.Game.Tes... | // 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 NUnit.Framework;
using osu.Framework.Screens;
using osu.Framework.Testing;
using osu.Game.Online.Multiplayer;
using osu.Game.Rulesets.Osu;
using ... | Fix failing multiplayer player test | Fix failing multiplayer player test
| C# | mit | smoogipooo/osu,peppy/osu,peppy/osu,ppy/osu,NeoAdonis/osu,smoogipoo/osu,smoogipoo/osu,NeoAdonis/osu,ppy/osu,ppy/osu,NeoAdonis/osu,smoogipoo/osu,peppy/osu |
4a97cafa417ac4e7aedd445f3ca8943331861310 | src/QuartzNET-DynamoDB.Tests/Integration/DynamoClientFactory.cs | src/QuartzNET-DynamoDB.Tests/Integration/DynamoClientFactory.cs | using System;
using Amazon.DynamoDBv2;
namespace Quartz.DynamoDB.Tests
{
public class DynamoClientFactory
{
private static JobStore _store;
private static string InstanceName;
public static DynamoDB.JobStore CreateTestJobStore()
{
_store = new JobStore();
... | using System;
using Amazon.DynamoDBv2;
namespace Quartz.DynamoDB.Tests
{
public class DynamoClientFactory
{
private static JobStore _store;
private static string InstanceName = Guid.NewGuid().ToString();
public static DynamoDB.JobStore CreateTestJobStore()
{
_store... | Set instance name correctly for tests. | Set instance name correctly for tests.
| C# | apache-2.0 | lukeryannetnz/quartznet-dynamodb,lukeryannetnz/quartznet-dynamodb |
f4be1f589f67e67c43b09ce989187a172a86927a | src/Nest/Indices/AliasManagement/Alias/Actions/IAliasAction.cs | src/Nest/Indices/AliasManagement/Alias/Actions/IAliasAction.cs | namespace Nest
{
/// <summary>
/// Marker interface for alias operation
/// </summary>
public interface IAliasAction { }
}
| using Utf8Json;
using Utf8Json.Internal;
namespace Nest
{
/// <summary>
/// Marker interface for alias operation
/// </summary>
[JsonFormatter(typeof(AliasActionFormatter))]
public interface IAliasAction { }
public class AliasActionFormatter : IJsonFormatter<IAliasAction>
{
private static readonly AutomataD... | Fix bulk alias unit tests | Fix bulk alias unit tests
| C# | apache-2.0 | elastic/elasticsearch-net,elastic/elasticsearch-net |
db09374bd28e9fa172bf18ad08ef0abbbd44fbda | src/Fixie.Tests/Execution/RunnerAppDomainCommunicationTests.cs | src/Fixie.Tests/Execution/RunnerAppDomainCommunicationTests.cs | using Fixie.Execution;
using Fixie.Internal;
namespace Fixie.Tests.Execution
{
public class RunnerAppDomainCommunicationTests
{
public void ShouldAllowRunnersInOtherAppDomainsToProvideTheirOwnListeners()
{
typeof(Listener).ShouldBeSafeAppDomainCommunicationInterface();
}
... | using Fixie.Execution;
using Fixie.Internal;
namespace Fixie.Tests.Execution
{
public class RunnerAppDomainCommunicationTests
{
public void ShouldAllowRunnersInOtherAppDomainsToProvideTheirOwnListeners()
{
typeof(Listener).ShouldBeSafeAppDomainCommunicationInterface();
}
... | Improve test method name for clarity. | Improve test method name for clarity.
| C# | mit | fixie/fixie |
d2804123d18e0aa38234c7d76896b93e45621b22 | src/GeekLearning.Test.Integration/Helpers/AntiForgeryHelper.cs | src/GeekLearning.Test.Integration/Helpers/AntiForgeryHelper.cs | namespace GeekLearning.Test.Integration.Helpers
{
using System;
using System.Net.Http;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
// http://www.stefanhendriks.com/2016/05/11/integration-testing-your-asp-net-core-app-dealing-with-anti-request-forgery-csrf-formdata-and-cooki... | namespace GeekLearning.Test.Integration.Helpers
{
using System;
using System.Net.Http;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
// http://www.stefanhendriks.com/2016/05/11/integration-testing-your-asp-net-core-app-dealing-with-anti-request-forgery-csrf-formdata-and-cooki... | Update anti forgery helper as extension methods | Update anti forgery helper as extension methods
| C# | mit | geeklearningio/Testavior |
9320eff8177d51850e7a49bcfd9840a96a455e48 | src/Avalonia.Xaml.Interactions/Custom/HideOnLostFocusBehavior.cs | src/Avalonia.Xaml.Interactions/Custom/HideOnLostFocusBehavior.cs | using Avalonia.Controls;
using Avalonia.Input;
using Avalonia.Interactivity;
using Avalonia.Xaml.Interactivity;
namespace Avalonia.Xaml.Interactions.Custom;
/// <summary>
/// A behavior that allows to hide control on lost focus event.
/// </summary>
public class HideOnLostFocusBehavior : Behavior<Control>
{
/// ... | using Avalonia.Controls;
using Avalonia.Input;
using Avalonia.Interactivity;
using Avalonia.Xaml.Interactivity;
namespace Avalonia.Xaml.Interactions.Custom;
/// <summary>
/// A behavior that allows to hide control on lost focus event.
/// </summary>
public class HideOnLostFocusBehavior : Behavior<Control>
{
/// ... | Add ResolveByName attribute to TargetControl property | Add ResolveByName attribute to TargetControl property
| C# | mit | wieslawsoltes/AvaloniaBehaviors,wieslawsoltes/AvaloniaBehaviors |
aa9a5f08c24036f65e1fe289307c1906af99f8bd | AsterNET.ARI/Properties/AssemblyInfo.cs | AsterNET.ARI/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("As... | 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("As... | Set new assembly version for release 1.1.0.0 | Set new assembly version for release 1.1.0.0
| C# | mit | seiggy/AsterNET.ARI,skrusty/AsterNET.ARI,skrusty/AsterNET.ARI,skrusty/AsterNET.ARI,seiggy/AsterNET.ARI,seiggy/AsterNET.ARI |
53b58c39c35d1a97c8ab9d8204acb87fd7f6337c | CloudConfVarnaEdition4.0-RestAPI/Controllers/MatchesController.cs | CloudConfVarnaEdition4.0-RestAPI/Controllers/MatchesController.cs | using CloudConfVarnaEdition4._0.Entities;
using CloudConfVarnaEdition4._0.Repositories;
using System.Collections.Generic;
using System.Web.Http;
using System.Web.Http.Cors;
namespace CloudConfVarnaEdition4._0_RestAPI.Controllers
{
[EnableCors(origins: "http://cloudconfvarnamicroservices.azurewebsites.net", header... | using CloudConfVarnaEdition4._0.Entities;
using CloudConfVarnaEdition4._0.Repositories;
using System.Collections.Generic;
using System.Web.Http;
using System.Web.Http.Cors;
namespace CloudConfVarnaEdition4._0_RestAPI.Controllers
{
// Allow CORS for all origins. (Caution!)
[EnableCors(origins: "*", headers: "*... | Enable cors request from everywhere. | Enable cors request from everywhere.
| C# | mit | dimitardanailov/cloud_conf_varna_microservices_rest_api,dimitardanailov/cloud_conf_varna_microservices_rest_api,dimitardanailov/cloud_conf_varna_microservices_rest_api |
1939f7030f75150ee04030215fe5157759b6842c | src/VisualStudio/IntegrationTest/TestUtilities/OutOfProcess/InlineRenameDialog_OutOfProc.cs | src/VisualStudio/IntegrationTest/TestUtilities/OutOfProcess/InlineRenameDialog_OutOfProc.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 Microsoft.CodeAnalysis.Shared.TestHooks;
using Microsoft.VisualStudio.IntegrationTest.Utilities.Input;
namespace Microsoft.VisualStudio.IntegrationTes... | // 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.Editor.Implementation.InlineRename.HighlightTags;
using Microsoft.CodeAnalysis.Shared.TestHooks;
using Microsoft.VisualStudio.In... | Use the new valid rename field tag id in integration tests | Use the new valid rename field tag id in integration tests
| C# | mit | aelij/roslyn,AmadeusW/roslyn,gafter/roslyn,Giftednewt/roslyn,heejaechang/roslyn,jamesqo/roslyn,panopticoncentral/roslyn,robinsedlaczek/roslyn,tvand7093/roslyn,agocke/roslyn,AdamSpeight2008/roslyn-AdamSpeight2008,OmarTawfik/roslyn,mavasani/roslyn,agocke/roslyn,khyperia/roslyn,abock/roslyn,dotnet/roslyn,diryboy/roslyn,Al... |
5cb9dbdf4af177cbcbc8915c2cba780c0d15a285 | Eavesdrop/Internals/NativeMethods.cs | Eavesdrop/Internals/NativeMethods.cs | using System;
using System.Runtime.InteropServices;
namespace Eavesdrop
{
internal static class NativeMethods
{
[DllImport("wininet.dll")]
public static extern bool InternetSetOption(IntPtr hInternet, int dwOption, IntPtr lpBuffer, int dwBufferLength);
}
} | using System;
using System.Runtime.InteropServices;
namespace Eavesdrop
{
internal static class NativeMethods
{
[DllImport("wininet.dll", SetLastError = true, CharSet = CharSet.Auto)]
[return: MarshalAs(UnmanagedType.Bool)]
public static extern bool InternetSetOption(IntPtr hInternet, ... | Make sure there is an error code available | Make sure there is an error code available
| C# | mit | ArachisH/Eavesdrop |
f0cf524cc4a5ffc982e9628a05af47a0c0b0623c | cs/WebSpecs/Support/Hooks.cs | cs/WebSpecs/Support/Hooks.cs | using System.Collections.Generic;
using BoDi;
using Coypu;
using Coypu.Drivers;
using TechTalk.SpecFlow;
namespace WebSpecs.Support
{
[Binding]
public class Hooks
{
private readonly IObjectContainer objectContainer;
private BrowserSession browser;
private readonly List<... | using System.Collections.Generic;
using BoDi;
using Coypu;
using Coypu.Drivers;
using TechTalk.SpecFlow;
namespace WebSpecs.Support
{
[Binding]
public class Hooks
{
private readonly IObjectContainer objectContainer;
private BrowserSession browser;
private readonly List<... | Set default back to Chrome driver. | Set default back to Chrome driver.
| C# | mit | dwhelan/atdd_training,dwhelan/atdd_training |
74bc2db8c9675a0e8367c1420b2d4c246f03b16a | assets/CommonAssemblyInfo.cs | assets/CommonAssemblyInfo.cs | using System.Reflection;
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.1.1.1")]
[assembly: AssemblyInformationalVersion("1.0.0")]
| using System.Reflection;
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.4.204.0")]
[assembly: AssemblyInformationalVersion("1.0.0")]
| Set sink version to match Serilog version. | Set sink version to match Serilog version.
| C# | apache-2.0 | tugberkugurlu/serilog-sinks-mongodb,serilog/serilog-sinks-mongodb |
13612695778ac6b2c6e42302442564efbccfc873 | AudioWorks/src/AudioWorks.Extensibility/Int24.cs | AudioWorks/src/AudioWorks.Extensibility/Int24.cs | /* Copyright © 2018 Jeremy Herbison
This file is part of AudioWorks.
AudioWorks is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public
License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later
version.
Au... | /* Copyright © 2018 Jeremy Herbison
This file is part of AudioWorks.
AudioWorks is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public
License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later
version.
Au... | Correct negative values under arm64 | Correct negative values under arm64
| C# | agpl-3.0 | jherby2k/AudioWorks |
ca5d0d00ee6fa02d7bfe9d8a64b541c72142e4cc | LogParser/Function.cs | LogParser/Function.cs | using System;
using Amazon.CloudWatchLogs;
using Amazon.Lambda.Core;
namespace LogParser {
//--- Classes ---
public class CloudWatchLogsEvent {
//--- Properties ---
public Awslogs awslogs { get; set; }
}
public class Awslogs {
//--- Properties ---
... | using System;
using System.IO;
using System.IO.Compression;
using System.Linq;
using System.Text.RegularExpressions;
using Amazon.CloudWatchLogs;
using Amazon.Lambda.Core;
using LogParser.Model;
using Newtonsoft.Json;
namespace LogParser {
public class Function {
//--- Fields ---
private read... | Read from log stream and use a simple filter | Read from log stream and use a simple filter
| C# | mit | Ailuridaes/solid-doodle,djmlee013/solid-doodle,Ailuridaes/solid-doodle,onema/solid-doodle,onema/solid-doodle,djmlee013/solid-doodle |
6b43c5aa3b32a8f62a52bfdbc405a602aa1327a0 | tests/ServiceStack.Redis.Tests/Support/CustomTypeFactory.cs | tests/ServiceStack.Redis.Tests/Support/CustomTypeFactory.cs | using NUnit.Framework;
using ServiceStack.Common.Tests.Models;
namespace ServiceStack.Redis.Tests.Support
{
public class CustomTypeFactory : ModelFactoryBase<CustomType>
{
public CustomTypeFactory()
{
ModelConfig<CustomType>.Id(x => x.CustomId);
}
public override void AssertIsEqual(CustomType actual, Cus... | using NUnit.Framework;
using ServiceStack.Common.Tests.Models;
namespace ServiceStack.Redis.Tests.Support
{
public class CustomTypeFactory : ModelFactoryBase<CustomType>
{
public CustomTypeFactory()
{
ModelConfig<CustomType>.Id(x => x.CustomId);
}
public override void AssertIsEqual(CustomType actual, Cus... | Fix For Broken Tests For CustomType List | Fix For Broken Tests For CustomType List
| C# | bsd-3-clause | NServiceKit/NServiceKit.Redis,nataren/NServiceKit.Redis,MindTouch/NServiceKit.Redis |
e81f550150438741a9da4ee7e26a7899b9d9b673 | osu.Game.Rulesets.Mania/UI/PoolableHitExplosion.cs | osu.Game.Rulesets.Mania/UI/PoolableHitExplosion.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 disable
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Pooling;
using osu.Game.Rulesets.Judgements;
using osu.Game.... | // 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 osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Pooling;
using osu.Game.Rulesets.Judgements;
using osu.Game.... | Fix hit explosions not being cleaned up correctly when rewinding | Fix hit explosions not being cleaned up correctly when rewinding
| C# | mit | peppy/osu,peppy/osu,peppy/osu,ppy/osu,ppy/osu,ppy/osu |
3d99b89633b622b93a59423f72660d2af57eec01 | osu.Game/Tests/Visual/LegacySkinPlayerTestScene.cs | osu.Game/Tests/Visual/LegacySkinPlayerTestScene.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.IO.Stores;
using osu.Game.Rulesets;
using osu.Game.Skinning;
namespace osu.Game.Tests.Visual
{... | // 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.IO.Stores;
using osu.Game.Rulesets;
using osu.Game.Skinning;
namespace osu.Game.Tests.Visual
{... | Add back actually needed change | Add back actually needed change
*no comment*
| C# | mit | peppy/osu,ppy/osu,peppy/osu-new,smoogipoo/osu,UselessToucan/osu,ppy/osu,UselessToucan/osu,peppy/osu,smoogipooo/osu,smoogipoo/osu,NeoAdonis/osu,ppy/osu,NeoAdonis/osu,NeoAdonis/osu,smoogipoo/osu,UselessToucan/osu,peppy/osu |
316d76d8602a62454c4eb7ad5716e8b49883efcb | src/gitnstats.core/CommitVisitor.cs | src/gitnstats.core/CommitVisitor.cs | using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using LibGit2Sharp;
using static GitNStats.Core.Tooling;
namespace GitNStats.Core
{
/// <summary>
/// Walks the commit graph back to the beginning of time.
/// Guaranteed to only visit a commit once.
/// </summary>
publi... | using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using LibGit2Sharp;
using static GitNStats.Core.Tooling;
namespace GitNStats.Core
{
/// <summary>
/// Walks the commit graph back to the beginning of time.
/// Guaranteed to only visit a commit once.
/// </summary>
publi... | Use new new syntax for initialized fields | Use new new syntax for initialized fields
| C# | mit | rubberduck203/GitNStats,rubberduck203/GitNStats |
ce65f876761d43ad36c1bd3080dd7ccffd702a5b | Rollbar.Net/HasArbitraryKeys.cs | Rollbar.Net/HasArbitraryKeys.cs | using System.Collections.Generic;
namespace Rollbar {
public abstract class HasArbitraryKeys {
protected HasArbitraryKeys(Dictionary<string, object> additionalKeys) {
AdditionalKeys = additionalKeys ?? new Dictionary<string, object>();
}
public abstract void Normalize();
... | using System.Collections;
using System.Collections.Generic;
namespace Rollbar {
public abstract class HasArbitraryKeys : IEnumerable<KeyValuePair<string, object>> {
protected HasArbitraryKeys(Dictionary<string, object> additionalKeys) {
AdditionalKeys = additionalKeys ?? new Dictionary<string, ... | Add indexer, IEnumerable, and Add for easier creation of HasArbitraryKey objects | Add indexer, IEnumerable, and Add for easier creation of HasArbitraryKey objects
| C# | mit | Valetude/Valetude.Rollbar |
5f94faf1df7f33ce979fd91a4c511a118a44a2f1 | AThousandCounts/Views/Count/_Count.cshtml | AThousandCounts/Views/Count/_Count.cshtml | <div class="span7">
<div id="button" class="tile quadro triple-vertical bg-lightPink bg-active-lightBlue" style="padding:10px; text-align: center;">
Your number is... <br /><br />
<span class="COUNT">@(Model)!!!</span><br /><br />
Click this pink square to record a three second video of... | <div class="span7">
<div id="button" class="tile quadro triple-vertical bg-lightPink bg-active-lightBlue" style="padding:10px; text-align: center;">
Your number is... <br /><br />
<span class="COUNT">@(Model)!!!</span><br /><br />
Click this pink square to record a three second video of... | Save ip after recording, check ip on index, version 1.0 | Save ip after recording, check ip on index, version 1.0
| C# | mit | erooijak/athousandcounts,erooijak/athousandcounts,erooijak/athousandcounts |
623099de9cdfa1c4005d43447121dde233e7d313 | PixelPet/Workbench.cs | PixelPet/Workbench.cs | using System;
using System.Collections.Generic;
using System.Drawing;
using System.Drawing.Imaging;
using System.IO;
using System.Linq;
using System.Text;
namespace PixelPet {
/// <summary>
/// PixelPet workbench instance.
/// </summary>
public class Workbench {
public IList<Color> Palette { get; }
public Bit... | using System;
using System.Collections.Generic;
using System.Drawing;
using System.Drawing.Imaging;
using System.IO;
using System.Linq;
using System.Text;
namespace PixelPet {
/// <summary>
/// PixelPet workbench instance.
/// </summary>
public class Workbench {
public IList<Color> Palette { get; }
public Bit... | Fix Clear-Bitmap disposing cleared bitmap too early. | Fix Clear-Bitmap disposing cleared bitmap too early.
| C# | mit | Prof9/PixelPet |
6d6b9d489c0b46ae65dba0d7dd04be8a2d891c9b | Source/Api.Tests/Queue/RedisQueueTests.cs | Source/Api.Tests/Queue/RedisQueueTests.cs | using System;
using Exceptionless.Core;
using Exceptionless.Core.Queues;
using StackExchange.Redis;
namespace Exceptionless.Api.Tests.Queue {
public class RedisQueueTests : InMemoryQueueTests {
private ConnectionMultiplexer _muxer;
protected override IQueue<SimpleWorkItem> GetQueue(int retries, T... | //using System;
//using Exceptionless.Core;
//using Exceptionless.Core.Queues;
//using StackExchange.Redis;
//namespace Exceptionless.Api.Tests.Queue {
// public class RedisQueueTests : InMemoryQueueTests {
// private ConnectionMultiplexer _muxer;
// protected override IQueue<SimpleWorkItem> GetQueu... | Comment out redis queue tests for now. | Comment out redis queue tests for now.
| C# | apache-2.0 | adamzolotarev/Exceptionless,exceptionless/Exceptionless,adamzolotarev/Exceptionless,exceptionless/Exceptionless,exceptionless/Exceptionless,adamzolotarev/Exceptionless,exceptionless/Exceptionless |
8b455d840fd414a6b64bfc32b752420b161d57be | src/Arkivverket.Arkade/Util/ArkadeAutofacModule.cs | src/Arkivverket.Arkade/Util/ArkadeAutofacModule.cs | using Arkivverket.Arkade.Core;
using Arkivverket.Arkade.Identify;
using Autofac;
namespace Arkivverket.Arkade.Util
{
public class ArkadeAutofacModule : Module
{
protected override void Load(ContainerBuilder builder)
{
builder.RegisterType<ArchiveExtractor>().As<IArchiveExtractor>();... | using Arkivverket.Arkade.Core;
using Arkivverket.Arkade.Identify;
using Autofac;
namespace Arkivverket.Arkade.Util
{
public class ArkadeAutofacModule : Module
{
protected override void Load(ContainerBuilder builder)
{
builder.RegisterType<ArchiveExtractor>().As<IArchiveExtractor>();... | Add IArchiveReader to Autofac configuration. | Add IArchiveReader to Autofac configuration.
| C# | agpl-3.0 | arkivverket/arkade5,arkivverket/arkade5,arkivverket/arkade5 |
4d5a80dabf65ce2dea636018fffbeefec5cb35c3 | CasualMeter.Common/Formatters/DamageTrackerFormatter.cs | CasualMeter.Common/Formatters/DamageTrackerFormatter.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using CasualMeter.Common.Helpers;
using Tera.DamageMeter;
namespace CasualMeter.Common.Formatters
{
public class DamageTrackerFormatter : Formatter
{
public DamageTrackerFormatter(Damage... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using CasualMeter.Common.Helpers;
using Tera.DamageMeter;
namespace CasualMeter.Common.Formatters
{
public class DamageTrackerFormatter : Formatter
{
public DamageTrackerFormatter(Damage... | Fix not pasting stats with no boss name available. | Fix not pasting stats with no boss name available.
| C# | mit | Gl0/CasualMeter,lunyx/CasualMeter |
4a89ded6914907573c87b25cb1838eed0a6c7d85 | Project/Api/SystemApiClient.cs | Project/Api/SystemApiClient.cs | using System;
using System.Threading.Tasks;
namespace Kazyx.RemoteApi.System
{
public class SystemApiClient : ApiClient
{
/// <summary>
///
/// </summary>
/// <param name="endpoint">Endpoint URL of system service.</param>
public SystemApiClient(Uri endpoint)
... | using System;
using System.Threading.Tasks;
namespace Kazyx.RemoteApi.System
{
public class SystemApiClient : ApiClient
{
/// <summary>
///
/// </summary>
/// <param name="endpoint">Endpoint URL of system service.</param>
public SystemApiClient(Uri endpoint)
... | Support to specify UTC and offset separately to setCurrentTimeAsync | Support to specify UTC and offset separately to setCurrentTimeAsync
| C# | mit | naotaco/kz-remote-api,jocieldo/kz-remote-api,kazyx/kz-remote-api |
1d5e4eda7ef073781ae98c3a15ee0113b71e5e42 | app/Umbraco/Umbraco.Archetype/Api/ArchetypeDataTypeController.cs | app/Umbraco/Umbraco.Archetype/Api/ArchetypeDataTypeController.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Web.Http;
using AutoMapper;
using Umbraco.Core.Models;
using Umbraco.Web.Models.ContentEditing;
using Umbraco.Web.Models.Mapping;
using Umbraco.Web.Mvc;
using Umbraco.Web.Editors;
namespace Archetype.Umbraco.Api
{
[P... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Web.Http;
using AutoMapper;
using Umbraco.Core.Models;
using Umbraco.Web.Models.ContentEditing;
using Umbraco.Web.Models.Mapping;
using Umbraco.Web.Mvc;
using Umbraco.Web.Editors;
namespace Archetype.Umbraco.Api
{
[P... | Trim down data returned from API | Trim down data returned from API
| C# | mit | kgiszewski/Archetype,tomfulton/Archetype,kjac/Archetype,kgiszewski/Archetype,kipusoep/Archetype,Nicholas-Westby/Archetype,Nicholas-Westby/Archetype,tomfulton/Archetype,kjac/Archetype,kgiszewski/Archetype,imulus/Archetype,tomfulton/Archetype,kjac/Archetype,kipusoep/Archetype,imulus/Archetype,Nicholas-Westby/Archetype,ki... |
3a4b42ba9cd96b3ceaa585297eff41fe91b44871 | src/Couchbase.Lite.Tests.iOS/AppDelegate.cs | src/Couchbase.Lite.Tests.iOS/AppDelegate.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using Foundation;
using UIKit;
using Xunit.Runner;
using Xunit.Runners.UI;
using Xunit.Sdk;
namespace Couchbase.Lite.Tests.iOS
{
// The UIApplicationDelegate for the application. This class is responsibl... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using Foundation;
using UIKit;
using Xunit.Runner;
using Xunit.Runners.UI;
using Xunit.Sdk;
namespace Couchbase.Lite.Tests.iOS
{
// The UIApplicationDelegate for the application. This class is responsibl... | Rollback mistakenly committed commented lines | Rollback mistakenly committed commented lines
| C# | apache-2.0 | couchbase/couchbase-lite-net,couchbase/couchbase-lite-net,couchbase/couchbase-lite-net |
254b273c70ffc5226220be02028bb86e26d09a35 | api/FilterLists.Api/Startup.cs | api/FilterLists.Api/Startup.cs | using FilterLists.Api.DependencyInjection.Extensions;
using FilterLists.Data.DependencyInjection.Extensions;
using FilterLists.Services.DependencyInjection.Extensions;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Dependency... | using FilterLists.Api.DependencyInjection.Extensions;
using FilterLists.Data.DependencyInjection.Extensions;
using FilterLists.Services.DependencyInjection.Extensions;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Dependency... | Revert "revert logging config causing bug" | Revert "revert logging config causing bug"
This reverts commit 9f927daf453041b8955e372506943a2c80c198d9.
| C# | mit | collinbarrett/FilterLists,collinbarrett/FilterLists,collinbarrett/FilterLists,collinbarrett/FilterLists,collinbarrett/FilterLists |
eaf2b1d94df6eb7f02621243e81bb858b5953987 | osu.Game.Rulesets.Mania/Replays/ManiaFramedReplayInputHandler.cs | osu.Game.Rulesets.Mania/Replays/ManiaFramedReplayInputHandler.cs | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System.Collections.Generic;
using System.Linq;
using osu.Framework.Input;
using osu.Game.Rulesets.Mania.UI;
using osu.Game.Rulesets.Replays;
namespace o... | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System.Collections.Generic;
using System.Linq;
using osu.Framework.Input;
using osu.Game.Rulesets.Mania.UI;
using osu.Game.Rulesets.Replays;
namespace o... | Remove line that shouldn't have been added yet | Remove line that shouldn't have been added yet
| C# | mit | peppy/osu-new,DrabWeb/osu,naoey/osu,peppy/osu,ZLima12/osu,johnneijzen/osu,ppy/osu,2yangk23/osu,Frontear/osuKyzer,smoogipoo/osu,UselessToucan/osu,peppy/osu,DrabWeb/osu,naoey/osu,UselessToucan/osu,NeoAdonis/osu,smoogipooo/osu,smoogipoo/osu,NeoAdonis/osu,peppy/osu,EVAST9919/osu,NeoAdonis/osu,ppy/osu,smoogipoo/osu,DrabWeb/... |
8a86640de86f4d07db1b442d398d2caa7470c512 | PackageViewModel/PackageChooser/QueryContextBase.cs | PackageViewModel/PackageChooser/QueryContextBase.cs | using System;
using System.Collections.Generic;
using System.Data.Services.Client;
using System.Linq;
using System.Threading.Tasks;
namespace PackageExplorerViewModel
{
internal abstract class QueryContextBase<T>
{
private int? _totalItemCount;
public int TotalItemCount
{
... | using System;
using System.Collections.Generic;
using System.Data.Services.Client;
using System.Linq;
using System.Threading.Tasks;
namespace PackageExplorerViewModel
{
internal abstract class QueryContextBase<T>
{
private int? _totalItemCount;
public int TotalItemCount
{
... | Fix bug when moving between pages executing on UI thread. | Fix bug when moving between pages executing on UI thread.
| C# | mit | dsplaisted/NuGetPackageExplorer,NuGetPackageExplorer/NuGetPackageExplorer,campersau/NuGetPackageExplorer,NuGetPackageExplorer/NuGetPackageExplorer,BreeeZe/NuGetPackageExplorer |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.