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 |
|---|---|---|---|---|---|---|---|---|---|
e8b3e776b7fb1ce39add2ae6e93821fcfd79bf32 | src/SIM.Telemetry/Properties/AssemblyInfo.cs | src/SIM.Telemetry/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("SIM... | 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("SIM... | Add AssemblyDescription to SIM.Telemetry project | Add AssemblyDescription to SIM.Telemetry project
| C# | mit | Sitecore/Sitecore-Instance-Manager |
726cc21e006428e9ff7dd66b27c9be61056f30b8 | src/Tests/Nest.Tests.Unit/Extensions.cs | src/Tests/Nest.Tests.Unit/Extensions.cs | using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.Linq;
namespace Nest.Tests.Unit
{
public static class JsonExtensions
{
internal static bool JsonEquals(this string json, string otherjson)
{
var nJson = JObject.Parse(json).ToString();
var nOtherJson = JObject.Parse(o... | using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.Linq;
namespace Nest.Tests.Unit
{
public static class JsonExtensions
{
internal static bool JsonEquals(this string json, string otherjson)
{
var nJson = JObject.Parse(json);
var nOtherJson = JObject.Parse(otherjson);
... | Use deep equality rather than string comparison. | Use deep equality rather than string comparison.
This makes the tests a lot less brittle, since they don't
depend on the vagueries of json ordering
| C# | apache-2.0 | CSGOpenSource/elasticsearch-net,geofeedia/elasticsearch-net,UdiBen/elasticsearch-net,LeoYao/elasticsearch-net,robertlyson/elasticsearch-net,abibell/elasticsearch-net,cstlaurent/elasticsearch-net,adam-mccoy/elasticsearch-net,junlapong/elasticsearch-net,robrich/elasticsearch-net,UdiBen/elasticsearch-net,adam-mccoy/elasti... |
54c4b8833369efce0e06228c365b115b07dece7c | MessageBird/Objects/Error.cs | MessageBird/Objects/Error.cs | using Newtonsoft.Json;
namespace MessageBird.Objects
{
public class Error
{
[JsonProperty("code")]
public int Code { get; set; }
[JsonProperty("description")]
public string Description { get; set; }
[JsonProperty("parameter")]
public string Parameter { get; se... | using System.Runtime.Serialization;
using Newtonsoft.Json;
namespace MessageBird.Objects
{
public enum ErrorCode
{
RequestNotAllowed = 2,
MissingParameters = 9,
InvalidParameters = 10,
NotFound = 20,
NotEnoughBalance = 25,
ApiNotFound = 98,
InternalError... | Replace integer error code with enum | Replace integer error code with enum
| C# | isc | messagebird/csharp-rest-api |
c72017a7db4ad00ba2b63d976fca20c5ea9ac583 | osu.Game/Configuration/HUDVisibilityMode.cs | osu.Game/Configuration/HUDVisibilityMode.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.ComponentModel;
namespace osu.Game.Configuration
{
public enum HUDVisibilityMode
{
Never,
[Description("Hide during gameplay")]
... | // 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.ComponentModel;
namespace osu.Game.Configuration
{
public enum HUDVisibilityMode
{
Never,
[Description("Hide during gameplay")]
... | Remove "hide during breaks" option | Remove "hide during breaks" option
Probably wouldn't be used anyway.
| C# | mit | UselessToucan/osu,ppy/osu,ppy/osu,peppy/osu-new,peppy/osu,smoogipoo/osu,UselessToucan/osu,smoogipooo/osu,peppy/osu,NeoAdonis/osu,ppy/osu,NeoAdonis/osu,UselessToucan/osu,NeoAdonis/osu,smoogipoo/osu,smoogipoo/osu,peppy/osu |
958e804f4e6f5fb88f7818916a1a56f9c0c82aa8 | Fitbit.Portable/JsonDotNetSerializerExtensions.cs | Fitbit.Portable/JsonDotNetSerializerExtensions.cs | using System;
using System.Collections.Generic;
using System.Linq;
using Fitbit.Models;
using Newtonsoft.Json.Linq;
namespace Fitbit.Api.Portable
{
internal static class JsonDotNetSerializerExtensions
{
/// <summary>
/// GetFriends has to do some custom manipulation with the returned represent... | using System;
using System.Collections.Generic;
using System.Linq;
using Fitbit.Models;
using Newtonsoft.Json.Linq;
namespace Fitbit.Api.Portable
{
internal static class JsonDotNetSerializerExtensions
{
/// <summary>
/// GetFriends has to do some custom manipulation with the returned represent... | Rename variable to make it read better | Rename variable to make it read better
| C# | mit | amammay/Fitbit.NET,WestDiscGolf/Fitbit.NET,aarondcoleman/Fitbit.NET,AlexGhiondea/Fitbit.NET,amammay/Fitbit.NET,aarondcoleman/Fitbit.NET,AlexGhiondea/Fitbit.NET,WestDiscGolf/Fitbit.NET,amammay/Fitbit.NET,AlexGhiondea/Fitbit.NET,WestDiscGolf/Fitbit.NET,aarondcoleman/Fitbit.NET |
80a63762076446e39aaef1146ef322301bc8ae26 | AmazingCloudSearch/Properties/AssemblyInfo.cs | AmazingCloudSearch/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("CloudSearch")]
[assembly: Assemb... | 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("CloudSearch")]
[assembly: Assemb... | Undo version number bump from personal build | Undo version number bump from personal build
| C# | mit | baylesj/OkayCloudSearch,baylesj/OkayCloudSearch |
9288a468d586e88533ebd380ba0eabe71e90a254 | examples/SetPictures.cs | examples/SetPictures.cs | using System;
using TagLib;
public class SetPictures
{
public static void Main(string [] args)
{
if(args.Length < 2) {
Console.Error.WriteLine("USAGE: mono SetPictures.exe AUDIO_PATH IMAGE_PATH_1[...IMAGE_PATH_N]");
return;
}
TagLib.File file = TagLib.File.C... | using System;
using TagLib;
public class SetPictures
{
public static void Main(string [] args)
{
if(args.Length < 2) {
Console.Error.WriteLine("USAGE: mono SetPictures.exe AUDIO_PATH IMAGE_PATH_1[...IMAGE_PATH_N]");
return;
}
TagLib.File file = TagLib.File.C... | Fix use of obsolete API | Fix use of obsolete API
svn path=/trunk/taglib-sharp/; revision=123925
| C# | lgpl-2.1 | archrival/taglib-sharp,hwahrmann/taglib-sharp,archrival/taglib-sharp,punker76/taglib-sharp,mono/taglib-sharp,CamargoR/taglib-sharp,Clancey/taglib-sharp,punker76/taglib-sharp,Clancey/taglib-sharp,hwahrmann/taglib-sharp,Clancey/taglib-sharp,CamargoR/taglib-sharp |
2eda5bfe536b94162e201d494e8b206038cb7de7 | AxosoftAPI.NET/Interfaces/IWorklogs.cs | AxosoftAPI.NET/Interfaces/IWorklogs.cs | using AxosoftAPI.NET.Core.Interfaces;
using AxosoftAPI.NET.Models;
namespace AxosoftAPI.NET.Interfaces
{
public interface IWorkLogs : IGetAllResource<WorkLog>, ICreateResource<WorkLog>, IDeleteResource<WorkLog>
{
}
}
| using AxosoftAPI.NET.Core.Interfaces;
using AxosoftAPI.NET.Models;
namespace AxosoftAPI.NET.Interfaces
{
public interface IWorkLogs : IResource<WorkLog>
{
}
}
| Support full API available for worklogs | Support full API available for worklogs
Adds ability to update a worklog and retrieve a single worklog as provided for in API: http://developer.axosoft.com/api#!/work_logs | C# | mit | Axosoft/AxosoftAPI.NET |
f1e6a83fdd73c5589772ab9d3fef316853a5cd19 | Source/ue4czmq/ue4czmq.Build.cs | Source/ue4czmq/ue4czmq.Build.cs | // Copyright 2015 Palm Stone Games, Inc. All Rights Reserved.
using System.IO;
namespace UnrealBuildTool.Rules
{
public class ue4czmq : ModuleRules
{
public ue4czmq(TargetInfo Target)
{
// Include paths
//PublicIncludePaths.AddRange(new string[] {});
//PrivateIncludePat... | // Copyright 2015 Palm Stone Games, Inc. All Rights Reserved.
using System.IO;
namespace UnrealBuildTool.Rules
{
public class ue4czmq : ModuleRules
{
public ue4czmq(TargetInfo Target)
{
// Include paths
//PublicIncludePaths.AddRange(new string[] {});
//PrivateIncludePat... | Use a PrivateAdditionalLibrary for czmq.lib instead of a public one | Use a PrivateAdditionalLibrary for czmq.lib instead of a public one
| C# | apache-2.0 | DeltaMMO/ue4czmq,DeltaMMO/ue4czmq |
31c27d73907cae7cd36a4dae0fa919231009dc16 | NBi.Testing/Unit/Xml/XmlManagerTest.cs | NBi.Testing/Unit/Xml/XmlManagerTest.cs | using System;
using NBi.Xml;
using NUnit.Framework;
namespace NBi.Testing.Unit.Xml
{
[TestFixture]
public class XmlManagerTest
{
[Test]
public void Load_ValidFile_Success()
{
var filename = DiskOnFile.CreatePhysicalFile("TestSuite.xml", "NBi.Testing.Unit.Xml... | using System;
using NBi.Xml;
using NUnit.Framework;
namespace NBi.Testing.Unit.Xml
{
[TestFixture]
public class XmlManagerTest
{
[Test]
public void Load_ValidFile_Success()
{
var filename = DiskOnFile.CreatePhysicalFile("TestSuite.xml", "NBi.Testing.Unit.Xml... | Fix failing test for TestContent in test redaction | Fix failing test for TestContent in test redaction
| C# | apache-2.0 | Seddryck/NBi,Seddryck/NBi |
422df765046af985f4bc27119b234be623a14263 | src/Binding/Properties/AssemblyInfo.cs | src/Binding/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using Android.App;
// 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... | using System.Reflection;
using System.Runtime.InteropServices;
using Android;
[assembly: AssemblyTitle("Binding")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("Binding")]
[assembly: AssemblyCopyright("Copyright © 2017")]
[assemb... | Add link safe attribute support | Add link safe attribute support
| C# | apache-2.0 | Plac3hold3r/PH.Wdullaer.Materialdatetimepicker,Plac3hold3r/PH.Wdullaer.Materialdatetimepicker,Plac3hold3r/PH.Wdullaer.Materialdatetimepicker |
519f31ce81bbf886b3d048f42d6b32cdd5a5f739 | poshsecframework/PShell/psfilenameeditor.cs | poshsecframework/PShell/psfilenameeditor.cs | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.Design;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace poshsecframework.PShell
{
class psfilenameeditor : System.Drawing.Design.UITypeEditor
{
public override System.Dr... | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.Design;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace poshsecframework.PShell
{
class psfilenameeditor : System.Drawing.Design.UITypeEditor
{
public override System.Dr... | Allow File to not Exist in FileBrowse | Allow File to not Exist in FileBrowse
| C# | bsd-3-clause | PoshSec/PoshSecFramework |
4bc489bbdd95fb49f095bff9c6566708ad85e7f1 | RuneScapeCacheToolsTests/RuneTek5CacheTests.cs | RuneScapeCacheToolsTests/RuneTek5CacheTests.cs | using System;
using Villermen.RuneScapeCacheTools.Cache;
using Villermen.RuneScapeCacheTools.Cache.RuneTek5;
using Xunit;
using Xunit.Abstractions;
namespace RuneScapeCacheToolsTests
{
public class RuneTek5CacheTests : IDisposable
{
private ITestOutputHelper _output;
private RuneTek5Cache _ca... | using System;
using Villermen.RuneScapeCacheTools.Cache;
using Villermen.RuneScapeCacheTools.Cache.RuneTek5;
using Xunit;
using Xunit.Abstractions;
namespace RuneScapeCacheToolsTests
{
public class RuneTek5CacheTests : IDisposable
{
private readonly ITestOutputHelper _output;
private readonly... | Add some readonly 's to tests | Add some readonly
's to tests
| C# | mit | villermen/runescape-cache-tools,villermen/runescape-cache-tools |
dbeb3f07053c759a2fc17a34a40f86dd93a9f7c1 | src/WtsApi32.Tests/WtsApi32Facts.cs | src/WtsApi32.Tests/WtsApi32Facts.cs | // Copyright (c) to owners found in https://github.com/AArnott/pinvoke/blob/master/COPYRIGHT.md. All rights reserved.
// Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
using System;
using System.Linq;
using PInvoke;
using Xunit;
using Xunit.Abstractions;
using s... | // Copyright (c) to owners found in https://github.com/AArnott/pinvoke/blob/master/COPYRIGHT.md. All rights reserved.
// Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
using System;
using System.Linq;
using PInvoke;
using Xunit;
using Xunit.Abstractions;
using s... | Delete break from the test | Delete break from the test
| C# | mit | vbfox/pinvoke,jmelosegui/pinvoke,AArnott/pinvoke |
023dbd2c17c1b6de00a8a0a0e7b2479a5cbc75d9 | IntervalTimer.cs | IntervalTimer.cs | using System;
using Microsoft.SPOT;
namespace IntervalTimer
{
public delegate void IntervalEventHandler(object sender, EventArgs e);
public class IntervalTimer
{
public TimeSpan ShortDuration { get; set; }
public TimeSpan LongDuration { get; set; }
public IntervalTime... | using System;
using Microsoft.SPOT;
namespace IntervalTimer
{
public delegate void IntervalEventHandler(object sender, IntervalReachedEventArgs e);
public class IntervalTimer
{
public TimeSpan ShortDuration { get; set; }
public TimeSpan LongDuration { get; set; }
publ... | Use IntervalReachedEventArgs instead of EventArgs. | Use IntervalReachedEventArgs instead of EventArgs.
| C# | mit | jcheng31/IntervalTimer |
9796c345b01bbf6b7224720fce030ad748f16e62 | src/platform/toolkit/restql/aspnet/Global.asax.cs | src/platform/toolkit/restql/aspnet/Global.asax.cs | using System;
using System.Web;
using System.Web.Configuration;
using ZMQ;
namespace Nohros.Toolkit.RestQL
{
public class Global : HttpApplication
{
static readonly Context zmq_context_;
#region .ctor
static Global() {
zmq_context_ = new Context(ZMQ.Context.DefaultIOThreads);
... | using System;
using System.Web;
using System.Web.Configuration;
using ZMQ;
namespace Nohros.Toolkit.RestQL
{
public class Global : HttpApplication
{
static readonly Context zmq_context_;
#region .ctor
static Global() {
zmq_context_ = new Context(ZMQ.Context.DefaultIOThreads);
... | Fix a bug that causes the application to not start. This happen because the Start method was not begin called. | Fix a bug that causes the application to not start. This happen because the Start method was not begin called. | C# | mit | nohros/must,nohros/must,nohros/must |
aec4cb0ef5058b6f6e321693a23f5c9860a2f983 | Assets/Resources/Scripts/game/model/Settings.cs | Assets/Resources/Scripts/game/model/Settings.cs | using UnityEngine;
public class Settings {
public static Player
p1 = new RandomAI(null, 1, Color.red, Resources.Load<Sprite>("Sprites/x"), "X"),
p2 = new RandomAI(null, 2, Color.blue, Resources.Load<Sprite>("Sprites/o"), "O");
}
| using UnityEngine;
public class Settings {
public static Player p1 = RandomAI(true), p2 = RandomAI(false);
public static RandomAI RandomAI(bool firstPlayer)
{
int turn = firstPlayer ? 1 : 2;
Color color = firstPlayer ? Color.red : Color.blue;
Sprite sprite =
Resources... | Add RandomAI() method for fast generation of simple random players | Add RandomAI() method for fast generation of simple random players
| C# | mit | Curdflappers/UltimateTicTacToe |
458f9631df0aece3b1122c288bd10ba65baa6614 | A-vs-An/AvsAn-Test/StandardCasesWork.cs | A-vs-An/AvsAn-Test/StandardCasesWork.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using AvsAnLib;
using ExpressionToCodeLib;
using NUnit.Framework;
namespace AvsAn_Test {
public class StandardCasesWork {
[TestCase("an", "unanticipated result")]
[TestCa... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using AvsAnLib;
using ExpressionToCodeLib;
using NUnit.Framework;
namespace AvsAn_Test {
public class StandardCasesWork {
[TestCase("an", "unanticipated result")]
[TestCa... | Add two (currently failing) tests. Hopefully the new wikiextractor will deal with these corner cases (unissued, unilluminating). | Add two (currently failing) tests.
Hopefully the new wikiextractor will deal with these corner cases (unissued, unilluminating).
| C# | apache-2.0 | EamonNerbonne/a-vs-an,EamonNerbonne/a-vs-an,EamonNerbonne/a-vs-an,EamonNerbonne/a-vs-an |
d5bacbbc7bd3e989430cfe01534dd3c531e37ef4 | src/NHasher/HashExtensions.cs | src/NHasher/HashExtensions.cs | namespace NHasher
{
internal static class HashExtensions
{
public static ulong RotateLeft(this ulong original, int bits)
{
return (original << bits) | (original >> (64 - bits));
}
public static uint RotateLeft(this uint original, int bits)
{
retu... | using System.Runtime.CompilerServices;
namespace NHasher
{
internal static class HashExtensions
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static ulong RotateLeft(this ulong original, int bits)
{
return (original << bits) | (original >> (64 - bits));
... | Add AggressiveInlining for Rotate and Get functions | Add AggressiveInlining for Rotate and Get functions
| C# | mit | CDuke/NHasher |
b0a45d73220214e51eea883a1fa1b4dd5b86c0dd | MonkeyTests/MonkeyHelper/Code/Constants.tstest.cs | MonkeyTests/MonkeyHelper/Code/Constants.tstest.cs | using Telerik.TestingFramework.Controls.KendoUI;
using Telerik.WebAii.Controls.Html;
using Telerik.WebAii.Controls.Xaml;
using System;
using System.Collections.Generic;
using System.Text;
using System.Linq;
using ArtOfTest.Common.UnitTesting;
using ArtOfTest.WebAii.Core;
using ArtOfTest.WebAii.Controls.HtmlControls;
u... | using Telerik.TestingFramework.Controls.KendoUI;
using Telerik.WebAii.Controls.Html;
using Telerik.WebAii.Controls.Xaml;
using System;
using System.Collections.Generic;
using System.Text;
using System.Linq;
using ArtOfTest.Common.UnitTesting;
using ArtOfTest.WebAii.Core;
using ArtOfTest.WebAii.Controls.HtmlControls;
u... | Change constants file. Fixed path to MonkeyHelper. | Change constants file. Fixed path to MonkeyHelper.
| C# | mit | VitalyaKvas/MonkeyHelper |
1f226cbeae1919dcc10e8ee522e03ebb9f116fa3 | Bialjam/Assets/Gra/LightManager.cs | Bialjam/Assets/Gra/LightManager.cs | using UnityEngine;
using System.Collections;
public class LightManager {
Material LightOnMaterial;
Material LightOffMaterial;
public bool IsOn = true;
// Use this for initialization
public void UpdateLights() {
GameObject[] allLights = GameObject.FindGameObjectsWithTag ("Light");
foreach (GameObject i in al... | using UnityEngine;
using System.Collections;
public class LightManager {
Material LightOnMaterial;
Material LightOffMaterial;
public bool IsOn = true;
// Use this for initialization
public void UpdateLights() {
bool lightOn = IsOn;
if (!Application.loadedLevelName.StartsWith ("Level"))
lightOn = false;
... | Make lights not appear in menu | Make lights not appear in menu
| C# | cc0-1.0 | BialJam/NieWiemAndrzejuNaprawdeNieWiem |
90f34a4bc06ba02bd2a13e035b540656cc8e2e00 | WalletWasabi.Gui/Behaviors/CommandOnDoubleClickBehavior.cs | WalletWasabi.Gui/Behaviors/CommandOnDoubleClickBehavior.cs | using Avalonia.Controls;
using System.Reactive.Disposables;
namespace WalletWasabi.Gui.Behaviors
{
public class CommandOnDoubleClickBehavior : CommandBasedBehavior<Control>
{
private CompositeDisposable _disposables;
protected override void OnAttached()
{
_disposables = ne... | using Avalonia.Controls;
using System.Reactive.Disposables;
namespace WalletWasabi.Gui.Behaviors
{
public class CommandOnDoubleClickBehavior : CommandBasedBehavior<Control>
{
private CompositeDisposable Disposables { get; set; }
protected override void OnAttached()
{
Disposables = new CompositeDisposable(... | Use property instead of field for CompositeDisposable | Use property instead of field for CompositeDisposable
| C# | mit | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet |
cd51733ae03a3453b2cb8c5af6fce20f776cbc50 | Mond/Libraries/Console/ConsoleOutput.cs | Mond/Libraries/Console/ConsoleOutput.cs | using Mond.Binding;
namespace Mond.Libraries.Console
{
[MondClass("")]
internal class ConsoleOutputClass
{
private ConsoleOutputLibrary _consoleOutput;
public static MondValue Create(ConsoleOutputLibrary consoleOutput)
{
MondValue prototype;
MondClassBinder... | using Mond.Binding;
namespace Mond.Libraries.Console
{
[MondClass("")]
internal class ConsoleOutputClass
{
private ConsoleOutputLibrary _consoleOutput;
public static MondValue Create(ConsoleOutputLibrary consoleOutput)
{
MondValue prototype;
MondClassBinder... | Change printLn to print all values followed by a newline | Change printLn to print all values followed by a newline
| C# | mit | Rohansi/Mond,Rohansi/Mond,SirTony/Mond,Rohansi/Mond,SirTony/Mond,SirTony/Mond |
34dc452221cc5d8fd42d0c6d1a84c0bcf0a0b7f8 | HALClient/Properties/AssemblyInfo.cs | HALClient/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("HA... | 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("HA... | Set the version to a trepidatious 0.5 | Set the version to a trepidatious 0.5
| C# | apache-2.0 | Xerosigma/halclient |
9ae7005681cd81308397716507cb594f66ff6484 | Android/Layout/TabFragment.cs | Android/Layout/TabFragment.cs | using System;
using System.Collections.Generic;
using System.Linq;
using Android.App;
using Android.Content;
using Android.Content.PM;
using Android.Database;
using Android.Graphics;
using Android.OS;
using Android.Runtime;
using Android.Support.Design.Widget;
using Android.Support.V4.Widget;
using Android.Support.V4... | using System;
using System.Collections.Generic;
using System.Linq;
using Android.App;
using Android.Content;
using Android.Content.PM;
using Android.Database;
using Android.Graphics;
using Android.OS;
using Android.Runtime;
using Android.Support.Design.Widget;
using Android.Support.V4.Widget;
using Android.Support.V4... | Use UserVisibilityHint to detect ViewPager change instead of MenuVisibility, this fixes an Exception. | Use UserVisibilityHint to detect ViewPager change instead of MenuVisibility, this fixes an Exception.
| C# | mit | jbatonnet/shared |
7ba0f1c56ae7799036a56c11ef62dc410f993e8b | SimpSim.NET/Registers.cs | SimpSim.NET/Registers.cs | namespace SimpSim.NET
{
public class Registers
{
public delegate void ValueWrittenToOutputRegisterHandler(char output);
public event ValueWrittenToOutputRegisterHandler ValueWrittenToOutputRegister;
private readonly byte[] _array;
public Registers()
{
_arra... | namespace SimpSim.NET
{
public class Registers
{
public delegate void ValueWrittenToOutputRegisterHandler(char output);
public event ValueWrittenToOutputRegisterHandler ValueWrittenToOutputRegister;
private readonly byte[] _array;
public Registers()
{
_arra... | Use null propagation when invoking ValueWrittenToOutputRegister to prevent possible race condition. | Use null propagation when invoking ValueWrittenToOutputRegister to prevent possible race condition.
| C# | mit | ryanjfitz/SimpSim.NET |
3f4ae0b822dbfcd4d86689dbdf0d5e63b5fe30b0 | Utils/Helpers/Strings.cs | Utils/Helpers/Strings.cs | using System;
namespace Utils
{
public static class Strings
{
public static Tuple<string, string> SplitString(this string str, char separator)
{
var index = str.IndexOf(separator);
var str2 = str.Length > index?str.Substring(index + 1):string.Empty;
var str1... | using System;
namespace Utils
{
public static class Strings
{
public static Tuple<string, string> SplitString(this string str, char separator)
{
var index = str.IndexOf(separator);
var str2 = str.Length > index?str.Substring(index + 1):string.Empty;
var str1... | Add Trim string property extension | Add Trim string property extension
to use obj.Trim(x => x.Prop1); | C# | bsd-3-clause | stadub/Net.Utils |
6efc5cc5e25f97095cd11e9524a93a96711b8f87 | ZimmerBot.Core.Tests/BotTests/ContinueTests.cs | ZimmerBot.Core.Tests/BotTests/ContinueTests.cs | using NUnit.Framework;
namespace ZimmerBot.Core.Tests.BotTests
{
[TestFixture]
public class ContinueTests : TestHelper
{
[Test]
public void CanContinueWithEmptyTarget()
{
BuildBot(@"
> Hello
: Hi
! continue
> *
! weight 0.5
: What can I help you with?
");
AssertDialog... | using NUnit.Framework;
namespace ZimmerBot.Core.Tests.BotTests
{
[TestFixture]
public class ContinueTests : TestHelper
{
[Test]
public void CanContinueWithEmptyTarget()
{
BuildBot(@"
> Hello
: Hi
! continue
> *
! weight 0.5
: What can I help you with?
");
AssertDialog... | Add test showing problem with "continue with". | Add test showing problem with "continue with".
| C# | mit | JornWildt/ZimmerBot |
b58afa3eb693c29d74d5aac93f7160f5f35dc639 | osu.Game/Skinning/LegacySkinConfiguration.cs | osu.Game/Skinning/LegacySkinConfiguration.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.
namespace osu.Game.Skinning
{
public class LegacySkinConfiguration : DefaultSkinConfiguration
{
public const decimal LATEST_VERSION = 2.7m;
/// ... | // 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.
namespace osu.Game.Skinning
{
public class LegacySkinConfiguration : DefaultSkinConfiguration
{
public const decimal LATEST_VERSION = 2.7m;
/// ... | Remove unnecessary mentioning in xmldoc | Remove unnecessary mentioning in xmldoc
| C# | mit | ppy/osu,ppy/osu,2yangk23/osu,peppy/osu,UselessToucan/osu,NeoAdonis/osu,johnneijzen/osu,2yangk23/osu,peppy/osu,UselessToucan/osu,UselessToucan/osu,smoogipooo/osu,johnneijzen/osu,NeoAdonis/osu,peppy/osu,peppy/osu-new,EVAST9919/osu,EVAST9919/osu,smoogipoo/osu,smoogipoo/osu,smoogipoo/osu,ppy/osu,NeoAdonis/osu |
3b672b16c5c6a0b7253a4b5ed72f79fcd8cac683 | LaunchNumbering/LNSettings.cs | LaunchNumbering/LNSettings.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace LaunchNumbering
{
public class LNSettings : GameParameters.CustomParameterNode
{
public override GameParameters.GameMode GameMode => GameParameters.GameMode.ANY;
public override bool HasPresets => false;
public o... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace LaunchNumbering
{
public class LNSettings : GameParameters.CustomParameterNode
{
public override GameParameters.GameMode GameMode => GameParameters.GameMode.ANY;
public override bool HasPresets => false;
public o... | Set suitable default settings, in accordance with the prophecy | Set suitable default settings, in accordance with the prophecy
| C# | mit | Damien-The-Unbeliever/KSPLaunchNumbering |
a06135a365155cfb3206d7977a041777ef36dc15 | Assignment2Application/UnitTestProject1/UnitTest1.cs | Assignment2Application/UnitTestProject1/UnitTest1.cs | using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Assignment2Application;
namespace UnitTestProject1
{
[TestClass]
public class UnitTest1
{
FibonacciGenerator _gen = new FibonacciGenerator();
[TestMethod]
public void FibonacciGeneratorBasic()
{
... | using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Assignment2Application;
namespace UnitTestProject1
{
[TestClass]
public class UnitTest1
{
FibonacciGenerator _gen = new FibonacciGenerator();
[TestMethod]
public void FibonacciGeneratorBasic()
{
... | Replace deprecated Equals API by AreEqual | Replace deprecated Equals API by AreEqual
| C# | mit | prifio/Assignment2,vors/Assignment2 |
0b3a8e049280b9d916e641202f2a3d0f63f23009 | Confuser.Core/Project/Patterns/NamespaceFunction.cs | Confuser.Core/Project/Patterns/NamespaceFunction.cs | using System;
using dnlib.DotNet;
namespace Confuser.Core.Project.Patterns {
/// <summary>
/// A function that compare the namespace of definition.
/// </summary>
public class NamespaceFunction : PatternFunction {
internal const string FnName = "namespace";
/// <inheritdoc />
public override string Nam... | using System;
using System.Text.RegularExpressions;
using dnlib.DotNet;
namespace Confuser.Core.Project.Patterns {
/// <summary>
/// A function that compare the namespace of definition.
/// </summary>
public class NamespaceFunction : PatternFunction {
internal const string FnName = "namespace";
/// <inhe... | Use Regex in namespace pattern | Use Regex in namespace pattern
| C# | mit | engdata/ConfuserEx,Desolath/ConfuserEx3,Desolath/Confuserex,yeaicc/ConfuserEx |
8d08686469e98c88d2d4594c32a91dfd5c0f3892 | Tests/Linq/UserTests/Issue1556Tests.cs | Tests/Linq/UserTests/Issue1556Tests.cs | using System;
using System.Linq;
using LinqToDB;
using NUnit.Framework;
namespace Tests.UserTests
{
[TestFixture]
public class Issue1556Tests : TestBase
{
[Test]
public void Issue1556Test([DataSources(ProviderName.Sybase, ProviderName.OracleNative)] string context)
{
using (var db = GetDataContext(conte... | using System;
using System.Linq;
using LinqToDB;
using NUnit.Framework;
namespace Tests.UserTests
{
[TestFixture]
public class Issue1556Tests : TestBase
{
[Test]
public void Issue1556Test(
[DataSources(ProviderName.Sybase, ProviderName.OracleNative, ProviderName.Access)] string context)
{
using (var ... | Access dos not support such join syntax. | Access dos not support such join syntax.
| C# | mit | ronnyek/linq2db,LinqToDB4iSeries/linq2db,MaceWindu/linq2db,linq2db/linq2db,LinqToDB4iSeries/linq2db,MaceWindu/linq2db,linq2db/linq2db |
74695653ca025d96fdffa6a781866f7a845dc0ba | InfinniPlatform.SystemConfig/Metadata/MetadataUniqueName.cs | InfinniPlatform.SystemConfig/Metadata/MetadataUniqueName.cs | using System;
using System.Collections.Generic;
using System.Linq;
namespace InfinniPlatform.Core.Metadata
{
public class MetadataUniqueName : IEquatable<MetadataUniqueName>
{
private const char NamespaceSeparator = '.';
public MetadataUniqueName(string ns, string name)
{
... | using System;
using System.Collections.Generic;
using System.Linq;
namespace InfinniPlatform.Core.Metadata
{
public class MetadataUniqueName : IEquatable<MetadataUniqueName>
{
private const char NamespaceSeparator = '.';
public MetadataUniqueName(string ns, string name)
{
... | Fix metadata cache case dependency | Fix metadata cache case dependency
| C# | agpl-3.0 | InfinniPlatform/InfinniPlatform,InfinniPlatform/InfinniPlatform,InfinniPlatform/InfinniPlatform |
15f8146d861d72527b310ebe78141f659569cba9 | src/GraphQL/Execution/AntlrDocumentBuilder.cs | src/GraphQL/Execution/AntlrDocumentBuilder.cs | using System.IO;
using System.Text;
using Antlr4.Runtime;
using GraphQL.Language;
using GraphQL.Parsing;
namespace GraphQL.Execution
{
public class AntlrDocumentBuilder : IDocumentBuilder
{
public Document Build(string data)
{
var stream = new MemoryStream(Encoding.UTF8.GetBytes(dat... | using System.IO;
using System.Text;
using Antlr4.Runtime;
using GraphQL.Language;
using GraphQL.Parsing;
namespace GraphQL.Execution
{
public class AntlrDocumentBuilder : IDocumentBuilder
{
public Document Build(string data)
{
using (var stream = new MemoryStream(Encoding.UTF8.GetBy... | Clean up stream after use. | Clean up stream after use.
| C# | mit | teamsmileyface/graphql-dotnet,joemcbride/graphql-dotnet,alexmcmillan/graphql-dotnet,plecong/graphql-dotnet,scmccart/graphql-dotnet,dNetGuru/graphql-dotnet,graphql-dotnet/graphql-dotnet,teamsmileyface/graphql-dotnet,kthompson/graphql-dotnet,plecong/graphql-dotnet,kthompson/graphql-dotnet,joemcbride/graphql-dotnet,alexmc... |
160b8050084d36f1af021d0fb43763a5274f30b8 | MonitoringDemoHost/ChaosHandler.cs | MonitoringDemoHost/ChaosHandler.cs | using System;
using System.Threading.Tasks;
using NServiceBus;
using NServiceBus.Logging;
class ChaosHandler : IHandleMessages<object>
{
readonly ILog Log = LogManager.GetLogger<ChaosHandler>();
readonly double Thresshold = ThreadLocalRandom.NextDouble() * 0.50;
public Task Handle(object message, IMessage... | using System;
using System.Threading.Tasks;
using NServiceBus;
using NServiceBus.Logging;
class ChaosHandler : IHandleMessages<object>
{
readonly ILog Log = LogManager.GetLogger<ChaosHandler>();
readonly double Thresshold = ThreadLocalRandom.NextDouble() * 0.05;
public Task Handle(object message... | Set failure rate to max 5% | Set failure rate to max 5%
| C# | mit | ramonsmits/NServiceBus.MonitoringDemoHost |
a9c645bdd53c90f61b6f86855dd7e1bbb004b87b | PhotoLife/PhotoLife.Services/CategoryService.cs | PhotoLife/PhotoLife.Services/CategoryService.cs | using System;
using System.Collections.Generic;
using System.Linq;
using PhotoLife.Data.Contracts;
using PhotoLife.Models;
using PhotoLife.Models.Enums;
using PhotoLife.Services.Contracts;
namespace PhotoLife.Services
{
public class CategoryService : ICategoryService
{
private readonly IRepository<Cat... | using System;
using System.Collections.Generic;
using System.Linq;
using PhotoLife.Data.Contracts;
using PhotoLife.Models;
using PhotoLife.Models.Enums;
using PhotoLife.Services.Contracts;
namespace PhotoLife.Services
{
public class CategoryService : ICategoryService
{
private readonly IRepository<Cat... | Change throw exception due to appharbor build | Change throw exception due to appharbor build
| C# | mit | Branimir123/PhotoLife,Branimir123/PhotoLife,Branimir123/PhotoLife |
92ec14bbb15ddc7e3d7b85a3e151fdcf6914d5ce | src/SyncTrayzor/SyncThing/ApiClient/GenericEvent.cs | src/SyncTrayzor/SyncThing/ApiClient/GenericEvent.cs | namespace SyncTrayzor.SyncThing.ApiClient
{
public class GenericEvent : Event
{
public override void Visit(IEventVisitor visitor)
{
visitor.Accept(this);
}
public override string ToString()
{
return $"<GenericEvent ID={this.Id} Type={this.Type} T... | using System;
using System.Collections.Generic;
using System.Linq;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
namespace SyncTrayzor.SyncThing.ApiClient
{
public class GenericEvent : Event
{
public override void Visit(IEventVisitor visitor)
{
visitor.Accept(this);
}
... | Print 'data' fields for generic events | Print 'data' fields for generic events
| C# | mit | canton7/SyncTrayzor,canton7/SyncTrayzor,canton7/SyncTrayzor |
82947e5ba57be81bdb43bce864fa1222567f88af | tests/LineBot.Tests/TestHelpers/TestConfiguration.cs | tests/LineBot.Tests/TestHelpers/TestConfiguration.cs | // Copyright 2017-2018 Dirk Lemstra (https://github.com/dlemstra/line-bot-sdk-dotnet)
//
// Dirk Lemstra licenses this file to you under the Apache License,
// version 2.0 (the "License"); you may not use this file except in compliance
// with the License. You may obtain a copy of the License at:
//
// https://www.a... | // Copyright 2017-2018 Dirk Lemstra (https://github.com/dlemstra/line-bot-sdk-dotnet)
//
// Dirk Lemstra licenses this file to you under the Apache License,
// version 2.0 (the "License"); you may not use this file except in compliance
// with the License. You may obtain a copy of the License at:
//
// https://www.a... | Use EmptyLineBotLogger in unit tests. | Use EmptyLineBotLogger in unit tests.
| C# | apache-2.0 | dlemstra/line-bot-sdk-dotnet,dlemstra/line-bot-sdk-dotnet |
63c4f231e4512f2861f6fd9c2fc84656f5007833 | src/NRules/NRules.RuleModel/ExpressionMap.cs | src/NRules/NRules.RuleModel/ExpressionMap.cs | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
namespace NRules.RuleModel
{
/// <summary>
/// Sorted readonly map of named expressions.
/// </summary>
public class ExpressionMap : IEnumerable<NamedExpressionElement>
{
private readonly SortedDict... | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
namespace NRules.RuleModel
{
/// <summary>
/// Sorted readonly map of named expressions.
/// </summary>
public class ExpressionMap : IEnumerable<NamedExpressionElement>
{
private readonly SortedDict... | Add Find method to expression map | Add Find method to expression map
| C# | mit | NRules/NRules |
45db485f5535dac46196accb0200d0c3d66f4057 | AspectInjector.Task/AspectInjectorBuildTask.cs | AspectInjector.Task/AspectInjectorBuildTask.cs | using Microsoft.Build.Framework;
using Microsoft.Build.Utilities;
using Mono.Cecil;
using System;
using System.IO;
namespace AspectInjector.BuildTask
{
public class AspectInjectorBuildTask : Task
{
[Required]
public string Assembly { get; set; }
[Required]
public... | using Microsoft.Build.Framework;
using Microsoft.Build.Utilities;
using Mono.Cecil;
using System;
using System.IO;
namespace AspectInjector.BuildTask
{
public class AspectInjectorBuildTask : Task
{
[Required]
public string Assembly { get; set; }
[Required]
public... | Support debugging of modified assemblies | Support debugging of modified assemblies
| C# | apache-2.0 | pamidur/aspect-injector |
eed86d933f53456ce0d54f8ecd01ce56255051bb | AllReadyApp/Web-App/AllReady/Models/Activity.cs | AllReadyApp/Web-App/AllReady/Models/Activity.cs | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace AllReady.Models
{
public class Activity
{
public Activity()
{
Tasks = new List<AllReadyTask>();
UsersSignedUp = new... | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace AllReady.Models
{
public class Activity
{
public int Id { get; set; }
[Display(Name = "Tenant")]
public int TenantId { get; set; }... | Use propert initializers instead of constructor | Use propert initializers instead of constructor
| C# | mit | joelhulen/allReady,mheggeseth/allReady,jonatwabash/allReady,kmlewis/allReady,mheggeseth/allReady,BarryBurke/allReady,stevejgordon/allReady,SteveStrong/allReady,anobleperson/allReady,auroraocciduusadmin/allReady,JowenMei/allReady,BillWagner/allReady,HTBox/allReady,timstarbuck/allReady,dangle1/allReady,shawnwildermuth/al... |
e0c2e75290583de1fa60046d026c33b3533e7da4 | SqlServerHelpers/ExtensionMethods/SqlConnectionExtensions.cs | SqlServerHelpers/ExtensionMethods/SqlConnectionExtensions.cs | /*
* SqlServerHelpers
* SqlConnectionExtensions - Extension methods for SqlConnection
* Authors:
* Josh Keegan 26/05/2015
*/
using System;
using System.Collections.Generic;
using System.Data.SqlClient;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SqlServerHelpers.ExtensionMeth... | /*
* SqlServerHelpers
* SqlConnectionExtensions - Extension methods for SqlConnection
* Authors:
* Josh Keegan 26/05/2015
*/
using System;
using System.Collections.Generic;
using System.Data.SqlClient;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SqlServerHelpers.ExtensionMeth... | Allow non-default Command Settings to be passed to GetSqlCommand() | Allow non-default Command Settings to be passed to GetSqlCommand()
| C# | mit | JoshKeegan/SqlServerHelpers |
18a17c57370e8cb9fc7ef481845554909275437e | com.unity.formats.alembic/Tests/Editor/EditorTests.cs | com.unity.formats.alembic/Tests/Editor/EditorTests.cs | using NUnit.Framework;
using UnityEngine.Formats.Alembic.Sdk;
namespace UnityEditor.Formats.Alembic.Exporter.UnitTests
{
class EditorTests
{
[Test]
public void MarshalTests()
{
Assert.AreEqual(72,System.Runtime.InteropServices.Marshal.SizeOf(typeof(aePolyMeshData)));
... | using NUnit.Framework;
using UnityEngine.Formats.Alembic.Sdk;
namespace UnityEditor.Formats.Alembic.Exporter.UnitTests
{
class EditorTests
{
[Test]
public void MarshalTests()
{
Assert.AreEqual(72,System.Runtime.InteropServices.Marshal.SizeOf(typeof(aePolyMeshData)));
... | Add whitespace on test file | Add whitespace on test file
| C# | mit | unity3d-jp/AlembicImporter,unity3d-jp/AlembicImporter,unity3d-jp/AlembicImporter |
b426019f06aed516c82697d1996aedf6d2dfd01f | TFG/Logic/SintromLogic.cs | TFG/Logic/SintromLogic.cs | using System;
using System.Collections.Generic;
using System.Text;
using TFG.Model;
namespace TFG.Logic {
public class SintromLogic {
private static SintromLogic _instance;
public static SintromLogic Instance() {
if (_instance == null) {
_instance = new SintromLogic(... | using System;
using System.Collections.Generic;
using System.Text;
using TFG.Model;
namespace TFG.Logic {
public class SintromLogic {
private static SintromLogic _instance;
public static SintromLogic Instance() {
if (_instance == null) {
_instance = new SintromLogic(... | Set notification for sintrom control days | Set notification for sintrom control days
| C# | mit | AlbertoMoreta/Dr.Handy |
22029a122b1614eb55abf395d3ae3de367b67d28 | LazyStorage/Properties/AssemblyInfo.cs | LazyStorage/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("Laz... | 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("Laz... | Remove version attributes from assembly info | Remove version attributes from assembly info
GitVersion MsBuild task wil fail if they are present
| C# | mit | TheEadie/LazyLibrary,TheEadie/LazyStorage,TheEadie/LazyStorage |
205f2c27e16d076c204c1a5d3ae59ce778c80b27 | VersionInfo.cs | VersionInfo.cs | /*
* ******************************************************************************
* Copyright 2014 Spectra Logic Corporation. All Rights Reserved.
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use
* this file except in compliance with the License. A copy of the License is loc... | /*
* ******************************************************************************
* Copyright 2014 Spectra Logic Corporation. All Rights Reserved.
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use
* this file except in compliance with the License. A copy of the License is loc... | Change version number to 1.2.1 | Change version number to 1.2.1
| C# | apache-2.0 | SpectraLogic/ds3_net_sdk,RachelTucker/ds3_net_sdk,RachelTucker/ds3_net_sdk,rpmoore/ds3_net_sdk,shabtaisharon/ds3_net_sdk,rpmoore/ds3_net_sdk,SpectraLogic/ds3_net_sdk,SpectraLogic/ds3_net_sdk,shabtaisharon/ds3_net_sdk,RachelTucker/ds3_net_sdk,shabtaisharon/ds3_net_sdk,rpmoore/ds3_net_sdk |
67de54908a7eefe93cd7f2b72db43c8f95cf64f6 | SRPTests/TestRenderer/TestWorkspace.cs | SRPTests/TestRenderer/TestWorkspace.cs | using SRPCommon.Interfaces;
using SRPCommon.Util;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SRPTests.TestRenderer
{
// Implementation of IWorkspace that finds test files.
class TestWorkspace : IWorkspace
{
privat... | using SRPCommon.Interfaces;
using SRPCommon.Util;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SRPTests.TestRenderer
{
// Implementation of IWorkspace that finds test files.
class TestWorkspace : IWorkspace
{
privat... | Test filenames are case insensitive too. | Test filenames are case insensitive too.
| C# | mit | simontaylor81/Syrup,simontaylor81/Syrup |
d641726c6f3a971c4d1f301ad3d54f992d411c72 | src/AppHarbor/CompressionExtensions.cs | src/AppHarbor/CompressionExtensions.cs | using System.Collections.Generic;
using System.IO;
using System.Linq;
using ICSharpCode.SharpZipLib.Tar;
namespace AppHarbor
{
public static class CompressionExtensions
{
public static void ToTar(this DirectoryInfo sourceDirectory, Stream output, string[] excludedDirectoryNames)
{
var archive = TarArchive.Cr... | using System.Collections.Generic;
using System.IO;
using System.Linq;
using ICSharpCode.SharpZipLib.Tar;
namespace AppHarbor
{
public static class CompressionExtensions
{
public static void ToTar(this DirectoryInfo sourceDirectory, Stream output, string[] excludedDirectoryNames)
{
var archive = TarArchive.Cr... | Fix bug in file selection | Fix bug in file selection
| C# | mit | appharbor/appharbor-cli |
8f0b9cac635b39ccd8a56be19da0ae38f7290c77 | src/IO/DataReaderFactoryFactory.cs | src/IO/DataReaderFactoryFactory.cs | // dnlib: See LICENSE.txt for more info
using System;
using System.IO;
namespace dnlib.IO {
static class DataReaderFactoryFactory {
static readonly bool isUnix;
static DataReaderFactoryFactory() {
// See http://mono-project.com/FAQ:_Technical#Mono_Platforms for platform detection.
int p = (int)Environment... | // dnlib: See LICENSE.txt for more info
using System;
using System.IO;
using System.Runtime.InteropServices;
namespace dnlib.IO {
static class DataReaderFactoryFactory {
static readonly bool isUnix;
static DataReaderFactoryFactory() {
// See http://mono-project.com/FAQ:_Technical#Mono_Platforms for platform ... | Use RuntimeInformation class to check environment. | Use RuntimeInformation class to check environment.
| C# | mit | 0xd4d/dnlib |
33d2e2e3bbd763b7769558eea0090bccf177c6ff | Hosting/HttpHandlerExtensions.cs | Hosting/HttpHandlerExtensions.cs | using System.Web;
using System.Web.Routing;
namespace ConsolR.Hosting
{
public static class HttpHandlerExtensions
{
public static void MapHttpHandler<THandler>(this RouteCollection routes, string url) where THandler : IHttpHandler, new()
{
routes.MapHttpHandler<THandler>(null, url, null, null);
}
public... | using System.Web;
using System.Web.Routing;
namespace ConsolR.Hosting
{
public static class HttpHandlerExtensions
{
public static void MapHttpHandler<THandler>(this RouteCollection routes, string url) where THandler : IHttpHandler, new()
{
routes.MapHttpHandler<THandler>(null, url, null, null);
}
public... | Fix bug in http handler constraints | Fix bug in http handler constraints
| C# | mit | appharbor/ConsolR,appharbor/ConsolR |
e58b206e97ae9ed9738003d0b9fb7d97a076d24e | src/RazorLight/Templating/PageLookupResult.cs | src/RazorLight/Templating/PageLookupResult.cs | using System.Collections.Generic;
namespace RazorLight.Templating
{
public class PageLookupResult
{
public PageLookupResult()
{
this.Success = false;
}
public PageLookupResult(PageLookupItem item, IReadOnlyList<PageLookupItem> viewStartEntries)
{
this.ViewEntry = item;
... | using System.Collections.Generic;
namespace RazorLight.Templating
{
public class PageLookupResult
{
public static PageLookupResult Failed => new PageLookupResult();
private PageLookupResult()
{
this.Success = false;
}
public PageLookupResult(PageLookupItem item, IReadOnlyLi... | Replace default constructor with failed property on PageProvider | Replace default constructor with failed property on PageProvider
| C# | apache-2.0 | toddams/RazorLight,toddams/RazorLight,gr8woo/RazorLight,gr8woo/RazorLight |
16fd350abf84d87de8d668eb474c55d6b9339502 | src/StructuredLogger/ObjectModel/TimedNode.cs | src/StructuredLogger/ObjectModel/TimedNode.cs | using System;
namespace Microsoft.Build.Logging.StructuredLogger
{
public class TimedNode : NamedNode
{
public int Id { get; set; }
public int NodeId { get; set; }
/// <summary>
/// Unique index of the node in the build tree, can be used as a
/// "URL" to n... | using System;
namespace Microsoft.Build.Logging.StructuredLogger
{
public class TimedNode : NamedNode
{
/// <summary>
/// The Id of a Project, ProjectEvaluation, Target and Task.
/// Corresponds to ProjectStartedEventsArgs.ProjectId, TargetStartedEventArgs.TargetId, etc.
... | Add XML doc comments on Id and NodeId | Add XML doc comments on Id and NodeId
| C# | mit | KirillOsenkov/MSBuildStructuredLog,KirillOsenkov/MSBuildStructuredLog |
b593c478096b8919aa7078d5e9607e039c7f72ae | osu.Game/Overlays/Settings/Sections/Debug/GeneralSettings.cs | osu.Game/Overlays/Settings/Sections/Debug/GeneralSettings.cs | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using osu.Framework.Allocation;
using osu.Framework.Configuration;
using osu.Framework.Graphics;
namespace osu.Game.Overlays.Settings.Sections.Debug
{
pub... | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using osu.Framework.Allocation;
using osu.Framework.Configuration;
using osu.Framework.Graphics;
namespace osu.Game.Overlays.Settings.Sections.Debug
{
pub... | Add setting to toggle performance logging | Add setting to toggle performance logging
| C# | mit | peppy/osu,NeoAdonis/osu,NeoAdonis/osu,naoey/osu,ZLima12/osu,ppy/osu,johnneijzen/osu,smoogipoo/osu,smoogipoo/osu,johnneijzen/osu,DrabWeb/osu,Nabile-Rahmani/osu,EVAST9919/osu,EVAST9919/osu,peppy/osu,UselessToucan/osu,NeoAdonis/osu,Frontear/osuKyzer,DrabWeb/osu,naoey/osu,peppy/osu,ppy/osu,2yangk23/osu,UselessToucan/osu,ZL... |
33e765f8f5c4fd9be839ab0fee418d4c62be1bef | src/Discord.Net.Rest/API/Common/Embed.cs | src/Discord.Net.Rest/API/Common/Embed.cs | #pragma warning disable CS1591
using System;
using Newtonsoft.Json;
namespace Discord.API
{
internal class Embed
{
[JsonProperty("title")]
public string Title { get; set; }
[JsonProperty("description")]
public string Description { get; set; }
[JsonProperty("url")]
... | #pragma warning disable CS1591
using System;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
namespace Discord.API
{
internal class Embed
{
[JsonProperty("title")]
public string Title { get; set; }
[JsonProperty("description")]
public string Description { get; set; }
... | Use StringEnum converter in API model | Use StringEnum converter in API model
| C# | mit | AntiTcb/Discord.Net,Confruggy/Discord.Net,RogueException/Discord.Net |
e6775f87d932f4aad80502ea8dda86d7c5d23b56 | src/MakingSense.AspNet.HypermediaApi.Seed/Startup.cs | src/MakingSense.AspNet.HypermediaApi.Seed/Startup.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNet.Builder;
using Microsoft.AspNet.Http;
using Microsoft.Framework.DependencyInjection;
using Microsoft.AspNet.FileProviders;
using Microsoft.Dnx.Runtime;
using MakingSense.AspNet.Documentation... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNet.Builder;
using Microsoft.AspNet.Http;
using Microsoft.Framework.DependencyInjection;
using Microsoft.AspNet.FileProviders;
using Microsoft.Dnx.Runtime;
using MakingSense.AspNet.Documentation... | Add NotFound and ErrorHandling middlewares | Add NotFound and ErrorHandling middlewares
Along with MVC middleware because it is required.
This closes #7 and closes #8
| C# | mit | MakingSense/aspnet-hypermedia-api-seed,MakingSense/aspnet-hypermedia-api-seed |
33798a34c787370e5ee6932e630f9835782171af | CupCake.Server/Muffins/LogMuffin.cs | CupCake.Server/Muffins/LogMuffin.cs | using CupCake.Core.Log;
using CupCake.Messages.Receive;
using CupCake.Players;
namespace CupCake.Server.Muffins
{
public class LogMuffin : CupCakeMuffin
{
protected override void Enable()
{
this.Events.Bind<SayPlayerEvent>(this.OnSay);
this.Events.Bind<WriteReceiveEvent... | using CupCake.Core.Log;
using CupCake.Messages.Receive;
using CupCake.Players;
namespace CupCake.Server.Muffins
{
public class LogMuffin : CupCakeMuffin
{
protected override void Enable()
{
this.Events.Bind<SayPlayerEvent>(this.OnSay);
this.Events.Bind<WriteReceiveEvent... | Make info messages look better | Make info messages look better
| C# | mit | Yonom/CupCake |
f5fd81f104e95f0672c36f52b88959f6a6d015e7 | Assets/SourceCode/MainRoomSelector.cs | Assets/SourceCode/MainRoomSelector.cs | using UnityEngine;
using System.Collections.Generic;
using System;
[RequireComponent(typeof(RoomGenerator))]
public class MainRoomSelector : MonoBehaviour {
public float aboveMeanWidthFactor = 1.25f;
public float aboveMeanLengthFactor = 1.25f;
[HideInInspector]
public List<Room> mainRooms;
[HideInInspector]
p... | using UnityEngine;
using System.Collections.Generic;
using System;
[RequireComponent(typeof(RoomGenerator))]
public class MainRoomSelector : MonoBehaviour {
public float aboveMeanWidthFactor = 1.25f;
public float aboveMeanLengthFactor = 1.25f;
[HideInInspector]
public List<Room> mainRooms;
[HideInInspector]
p... | Reset list of main and side rooms on every selection | Reset list of main and side rooms on every selection
| C# | mit | Saduras/DungeonGenerator |
6f02bed78375c49bcad27d574f997581876239fc | Mollie.Api/Models/Order/Request/OrderRefundRequest.cs | Mollie.Api/Models/Order/Request/OrderRefundRequest.cs | using System.Collections.Generic;
namespace Mollie.Api.Models.Order {
public class OrderRefundRequest {
/// <summary>
/// An array of objects containing the order line details you want to create a refund for. If you send
/// an empty array, the entire order will be refunded.
/// </... | using System.Collections.Generic;
namespace Mollie.Api.Models.Order {
public class OrderRefundRequest {
/// <summary>
/// An array of objects containing the order line details you want to create a refund for. If you send
/// an empty array, the entire order will be refunded.
/// </... | Fix for Order Lines in Order Refund | Fix for Order Lines in Order Refund
| C# | mit | Viincenttt/MollieApi,Viincenttt/MollieApi |
366133a2001270fdf692e79bb3ae4969b44f3323 | Examples/TraktApiSharp.Example.UWP/App.xaml.cs | Examples/TraktApiSharp.Example.UWP/App.xaml.cs | namespace TraktApiSharp.Example.UWP
{
using Services.SettingsServices;
using System.Threading.Tasks;
using Template10.Controls;
using Windows.ApplicationModel.Activation;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Data;
[Bindable]
sealed partial class App : Template10.Common.BootStrap... | namespace TraktApiSharp.Example.UWP
{
using Services.SettingsServices;
using Services.TraktService;
using System.Threading.Tasks;
using Template10.Controls;
using Windows.ApplicationModel;
using Windows.ApplicationModel.Activation;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Data;
... | Save authorization information, when app is suspended. | Save authorization information, when app is suspended.
| C# | mit | henrikfroehling/TraktApiSharp |
dece1de8448f35ba1da0432346bd39891238115d | CefSharp/IRequest.cs | CefSharp/IRequest.cs | // Copyright © 2010-2014 The CefSharp Authors. All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
using System.Collections.Specialized;
namespace CefSharp
{
public interface IRequest
{
string Url { get; set; }
string Me... | // Copyright © 2010-2014 The CefSharp Authors. All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
using System.Collections.Specialized;
namespace CefSharp
{
public interface IRequest
{
string Url { get; set; }
string Me... | Add xml comment to TransitionType | Add xml comment to TransitionType
| C# | bsd-3-clause | Haraguroicha/CefSharp,ITGlobal/CefSharp,NumbersInternational/CefSharp,battewr/CefSharp,windygu/CefSharp,jamespearce2006/CefSharp,rover886/CefSharp,Octopus-ITSM/CefSharp,ITGlobal/CefSharp,zhangjingpu/CefSharp,haozhouxu/CefSharp,AJDev77/CefSharp,jamespearce2006/CefSharp,joshvera/CefSharp,yoder/CefSharp,rover886/CefSharp,... |
c6eca5afe2dbc12d3a5a6046500f88bd8ccb3376 | src/live.asp.net/Controllers/HomeController.cs | src/live.asp.net/Controllers/HomeController.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using live.asp.net.Data;
using live.asp.net.Services;
using live.asp.net.ViewModels;
using Microsoft.AspNet.Authorization;
using Microsoft.AspNet.Mvc;
using Microsoft.Data.Entity;
namespace live.asp.net.Controllers
{
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using live.asp.net.Data;
using live.asp.net.Services;
using live.asp.net.ViewModels;
using Microsoft.AspNet.Authorization;
using Microsoft.AspNet.Mvc;
using Microsoft.Data.Entity;
namespace live.asp.net.Controllers
{
... | Fix home page next show time | Fix home page next show time
| C# | mit | reactiveui/website,M-Zuber/live.asp.net,pakrym/kudutest,peterblazejewicz/live.asp.net,aspnet/live.asp.net,Janisku7/live.asp.net,pakrym/kudutest,aspnet/live.asp.net,TimMurphy/live.asp.net,hanu412/live.asp.net,M-Zuber/live.asp.net,SaarCohen/live.asp.net,peterblazejewicz/live.asp.net,SaarCohen/live.asp.net,reactiveui/webs... |
2220f3fe007a07170a487ec4916e85ef8d252590 | T4TS.Tests/Output/MemberOutputAppenderTests.cs | T4TS.Tests/Output/MemberOutputAppenderTests.cs | using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace T4TS.Tests
{
[TestClass]
public class MemberOutputAppenderTests
{
[TestMethod]
public void MemberOutputAppenderR... | using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace T4TS.Tests
{
[TestClass]
public class MemberOutputAppenderTests
{
[TestMethod]
public void TypescriptVersion083Y... | Split MemberOutputTests to separate asserts | Split MemberOutputTests to separate asserts
| C# | apache-2.0 | bazubii/t4ts,AkosLukacs/t4ts,AkosLukacs/t4ts,bazubii/t4ts,dolly22/t4ts,cskeppstedt/t4ts,cskeppstedt/t4ts,dolly22/t4ts |
482b52e6cc2aad897fabf3a6ee032f8202009a64 | TestMoya.Runner/Runners/TimerDecoratorTests.cs | TestMoya.Runner/Runners/TimerDecoratorTests.cs | namespace TestMoya.Runner.Runners
{
using System;
using System.Reflection;
using System.Threading;
using Moq;
using Moya.Models;
using Moya.Runner.Runners;
using Xunit;
public class TimerDecoratorTests
{
private readonly Mock<ITestRunner> testRunnerMock;
private rea... | namespace TestMoya.Runner.Runners
{
using System;
using System.Reflection;
using Moq;
using Moya.Attributes;
using Moya.Models;
using Moya.Runner.Runners;
using Xunit;
public class TimerDecoratorTests
{
private readonly Mock<ITestRunner> testRunnerMock;
private Time... | Update timerdecorator test to prevent failed test | Update timerdecorator test to prevent failed test
The previous test could fail from time to time, because the duration could be 0. The Thread.Sleep(1) was never executed.
| C# | mit | Hammerstad/Moya |
aefe042310bdeb59ff52a4cd349e2cf1c0b46c64 | CupCake.Client/Settings/Settings.cs | CupCake.Client/Settings/Settings.cs | using System;
using System.Collections.Generic;
using CupCake.Protocol;
namespace CupCake.Client.Settings
{
public class Settings
{
public Settings()
: this(false)
{
}
public Settings(bool isNew)
{
this.Accounts = new List<Account>();
... | using System;
using System.Collections.Generic;
using CupCake.Protocol;
namespace CupCake.Client.Settings
{
public class Settings
{
public Settings()
: this(false)
{
}
public Settings(bool isNew)
{
this.Accounts = new List<Account>();
... | Fix default database is not set properly the first time | Fix default database is not set properly the first time
| C# | mit | Yonom/CupCake |
9d79d47ebd43e1a9f20f0be6ba9f9b9c435a03f9 | DNSAgent/Properties/AssemblyInfo.cs | DNSAgent/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("DNSAgent")]
[assembly: AssemblyDescripti... | 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("DNSAgent")]
[assembly: AssemblyDescripti... | Change version number to 1.0. | Change version number to 1.0.
| C# | mit | stackia/DNSAgent |
84655b0798d16f462ec24bb9727c91c2edcde55e | osu.Game/Overlays/Dashboard/Home/News/NewsTitleLink.cs | osu.Game/Overlays/Dashboard/Home/News/NewsTitleLink.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.Platform;
using osu.Game.Graphics;
using osu.G... | // 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.Platform;
using osu.Game.Graphics;
using osu.G... | Change hover colour for news title | Change hover colour for news title
| C# | mit | ppy/osu,peppy/osu-new,UselessToucan/osu,peppy/osu,ppy/osu,smoogipoo/osu,ppy/osu,NeoAdonis/osu,peppy/osu,smoogipooo/osu,smoogipoo/osu,peppy/osu,UselessToucan/osu,UselessToucan/osu,smoogipoo/osu,NeoAdonis/osu,NeoAdonis/osu |
44806f14481d1917b7126acc49e07ba22eb57f0d | src/CK.Glouton.Web/Controllers/StatisticsController.cs | src/CK.Glouton.Web/Controllers/StatisticsController.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using CK.Glouton.Lucene;
using Microsoft.AspNetCore.Mvc;
namespace CK.Glouton.Web.Controllers
{
[Route("api/stats")]
public class StatisticsController : Controller
{
LuceneStatistics luceneStatistics;
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using CK.Glouton.Lucene;
using CK.Glouton.Model.Lucene;
using Microsoft.AspNetCore.Mvc;
namespace CK.Glouton.Web.Controllers
{
[Route("api/stats")]
public class StatisticsController : Controller
{
priv... | Add api point to controller. | Add api point to controller.
| C# | mit | ZooPin/CK-Glouton,ZooPin/CK-Glouton,ZooPin/CK-Glouton,ZooPin/CK-Glouton |
132bec180a271a921ce250a9adb695dce9b4a8d0 | src/TeamCityConsole.Tests/Utils/FileDownloaderTests.cs | src/TeamCityConsole.Tests/Utils/FileDownloaderTests.cs | using NSubstitute;
using Ploeh.AutoFixture.Xunit;
using TeamCityApi.Domain;
using TeamCityConsole.Tests.Helpers;
using TeamCityConsole.Utils;
using Xunit.Extensions;
namespace TeamCityConsole.Tests.Utils
{
public class FileDownloaderTests
{
[Theory]
[AutoNSubstituteData]
public void Sh... | using NSubstitute;
using Ploeh.AutoFixture.Xunit;
using TeamCityApi.Domain;
using TeamCityConsole.Tests.Helpers;
using TeamCityConsole.Utils;
using Xunit.Extensions;
namespace TeamCityConsole.Tests.Utils
{
public class FileDownloaderTests
{
[Theory]
[AutoNSubstituteData]
public void Sh... | Remove invalid test as the directory should not be deleted since multiple artifacts / dependencies maybe be unzipping into a folder or a child folder. | Remove invalid test as the directory should not be deleted since multiple artifacts / dependencies maybe be unzipping into a folder or a child folder.
| C# | mit | ComputerWorkware/TeamCityApi |
e1de187a33b4825cb8fa4a6650f7505d147780a9 | DesktopWidgets/Widgets/Search/Settings.cs | DesktopWidgets/Widgets/Search/Settings.cs | using System.ComponentModel;
using DesktopWidgets.Classes;
namespace DesktopWidgets.Widgets.Search
{
public class Settings : WidgetSettingsBase
{
public Settings()
{
Width = 150;
}
[Category("General")]
[DisplayName("Base URL")]
public string BaseUr... | using System.ComponentModel;
using DesktopWidgets.Classes;
namespace DesktopWidgets.Widgets.Search
{
public class Settings : WidgetSettingsBase
{
public Settings()
{
Width = 150;
}
[Category("General")]
[DisplayName("URL Prefix")]
public string Base... | Change "Search" widget "Base URL" default value | Change "Search" widget "Base URL" default value
| C# | apache-2.0 | danielchalmers/DesktopWidgets |
fd8ba7a027e4956de0d7e214762fd07a026e303e | Engine/Vehicle/AI/Scripts/TriggerSound.cs | Engine/Vehicle/AI/Scripts/TriggerSound.cs | using UnityEngine;
using System.Collections;
public class TriggerSound : MonoBehaviour
{
public string tagName1="";
public string tagName2 = "";
public AudioClip triggerSound;
public float soundVolume = 1.0f;
private AudioSource triggerAudioSource;
void Awake()
{
InitSound(out tri... | using UnityEngine;
using System.Collections;
public class TriggerSound : MonoBehaviour {
public string tagName1 = "";
public string tagName2 = "";
public AudioClip triggerSound;
public float soundVolume = 1.0f;
private AudioSource triggerAudioSource;
void Awake() {
InitSound(out trigge... | Update shadows. Update results screen. Update throttling speed modifier within safe range. | Update shadows. Update results screen. Update throttling speed modifier within safe range.
| C# | mit | drawcode/game-lib-engine |
c0db5039b594575378ff302e52434fa72f4dab9b | Source/System.Management/Automation/Internal/InternalCommand.cs | Source/System.Management/Automation/Internal/InternalCommand.cs | // Copyright (C) Pash Contributors. License: GPL/BSD. See https://github.com/Pash-Project/Pash/
using System.Management.Automation.Host;
using System.Xml.Schema;
using Pash.Implementation;
namespace System.Management.Automation.Internal
{
public abstract class InternalCommand
{
internal CommandInfo Co... | // Copyright (C) Pash Contributors. License: GPL/BSD. See https://github.com/Pash-Project/Pash/
using System.Management.Automation.Host;
using System.Xml.Schema;
using Pash.Implementation;
namespace System.Management.Automation.Internal
{
public abstract class InternalCommand
{
internal CommandInfo Co... | Allow the CommandRuntime to be set for a cmdlet. | Allow the CommandRuntime to be set for a cmdlet.
The CommandRuntime property should probably be moved to the Cmdlet class.
http://msdn.microsoft.com/en-us/library/system.management.automation.cmdlet_properties.aspx
| C# | bsd-3-clause | sburnicki/Pash,sillvan/Pash,Jaykul/Pash,mrward/Pash,ForNeVeR/Pash,ForNeVeR/Pash,mrward/Pash,Jaykul/Pash,mrward/Pash,WimObiwan/Pash,sillvan/Pash,sillvan/Pash,WimObiwan/Pash,sburnicki/Pash,ForNeVeR/Pash,sillvan/Pash,WimObiwan/Pash,Jaykul/Pash,ForNeVeR/Pash,Jaykul/Pash,sburnicki/Pash,sburnicki/Pash,WimObiwan/Pash,mrward/P... |
e01bcdec965292ca33addb312be572f6024067eb | RepoZ.Api.Mac/IO/MacPathActionProvider.cs | RepoZ.Api.Mac/IO/MacPathActionProvider.cs | using System;
using System.Collections.Generic;
using RepoZ.Api.IO;
namespace RepoZ.Api.Mac
{
public class MacPathActionProvider : IPathActionProvider
{
public IEnumerable<PathAction> GetFor(string path)
{
yield return createPathAction("Open", "nil");
}
private PathAction createPathAction(string name, s... | using System.Diagnostics;
using System.Collections.Generic;
using RepoZ.Api.IO;
namespace RepoZ.Api.Mac
{
public class MacPathActionProvider : IPathActionProvider
{
public IEnumerable<PathAction> GetFor(string path)
{
yield return createDefaultPathAction("Open in Finder", path);
}
private PathAction cre... | Add default path action provider for Mac | Add default path action provider for Mac
| C# | mit | awaescher/RepoZ,awaescher/RepoZ |
6e0c939167d5e6c7d6a013c7bfa7afff87662cb2 | Nancy.AttributeRouting/ViewAttribute.cs | Nancy.AttributeRouting/ViewAttribute.cs | namespace Nancy.AttributeRouting
{
using System;
using System.Reflection;
/// <summary>
/// The View attribute indicates the view path to render from request.
/// </summary>
/// <example>
/// The following code will render <c>View/index.html</c> with routing instance.
/// <code>
//... | namespace Nancy.AttributeRouting
{
using System;
using System.Reflection;
/// <summary>
/// The View attribute indicates the view path to render from request.
/// </summary>
/// <example>
/// The following code will render <c>View/index.html</c> with routing instance.
/// <code>
//... | Fix the failing test case. | Fix the failing test case.
| C# | mit | lijunle/Nancy.AttributeRouting,lijunle/Nancy.AttributeRouting |
ae6ee01ad4d126e64369f274aa292e836a674a5c | target-clicker/MainWindow.xaml.cs | target-clicker/MainWindow.xaml.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;... | Add right click by a short cut key comination | Add right click by a short cut key comination
| C# | mit | camphortree/mouse-capability-extender,camphortree/target-clicker |
4ea31961fea5e0a802b1e1077cf0cc720c237e8b | Tests/Launcher.cs | Tests/Launcher.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using AgateLib;
namespace Tests
{
class Launcher
{
[STAThread]
public static void Main(string[] args)
{
AgateFileProvider.Assemblies.AddPath("../Drivers");
AgateFileProvider.I... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using AgateLib;
namespace Tests
{
class Launcher
{
[STAThread]
public static void Main(string[] args)
{
AgateFileProvider.Images.AddPath("Data");
Application.EnableVisualSty... | Fix test launcher to not use Drivers directory. | Fix test launcher to not use Drivers directory. | C# | mit | eylvisaker/AgateLib |
d06b9dc424af75d19b5bf17da775f1c4fa862c2f | Schedutalk/Schedutalk/Schedutalk/Logic/HttpRequestor.cs | Schedutalk/Schedutalk/Schedutalk/Logic/HttpRequestor.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
namespace Schedutalk.Logic
{
class HttpRequestor
{
public async Task<string> getHttpRequestAsString(Func<string, HttpRequestMessage> requestTask, string input)
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
namespace Schedutalk.Logic
{
class HttpRequestor
{
public async Task<string> getHttpRequestAsString(Func<string, HttpRequestMessage> requestTask, string input)
... | Implement utlity for requesting JSON as string | Implement utlity for requesting JSON as string
| C# | mit | Zalodu/Schedutalk,Zalodu/Schedutalk |
4a491ca6f02122e9dc4dcff568134e0660ff767d | src/Common/src/System/Net/Http/HttpHandlerDefaults.cs | src/Common/src/System/Net/Http/HttpHandlerDefaults.cs | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace System.Net.Http
{
/// <summary>
/// Defines default values for http handler properties which is meant to be re-used across WinHttp & UnixHttp Handlers... | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace System.Net.Http
{
/// <summary>
/// Defines default values for http handler properties which is meant to be re-used across WinHttp and UnixHttp Handle... | Fix XML docs containing an ampersand | Fix XML docs containing an ampersand
| C# | mit | ptoonen/corefx,yizhang82/corefx,shimingsg/corefx,rjxby/corefx,pallavit/corefx,elijah6/corefx,twsouthwick/corefx,twsouthwick/corefx,mmitche/corefx,Jiayili1/corefx,mokchhya/corefx,cydhaselton/corefx,jlin177/corefx,kkurni/corefx,akivafr123/corefx,twsouthwick/corefx,twsouthwick/corefx,benpye/corefx,josguil/corefx,zhenlan/c... |
2d7921396ec49950d1a8042a43bde4bb7db1135f | Source/Libraries/openXDA.Model/SystemCenter/Setting.cs | Source/Libraries/openXDA.Model/SystemCenter/Setting.cs | //******************************************************************************************************
// Setting.cs - Gbtc
//
// Copyright © 2021, Grid Protection Alliance. All Rights Reserved.
//
// Licensed to the Grid Protection Alliance (GPA) under one or more contributor license agreements. See
// the NOT... | //******************************************************************************************************
// Setting.cs - Gbtc
//
// Copyright © 2021, Grid Protection Alliance. All Rights Reserved.
//
// Licensed to the Grid Protection Alliance (GPA) under one or more contributor license agreements. See
// the NOT... | Remove configfile prefix from settings file and let tablename drive naming. | Remove configfile prefix from settings file and let tablename drive naming.
| C# | mit | GridProtectionAlliance/openXDA,GridProtectionAlliance/openXDA,GridProtectionAlliance/openXDA,GridProtectionAlliance/openXDA |
f719b9bef58da1e82dce0d702c8f498446dd5865 | osu.Game.Rulesets.Mania/UI/ManiaScrollingInfo.cs | osu.Game.Rulesets.Mania/UI/ManiaScrollingInfo.cs | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using osu.Framework.Configuration;
using osu.Game.Rulesets.Mania.Configuration;
using osu.Game.Rulesets.UI.Scrolling;
namespace osu.Game.Rulesets.Mania.UI
{
public ... | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using osu.Framework.Configuration;
using osu.Game.Rulesets.Mania.Configuration;
using osu.Game.Rulesets.UI.Scrolling;
namespace osu.Game.Rulesets.Mania.UI
{
public ... | Fix mania scroll direction not being read from database | Fix mania scroll direction not being read from database
| C# | mit | EVAST9919/osu,UselessToucan/osu,ppy/osu,UselessToucan/osu,ZLima12/osu,peppy/osu-new,smoogipoo/osu,NeoAdonis/osu,naoey/osu,peppy/osu,EVAST9919/osu,NeoAdonis/osu,smoogipoo/osu,2yangk23/osu,ZLima12/osu,ppy/osu,DrabWeb/osu,naoey/osu,peppy/osu,johnneijzen/osu,peppy/osu,johnneijzen/osu,smoogipoo/osu,DrabWeb/osu,naoey/osu,Use... |
e7da5b0400e3d388529c9eaa1c9b1dd3423c7971 | osu.Game.Rulesets.Osu/Difficulty/Skills/Speed.cs | osu.Game.Rulesets.Osu/Difficulty/Skills/Speed.cs | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System;
using osu.Game.Rulesets.Osu.Difficulty.Preprocessing;
namespace osu.Game.Rulesets.Osu.Difficulty.Skills
{
/// <summary>
/// Represents the skill ... | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System;
using osu.Game.Rulesets.Osu.Difficulty.Preprocessing;
namespace osu.Game.Rulesets.Osu.Difficulty.Skills
{
/// <summary>
/// Represents the skill ... | Add the [200 .. 300] bpm speed bonus | Add the [200 .. 300] bpm speed bonus
| C# | mit | EVAST9919/osu,johnneijzen/osu,DrabWeb/osu,DrabWeb/osu,NeoAdonis/osu,naoey/osu,naoey/osu,smoogipoo/osu,2yangk23/osu,NeoAdonis/osu,johnneijzen/osu,peppy/osu-new,smoogipooo/osu,UselessToucan/osu,peppy/osu,smoogipoo/osu,peppy/osu,DrabWeb/osu,EVAST9919/osu,smoogipoo/osu,ppy/osu,2yangk23/osu,ZLima12/osu,naoey/osu,UselessTouc... |
3f083cf9070113ec71f0721e94c5016dc13bce3a | src/ChillTeasureTime/Assets/src/scripts/GroundCheck.cs | src/ChillTeasureTime/Assets/src/scripts/GroundCheck.cs | using System;
using UnityEngine;
using System.Collections;
public class GroundCheck : MonoBehaviour
{
public bool IsOnGround { get; private set; }
public void OnTriggerEnter(Collider other)
{
var geometry = other.gameObject.GetComponent<LevelGeometry>();
if (geometry != null)
{
... | using System;
using UnityEngine;
using System.Collections;
public class GroundCheck : MonoBehaviour
{
public bool IsOnGround { get; private set; }
public void OnTriggerStay(Collider other)
{
var geometry = other.gameObject.GetComponent<LevelGeometry>();
if (geometry != null)
{
... | Fix landing on the ground not working occasionally | Fix landing on the ground not working occasionally
| C# | mit | harjup/ChillTreasureTime |
0d147b4ad9f7a7bc308eef9508034b45b499add5 | osu.Game/IPC/ArchiveImportIPCChannel.cs | osu.Game/IPC/ArchiveImportIPCChannel.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.Diagnostics;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using osu.Framework.Platform;
using osu.Game.Database;
namespace osu.Game.IP... | // 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.Diagnostics;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using osu.Framework.Platform;
using osu.Game.Database;
namespace osu.Game.IP... | Return null IPC response for archive imports | Return null IPC response for archive imports
| C# | mit | ppy/osu,NeoAdonis/osu,peppy/osu,NeoAdonis/osu,ppy/osu,NeoAdonis/osu,ppy/osu,peppy/osu,peppy/osu |
87dd7bcf6b2d31d7338c153c96b998f0bc70b37d | osu.Game/Tests/Visual/EditorTestCase.cs | osu.Game/Tests/Visual/EditorTestCase.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using System.Collections.Generic;
using osu.Framework.Allocation;
using osu.Game.Rulesets;
using osu.Game.Screens.Edit;
using osu.Game.Tests.Beatmaps;
nam... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using System.Collections.Generic;
using osu.Framework.Allocation;
using osu.Game.Rulesets;
using osu.Game.Screens.Edit;
using osu.Game.Tests.Beatmaps;
nam... | Fix one more test regression | Fix one more test regression
| C# | mit | DrabWeb/osu,naoey/osu,ppy/osu,UselessToucan/osu,peppy/osu,ZLima12/osu,peppy/osu-new,smoogipooo/osu,2yangk23/osu,peppy/osu,NeoAdonis/osu,ppy/osu,smoogipoo/osu,UselessToucan/osu,DrabWeb/osu,EVAST9919/osu,EVAST9919/osu,naoey/osu,NeoAdonis/osu,ppy/osu,NeoAdonis/osu,johnneijzen/osu,johnneijzen/osu,peppy/osu,naoey/osu,smoogi... |
4c86b29c9da8644be39aec41192df805342dc867 | src/Hosting/PageMatcherPolicy.cs | src/Hosting/PageMatcherPolicy.cs | // Copyright (c) 2014-2020 Sarin Na Wangkanai, All Rights Reserved.
// The Apache v2. See License.txt in the project root for license information.
using System.Collections.Generic;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Routing;
using Microsoft.AspNetCore.Routing.Matc... | // Copyright (c) 2014-2020 Sarin Na Wangkanai, All Rights Reserved.
// The Apache v2. See License.txt in the project root for license information.
using System.Collections.Generic;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Routing;
using Microsoft.AspNetCore.Routing.Matc... | Change for to foreach in endpoints list | Change for to foreach in endpoints list
| C# | apache-2.0 | wangkanai/Detection |
5c16c60ad5bacae3d2f01fd6ff5f24061d8ae4d1 | src/StateMechanic/InvalidEventTransitionException.cs | src/StateMechanic/InvalidEventTransitionException.cs | using System;
namespace StateMechanic
{
/// <summary>
/// Exception thrown when a transition could not be created from a state on an event, because the state and event do not belong to the same state machine
/// </summary>
public class InvalidEventTransitionException : Exception
{
/// <sum... | using System;
namespace StateMechanic
{
/// <summary>
/// Exception thrown when a transition could not be created from a state on an event, because the state and event do not belong to the same state machine
/// </summary>
public class InvalidEventTransitionException : Exception
{
/// <sum... | Fix typo in exception message | Fix typo in exception message
| C# | mit | canton7/StateMechanic,canton7/StateMechanic |
d527e066a5d343e8c7cacf083102a6cd6c413c1f | SlothUnit/SlothUnit.Parser.Test/ClangWrapperShould.cs | SlothUnit/SlothUnit.Parser.Test/ClangWrapperShould.cs | using System.IO;
using System.Linq;
using FluentAssertions;
using NUnit.Framework;
using SlothUnitParser;
/* TODO
*/
namespace SlothUnit.Parser.Test
{
[TestFixture]
class ClangWrapperShould : FileSystemTest
{
[Test]
public void retrieve_the_name_of_a_cursor()
{
var filePath = Path.Combine(TestProjectD... | using System.IO;
using System.Linq;
using ClangSharp;
using FluentAssertions;
using NUnit.Framework;
using SlothUnitParser;
/* TODO
*/
namespace SlothUnit.Parser.Test
{
[TestFixture]
class ClangWrapperShould : FileSystemTest
{
private CXCursor ClassCursor { get; set; }
private string FilePath { get; set; }... | Refactor introduce SetUp in test | Refactor introduce SetUp in test
| C# | mit | Suui/SlothUnit,Suui/SlothUnit,Suui/SlothUnit |
5e09d92cb58678a485e8ba86fc8c7451ffc83b05 | Joey/UI/Fragments/LogTimeEntriesListFragment.cs | Joey/UI/Fragments/LogTimeEntriesListFragment.cs | using System;
using System.Linq;
using Android.App;
using Android.OS;
using Android.Views;
using Android.Widget;
using Toggl.Joey.UI.Adapters;
namespace Toggl.Joey.UI.Fragments
{
public class LogTimeEntriesListFragment : ListFragment
{
public override void OnViewCreated (View view, Bundle savedInstanc... | using System;
using System.Linq;
using Android.App;
using Android.OS;
using Android.Views;
using Android.Widget;
using Toggl.Joey.UI.Adapters;
namespace Toggl.Joey.UI.Fragments
{
public class LogTimeEntriesListFragment : ListFragment
{
public override void OnViewCreated (View view, Bundle savedInstanc... | Fix continuing historic time entries. | Fix continuing historic time entries.
All of the time entries in the AllTimeEntriesView aren't guaranteed to
be persisted. Thus need to make sure that the entry that the user is
trying to continue is marked as IsPersisted beforehand.
| C# | bsd-3-clause | peeedge/mobile,ZhangLeiCharles/mobile,eatskolnikov/mobile,eatskolnikov/mobile,peeedge/mobile,masterrr/mobile,eatskolnikov/mobile,masterrr/mobile,ZhangLeiCharles/mobile |
2d21d5c958894944e0e2a7b0febc2325a0ac02fb | Tests/Cosmos.TestRunner.Full/DefaultEngineConfiguration.cs | Tests/Cosmos.TestRunner.Full/DefaultEngineConfiguration.cs | using System;
using System.Collections.Generic;
using Cosmos.Build.Common;
using Cosmos.TestRunner.Core;
namespace Cosmos.TestRunner.Full
{
public class DefaultEngineConfiguration : IEngineConfiguration
{
public virtual int AllowedSecondsInKernel => 6000;
public virtual IEnumerable<RunTarget... | using System;
using System.Collections.Generic;
using Cosmos.Build.Common;
using Cosmos.TestRunner.Core;
namespace Cosmos.TestRunner.Full
{
public class DefaultEngineConfiguration : IEngineConfiguration
{
public virtual int AllowedSecondsInKernel => 6000;
public virtual IEnumerable<RunTarget... | Disable DebugIL2CPU to test all kernels | Disable DebugIL2CPU to test all kernels
| C# | bsd-3-clause | CosmosOS/Cosmos,CosmosOS/Cosmos,zarlo/Cosmos,CosmosOS/Cosmos,CosmosOS/Cosmos,zarlo/Cosmos,zarlo/Cosmos,zarlo/Cosmos |
ee27faf6662addbbb8a0ad2b9058c9682d166a03 | Octokit/Models/Request/NewDeployKey.cs | Octokit/Models/Request/NewDeployKey.cs | using System;
using System.Diagnostics;
using System.Globalization;
namespace Octokit
{
/// <summary>
/// Describes a new deployment key to create.
/// </summary>
[DebuggerDisplay("{DebuggerDisplay,nq}")]
public class NewDeployKey
{
public string Title { get; set; }
public str... | using System;
using System.Diagnostics;
using System.Globalization;
namespace Octokit
{
/// <summary>
/// Describes a new deployment key to create.
/// </summary>
[DebuggerDisplay("{DebuggerDisplay,nq}")]
public class NewDeployKey
{
public string Title { get; set; }
public str... | Add the ability to create a readonly deploy key | Add the ability to create a readonly deploy key
| C# | mit | mminns/octokit.net,octokit/octokit.net,dampir/octokit.net,bslliw/octokit.net,octokit-net-test-org/octokit.net,hahmed/octokit.net,cH40z-Lord/octokit.net,octokit-net-test-org/octokit.net,devkhan/octokit.net,rlugojr/octokit.net,ivandrofly/octokit.net,shiftkey-tester-org-blah-blah/octokit.net,chunkychode/octokit.net,shiftk... |
7097ac5f52cd26b8d4f8f5a0cec169c8fade49fa | src/Firehose.Web/Extensions/SyndicationItemExtensions.cs | src/Firehose.Web/Extensions/SyndicationItemExtensions.cs | using System.Linq;
using System.ServiceModel.Syndication;
namespace Firehose.Web.Extensions
{
public static class SyndicationItemExtensions
{
public static bool ApplyDefaultFilter(this SyndicationItem item)
{
if (item == null)
return false;
var hasPowerS... | using System.Linq;
using System.ServiceModel.Syndication;
namespace Firehose.Web.Extensions
{
public static class SyndicationItemExtensions
{
public static bool ApplyDefaultFilter(this SyndicationItem item)
{
if (item == null)
return false;
var hasPowerS... | Update filter to support PWSH | Update filter to support PWSH
| C# | mit | planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell |
fa73fa9290db661827a5f457a957b8ad8fb2222f | src/SkiResort.XamarinApp/SkiResort.XamarinApp/Config.cs | src/SkiResort.XamarinApp/SkiResort.XamarinApp/Config.cs | using SkiResort.XamarinApp.Entities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xamarin.Forms;
namespace SkiResort.XamarinApp
{
public static class Config
{
public const string API_URL = "__SERVERURI__/api";
public ... | using SkiResort.XamarinApp.Entities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xamarin.Forms;
namespace SkiResort.XamarinApp
{
public static class Config
{
public const string API_URL = "__SERVERURI__";
public cons... | Fix an issue with the default URI | Fix an issue with the default URI | C# | mit | PlainConcepts/AdventureWorksSkiApp,PlainConcepts/AdventureWorksSkiApp,PlainConcepts/AdventureWorksSkiApp,PlainConcepts/AdventureWorksSkiApp,PlainConcepts/AdventureWorksSkiApp |
7af03232c45090d52902e8a5b35d6fd5ef699058 | Assets/UnityUtilities/Scripts/Misc/UnityUtils.cs | Assets/UnityUtilities/Scripts/Misc/UnityUtils.cs | using UnityEngine;
using UnityEngine.Rendering;
using UnityEngine.Networking;
public static class UnityUtils
{
public static bool IsAnyKeyUp(KeyCode[] keys)
{
foreach (KeyCode key in keys)
{
if (Input.GetKeyUp(key))
return true;
}
return false;
}
... | using UnityEngine;
using UnityEngine.Rendering;
using UnityEngine.Networking;
public static class UnityUtils
{
public static bool IsAnyKeyUp(KeyCode[] keys)
{
foreach (KeyCode key in keys)
{
if (Input.GetKeyUp(key))
return true;
}
return false;
}
... | Add Is any key function | Add Is any key function
| C# | mit | insthync/unity-utilities |
6a723bc27886c89b7e879ea222787b8341371498 | ZirMed.TrainingSandbox/Views/Home/Contact.cshtml | ZirMed.TrainingSandbox/Views/Home/Contact.cshtml | @{
ViewBag.Title = "Contact";
}
<h2>@ViewBag.Title.</h2>
<h3>@ViewBag.Message</h3>
<address>
One Microsoft Way<br />
Redmond, WA 98052-6399<br />
<abbr title="Phone">P:</abbr>
425.555.0100
</address>
<address>
<strong>Support:</strong> <a href="mailto:Support@example.com">Support@wechangedt... | @{
ViewBag.Title = "Contact";
}
<h2>@ViewBag.Title.</h2>
<h3>@ViewBag.Message</h3>
<address>
One Microsoft Way<br />
Redmond, WA 98052-6399<br />
<abbr title="Phone">P:</abbr>
425.555.0100
</address>
<address>
<strong>Support:</strong> <a href="mailto:Support@example.com">Support@wechangedt... | Add Travis to contact page. | Add Travis to contact page.
| C# | mit | jpfultonzm/trainingsandbox,jpfultonzm/trainingsandbox,jpfultonzm/trainingsandbox |
3d72c8fa7bdb9b7c0715cb5d389e471e33826f49 | GitTfs/Commands/Unshelve.cs | GitTfs/Commands/Unshelve.cs | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using CommandLine.OptParse;
using Sep.Git.Tfs.Core;
using Sep.Git.Tfs.Core.TfsInterop;
using StructureMap;
namespace Sep.Git.Tfs.Commands
{
[Pluggable("unshelve")]
[Description("unshelve [options] (-l | shelveset-n... | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Text.RegularExpressions;
using CommandLine.OptParse;
using Sep.Git.Tfs.Core;
using StructureMap;
namespace Sep.Git.Tfs.Commands
{
[Pluggable("unshelve")]
... | Fix the TODO item in Ushelve so it can support multiple TFS remotes | Fix the TODO item in Ushelve so it can support multiple TFS remotes
| C# | apache-2.0 | modulexcite/git-tfs,timotei/git-tfs,steveandpeggyb/Public,spraints/git-tfs,jeremy-sylvis-tmg/git-tfs,NathanLBCooper/git-tfs,bleissem/git-tfs,allansson/git-tfs,allansson/git-tfs,hazzik/git-tfs,hazzik/git-tfs,bleissem/git-tfs,adbre/git-tfs,vzabavnov/git-tfs,NathanLBCooper/git-tfs,hazzik/git-tfs,guyboltonking/git-tfs,guyb... |
dac733cced62e30089f52fa6147f5210197b3e20 | osu.Game.Rulesets.Osu/Edit/OsuChecker.cs | osu.Game.Rulesets.Osu/Edit/OsuChecker.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System.Collections.Generic;
using System.Linq;
using osu.Game.Beatmaps;
using osu.Game.Rulesets.Edit;
using osu.Game.Rulesets.Edit.Checks.Components;
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.
using System.Collections.Generic;
using System.Linq;
using osu.Game.Beatmaps;
using osu.Game.Rulesets.Edit;
using osu.Game.Rulesets.Edit.Checks.Components;
using osu.Game... | Fix field name and accessibility | Fix field name and accessibility
| C# | mit | smoogipoo/osu,ppy/osu,peppy/osu,NeoAdonis/osu,smoogipoo/osu,ppy/osu,peppy/osu,UselessToucan/osu,UselessToucan/osu,peppy/osu-new,smoogipoo/osu,NeoAdonis/osu,NeoAdonis/osu,ppy/osu,peppy/osu,smoogipooo/osu,UselessToucan/osu |
d0bd83f0207a734011a050402c7d2debd0f8ecac | setup.cake | setup.cake | #load nuget:https://www.myget.org/F/cake-contrib/api/v2?package=Cake.Recipe&prerelease
Environment.SetVariableNames();
BuildParameters.SetParameters(context: Context,
buildSystem: BuildSystem,
sourceDirectoryPath: "./",
title: "Cake.F... | #load nuget:https://www.myget.org/F/cake-contrib/api/v2?package=Cake.Recipe&prerelease
Environment.SetVariableNames();
BuildParameters.SetParameters(context: Context,
buildSystem: BuildSystem,
sourceDirectoryPath: Context.Environment.WorkingDirectory,
... | Fix source dir path (doesn't like "./") | Fix source dir path (doesn't like "./")
| C# | apache-2.0 | Redth/Cake.FileHelpers,Redth/Cake.FileHelpers |
92f212f07b0d00f1d96e6aa6b5cf968270b8ab90 | xFunc.Library.Maths/Expressions/AssignMathExpression.cs | xFunc.Library.Maths/Expressions/AssignMathExpression.cs | using System;
namespace xFunc.Library.Maths.Expressions
{
public class AssignMathExpression : IMathExpression
{
private VariableMathExpression variable;
private IMathExpression value;
public AssignMathExpression()
: this(null, null)
{
}
public A... | using System;
namespace xFunc.Library.Maths.Expressions
{
public class AssignMathExpression : IMathExpression
{
private VariableMathExpression variable;
private IMathExpression value;
public AssignMathExpression()
: this(null, null)
{
}
public A... | Fix bug with reassigning the variable. | Fix bug with reassigning the variable.
| C# | mit | sys27/xFunc |
262a4bac529a3e212282eec6428cb39de74fd8c2 | Scripts/Utils/Reflection.cs | Scripts/Utils/Reflection.cs | using System;
using System.Collections.Generic;
using System.Linq.Expressions;
namespace LiteNetLibManager.Utils
{
public class Reflection
{
private static readonly Dictionary<string, ObjectActivator> objectActivators = new Dictionary<string, ObjectActivator>();
private static string tempTypeN... | using System;
using System.Collections.Generic;
using System.Linq.Expressions;
namespace LiteNetLibManager.Utils
{
public class Reflection
{
private static readonly Dictionary<string, ObjectActivator> objectActivators = new Dictionary<string, ObjectActivator>();
private static string tempTypeN... | Use fullname for sure that it will not duplicate with other | Use fullname for sure that it will not duplicate with other
| C# | mit | insthync/LiteNetLibManager,insthync/LiteNetLibManager |
86b6e0e302102774d7810bb46baa3afa96655e4b | Src/AutoFixture.NUnit3.UnitTest/DependencyConstraints.cs | Src/AutoFixture.NUnit3.UnitTest/DependencyConstraints.cs | using System.Linq;
using NUnit.Framework;
namespace Ploeh.AutoFixture.NUnit3.UnitTest
{
[TestFixture]
public class DependencyConstraints
{
[TestCase("Moq")]
[TestCase("Rhino.Mocks")]
public void AutoFixtureNUnit3DoesNotReference(string assemblyName)
{
// Fixture... | using System.Linq;
using NUnit.Framework;
namespace Ploeh.AutoFixture.NUnit3.UnitTest
{
[TestFixture]
public class DependencyConstraints
{
[TestCase("FakeItEasy")]
[TestCase("Foq")]
[TestCase("FsCheck")]
[TestCase("Moq")]
[TestCase("NSubstitute")]
[TestCase(... | Add other mocking libs in dependency contraints | Add other mocking libs in dependency contraints
| C# | mit | adamchester/AutoFixture,sergeyshushlyapin/AutoFixture,adamchester/AutoFixture,dcastro/AutoFixture,sbrockway/AutoFixture,hackle/AutoFixture,AutoFixture/AutoFixture,dcastro/AutoFixture,sbrockway/AutoFixture,Pvlerick/AutoFixture,zvirja/AutoFixture,sergeyshushlyapin/AutoFixture,hackle/AutoFixture,sean-gilliam/AutoFixture |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.