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 |
|---|---|---|---|---|---|---|---|---|---|
c539d01c1726bded71e3f6d32210b9a520ca7c91 | tests/src/JIT/Methodical/largeframes/skip4/skippage4.cs | tests/src/JIT/Methodical/largeframes/skip4/skippage4.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
// Passing a very large struct by value on the stack, on arm32 and x86,
// can cause it to be copied from a temp to ... | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
// Passing a very large struct by value on the stack, on arm32 and x86,
// can cause it to be copied from a temp to ... | Fix test for 64-bit platforms | Fix test for 64-bit platforms
Object type in structs apparently must be 8 byte aligned.
Fixes #23986
| C# | mit | cshung/coreclr,cshung/coreclr,wtgodbe/coreclr,poizan42/coreclr,wtgodbe/coreclr,poizan42/coreclr,wtgodbe/coreclr,krk/coreclr,poizan42/coreclr,wtgodbe/coreclr,cshung/coreclr,krk/coreclr,poizan42/coreclr,krk/coreclr,krk/coreclr,poizan42/coreclr,wtgodbe/coreclr,krk/coreclr,cshung/coreclr,krk/coreclr,wtgodbe/coreclr,cshung/... |
b38552f80b1d11b629511619016b935a5b7a93ac | ReSharperFixieRunner/UnitTestProvider/FixieTestFileExplorer.cs | ReSharperFixieRunner/UnitTestProvider/FixieTestFileExplorer.cs | using System;
using JetBrains.Application;
using JetBrains.ReSharper.Psi;
using JetBrains.ReSharper.Psi.Tree;
using JetBrains.ReSharper.UnitTestFramework;
namespace ReSharperFixieRunner.UnitTestProvider
{
[FileUnitTestExplorer]
public class FixieTestFileExplorer : IUnitTestFileExplorer
{
private ... | using System;
using System.Linq;
using JetBrains.Application;
using JetBrains.ProjectModel;
using JetBrains.ReSharper.Psi;
using JetBrains.ReSharper.Psi.Tree;
using JetBrains.ReSharper.UnitTestFramework;
namespace ReSharperFixieRunner.UnitTestProvider
{
[FileUnitTestExplorer]
public class FixieTestFileExplor... | Check for Fixie library reference | Check for Fixie library reference
| C# | mit | JohnStov/ReSharperFixieRunner |
6373c252451cc8888ba5d10cef70db1be21bed29 | DataPusherContainer.cs | DataPusherContainer.cs | using Bootstrap.StructureMap;
using Manufacturing.DataCollector.Datasources.Simulation;
using StructureMap;
using StructureMap.Configuration.DSL;
using StructureMap.Graph;
using StructureMap.Pipeline;
namespace Manufacturing.DataPusher
{
public class DataPusherContainer : IStructureMapRegistration
{
p... | using Bootstrap.StructureMap;
using Manufacturing.DataCollector;
using Manufacturing.DataCollector.Datasources.Simulation;
using StructureMap;
using StructureMap.Configuration.DSL;
using StructureMap.Graph;
using StructureMap.Pipeline;
namespace Manufacturing.DataPusher
{
public class DataPusherContainer : IStruc... | Switch to the memory repository | Switch to the memory repository
| C# | apache-2.0 | ytechie/Manufacturing.DataPusher |
6c6695d73c154a7d417c27a731c735ee069b6eae | src/GitVersionCore/VersionCalculation/BaseVersionCalculators/FallbackVersionStrategy.cs | src/GitVersionCore/VersionCalculation/BaseVersionCalculators/FallbackVersionStrategy.cs | using System;
using System.Collections.Generic;
using GitVersion.Common;
using LibGit2Sharp;
namespace GitVersion.VersionCalculation
{
/// <summary>
/// Version is 0.1.0.
/// BaseVersionSource is the "root" commit reachable from the current commit.
/// Does not increment.
/// </summary>
public ... | using System;
using System.Collections.Generic;
using GitVersion.Common;
using LibGit2Sharp;
namespace GitVersion.VersionCalculation
{
/// <summary>
/// Version is 0.1.0.
/// BaseVersionSource is the "root" commit reachable from the current commit.
/// Does not increment.
/// </summary>
public ... | Check early for commit on current branch | Check early for commit on current branch
| C# | mit | ermshiperete/GitVersion,gep13/GitVersion,gep13/GitVersion,asbjornu/GitVersion,ermshiperete/GitVersion,ermshiperete/GitVersion,ParticularLabs/GitVersion,asbjornu/GitVersion,GitTools/GitVersion,ermshiperete/GitVersion,ParticularLabs/GitVersion,GitTools/GitVersion |
6e2ef8d63229f80f281286309dc78504d9c3a714 | src/Rs317.Extended.Packets/RsNetworkOperationCode.cs | src/Rs317.Extended.Packets/RsNetworkOperationCode.cs | using System;
using System.Collections.Generic;
using System.Text;
namespace Rs317.Extended
{
/// <summary>
/// Operation codes for the RS317 packets.
/// </summary>
public enum RsNetworkOperationCode : byte
{
/// <summary>
/// Operation code for packet type that indicates a login
/// success.
/// </summ... | using System;
using System.Collections.Generic;
using System.Text;
namespace Rs317.Extended
{
/// <summary>
/// Operation codes for the RS317 packets.
/// </summary>
public enum RsNetworkOperationCode : byte
{
}
}
| Remove all network operation codes | Remove all network operation codes
| C# | mit | HelloKitty/317refactor |
aaf851f2489d26a3cd3e106c55a926e354c89a02 | src/RestfulRouting/Mapper.cs | src/RestfulRouting/Mapper.cs | using System.Web.Routing;
namespace RestfulRouting
{
public abstract class Mapper
{
private readonly IRouteHandler _routeHandler;
protected Mapper(IRouteHandler routeHandler)
{
_routeHandler = routeHandler;
}
protected Route GenerateRoute(string path, string controller, string action, string[] httpMe... | using System.Web.Routing;
namespace RestfulRouting
{
public abstract class Mapper
{
private readonly IRouteHandler _routeHandler;
protected Mapper(IRouteHandler routeHandler)
{
_routeHandler = routeHandler;
}
protected Route GenerateRoute(string path, string controller, string action, string[] httpMe... | Make the constraint on RestfulHttpMethodConstraint, so the match will work. | Make the constraint on RestfulHttpMethodConstraint, so the match will work.
| C# | mit | restful-routing/restful-routing,stevehodgkiss/restful-routing,restful-routing/restful-routing,stevehodgkiss/restful-routing,stevehodgkiss/restful-routing,restful-routing/restful-routing |
096d9e017c088ce15ad6a9cbeb7934e3fb0cc7ee | com.unity.formats.alembic/Tests/Editor/AssetRenameTests.cs | com.unity.formats.alembic/Tests/Editor/AssetRenameTests.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using NUnit.Framework;
using UnityEngine;
using UnityEngine.Formats.Alembic.Importer;
namespace UnityEditor.Formats.Alembic.Exporter.UnitTests
{
public class AssetRenameTests
{
readonly List<string> deleteFileList = new... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using NUnit.Framework;
using UnityEngine;
using UnityEngine.Formats.Alembic.Importer;
namespace UnityEditor.Formats.Alembic.Exporter.UnitTests
{
public class AssetRenameTests
{
readonly List<string> deleteFileList = new... | Replace string queries with GUID for DummyAlembic.abc | Replace string queries with GUID for DummyAlembic.abc
| C# | mit | unity3d-jp/AlembicImporter,unity3d-jp/AlembicImporter,unity3d-jp/AlembicImporter |
d228386e231284ae2aa70abb93654304dc515bd7 | InternetSeparationAdapter/UtilsExtension.cs | InternetSeparationAdapter/UtilsExtension.cs | using System;
using System.Text.RegularExpressions;
namespace InternetSeparationAdapter
{
public static class UtilsExtension
{
// http://stackoverflow.com/a/33113820
public static string Base64UrlEncode(this byte[] arg)
{
var s = Convert.ToBase64String(arg); // Regular base64 encoder
s = s... | using System;
using System.Text.RegularExpressions;
namespace InternetSeparationAdapter
{
public static class UtilsExtension
{
// http://stackoverflow.com/a/33113820
public static string Base64UrlEncode(this byte[] arg)
{
var s = Convert.ToBase64String(arg); // Regular base64 encoder
s = s... | Return if input is null or empty | Return if input is null or empty
| C# | mit | lawliet89/InternetSeparationAdapter |
9b95ce1045e0d1eba172e41cf96367e656bedffd | osu.Game/Online/API/Requests/MarkChannelAsReadRequest.cs | osu.Game/Online/API/Requests/MarkChannelAsReadRequest.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Game.Online.Chat;
namespace osu.Game.Online.API.Requests
{
public class MarkChannelAsReadRequest : APIRequest
{
private readonly Channel chann... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Game.Online.Chat;
namespace osu.Game.Online.API.Requests
{
public class MarkChannelAsReadRequest : APIRequest
{
private readonly Channel chann... | Change wrong values used to form target URL | Change wrong values used to form target URL
Dumb mistake by me, C# used ToString() on these objects.
| C# | mit | EVAST9919/osu,ppy/osu,peppy/osu,smoogipoo/osu,smoogipooo/osu,EVAST9919/osu,ppy/osu,peppy/osu-new,ppy/osu,NeoAdonis/osu,UselessToucan/osu,NeoAdonis/osu,smoogipoo/osu,2yangk23/osu,peppy/osu,NeoAdonis/osu,smoogipoo/osu,2yangk23/osu,UselessToucan/osu,UselessToucan/osu,johnneijzen/osu,johnneijzen/osu,peppy/osu |
d4e72afb17f1a7e69c2595dc49c2205656260ddd | src/DNTPersianUtils.Core.Tests/PersianNumbersUtilsTests.cs | src/DNTPersianUtils.Core.Tests/PersianNumbersUtilsTests.cs | using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace DNTPersianUtils.Core.Tests
{
[TestClass]
public class PersianNumbersUtilsTests
{
[TestMethod]
public void Test_ToPersianNumbers_Works()
{
var actual = 123.ToPersianNumbers();
Assert.AreEqual(expec... | using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace DNTPersianUtils.Core.Tests
{
[TestClass]
public class PersianNumbersUtilsTests
{
[TestMethod]
public void Test_English_ToPersianNumbers_Works()
{
var actual = 123.ToPersianNumbers();
Assert.AreEqu... | Add more unit tests for ToPersianNumbers and ToEnglishNumbers. | Add more unit tests for ToPersianNumbers and ToEnglishNumbers.
| C# | apache-2.0 | VahidN/DNTPersianUtils.Core,VahidN/DNTPersianUtils.Core |
fcace25fdcdec94bb8489db10e494ea7a51ba15d | src/Glimpse.Agent.Web/Framework/MasterRequestProfiler.cs | src/Glimpse.Agent.Web/Framework/MasterRequestProfiler.cs | using Glimpse.Web;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Glimpse.Agent.Web
{
public class MasterRequestProfiler : IRequestRuntime
{
private readonly IDiscoverableCollection<IRequestProfiler> _requestProfiliers;
private readon... | using Glimpse.Web;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Glimpse.Agent.Web
{
public class MasterRequestProfiler : IRequestRuntime
{
private readonly IEnumerable<IRequestProfiler> _requestProfiliers;
private readonly IEnumerab... | Switch RequestProfiler consumers over to using provider | Switch RequestProfiler consumers over to using provider
| C# | mit | peterblazejewicz/Glimpse.Prototype,zanetdev/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,zanetdev/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,pranavkm/Glimpse.Prototype,pranavkm/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,zanetdev/G... |
426e066a079932e5da30c95dda4fb48f3709446d | src/LondonTravel.Site/Views/Shared/_SignInPartial.cshtml | src/LondonTravel.Site/Views/Shared/_SignInPartial.cshtml | @inject SiteOptions Options
@inject Microsoft.AspNetCore.Identity.SignInManager<LondonTravelUser> SignInManager
@if (SignInManager.IsSignedIn(User))
{
<form asp-route="SignOut" method="post" id="signOutForm" class="navbar-right">
<ul class="nav navbar-nav navbar-right">
<li>
<a... | @inject SiteOptions Options
@inject Microsoft.AspNetCore.Identity.SignInManager<LondonTravelUser> SignInManager
@if (SignInManager.IsSignedIn(User))
{
<form asp-route="SignOut" method="post" id="signOutForm" class="navbar-right">
<ul class="nav navbar-nav navbar-right">
<li>
<a... | Update title attributes for sign-in partial | Update title attributes for sign-in partial
Update the title attribute for the sign-in partial to match the text
used elsewhere.
| C# | apache-2.0 | martincostello/alexa-london-travel-site,martincostello/alexa-london-travel-site,martincostello/alexa-london-travel-site,martincostello/alexa-london-travel-site |
76b6080e5f0e9422af73bcbd5bda1ca4d061a1c7 | DesktopWidgets/Widgets/Weather/Settings.cs | DesktopWidgets/Widgets/Weather/Settings.cs | using System;
using System.ComponentModel;
using DesktopWidgets.WidgetBase.Settings;
namespace DesktopWidgets.Widgets.Weather
{
public class Settings : WidgetSettingsBase
{
[Category("Style")]
[DisplayName("Unit Type")]
public TemperatureUnitType UnitType { get; set; }
[Catego... | using System;
using System.ComponentModel;
using DesktopWidgets.WidgetBase.Settings;
namespace DesktopWidgets.Widgets.Weather
{
public class Settings : WidgetSettingsBase
{
public Settings()
{
Style.FontSettings.FontSize = 16;
}
[Category("Style")]
[Display... | Change "Weather" "Font Size" default value | Change "Weather" "Font Size" default value
| C# | apache-2.0 | danielchalmers/DesktopWidgets |
cad92d3431f88285f70761af7489f93907f69857 | DTW/Finance/PartialCandleTokenizer.cs | DTW/Finance/PartialCandleTokenizer.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Finance
{
public class PartialCandleTokenizer : AbstractCandleTokenizer
{
private AbstractCandleTokenizer ct;
private int start;
private int length;
pu... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Finance
{
public class PartialCandleTokenizer : AbstractCandleTokenizer
{
private AbstractCandleTokenizer ct;
private int start;
private int length;
pu... | Add ticker and period information to partial candle tokenizer | [6] Add ticker and period information to partial candle tokenizer
| C# | apache-2.0 | alexeykuzmin0/DTW |
9e0204279818869b43c7cb4695b726c2960be662 | src/Microsoft.AspNet.Identity.AspNetCoreCompat/CookieInterop.cs | src/Microsoft.AspNet.Identity.AspNetCoreCompat/CookieInterop.cs | // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.IO;
using Microsoft.AspNetCore.DataProtection;
using Microsoft.Owin.Security;
using Microsoft.Owin.Security.Interop;
nam... | // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.IO;
using Microsoft.AspNetCore.DataProtection;
using Microsoft.Owin.Security;
using Microsoft.Owin.Security.Interop;
nam... | Fix cookie middleware name for interop package | Fix cookie middleware name for interop package
| C# | apache-2.0 | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore |
8afb8b26f210f6bd652ec251cdbab3b8aacc1530 | IntegrationEngine.Client.net40/Properties/AssemblyInfo.cs | IntegrationEngine.Client.net40/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("In... | 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("In... | Fix assembly name in Client.net40 | Fix assembly name in Client.net40
| C# | mit | InEngine-NET/InEngine.NET,InEngine-NET/InEngine.NET,InEngine-NET/InEngine.NET |
a67caa791d1fb9b39056d7f5b0c9a88e18371eec | Source/Hypermedia.Relations/DefaultHypermediaRelations.cs | Source/Hypermedia.Relations/DefaultHypermediaRelations.cs | namespace Hypermedia.Relations
{
/// <summary>
/// Collection of basic relations commonly used.
/// For a comprehensive list <see href="https://www.iana.org/assignments/link-relations/link-relations.xhtml"/>
/// </summary>
public static class DefaultHypermediaRelations
{
/// <summary>
... | namespace Hypermedia.Relations
{
/// <summary>
/// Collection of basic relations commonly used.
/// For a comprehensive list <see href="https://www.iana.org/assignments/link-relations/link-relations.xhtml"/>
/// </summary>
public static class DefaultHypermediaRelations
{
/// <summary>
... | Fix wrong uper case for relations to follow iana.org | Fix wrong uper case for relations to follow iana.org
| C# | mit | bluehands/WebApiHypermediaExtensions,bluehands/WebApiHypermediaExtensions |
e180d315852bf5f682e2a99ec74618969598f036 | Assets/MRTK/SDK/Editor/Inspectors/Audio/TextToSpeechInspector.cs | Assets/MRTK/SDK/Editor/Inspectors/Audio/TextToSpeechInspector.cs | // Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using UnityEditor;
using UnityEngine;
namespace Microsoft.MixedReality.Toolkit.Audio.Editor
{
[CustomEditor(typeof(TextToSpeech))]
public class TextToSpeechInspector : UnityEditor.Editor
{
private SerializedProperty voiceP... | // Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using UnityEditor;
using UnityEngine;
namespace Microsoft.MixedReality.Toolkit.Audio.Editor
{
[CustomEditor(typeof(TextToSpeech))]
public class TextToSpeechInspector : UnityEditor.Editor
{
private SerializedProperty voiceP... | Use intValue instead of enumValueIndex | Use intValue instead of enumValueIndex
Co-Authored-By: Kurtis <0f4329280cfdc62414626664b70b9a99adb2a291@users.noreply.github.com>
| C# | mit | killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity |
cbe60bd7c7a8f2372a463bbec1843bc5d3e2d33d | src/System.Net.NetworkInformation/tests/FunctionalTests/NetworkChangeTest.cs | src/System.Net.NetworkInformation/tests/FunctionalTests/NetworkChangeTest.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using Xunit;
namespace System.Net.NetworkInformation.Tests
{
public class NetworkChangeTest
{
[Fact... | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using Xunit;
namespace System.Net.NetworkInformation.Tests
{
public class NetworkChangeTest
{
[Fact... | Disable hanging OSX NetworkInformation test | Disable hanging OSX NetworkInformation test
| C# | mit | cartermp/corefx,khdang/corefx,weltkante/corefx,richlander/corefx,dotnet-bot/corefx,axelheer/corefx,krk/corefx,the-dwyer/corefx,fgreinacher/corefx,twsouthwick/corefx,dotnet-bot/corefx,ellismg/corefx,parjong/corefx,jhendrixMSFT/corefx,manu-silicon/corefx,jhendrixMSFT/corefx,iamjasonp/corefx,ravimeda/corefx,nchikanov/core... |
fe98bec4d957882ba813eed17845b67ae498930a | Rollbar.Net.Test/RollbarClientFixture.cs | Rollbar.Net.Test/RollbarClientFixture.cs | using Newtonsoft.Json;
using Xunit;
namespace Rollbar.Test {
public class RollbarClientFixture {
private readonly RollbarClient _rollbarClient;
public RollbarClientFixture() {
this._rollbarClient= new RollbarClient();
}
[Fact]
public void Client_rendered_as_di... | using Newtonsoft.Json;
using Xunit;
namespace Rollbar.Test {
public class RollbarClientFixture {
private readonly RollbarClient _rollbarClient;
public RollbarClientFixture() {
this._rollbarClient= new RollbarClient();
}
[Fact]
public void Client_rendered_as_di... | Add other rollbar client tests | Add other rollbar client tests
| C# | mit | Valetude/Valetude.Rollbar |
5fc6196bef3c6f641d7040ba6140d28988b8270e | BmpListener/Bgp/BgpMessage.cs | BmpListener/Bgp/BgpMessage.cs | using System;
using System.Linq;
using Newtonsoft.Json;
namespace BmpListener.Bgp
{
public abstract class BgpMessage
{
protected BgpMessage(ref ArraySegment<byte> data)
{
var bgpHeader = new BgpHeader(data);
Type = bgpHeader.Type;
var offset = data.Offset + ... | using System;
using System.Linq;
using Newtonsoft.Json;
namespace BmpListener.Bgp
{
public abstract class BgpMessage
{
protected BgpMessage(ref ArraySegment<byte> data)
{
var bgpHeader = new BgpHeader(data);
Type = bgpHeader.Type;
var offset = data.Offset + ... | Remove length object from all JSON messages | Remove length object from all JSON messages
| C# | mit | mstrother/BmpListener |
0cdad77bbdb660384462f4e9ced596e0c150eae0 | osu.Framework/Graphics/Containers/OverlayContainer.cs | osu.Framework/Graphics/Containers/OverlayContainer.cs | // Copyright (c) 2007-2016 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using System;
namespace osu.Framework.Graphics.Containers
{
/// <summary>
/// An element which starts hidden and can be toggled to visible.
... | // Copyright (c) 2007-2016 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using System;
namespace osu.Framework.Graphics.Containers
{
/// <summary>
/// An element which starts hidden and can be toggled to visible.
... | Make StateChanged action more verbose in its arguments. | Make StateChanged action more verbose in its arguments.
| C# | mit | DrabWeb/osu-framework,peppy/osu-framework,default0/osu-framework,smoogipooo/osu-framework,ZLima12/osu-framework,DrabWeb/osu-framework,RedNesto/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,naoey/osu-framework,Nabile-Rahmani/osu-framework,default0/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,ZLima1... |
415451429689466fe2c5401618d06fae761234d8 | MailTest/MailTest/LogOut.aspx.cs | MailTest/MailTest/LogOut.aspx.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace MailTest
{
public partial class LogOut : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
}
}
} | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace MailTest
{
public partial class LogOut : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
// Modifying fil... | Test for checking Fork update | Test for checking Fork update
| C# | mit | Apathak-tba/ApathakMailTest,Apathak-tba/ApathakMailTest,Apathak-tba/ApathakMailTest |
f1dacf72cfcbb5f506a1bb2c31853326be42745a | osu.Framework/Configuration/BindableBool.cs | osu.Framework/Configuration/BindableBool.cs | // Copyright (c) 2007-2016 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
namespace osu.Framework.Configuration
{
public class BindableBool : Bindable<bool>
{
public BindableBool(bool value = false)
... | // Copyright (c) 2007-2016 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
namespace osu.Framework.Configuration
{
public class BindableBool : Bindable<bool>
{
public BindableBool(bool value = false)
... | Fix bools not being parsed correctly from config (case sensitivity). | Fix bools not being parsed correctly from config (case sensitivity).
| C# | mit | EVAST9919/osu-framework,naoey/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,Tom94/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,Nabile-Rahmani/osu-framework,ZLima12/osu-framework,default0/osu-framework,paparony03/osu-framework,default0/osu-framework,peppy/osu-framework,Nabile-Rahmani/osu-framework... |
558a9ef4c2b45cd7812e71ad03cd7775db18147e | osu.Framework.Tests/Visual/Platform/TestSceneActiveState.cs | osu.Framework.Tests/Visual/Platform/TestSceneActiveState.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Allocation;
using osu.Framework.Bindables;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Shapes;
using osu.Framework.Platform;
using osuT... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Allocation;
using osu.Framework.Bindables;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Shapes;
using osu.Framework.Platform;
using osuT... | Update TestCaseActiveState to cover Window.CursorInWindow state | Update TestCaseActiveState to cover Window.CursorInWindow state
| C# | mit | smoogipooo/osu-framework,ppy/osu-framework,peppy/osu-framework,ppy/osu-framework,peppy/osu-framework,peppy/osu-framework,ZLima12/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,ZLima12/osu-framework |
aa42023754233b8758d31fe70bfbe424ecfd93c7 | osu.Framework/Audio/Track/TrackManager.cs | osu.Framework/Audio/Track/TrackManager.cs | // Copyright (c) 2007-2016 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using System;
using System.Linq;
using osu.Framework.IO.Stores;
namespace osu.Framework.Audio.Track
{
public class TrackManager : AudioCollectio... | // Copyright (c) 2007-2016 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using System;
using System.Linq;
using osu.Framework.IO.Stores;
namespace osu.Framework.Audio.Track
{
public class TrackManager : AudioCollectio... | Add comment about Exclusive tracks. | Add comment about Exclusive tracks.
| C# | mit | smoogipooo/osu-framework,Tom94/osu-framework,default0/osu-framework,peppy/osu-framework,DrabWeb/osu-framework,ppy/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,paparony03/osu-framework,DrabWeb/osu-framework,ZLima12/osu-framework,Tom94/osu-framework,Nabile-Rahmani/osu-framework,paparony03/osu-framework,ZLima12... |
3f07471cff190164436626bf719aab3173936d3b | src/Arango/Arango.Test/CollectionTests.cs | src/Arango/Arango.Test/CollectionTests.cs | using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Arango.Test
{
[TestClass]
public class CollectionTests
{
[TestMethod]
public void TestMethod1()
{
}
}
}
| using System;
using System.IO;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Arango.Client;
namespace Arango.Test
{
[TestClass]
public class CollectionTests
{
private ArangoDatabase _database;
public CollectionTests()
{
string alias = "test";
... | Make tests for delete collection methods. | Make tests for delete collection methods.
| C# | mit | kangkot/ArangoDB-NET,yojimbo87/ArangoDB-NET |
22e41c7ddd227a875553641b2ac0cbde482d6188 | src/Unicorn/Data/ISourceItemExtensions.cs | src/Unicorn/Data/ISourceItemExtensions.cs | using System;
using System.Linq;
using Sitecore.Data.Managers;
using Sitecore.Globalization;
namespace Unicorn.Data
{
public static class SourceItemExtensions
{
/// <summary>
/// Helper method to get a specific version from a source item, if it exists
/// </summary>
/// <returns>Null if the version does not... | using System;
using System.Linq;
namespace Unicorn.Data
{
public static class SourceItemExtensions
{
/// <summary>
/// Helper method to get a specific version from a source item, if it exists
/// </summary>
/// <returns>Null if the version does not exist or the version if it exists</returns>
public static... | Fix error when items had invariant language versions (versions compared could be incorrectly the default language instead of the invariant language) | Fix error when items had invariant language versions (versions compared could be incorrectly the default language instead of the invariant language)
| C# | mit | bllue78/Unicorn,kamsar/Unicorn,MacDennis76/Unicorn,bllue78/Unicorn,rmwatson5/Unicorn,PetersonDave/Unicorn,GuitarRich/Unicorn,kamsar/Unicorn,GuitarRich/Unicorn,PetersonDave/Unicorn,MacDennis76/Unicorn,rmwatson5/Unicorn |
9f9ac5a4e273f589a412fff933aacdef50416af9 | Samesound/Global.asax.cs | Samesound/Global.asax.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Http;
using System.Web.Mvc;
using System.Web.Optimization;
using System.Web.Routing;
namespace Samesound
{
public class WebApiApplication : System.Web.HttpApplication
{
protected void Application_Star... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Http;
using System.Web.Mvc;
using System.Web.Optimization;
using System.Web.Routing;
namespace Samesound
{
public class WebApiApplication : System.Web.HttpApplication
{
protected void Application_Star... | Add DetailedErrorPolicy in global configuration | Add DetailedErrorPolicy in global configuration
| C# | mit | uheerme/core,uheerme/core,uheerme/core |
7cd12b251d9faff32328e378e12f8e9b59fd963d | src/System.Management.Automation/System.Management.Automation.assembly-info.cs | src/System.Management.Automation/System.Management.Automation.assembly-info.cs | using System.Runtime.CompilerServices;
using System.Reflection;
[assembly:InternalsVisibleTo("Microsoft.PowerShell.Commands.Management")]
[assembly:InternalsVisibleTo("Microsoft.PowerShell.Commands.Utility")]
[assembly:InternalsVisibleTo("Microsoft.PowerShell.Security")]
[assembly:InternalsVisibleTo("Microsoft.PowerSh... | using System.Runtime.CompilerServices;
using System.Reflection;
[assembly:InternalsVisibleTo("Microsoft.PowerShell.Commands.Management")]
[assembly:InternalsVisibleTo("Microsoft.PowerShell.Commands.Utility")]
[assembly:InternalsVisibleTo("Microsoft.PowerShell.Security")]
[assembly:InternalsVisibleTo("Microsoft.PowerSh... | Build SMA with version 0.0.0.0 | Build SMA with version 0.0.0.0
Because the monad code expects this version on Linux for all PowerShell
assemblies. This should be changed back once they all build with 3.0.0.0.
| C# | mit | bingbing8/PowerShell,daxian-dbw/PowerShell,bmanikm/PowerShell,bingbing8/PowerShell,jsoref/PowerShell,JamesWTruher/PowerShell-1,jsoref/PowerShell,TravisEz13/PowerShell,kmosher/PowerShell,JamesWTruher/PowerShell-1,KarolKaczmarek/PowerShell,KarolKaczmarek/PowerShell,KarolKaczmarek/PowerShell,jsoref/PowerShell,bmanikm/Powe... |
f0b268ccdc002cd7de6b1521b8959e5de43df5b7 | src/Nest/CommonAbstractions/Response/EmptyResponse.cs | src/Nest/CommonAbstractions/Response/EmptyResponse.cs | using Newtonsoft.Json;
namespace Nest
{
public interface IEmptyResponse : IResponse
{
}
[JsonObject]
//TODO Only used by clearscroll, does it really not return anything useful?
public class EmptyResponse : BaseResponse, IEmptyResponse
{
}
} | using Newtonsoft.Json;
namespace Nest
{
public interface IEmptyResponse : IResponse
{
}
[JsonObject]
public class EmptyResponse : BaseResponse, IEmptyResponse
{
}
} | Clear scroll does indeed return an empty response | Clear scroll does indeed return an empty response
| C# | apache-2.0 | cstlaurent/elasticsearch-net,KodrAus/elasticsearch-net,cstlaurent/elasticsearch-net,azubanov/elasticsearch-net,RossLieberman/NEST,CSGOpenSource/elasticsearch-net,KodrAus/elasticsearch-net,adam-mccoy/elasticsearch-net,TheFireCookie/elasticsearch-net,elastic/elasticsearch-net,azubanov/elasticsearch-net,RossLieberman/NEST... |
919d5deb73efb710c125998ec97449039c467bd3 | 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... | Refactor to use linq expression | Refactor to use linq expression
| C# | mit | appharbor/appharbor-cli |
57fbed8de8028e19e951168b9579f0b4153bca7e | src/CoinBot.Discord/Commands/CommandBase.cs | src/CoinBot.Discord/Commands/CommandBase.cs | using Discord;
using Discord.Commands;
using System;
namespace CoinBot.Discord.Commands
{
public abstract class CommandBase : ModuleBase
{
protected static void AddAuthor(EmbedBuilder builder)
{
builder.WithAuthor(new EmbedAuthorBuilder
{
Name = "FunFair CoinBot - right click above to block",
Url ... | using Discord;
using Discord.Commands;
using System;
namespace CoinBot.Discord.Commands
{
public abstract class CommandBase : ModuleBase
{
protected static void AddAuthor(EmbedBuilder builder)
{
builder.WithAuthor(new EmbedAuthorBuilder
{
Name = "FunFair CoinBot - right click above to block",
Url ... | Update Fun token image URL. | Update Fun token image URL.
| C# | mit | funfair-tech/CoinBot |
c61002c796406c3d8e86193bc6c41a3f3da98eaa | DesktopWidgets/WindowViewModels/SelectItemViewModel.cs | DesktopWidgets/WindowViewModels/SelectItemViewModel.cs | using System.Collections.Generic;
using System.Collections.ObjectModel;
using GalaSoft.MvvmLight;
namespace DesktopWidgets.WindowViewModels
{
public class SelectItemViewModel : ViewModelBase
{
private object _selectedItem;
public SelectItemViewModel(IEnumerable<object> items)
{
... | using System.Collections.Generic;
using System.Collections.ObjectModel;
using GalaSoft.MvvmLight;
namespace DesktopWidgets.WindowViewModels
{
public class SelectItemViewModel : ViewModelBase
{
private object _selectedItem;
public SelectItemViewModel(IEnumerable<object> items)
{
... | Select first item by default in "Select Item" window | Select first item by default in "Select Item" window
| C# | apache-2.0 | danielchalmers/DesktopWidgets |
ec1298b8ae8e3e77aaf754eb59dc7103de4821be | UnityBuild-XRPluginManagement/Editor/XRPluginManagement.cs | UnityBuild-XRPluginManagement/Editor/XRPluginManagement.cs | using System;
using System.Collections.Generic;
using UnityEditor;
using UnityEditor.XR.Management;
using UnityEngine;
using UnityEngine.XR.Management;
namespace SuperSystems.UnityBuild
{
public class XRPluginManagement : BuildAction, IPreBuildAction, IPreBuildPerPlatformAction
{
[Header("XR Settings")... | using System;
using System.Collections.Generic;
using UnityEditor;
using UnityEditor.XR.Management;
using UnityEngine;
using UnityEngine.XR.Management;
namespace SuperSystems.UnityBuild
{
public class XRPluginManagement : BuildAction, IPreBuildPerPlatformAction, IPostBuildPerPlatformAction
{
[Header("X... | Allow XR Plug-in Management settings to be configured post-build | Allow XR Plug-in Management settings to be configured post-build
| C# | mit | Chaser324/unity-build-actions |
9ef98a674c4f50a7e36faca4eba9f8b8996ac07f | Commencement.Mvc/App_Start/FilterConfig.cs | Commencement.Mvc/App_Start/FilterConfig.cs | using System;
using System.Web;
using System.Web.Mvc;
using Serilog;
namespace Commencement.Mvc
{
public class FilterConfig
{
public static void RegisterGlobalFilters(GlobalFilterCollection filters)
{
filters.Add(new HandleAndLogErrorAttribute());
}
}
[Attri... | using System;
using System.Web;
using System.Web.Mvc;
using Serilog;
namespace Commencement.Mvc
{
public class FilterConfig
{
public static void RegisterGlobalFilters(GlobalFilterCollection filters)
{
filters.Add(new HandleAndLogErrorAttribute());
}
}
[Attri... | Kill commented out code so Scott isn't sad | Kill commented out code so Scott isn't sad
| C# | mit | ucdavis/Commencement,ucdavis/Commencement,ucdavis/Commencement |
b5faca60738ec0f5e1f69605d23e1b05825acc78 | SurveyMonkey/SurveyMonkeyApi.Responses.cs | SurveyMonkey/SurveyMonkeyApi.Responses.cs | using System;
using System.Collections.Generic;
using Newtonsoft.Json.Linq;
using SurveyMonkey.Containers;
using SurveyMonkey.RequestSettings;
namespace SurveyMonkey
{
public partial class SurveyMonkeyApi
{
public List<Response> GetResponseOverviews(int id)
{
string endPoint = Stri... | using System;
using System.Collections.Generic;
using Newtonsoft.Json.Linq;
using SurveyMonkey.Containers;
using SurveyMonkey.RequestSettings;
namespace SurveyMonkey
{
public partial class SurveyMonkeyApi
{
private enum SurveyOrCollector
{
Survey,
Collector
}
... | Support responses for collectors, and commonise | Support responses for collectors, and commonise
| C# | mit | bcemmett/SurveyMonkeyApi-v3,davek17/SurveyMonkeyApi-v3 |
916a9be3469d51c98c296bd04d81b42144f8e739 | DistributedLock.Tests/Tests/Postgres/PostgresDistributedLockTest.cs | DistributedLock.Tests/Tests/Postgres/PostgresDistributedLockTest.cs | using Medallion.Threading.Postgres;
using Microsoft.Data.SqlClient;
using Npgsql;
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Data.Common;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace Medallion.Threading.Tests.Tests.Postg... | using Medallion.Threading.Postgres;
using Microsoft.Data.SqlClient;
using Npgsql;
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Data.Common;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace Medallion.Threading.Tests.Tests.Postg... | Add connection pruning test (currently just fails) | Add connection pruning test (currently just fails)
| C# | mit | madelson/DistributedLock |
d17201f89f9f0b3cc1375e5fce48cc0a273c5425 | src/NSync.Client/UpdateManager.cs | src/NSync.Client/UpdateManager.cs | using System;
using System.IO;
namespace NSync.Client
{
public class UpdateManager
{
Func<string, Stream> openPath;
Func<string, IObservable<string>> downloadUrl;
public UpdateManager(string url,
Func<string, Stream> openPathMock = null,
Func<string, IObservabl... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reactive.Linq;
using System.Reactive.Subjects;
using NSync.Core;
namespace NSync.Client
{
public class UpdateManager
{
Func<string, Stream> openPath;
Func<string, IObservable<string>> downloadUrl;
... | Write the top-level function for checking for updates | Write the top-level function for checking for updates | C# | mit | rzhw/Squirrel.Windows,rzhw/Squirrel.Windows |
1a00e4d1d3048a00dc58cd49c529e6dae41c52b5 | E247.Fun/Unit.cs | E247.Fun/Unit.cs | using System;
#pragma warning disable 1591
namespace E247.Fun
{
public struct Unit : IEquatable<Unit>
{
public static readonly Unit Value = new Unit();
public override int GetHashCode() =>
0;
public override bool Equals(object obj) =>
obj is Unit;
pu... | using System;
#pragma warning disable 1591
namespace E247.Fun
{
public struct Unit : IEquatable<Unit>
{
public static readonly Unit Value = new Unit();
public override int GetHashCode() =>
0;
public override bool Equals(object obj) =>
obj is Unit;
pu... | Update namespace reference in unit comments | Update namespace reference in unit comments
| C# | mit | 247Entertainment/E247.Fun |
62d7456804b2fff5f39f1409f4c5eeeab3fe2f0f | osu.Framework/Extensions/ObjectExtensions/ObjectExtensions.cs | osu.Framework/Extensions/ObjectExtensions/ObjectExtensions.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.CodeAnalysis;
namespace osu.Framework.Extensions.ObjectExtensions
{
/// <summary>
/// Extensions that apply to all objects.
/// </su... | // 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.CodeAnalysis;
namespace osu.Framework.Extensions.ObjectExtensions
{
/// <summary>
/// Extensions that apply to all objects.
/// </su... | Change AsNonNull to NotNull return | Change AsNonNull to NotNull return
| C# | mit | smoogipooo/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,peppy/osu-framework,peppy/osu-framework,ppy/osu-framework,ppy/osu-framework |
3b2face9367a59186193d1a019bfea84538ecef9 | src/SFA.DAS.EmployerUsers.Api/Controllers/StatusController.cs | src/SFA.DAS.EmployerUsers.Api/Controllers/StatusController.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
namespace SFA.DAS.EmployerUsers.Api.Controllers
{
[RoutePrefix("api/status")]
public class StatusController : ApiController
{
[HttpGet, Route("")]
public IHtt... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
namespace SFA.DAS.EmployerUsers.Api.Controllers
{
[RoutePrefix("api/status")]
public class StatusController : ApiController
{
[Route("")]
public IHttpActionRe... | Simplify status convention based on conversation with Mr David Goodyear | Simplify status convention based on conversation with Mr David Goodyear
| C# | mit | SkillsFundingAgency/das-employerusers,SkillsFundingAgency/das-employerusers,SkillsFundingAgency/das-employerusers |
d37df6afeca4e2a1fff47a521dec9d7ab6997adc | osu.Game.Tournament.Tests/Screens/TestSceneTeamWinScreen.cs | osu.Game.Tournament.Tests/Screens/TestSceneTeamWinScreen.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System.Linq;
using NUnit.Framework;
using osu.Framework.Graphics;
using osu.Game.Tournament.Screens.TeamWin;
namespace osu.Game.Tournament.Tests.Screens
{
publ... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System.Linq;
using NUnit.Framework;
using osu.Framework.Graphics;
using osu.Game.Tournament.Screens.TeamWin;
namespace osu.Game.Tournament.Tests.Screens
{
publ... | Fix test failing after BDL -> `[Test]` change | Fix test failing after BDL -> `[Test]` change
| C# | mit | peppy/osu-new,NeoAdonis/osu,smoogipooo/osu,ppy/osu,NeoAdonis/osu,ppy/osu,NeoAdonis/osu,peppy/osu,peppy/osu,smoogipoo/osu,smoogipoo/osu,peppy/osu,ppy/osu,smoogipoo/osu |
0fb6b151038158ca0cab48c7333b6b1acb2a8f81 | Portal.CMS.Entities/Seed/SettingSeed.cs | Portal.CMS.Entities/Seed/SettingSeed.cs | using Portal.CMS.Entities.Entities.Settings;
using System.Collections.Generic;
using System.Linq;
namespace Portal.CMS.Entities.Seed
{
public static class SettingSeed
{
public static void Seed(PortalEntityModel context)
{
var settingList = context.Settings.ToList();
va... | using Portal.CMS.Entities.Entities.Settings;
using System.Collections.Generic;
using System.Linq;
namespace Portal.CMS.Entities.Seed
{
public static class SettingSeed
{
public static void Seed(PortalEntityModel context)
{
var settingList = context.Settings.ToList();
va... | Add Email Setting Seed Items | Add Email Setting Seed Items
| C# | mit | tommcclean/PortalCMS,tommcclean/PortalCMS,tommcclean/PortalCMS |
a2c8cbcfa316e5975ccfee71a1088cef7e871b27 | src/WebApiToTypeScript/ServiceAware.cs | src/WebApiToTypeScript/ServiceAware.cs | using WebApiToTypeScript.Enums;
using WebApiToTypeScript.Interfaces;
using WebApiToTypeScript.Types;
namespace WebApiToTypeScript
{
public abstract class ServiceAware
{
protected string IHaveQueryParams = WebApiToTypeScript.IHaveQueryParams;
protected string IEndpoint = WebApiToTypeScript.IEndp... | using WebApiToTypeScript.Enums;
using WebApiToTypeScript.Interfaces;
using WebApiToTypeScript.Types;
namespace WebApiToTypeScript
{
public abstract class ServiceAware
{
protected string IHaveQueryParams = WebApiToTypeScript.IHaveQueryParams;
protected string IEndpoint = WebApiToTypeScript.IEndp... | Add logging capability to serviceaware | Add logging capability to serviceaware
| C# | mit | greymind/WebApiToTypeScript,greymind/WebApiToTypeScript,greymind/WebApiToTypeScript |
a42230af7330e89ada8faf17a7c52dfa7b7a7614 | src/Controllers/GeometryController.cs | src/Controllers/GeometryController.cs | using System.Net;
using System.Threading.Tasks;
using FlatBuffers;
using InWorldz.Arbiter.Serialization;
using InWorldz.Chrysalis.Util;
namespace InWorldz.Chrysalis.Controllers
{
/// <summary>
/// Handles incoming requests related to geometry
/// </summary>
internal class GeometryController
{
... | using System.Net;
using System.Threading.Tasks;
using FlatBuffers;
using InWorldz.Arbiter.Serialization;
using InWorldz.Chrysalis.Util;
namespace InWorldz.Chrysalis.Controllers
{
/// <summary>
/// Handles incoming requests related to geometry
/// </summary>
internal class GeometryController
{
... | Add groups to the serialization | Add groups to the serialization
| C# | apache-2.0 | InWorldz/chrysalis |
3bbe6893be2ffa6ff19839eadfbbc74ad9b95203 | UnityProject/Assets/Plugins/Zenject/Source/Binding/Binders/InstantiateCallbackConditionCopyNonLazyBinder.cs | UnityProject/Assets/Plugins/Zenject/Source/Binding/Binders/InstantiateCallbackConditionCopyNonLazyBinder.cs | using System;
using ModestTree;
namespace Zenject
{
[NoReflectionBaking]
public class InstantiateCallbackConditionCopyNonLazyBinder : ConditionCopyNonLazyBinder
{
public InstantiateCallbackConditionCopyNonLazyBinder(BindInfo bindInfo)
: base(bindInfo)
{
}
public... | using System;
using ModestTree;
namespace Zenject
{
[NoReflectionBaking]
public class InstantiateCallbackConditionCopyNonLazyBinder : ConditionCopyNonLazyBinder
{
public InstantiateCallbackConditionCopyNonLazyBinder(BindInfo bindInfo)
: base(bindInfo)
{
}
public... | Fix assert hit during OnInstantiated validation | Fix assert hit during OnInstantiated validation
| C# | mit | modesttree/Zenject,modesttree/Zenject,modesttree/Zenject |
ce01a593d30a2e69301d3fd63492a3d5804f25a5 | DotNetKit.Wpf.Printing/Windows/Documents/FixedDocumentCreator.cs | DotNetKit.Wpf.Printing/Windows/Documents/FixedDocumentCreator.cs | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Media;
namespace DotNetKit.Windows.Documents
{
/// <summary>
/... | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Media;
namespace DotNetKit.Windows.Documents
{
/// <summary>
/... | Remove a redundant UpdateLayout invocation | Remove a redundant UpdateLayout invocation
| C# | mit | DotNetKit/DotNetKit.Wpf.Printing |
80d81c30440594e4aa92d62812504086f82a95da | osu.Game.Rulesets.Taiko/Mods/TaikoModEasy.cs | osu.Game.Rulesets.Taiko/Mods/TaikoModEasy.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Game.Rulesets.Mods;
namespace osu.Game.Rulesets.Taiko.Mods
{
public class TaikoModEasy : ModEasy
{
public override string Description => @"Bea... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Game.Rulesets.Mods;
namespace osu.Game.Rulesets.Taiko.Mods
{
public class TaikoModEasy : ModEasy
{
public override string Description => @"Bea... | Reword taiko easy mod description to fit others better | Reword taiko easy mod description to fit others better
Co-authored-by: Joseph Madamba <deb5e3a2371a81eb362def5dfce4787ebd8ff67d@outlook.com> | C# | mit | peppy/osu,NeoAdonis/osu,peppy/osu-new,smoogipoo/osu,NeoAdonis/osu,peppy/osu,UselessToucan/osu,smoogipooo/osu,peppy/osu,NeoAdonis/osu,smoogipoo/osu,ppy/osu,UselessToucan/osu,UselessToucan/osu,ppy/osu,ppy/osu,smoogipoo/osu |
e827b14abf5212aa0809256b4830456acda994e8 | osu.Game/Skinning/GlobalSkinConfiguration.cs | osu.Game/Skinning/GlobalSkinConfiguration.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 enum GlobalSkinConfiguration
{
AnimationFramerate
}
}
| // 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 enum GlobalSkinConfiguration
{
AnimationFramerate,
LayeredHitSounds,
}
}
| Add LayeredHitSamples skin config lookup | Add LayeredHitSamples skin config lookup
| C# | mit | ppy/osu,NeoAdonis/osu,peppy/osu,NeoAdonis/osu,peppy/osu,ppy/osu,smoogipoo/osu,UselessToucan/osu,NeoAdonis/osu,UselessToucan/osu,UselessToucan/osu,smoogipoo/osu,smoogipooo/osu,smoogipoo/osu,peppy/osu-new,ppy/osu,peppy/osu |
4d5a9dad88febc7bd888132a7c43eb03a13b70f8 | src/GitHub.VisualStudio/TeamExplorer/Connect/GitHubConnectSection1.cs | src/GitHub.VisualStudio/TeamExplorer/Connect/GitHubConnectSection1.cs | using GitHub.Api;
using GitHub.Models;
using GitHub.Services;
using Microsoft.TeamFoundation.Controls;
using System.ComponentModel.Composition;
namespace GitHub.VisualStudio.TeamExplorer.Connect
{
[TeamExplorerSection(GitHubConnectSection1Id, TeamExplorerPageIds.Connect, 11)]
[PartCreationPolicy(CreationPolic... | using GitHub.Api;
using GitHub.Models;
using GitHub.Services;
using Microsoft.TeamFoundation.Controls;
using System.ComponentModel.Composition;
namespace GitHub.VisualStudio.TeamExplorer.Connect
{
[TeamExplorerSection(GitHubConnectSection1Id, TeamExplorerPageIds.Connect, 10)]
[PartCreationPolicy(CreationPolic... | Fix the order of the connect section | Fix the order of the connect section
Make sure the second connection shows up above the hosted service
providers section.
| C# | mit | github/VisualStudio,github/VisualStudio,github/VisualStudio,HeadhunterXamd/VisualStudio,luizbon/VisualStudio |
dbead4dfbed42350f8dc61f6170b8728700be54d | Anlab.Mvc/Controllers/SystemController.cs | Anlab.Mvc/Controllers/SystemController.cs | using System;
using AnlabMvc.Models.Roles;
using AnlabMvc.Services;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using System.Threading.Tasks;
namespace AnlabMvc.Controllers
{
[Authorize(Roles = RoleCodes.Admin)]
public class SystemController : ApplicationController
... | using System;
using AnlabMvc.Models.Roles;
using AnlabMvc.Services;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using System.Threading.Tasks;
namespace AnlabMvc.Controllers
{
[Authorize(Roles = RoleCodes.Admin)]
public class SystemController : ApplicationController
... | Make it harder to accidentally reset prod database | Make it harder to accidentally reset prod database
| C# | mit | ucdavis/Anlab,ucdavis/Anlab,ucdavis/Anlab,ucdavis/Anlab |
32fe8a44812205c2cd4504cfb151f0389f9b5db2 | src/RestfulRouting/HtmlHelperExtensions.cs | src/RestfulRouting/HtmlHelperExtensions.cs | using System.Web.Mvc;
namespace RestfulRouting
{
public static class HtmlHelperExtensions
{
public static MvcHtmlString PutOverrideTag(this HtmlHelper html)
{
return MvcHtmlString.Create("<input type=\"hidden\" name=\"_method\" value=\"put\" />");
}
publ... | using System.Web.Mvc;
using System.Web.Mvc.Html;
namespace RestfulRouting
{
public static class HtmlHelperExtensions
{
public static MvcHtmlString PutOverrideTag(this HtmlHelper html)
{
return html.Hidden("_method", "put");
}
public static MvcHtmlString... | Use HTML helper extension method for outputting an <input type="hidden"/> element | Use HTML helper extension method for outputting an <input type="hidden"/> element
| C# | mit | stevehodgkiss/restful-routing,restful-routing/restful-routing,restful-routing/restful-routing,restful-routing/restful-routing,stevehodgkiss/restful-routing,stevehodgkiss/restful-routing |
93bbfbe05f582f9b4e12dd8c8e3243b9153c8c67 | src/SqlNotebook/Properties/AssemblyInfo.cs | src/SqlNotebook/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("SQ... | 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("SQ... | Downgrade version to 0.6.0 again -- only update version upon actual release | Downgrade version to 0.6.0 again -- only update version upon actual release
| C# | mit | electroly/sqlnotebook,electroly/sqlnotebook,electroly/sqlnotebook |
0261c8de6cb5b71206d4eae5a8541efb55599872 | Assets/Scripts/PaddleController.cs | Assets/Scripts/PaddleController.cs | using UnityEngine;
public class PaddleController : MonoBehaviour {
[SerializeField]
private float _speed;
[SerializeField]
private Planet _planet;
[SerializeField]
private float _orbitAngle;
[SerializeField]
private float _orbitDistance;
public enum MoveDirection {
Left... | using UnityEngine;
public class PaddleController : MonoBehaviour {
[SerializeField]
private float _speed;
[SerializeField]
private Planet _planet;
[SerializeField]
private float _orbitAngle;
[SerializeField]
private float _orbitDistance;
[SerializeField, Range( -1, 1 )]
pri... | Change Paddle direction to a float. | Change Paddle direction to a float.
| C# | mit | dirty-casuals/LD38-A-Small-World |
f6efdb16d428144cd959e046a07c7fa052467f60 | SnapMD.ConnectedCare.Sdk/EncountersApi.cs | SnapMD.ConnectedCare.Sdk/EncountersApi.cs | // Copyright 2015 SnapMD, Inc.
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0
// Unless required by applicable law or ag... | // Copyright 2015 SnapMD, Inc.
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0
// Unless required by applicable law or ag... | Add API to get a user's active consultations. | Add API to get a user's active consultations.
| C# | apache-2.0 | dhawalharsora/connectedcare-sdk,SnapMD/connectedcare-sdk |
60f4520669aa0b688183199e65bbd15b0791cac9 | OmniSharp/Build/BuildCommandBuilder.cs | OmniSharp/Build/BuildCommandBuilder.cs | using System.IO;
using OmniSharp.Solution;
namespace OmniSharp.Build
{
public class BuildCommandBuilder
{
private readonly ISolution _solution;
public BuildCommandBuilder(ISolution solution)
{
_solution = solution;
}
public string Executable
{
... | using System.IO;
using OmniSharp.Solution;
namespace OmniSharp.Build
{
public class BuildCommandBuilder
{
private readonly ISolution _solution;
private readonly OmniSharpConfiguration _config;
public BuildCommandBuilder(
ISolution solution,
OmniSharpConfigurati... | Use msbuild path from config.json if present | Use msbuild path from config.json if present
Otherwise use runtime directory. | C# | mit | OmniSharp/omnisharp-server,x335/omnisharp-server,syl20bnr/omnisharp-server,x335/omnisharp-server,syl20bnr/omnisharp-server,corngood/omnisharp-server,corngood/omnisharp-server,svermeulen/omnisharp-server |
b39fe0a93279cb8a9bec6c7e8f3f6a8ed073ed52 | Phoebe/Data/DataObjects/ProjectData.cs | Phoebe/Data/DataObjects/ProjectData.cs | using System;
using SQLite;
namespace Toggl.Phoebe.Data.DataObjects
{
[Table ("Project")]
public class ProjectData : CommonData
{
public ProjectData ()
{
}
public ProjectData (ProjectData other) : base (other)
{
Name = other.Name;
Color = oth... | using System;
using SQLite;
namespace Toggl.Phoebe.Data.DataObjects
{
[Table ("Project")]
public class ProjectData : CommonData
{
public ProjectData ()
{
}
public ProjectData (ProjectData other) : base (other)
{
Name = other.Name;
Color = oth... | Fix typo in data object cloning. | Fix typo in data object cloning.
| C# | bsd-3-clause | eatskolnikov/mobile,ZhangLeiCharles/mobile,peeedge/mobile,masterrr/mobile,peeedge/mobile,eatskolnikov/mobile,eatskolnikov/mobile,ZhangLeiCharles/mobile,masterrr/mobile |
59fa56b1f446495561d55a4fbaa419e6aaf08657 | src/Red-Folder.com/Services/SendGridEmail.cs | src/Red-Folder.com/Services/SendGridEmail.cs | using RedFolder.Models;
using RedFolder.ViewModels;
using SendGrid;
using SendGrid.Helpers.Mail;
using System.Net;
using System.Threading.Tasks;
using System.Web;
namespace RedFolder.Services
{
public class SendGridEmail : IEmail
{
private const string CONTACT_THANK_YOU_TEMPLATE = "d-b7898a39f2c441d68... | using RedFolder.Models;
using RedFolder.ViewModels;
using SendGrid;
using SendGrid.Helpers.Mail;
using System.Net;
using System.Threading.Tasks;
using System.Web;
namespace RedFolder.Services
{
public class SendGridEmail : IEmail
{
private const string CONTACT_THANK_YOU_TEMPLATE = "d-b7898a39f2c441d68... | Fix for getting the email addresses the wrong way round | Fix for getting the email addresses the wrong way round
| C# | mit | Red-Folder/red-folder.com,Red-Folder/red-folder.com,Red-Folder/red-folder.com |
e7d07bd4172ff8cf552adc735748c2bb48248864 | src/Acme.Helpers/Alignment.cs | src/Acme.Helpers/Alignment.cs |
namespace Acme.Helpers
{
/// <summary>
/// Horizontal alignment options.
/// </summary>
public enum HorizontalAlignment { Left, Right, }
public enum PagerVerticalAlignment { Top, Bottom, Both }
}
|
namespace Acme.Helpers
{
/// <summary>
/// Horizontal alignment options.
/// </summary>
public enum HorizontalAlignment { Left, Right, }
}
| Refactor pagination to a common base class | Refactor pagination to a common base class
| C# | mit | simonray/Acme.Helpers,simonray/Acme.Helpers |
2e274dd721d1f281f401c2bdde7767d9bf1e331b | nancy/src/Global.asax.cs | nancy/src/Global.asax.cs | using System;
using System.Collections.Generic;
using System.Web;
using Nancy;
using Nancy.ErrorHandling;
namespace NancyBenchmark
{
public class Global : HttpApplication
{
protected void Application_Start()
{
}
}
} | using System;
using System.Collections.Generic;
using System.Web;
using Nancy;
using Nancy.ErrorHandling;
using System.Threading;
namespace NancyBenchmark
{
public class Global : HttpApplication
{
protected void Application_Start()
{
var threads = 40 * Environment.ProcessorCount;
... | Set improved ThreadPool values for nancy | Set improved ThreadPool values for nancy
| C# | bsd-3-clause | raziel057/FrameworkBenchmarks,nbrady-techempower/FrameworkBenchmarks,ratpack/FrameworkBenchmarks,mfirry/FrameworkBenchmarks,markkolich/FrameworkBenchmarks,jaguililla/FrameworkBenchmarks,waiteb3/FrameworkBenchmarks,martin-g/FrameworkBenchmarks,zloster/FrameworkBenchmarks,yunspace/FrameworkBenchmarks,hperadin/FrameworkBe... |
ab353428fe94a8106249ed61f637958de624890f | src/Wangkanai.Detection.Device/DeviceType.cs | src/Wangkanai.Detection.Device/DeviceType.cs | // Copyright (c) 2018 Sarin Na Wangkanai, All Rights Reserved.
// The Apache v2. See License.txt in the project root for license information.
namespace Wangkanai.Detection
{
public enum DeviceType
{
Desktop,
Tablet,
Mobile
}
} | // Copyright (c) 2018 Sarin Na Wangkanai, All Rights Reserved.
// The Apache v2. See License.txt in the project root for license information.
namespace Wangkanai.Detection
{
public enum DeviceType
{
Desktop,
Tablet,
Mobile,
Tv,
Console,
Car
}
}
| Add new type of devices | Add new type of devices | C# | apache-2.0 | wangkanai/Detection |
8b5de7403f317cd87be9315976632d08873b021a | osu.Android/OsuGameAndroid.cs | osu.Android/OsuGameAndroid.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 Android.App;
using osu.Game;
using osu.Game.Updater;
namespace osu.Android
{
public class OsuGameAndroid : OsuGame
{
public override... | // 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 Android.App;
using osu.Game;
using osu.Game.Updater;
namespace osu.Android
{
public class OsuGameAndroid : OsuGame
{
public override... | Fix android usage of obsoleted VersionCode | Fix android usage of obsoleted VersionCode
| C# | mit | ppy/osu,ppy/osu,smoogipooo/osu,NeoAdonis/osu,peppy/osu,smoogipoo/osu,ppy/osu,UselessToucan/osu,NeoAdonis/osu,UselessToucan/osu,peppy/osu-new,peppy/osu,NeoAdonis/osu,smoogipoo/osu,peppy/osu,smoogipoo/osu,UselessToucan/osu |
8c10d31af947d8ace2265952bfa2bbbea62e2d43 | osu.Game/Utils/FormatUtils.cs | osu.Game/Utils/FormatUtils.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.Utils
{
public static class FormatUtils
{
/// <summary>
/// Turns the provided accuracy into a percentage with 2 decimal places... | // 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.Utils
{
public static class FormatUtils
{
/// <summary>
/// Turns the provided accuracy into a percentage with 2 decimal places... | Make accuracy formatting more consistent | Make accuracy formatting more consistent
| C# | mit | smoogipooo/osu,smoogipoo/osu,NeoAdonis/osu,peppy/osu-new,johnneijzen/osu,NeoAdonis/osu,smoogipoo/osu,EVAST9919/osu,UselessToucan/osu,smoogipoo/osu,johnneijzen/osu,peppy/osu,ppy/osu,ppy/osu,2yangk23/osu,peppy/osu,NeoAdonis/osu,UselessToucan/osu,peppy/osu,ppy/osu,UselessToucan/osu,2yangk23/osu,EVAST9919/osu |
07ee1b4d0b73edebaaffc632acd13dc993f0871c | osu.Game/Utils/PowerStatus.cs | osu.Game/Utils/PowerStatus.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.Utils
{
/// <summary>
/// Provides access to the system's power status.
/// Currently implemented on iOS and Android only.
/// </summar... | // 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.Utils
{
/// <summary>
/// Provides access to the system's power status.
/// Currently implemented on iOS and Android only.
/// </summar... | Make power status properties abstract | Make power status properties abstract
| C# | mit | peppy/osu,UselessToucan/osu,smoogipoo/osu,ppy/osu,NeoAdonis/osu,smoogipooo/osu,NeoAdonis/osu,UselessToucan/osu,ppy/osu,NeoAdonis/osu,peppy/osu,smoogipoo/osu,UselessToucan/osu,peppy/osu,smoogipoo/osu,ppy/osu,peppy/osu-new |
297105e370079570d3650fb92b3862c60c7e17a5 | inject.cs | inject.cs | using RestSharp;
using jRace.PrivateClass.Main;
Namespace Inject {
public class Inject {
file = new jRace.PrivateClass.Main();
brows = new jRace.PrivateClass.Brows();
private main() {
var browser = brows.runproc(get());
brows.getID(browser);
brows.Select(ID);
return(load);
... | using RestSharp;
using jRace.PrivateClass.Main;
Namespace Inject {
public class Inject {
file = new jRace.PrivateClass.Main();
brows = new jRace.PrivateClass.Brows();
private main() {
var browser = brows.runproc(get());
var bID = brows.getID(browser());
brows.Select(bID, int);
i... | Add New Exception *() saftynet | Add New Exception *() saftynet | C# | mpl-2.0 | OfficialLucky/jRace,OfficialLucky/jRace |
f42f2c684e4c448cd2053fd0e2d7bf851ccd49c1 | ApiConsole/Program.cs | ApiConsole/Program.cs | using System;
using System.Net.Http;
using System.Threading.Tasks;
using PortableWordPressApi;
namespace ApiConsole
{
class Program
{
static void Main(string[] args)
{
Task.WhenAll(AsyncMain());
Console.WriteLine("Press any key to close.");
Console.Read();
}
private static async Task AsyncMain()
... | using System;
using System.Net.Http;
using System.Threading.Tasks;
using PortableWordPressApi;
namespace ApiConsole
{
class Program
{
static void Main(string[] args)
{
Task.WaitAll(AsyncMain());
Console.WriteLine("Press any key to close.");
Console.Read();
}
private static async Task AsyncMain()
... | Fix async behavior of console program. | Fix async behavior of console program.
| C# | mit | maxcutler/wp-api-csharp |
728b8b8bf9765683c22be04b19df0f3cbf4c3740 | src/Nvents/Services/Network/EventService.cs | src/Nvents/Services/Network/EventService.cs | using System;
using System.ServiceModel;
namespace Nvents.Services.Network
{
[ServiceBehavior(
InstanceContextMode = InstanceContextMode.Single,
ConcurrencyMode = ConcurrencyMode.Multiple)]
public class EventService : IEventService
{
public event EventHandler<EventPublishedEventArgs> EventPublished;... | using System;
using System.ServiceModel;
using System.Threading;
namespace Nvents.Services.Network
{
[ServiceBehavior(
InstanceContextMode = InstanceContextMode.Single,
ConcurrencyMode = ConcurrencyMode.Multiple)]
public class EventService : IEventService
{
public event EventHandler<EventPublishedE... | Raise incoming event on the ThreadPool | Raise incoming event on the ThreadPool
| C# | mit | loraderon/nvents |
c0289fb7f67fb2f6ff83f2b26a7f477d467fb763 | Droid/MainActivity.cs | Droid/MainActivity.cs | using Android.App;
using Android.Widget;
using Android.OS;
namespace MatXiTest.Droid
{
[Activity(Label = "MatXiTest", MainLauncher = true, Icon = "@mipmap/icon")]
public class MainActivity : Activity
{
int count = 1;
protected override void OnCreate(Bundle savedInstanceState)
{
base.OnCreate(savedInstanc... | using Android.App;
using Android.Widget;
using Android.OS;
using System.Security.Cryptography;
namespace MatXiTest.Droid
{
[Activity(Label = "MatXiTest", MainLauncher = true, Icon = "@mipmap/icon")]
public class MainActivity : Activity
{
int count = 1;
protected override void OnCreate(Bundle savedInstanceStat... | Add NET Standard 1.6 API dependency | Add NET Standard 1.6 API dependency
| C# | mit | ranterle/XamarinTest,ranterle/XamarinTest |
dd34453f3e72c47b5b7e63f396ed4b4789981187 | Plugin.FirebasePushNotification/PushNotificationDeletedReceiver.android.cs | Plugin.FirebasePushNotification/PushNotificationDeletedReceiver.android.cs | using System.Collections.Generic;
using Android.Content;
namespace Plugin.FirebasePushNotification
{
[BroadcastReceiver]
public class PushNotificationDeletedReceiver : BroadcastReceiver
{
public override void OnReceive(Context context, Intent intent)
{
IDictionary<string, objec... | using System.Collections.Generic;
using Android.Content;
namespace Plugin.FirebasePushNotification
{
[BroadcastReceiver(Enabled = true, Exported = false)]
public class PushNotificationDeletedReceiver : BroadcastReceiver
{
public override void OnReceive(Context context, Intent intent)
{
... | Add Enabled = true, Exported = false | Add Enabled = true, Exported = false | C# | mit | CrossGeeks/FirebasePushNotificationPlugin |
2dc328727a20bd7e72f570c31a0974b4bd30b780 | FezEngine.Mod.mm/FezEngine/Structure/Level.cs | FezEngine.Mod.mm/FezEngine/Structure/Level.cs | using System;
namespace FezEngine.Structure {
public class Level {
public static bool IsNoFlat = false;
public bool orig_get_Flat() {
return false;
}
public bool get_Flat() {
return orig_get_Flat() || !IsNoFlat;
}
}
}
| using System;
namespace FezEngine.Structure {
public class Level {
public static bool IsNoFlat = false;
public bool orig_get_Flat() {
return false;
}
public bool get_Flat() {
return orig_get_Flat() && !IsNoFlat;
}
}
}
| Fix logic fail with IsNoFlip | Fix logic fail with IsNoFlip
| C# | mit | AngelDE98/FEZMod,AngelDE98/FEZMod |
1643d0229415479f66bf2830f0c3a0e255882cb4 | Oogstplanner.Web/Views/Shared/Error.cshtml | Oogstplanner.Web/Views/Shared/Error.cshtml | @{
ViewBag.Title = "Er is iets fout gegaan";
}
<div id="top"></div>
<div class="row">
<div class="col-lg-4 col-md-3 col-sm-2 col-xs-2"></div>
<div class="col-lg-4 col-md-6 col-sm-8 col-xs-8">
<div class="panel panel-default dark">
<div class="panel-heading">
<h1 class... | @{
ViewBag.Title = "Er is iets fout gegaan";
}
<div id="top"></div>
<div class="row">
<div class="col-lg-4 col-md-3 col-sm-2 col-xs-2"></div>
<div class="col-lg-4 col-md-6 col-sm-8 col-xs-8">
<div class="panel panel-default dark">
<div class="panel-heading">
<h1 class... | Include email possibility on server error page | Include email possibility on server error page
| C# | mit | erooijak/oogstplanner,erooijak/oogstplanner,erooijak/oogstplanner,erooijak/oogstplanner |
303dda9737cb64981417211d2badc95fbcfa1d7f | src/VSX/Twainsoft.SolutionRenamer.VSPackage/GUI/RenameProjectDialog.xaml.cs | src/VSX/Twainsoft.SolutionRenamer.VSPackage/GUI/RenameProjectDialog.xaml.cs | using System;
using System.IO;
using System.Windows;
using System.Windows.Forms;
using EnvDTE;
using MessageBox = System.Windows.Forms.MessageBox;
namespace Twainsoft.SolutionRenamer.VSPackage.GUI
{
public partial class RenameProjectDialog
{
private Project CurrentProject { get; set; }
public... | using System;
using System.IO;
using System.Windows;
using System.Windows.Forms;
using EnvDTE;
using MessageBox = System.Windows.Forms.MessageBox;
namespace Twainsoft.SolutionRenamer.VSPackage.GUI
{
public partial class RenameProjectDialog
{
private Project CurrentProject { get; set; }
public... | Check if the project names (new and old one) are the same. | Check if the project names (new and old one) are the same.
| C# | mit | fdeitelhoff/Twainsoft.SimpleRenamer |
821607c0def266d8dd73a6e742079f175a4869c0 | CreviceApp/Core.Config.UserInterfaceConfig.cs | CreviceApp/Core.Config.UserInterfaceConfig.cs | using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace CreviceApp.Core.Config
{
public class UserInterfaceConfig
{
public Func<Point, Point> TooltipPositionBinding;
public i... | using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace CreviceApp.Core.Config
{
public class UserInterfaceConfig
{
public Func<Point, Point> TooltipPositionBinding;
public i... | Fix an issue Tooltip does not show on the bottom right edge of the primary display | Fix an issue Tooltip does not show on the bottom right edge of the primary display
| C# | mit | rubyu/CreviceApp,rubyu/CreviceApp |
ee4ca4109b4950359c1ab680801aef36e707aa76 | Google.Solutions.Compute.Test/Env/Defaults.cs | Google.Solutions.Compute.Test/Env/Defaults.cs | //
// Copyright 2019 Google LLC
//
// Licensed to the Apache Software Foundation (ASF) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Ver... | //
// Copyright 2019 Google LLC
//
// Licensed to the Apache Software Foundation (ASF) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Ver... | Use GoogleCredential.CreateScoped to create test credentials | Use GoogleCredential.CreateScoped to create test credentials
Change-Id: I274d01dd4024589ca9686ac834a66536d3bf2704
| C# | apache-2.0 | GoogleCloudPlatform/iap-desktop,GoogleCloudPlatform/iap-desktop |
1be3d8e36edbe0aca0cade8615f3ac50d9ee49d5 | src/Stripe.net/Services/EphemeralKeys/StripeEphemeralKeyService.cs | src/Stripe.net/Services/EphemeralKeys/StripeEphemeralKeyService.cs | using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using Stripe.Infrastructure;
namespace Stripe
{
public class StripeEphemeralKeyService : StripeService
{
public StripeEphemeralKeyService(string apiKey = null) : base(apiKey) { }
//Sync
public vir... | using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using Stripe.Infrastructure;
namespace Stripe
{
public class StripeEphemeralKeyService : StripeBasicService<StripeEphemeralKey>
{
public StripeEphemeralKeyService(string apiKey = null) : base(apiKey) { }
//... | Move to the new StripeBasicService instead of StripeService | Move to the new StripeBasicService instead of StripeService
| C# | apache-2.0 | richardlawley/stripe.net,stripe/stripe-dotnet |
adcc176f3419d5249b10d055ffd249e1c997c55b | Assets/Scripts/LevelManager.cs | Assets/Scripts/LevelManager.cs | using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class LevelManager : MonoBehaviour {
public EnemySpaceShip enemy;
public void SetupLevel() {
LayoutObject();
}
private void LayoutObject() {
Instantiate(enemy, new Vector3(9f, 0f, 0f)... | using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class LevelManager : MonoBehaviour {
public EnemySpaceShip enemy;
public PlayerSpaceShip player;
public void SetupLevel() {
LayoutObject();
}
private void LayoutObject() {
Instant... | Add PlayerSpaceship to a level | Add PlayerSpaceship to a level
| C# | unlicense | andrewjleavitt/SpaceThing |
b0bd80210dc67b067f41815ade33b01e7a020563 | Properties/VersionAssemblyInfo.cs | Properties/VersionAssemblyInfo.cs | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.18033
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generate... | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.18033
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generate... | Build script now creates individual zip file packages to align with the NuGet packages and semantic versioning. | Build script now creates individual zip file packages to align with the NuGet packages and semantic versioning.
| C# | mit | autofac/Autofac.Wcf,caioproiete/Autofac.Wcf |
a00c763ce424308133a61843b5be5e7b05964a8d | Nora/App_Start/WebApiConfig.cs | Nora/App_Start/WebApiConfig.cs | using System.Web.Http;
namespace Nora
{
public static class WebApiConfig
{
public static void Register(HttpConfiguration config)
{
// Web API configuration and services
// Web API routes
config.MapHttpAttributeRoutes();
config.Rout... | using System.Web.Http;
namespace Nora
{
public static class WebApiConfig
{
public static void Register(HttpConfiguration config)
{
// Web API configuration and services
// Web API routes
config.MapHttpAttributeRoutes();
config.Routes... | Set JSON as the default (and only) formatter | Set JSON as the default (and only) formatter
| C# | apache-2.0 | cloudfoundry-incubator/wats,cloudfoundry/wats,cloudfoundry-incubator/wats,cloudfoundry/wats,cloudfoundry-incubator/wats,cloudfoundry/wats,cloudfoundry/wats,cloudfoundry-incubator/wats,cloudfoundry/wats,cloudfoundry-incubator/wats |
1fc14eaffc255d3b4b4c12dac08a48c354860fe0 | Source/Lib/TraktApiSharp/Experimental/Responses/TraktListResponse.cs | Source/Lib/TraktApiSharp/Experimental/Responses/TraktListResponse.cs | namespace TraktApiSharp.Experimental.Responses
{
using Exceptions;
using System.Collections.Generic;
public class TraktListResponse<TContentType> : ATraktResponse<List<TContentType>>, ITraktResponseHeaders
{
public string SortBy { get; set; }
public string SortHow { get; set; }
... | namespace TraktApiSharp.Experimental.Responses
{
using Exceptions;
using System.Collections;
using System.Collections.Generic;
public class TraktListResponse<TContentType> : ATraktResponse<List<TContentType>>, ITraktResponseHeaders, IEnumerable<TContentType>
{
public string SortBy { get; s... | Add implementation of enumerable interface for list responses. | Add implementation of enumerable interface for list responses.
| C# | mit | henrikfroehling/TraktApiSharp |
12058c446f84ea0c0d70f230c9b5e031015eb320 | src/Anemonis.MicrosoftOffice.AddinHost/Middleware/RequestTracingMiddleware.cs | src/Anemonis.MicrosoftOffice.AddinHost/Middleware/RequestTracingMiddleware.cs | // © Alexander Kozlenko. Licensed under the MIT License.
using System;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Http.Extensions;
using Serilog;
using Serilog.Events;
namespace Anemonis.MicrosoftOffice.AddinHost.Middleware
{
/// <summary>Represents request tracking... | // © Alexander Kozlenko. Licensed under the MIT License.
using System;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Http.Extensions;
using Serilog;
using Serilog.Events;
namespace Anemonis.MicrosoftOffice.AddinHost.Middleware
{
/// <summary>Represents request tracking... | Remove request HTTP method from logging | Remove request HTTP method from logging
| C# | mit | alexanderkozlenko/oads,alexanderkozlenko/oads |
5f38c2e37084271a07abb8f8a8e7ba0c08f257ee | libpolyglot.Tests/Assembly_tests.cs | libpolyglot.Tests/Assembly_tests.cs | using System.Collections.Generic;
using System.Reflection;
using Shouldly;
using Xunit;
namespace libpolyglot.Tests
{
public class Assembly_tests
{
public static IEnumerable<object[]> TestAssemblies()
{
yield return new object[] { "EmptyVB.dll", Language.Vb };
yield ret... | using System.Collections.Generic;
using System.IO;
using System.Reflection;
using Shouldly;
using Xunit;
namespace libpolyglot.Tests
{
public class Assembly_tests
{
public static IEnumerable<object[]> TestAssemblies()
{
yield return new object[] { "EmptyVB.dll", Language.Vb };
... | Fix test assembly load path | Fix test assembly load path
| C# | mit | nbarbettini/polyglot-dotnet,nbarbettini/libpolyglot |
ad9171d3ca7c61923da022597e14dad5fcc15b57 | Prometheus.HttpExporter.AspNetCore/HttpRequestCount/HttpRequestCountOptions.cs | Prometheus.HttpExporter.AspNetCore/HttpRequestCount/HttpRequestCountOptions.cs | namespace Prometheus.HttpExporter.AspNetCore.HttpRequestCount
{
public class HttpRequestCountOptions : HttpExporterOptionsBase
{
public Counter Counter { get; set; } =
Metrics.CreateCounter(DefaultName, DefaultHelp, HttpRequestLabelNames.All);
private const string DefaultNam... | namespace Prometheus.HttpExporter.AspNetCore.HttpRequestCount
{
public class HttpRequestCountOptions : HttpExporterOptionsBase
{
public Counter Counter { get; set; } =
Metrics.CreateCounter(DefaultName, DefaultHelp, HttpRequestLabelNames.All);
private const string DefaultNam... | Change http request total name to match Prometheus guidelines | Change http request total name to match Prometheus guidelines
| C# | mit | andrasm/prometheus-net |
ab07d5132cc04a619a89eb7c5b211bde7371a3b8 | WalletWasabi/Gma/QrCodeNet/Encoding/Positioning/Stencils/PatternStencilBase.cs | WalletWasabi/Gma/QrCodeNet/Encoding/Positioning/Stencils/PatternStencilBase.cs | using System;
namespace Gma.QrCodeNet.Encoding.Positioning.Stencils
{
internal abstract class PatternStencilBase : BitMatrix
{
protected const bool O = false;
protected const bool X = true;
internal PatternStencilBase(int version)
{
Version = version;
}
public int Version { get; private set; }
pu... | using System;
namespace Gma.QrCodeNet.Encoding.Positioning.Stencils
{
internal abstract class PatternStencilBase : BitMatrix
{
protected const bool O = false;
protected const bool X = true;
internal PatternStencilBase(int version)
{
Version = version;
}
public int Version { get; private set; }
pu... | Order elements in some classes | Order elements in some classes
| C# | mit | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet |
c143453f5f3e960871674a219b1556a7a55b29d6 | Source/HelixToolkit.Wpf.SharpDX/Model/Geometry/PointGeometry3D.cs | Source/HelixToolkit.Wpf.SharpDX/Model/Geometry/PointGeometry3D.cs | namespace HelixToolkit.Wpf.SharpDX
{
using System;
using System.Collections.Generic;
using HelixToolkit.SharpDX.Shared.Utilities;
[Serializable]
public class PointGeometry3D : Geometry3D
{
public IEnumerable<Geometry3D.Point> Points
{
get
{
... | namespace HelixToolkit.Wpf.SharpDX
{
using System;
using System.Collections.Generic;
using HelixToolkit.SharpDX.Shared.Utilities;
[Serializable]
public class PointGeometry3D : Geometry3D
{
public IEnumerable<Geometry3D.Point> Points
{
get
{
... | Fix point skipped during get points issue | Fix point skipped during get points issue
| C# | mit | holance/helix-toolkit,chrkon/helix-toolkit,helix-toolkit/helix-toolkit,JeremyAnsel/helix-toolkit,smischke/helix-toolkit,Iluvatar82/helix-toolkit |
7a03c277cf6cd60fae86fc049025b08d20e2a2a9 | src/NadekoBot/Services/Database/Repositories/Impl/QuoteRepository.cs | src/NadekoBot/Services/Database/Repositories/Impl/QuoteRepository.cs | using NadekoBot.Services.Database.Models;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore;
namespace NadekoBot.Services.Database.Repositories.Impl
{
public class QuoteRepository : Repository<Quote>, IQuoteRepository
{
public QuoteR... | using NadekoBot.Services.Database.Models;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore;
namespace NadekoBot.Services.Database.Repositories.Impl
{
public class QuoteRepository : Repository<Quote>, IQuoteRepository
{
public QuoteR... | Add quote search by keyword and text | Add quote search by keyword and text
Add quote search by keyword and text | C# | mit | Midnight-Myth/Mitternacht-NEW,powered-by-moe/MikuBot,Blacnova/NadekoBot,PravEF/EFNadekoBot,gfrewqpoiu/NadekoBot,ShadowNoire/NadekoBot,halitalf/NadekoMods,Midnight-Myth/Mitternacht-NEW,WoodenGlaze/NadekoBot,Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW,Nielk1/NadekoBot,miraai/NadekoBot,Grinjr/NadekoBot,Tak... |
f4e2bbf69519b38b9c3748ef65461c90c7739946 | Client/Program.cs | Client/Program.cs | using System;
using System.ServiceModel;
using Service;
namespace Client
{
class Program
{
static void Main(string[] args)
{
var address = new EndpointAddress(new Uri("http://localhost:9000/MyService"));
var binding = new BasicHttpBinding();
var factory = n... | using System;
using System.ServiceModel;
using Service;
namespace Client
{
class Program
{
static void Main(string[] args)
{
Console.Write("Enter server address: ");
var hostAddress = Console.ReadLine();
var address = new EndpointAddress(new Uri(string.For... | Allow to define host address in client | Allow to define host address in client
| C# | apache-2.0 | lemked/simplesecurewcfapp |
1414669ebb0d8cb75cce9677d0947ed730b291b5 | source/XeroApi/Model/BankTransaction.cs | source/XeroApi/Model/BankTransaction.cs | using System;
namespace XeroApi.Model
{
public class BankTransaction : EndpointModelBase
{
[ItemId]
public Guid? BankTransactionID { get; set; }
public Account BankAccount { get; set; }
public string Type { get; set; }
public string Reference { get; set; ... | using System;
namespace XeroApi.Model
{
public class BankTransaction : EndpointModelBase
{
[ItemId]
public Guid? BankTransactionID { get; set; }
public Account BankAccount { get; set; }
public string Type { get; set; }
public string Reference { get; set; ... | Add PrepaymentID to bank transaction | Add PrepaymentID to bank transaction
| C# | mit | MatthewSteeples/XeroAPI.Net |
0dc422c2d9206830c32fe9ca6a32f7518fe63757 | TddCourse.Tests.Unit/Part08_ParameterizedTests/Parameterized_Range.cs | TddCourse.Tests.Unit/Part08_ParameterizedTests/Parameterized_Range.cs | using NUnit.Framework;
using TddCourse.CalculatorExample;
namespace TddCourse.Tests.Unit.Part08_ParameterizedTests
{
public class Parameterized_Range
{
[Test]
public void Divide_DividendIsZero_ReturnsQuotientEqualToZero(
[Range(@from: 1, to: 5, step: 1)] double divisor)
{
... | using NUnit.Framework;
using TddCourse.CalculatorExample;
namespace TddCourse.Tests.Unit.Part08_ParameterizedTests
{
public class Parameterized_Range
{
[Test]
public void Divide_DividendIsZero_ReturnsQuotientEqualToZero(
[Range(@from: 1, to: 5, step: 1)] int divisor)
{
... | Fix type in Range attribute: change from double to int | Fix type in Range attribute: change from double to int
An exception was thrown while loading the test.
System.InvalidOperationException: A value of type System.Int32 (1) cannot be passed to a parameter of type System.Double.
| C# | mit | dariusz-wozniak/TddCourse |
ab61bcc36e28a0f07f640bc2b8af80ddbd74daf8 | resharper/resharper-yaml/src/Psi/Parsing/YamlTokenBase.cs | resharper/resharper-yaml/src/Psi/Parsing/YamlTokenBase.cs | using System;
using JetBrains.ReSharper.Plugins.Yaml.Psi.Tree;
using JetBrains.ReSharper.Psi;
using JetBrains.ReSharper.Psi.ExtensionsAPI.Tree;
using JetBrains.ReSharper.Psi.Parsing;
using JetBrains.ReSharper.Psi.Tree;
using JetBrains.Text;
using JetBrains.Util;
namespace JetBrains.ReSharper.Plugins.Yaml.Psi.Parsing
... | using System;
using JetBrains.ReSharper.Plugins.Yaml.Psi.Tree;
using JetBrains.ReSharper.Psi;
using JetBrains.ReSharper.Psi.ExtensionsAPI.Tree;
using JetBrains.ReSharper.Psi.Parsing;
using JetBrains.ReSharper.Psi.Tree;
using JetBrains.Text;
using JetBrains.Util;
namespace JetBrains.ReSharper.Plugins.Yaml.Psi.Parsing
... | Fix compilation after sdk api changes | Fix compilation after sdk api changes
| C# | apache-2.0 | JetBrains/resharper-unity,JetBrains/resharper-unity,JetBrains/resharper-unity |
ec0beb5a515e9189615d9fb6c23b956ecf1645ae | src/Foundatio/Utility/SharedOptions.cs | src/Foundatio/Utility/SharedOptions.cs | using System;
using Foundatio.Serializer;
using Microsoft.Extensions.Logging;
namespace Foundatio {
public class SharedOptions {
public ISerializer Serializer { get; set; }
public ILoggerFactory LoggerFactory { get; set; }
}
public class SharedOptionsBuilder<TOption, TBuilder> : OptionsBui... | using System;
using Foundatio.Serializer;
using Microsoft.Extensions.Logging;
namespace Foundatio {
public class SharedOptions {
public ISerializer Serializer { get; set; }
public ILoggerFactory LoggerFactory { get; set; }
}
public class SharedOptionsBuilder<TOption, TBuilder> : OptionsBui... | Allow logger and serializer to be set to null | Allow logger and serializer to be set to null
| C# | apache-2.0 | exceptionless/Foundatio,FoundatioFx/Foundatio |
543e1d472bf6538ec8d12235a8858c4d6978d95a | Assets/Scripts/ScoreManager.cs | Assets/Scripts/ScoreManager.cs | using UnityEngine;
using UnityEngine.UI;
using System.Collections;
namespace WhoaAlgebraic
{
public class ScoreManager : MonoBehaviour
{
public static int score; // The player's score.
Text text; // Reference to the Text component.
void Awake()
{... | using UnityEngine;
using UnityEngine.UI;
namespace WhoaAlgebraic
{
public class ScoreManager : MonoBehaviour
{
public static int score; // The player's score.
public Text text; // Reference to the Text component.
void Awake()
{
// Res... | Update score manager to use UI's text | Update score manager to use UI's text
| C# | mit | virtuoushub/game-off-2016,virtuoushub/game-off-2016,whoa-algebraic/game-off-2016,whoa-algebraic/game-off-2016,virtuoushub/game-off-2016,whoa-algebraic/game-off-2016 |
1fb978b5ae9c58cb0a371c865c0b400b25530855 | Glitter/StaticFilesEndpoint.cs | Glitter/StaticFilesEndpoint.cs | using System.Collections.Generic;
using System.IO;
using System.Reflection;
using System.ServiceModel;
using System.ServiceModel.Web;
namespace Samples.Glitter
{
[ServiceContract]
[ServiceBehavior(InstanceContextMode = InstanceContextMode.Single, ConcurrencyMode = ConcurrencyMode.Multiple)]
publ... | using System.Collections.Generic;
using System.IO;
using System.Reflection;
using System.ServiceModel;
using System.ServiceModel.Web;
namespace Samples.Glitter
{
[ServiceContract]
[ServiceBehavior(InstanceContextMode = InstanceContextMode.Single, ConcurrencyMode = ConcurrencyMode.Multiple)]
publ... | Update the sample to listen on root addresses instead of a specific path. | Update the sample to listen on root addresses instead of a specific path.
| C# | mit | Distribyte/Samples,Distribyte/Samples |
2ecd474c8048687c061dc5b6065d099106187595 | ClrSpy.UnitTests/Native/PointerUtilsTests.cs | ClrSpy.UnitTests/Native/PointerUtilsTests.cs | using System;
using ClrSpy.Native;
using NUnit.Framework;
namespace ClrSpy.UnitTests.Native
{
[TestFixture]
public class PointerUtilsTests
{
[TestCase(0x07fffffffL, Int32.MaxValue)]
[TestCase(0x080000000L, Int32.MinValue)]
[TestCase(0x000000001L, 1)]
[TestCase(0... | using System;
using System.Collections.Generic;
using ClrSpy.Native;
using NUnit.Framework;
namespace ClrSpy.UnitTests.Native
{
[TestFixture]
public class PointerUtilsTests
{
public static IEnumerable<LongToIntPtrCase> LongToIntPtrCases
{
get
{
... | Fix test which is incorrect under x64, highlighted by previous commit | Fix test which is incorrect under x64, highlighted by previous commit
| C# | unlicense | alex-davidson/clrspy |
f4a99dd3f5ff590c8cdbc3011aa665994bf1c9ca | resharper/resharper-unity/src/Yaml/Psi/UnityFileSystemPathExtension.cs | resharper/resharper-unity/src/Yaml/Psi/UnityFileSystemPathExtension.cs | using System;
using System.IO;
using System.Text;
using JetBrains.Util;
using JetBrains.Util.Logging;
namespace JetBrains.ReSharper.Plugins.Unity.Yaml.Psi
{
public static class UnityFileSystemPathExtension
{
private static readonly ILogger ourLogger = Logger.GetLogger("UnityFileSystemPathExtension");
... | using JetBrains.Util;
namespace JetBrains.ReSharper.Plugins.Unity.Yaml.Psi
{
public static class UnityFileSystemPathExtension
{
public static bool SniffYamlHeader(this FileSystemPath sourceFile)
{
var isYaml = sourceFile.ReadBinaryStream(reader =>
{
var h... | Revert bom checking (unity fails too) | Revert bom checking (unity fails too)
| C# | apache-2.0 | JetBrains/resharper-unity,JetBrains/resharper-unity,JetBrains/resharper-unity |
ee1f2c28ba5f46bbc17fa9a395981ef4d7b83e0a | RepoZ.Api.Common/Git/RepositoryActions/RepositoryActionConfiguration.cs | RepoZ.Api.Common/Git/RepositoryActions/RepositoryActionConfiguration.cs | using Newtonsoft.Json;
using System.Collections.Generic;
namespace RepoZ.Api.Common.Git
{
public class RepositoryActionConfiguration
{
[JsonProperty("repository-actions")]
public List<RepositoryAction> RepositoryActions { get; set; } = new List<RepositoryAction>();
[JsonProperty("file-assoc... | using Newtonsoft.Json;
using System.Collections.Generic;
namespace RepoZ.Api.Common.Git
{
public class RepositoryActionConfiguration
{
[JsonProperty("repository-actions")]
public List<RepositoryAction> RepositoryActions { get; set; } = new List<RepositoryAction>();
[JsonProperty("file-assoc... | Add debugger display attributes for repository actions | Add debugger display attributes for repository actions
| C# | mit | awaescher/RepoZ,awaescher/RepoZ |
b4a127cb2faad291b2c083991e47b8a2a9349900 | NServiceMVC.Examples.Todomvc/Global.asax.cs | NServiceMVC.Examples.Todomvc/Global.asax.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.Routing;
namespace NServiceMVC.Examples.Todomvc
{
// Note: For instructions on enabling IIS6 or IIS7 classic mode,
// visit http://go.microsoft.com/?LinkId=9394801
publ... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.Routing;
namespace NServiceMVC.Examples.Todomvc
{
// Note: For instructions on enabling IIS6 or IIS7 classic mode,
// visit http://go.microsoft.com/?LinkId=9394801
publ... | Rearrange order of ignoreroutes call | Rearrange order of ignoreroutes call | C# | mit | gregmac/NServiceMVC.Examples.Todomvc,gregmac/NServiceMVC.Examples.Todomvc |
0ea4201d08393983fdeee5ff840b57ce8a90f3fe | src/Certify.Shared/Properties/AssemblyInfo.cs | src/Certify.Shared/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("Cer... | 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("Certif... | Use shared project for version | Use shared project for version
| C# | mit | webprofusion/Certify,Prerequisite/Certify,ndouthit/Certify |
87db1ba48703d07371f12f822d4d2eb765c1adfb | osu.Game/Graphics/Sprites/OsuSpriteText.cs | osu.Game/Graphics/Sprites/OsuSpriteText.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Graphics;
using osu.Framework.Graphics.Sprites;
using osu.Framework.Graphics.Transforms;
namespace osu.Game.Graphics.Sprites
{
public class OsuS... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Graphics.Sprites;
namespace osu.Game.Graphics.Sprites
{
public class OsuSpriteText : SpriteText
{
public OsuSpriteText()
{
... | Remove unused text transform helpers | Remove unused text transform helpers
| C# | mit | ppy/osu,NeoAdonis/osu,NeoAdonis/osu,smoogipooo/osu,peppy/osu,ppy/osu,ppy/osu,EVAST9919/osu,peppy/osu-new,EVAST9919/osu,peppy/osu,peppy/osu,smoogipoo/osu,UselessToucan/osu,UselessToucan/osu,NeoAdonis/osu,smoogipoo/osu,UselessToucan/osu,smoogipoo/osu |
df9c57117a6b2de5ec1dee7926f929bc4d24693f | DesktopWidgets/Helpers/ProcessHelper.cs | DesktopWidgets/Helpers/ProcessHelper.cs | #region
using System.Diagnostics;
using System.IO;
using DesktopWidgets.Classes;
#endregion
namespace DesktopWidgets.Helpers
{
internal static class ProcessHelper
{
public static void Launch(string path, string args = "", string startIn = "",
ProcessWindowStyle style = ProcessWindowStyle... | #region
using System.Diagnostics;
using System.IO;
using DesktopWidgets.Classes;
#endregion
namespace DesktopWidgets.Helpers
{
internal static class ProcessHelper
{
public static void Launch(string path, string args = "", string startIn = "",
ProcessWindowStyle style = ProcessWindowStyle... | Fix error when launching missing files | Fix error when launching missing files
| C# | apache-2.0 | danielchalmers/DesktopWidgets |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.