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 |
|---|---|---|---|---|---|---|---|---|---|
42a9de501adba635a46bdf15ce29b43ed6925cc2 | ExamSystem.Backend/ExamSystem.Backend.Web/App_Start/BundleConfig.cs | ExamSystem.Backend/ExamSystem.Backend.Web/App_Start/BundleConfig.cs | using System.Web;
using System.Web.Optimization;
namespace ExamSystem.Backend.Web
{
public class BundleConfig
{
// For more information on bundling, visit http://go.microsoft.com/fwlink/?LinkId=301862
public static void RegisterBundles(BundleCollection bundles)
{
bundles.Ad... | using System.Web;
using System.Web.Optimization;
namespace ExamSystem.Backend.Web
{
public class BundleConfig
{
// For more information on bundling, visit http://go.microsoft.com/fwlink/?LinkId=301862
public static void RegisterBundles(BundleCollection bundles)
{
bundles.Ad... | Fix for some css not working on the server | Fix for some css not working on the server
| C# | mit | iliantrifonov/Team-Guava,iliantrifonov/Team-Guava |
f17e0d9de16eb1fb6af79e9e769634a58dcbc3a9 | src/Qwack.Excel/Dates/BusinessDateFunctions.cs | src/Qwack.Excel/Dates/BusinessDateFunctions.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using ExcelDna.Integration;
using Qwack.Dates;
using Qwack.Excel.Services;
namespace Qwack.Excel.Dates
{
public static class BusinessDateFunctions
{
[ExcelFunction(Description = "Checks if the given date is... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using ExcelDna.Integration;
using Qwack.Dates;
using Qwack.Excel.Services;
namespace Qwack.Excel.Dates
{
public static class BusinessDateFunctions
{
[ExcelFunction(Description = "Checks if the given date is... | Add period exposed to excel | Add period exposed to excel
| C# | mit | cetusfinance/qwack,cetusfinance/qwack,cetusfinance/qwack,cetusfinance/qwack |
f1696eae922d812ad41337d1e79ffa431530f78d | osu.Game/Online/API/Requests/GetChannelMessagesRequest.cs | osu.Game/Online/API/Requests/GetChannelMessagesRequest.cs | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System.Collections.Generic;
using System.Linq;
using osu.Framework.IO.Network;
using osu.Game.Online.Chat;
namespace osu.Game.Online.API.Requests
{
... | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System.Collections.Generic;
using System.Linq;
using osu.Framework.IO.Network;
using osu.Game.Online.Chat;
namespace osu.Game.Online.API.Requests
{
... | Use IEnumable instead of List | Use IEnumable instead of List
| C# | mit | 2yangk23/osu,naoey/osu,ppy/osu,smoogipoo/osu,UselessToucan/osu,peppy/osu-new,naoey/osu,smoogipoo/osu,smoogipooo/osu,UselessToucan/osu,ppy/osu,peppy/osu,peppy/osu,johnneijzen/osu,UselessToucan/osu,NeoAdonis/osu,DrabWeb/osu,johnneijzen/osu,smoogipoo/osu,2yangk23/osu,DrabWeb/osu,EVAST9919/osu,ZLima12/osu,EVAST9919/osu,nao... |
543ed8a0874451e39732830a55b1a1db9cfcaa7e | src/Stripe.net/Services/Coupons/StripeCouponUpdateOptions.cs | src/Stripe.net/Services/Coupons/StripeCouponUpdateOptions.cs | using System.Collections.Generic;
using Newtonsoft.Json;
namespace Stripe
{
public class StripeCouponUpdateOptions : StripeBaseOptions, ISupportMetadata
{
[JsonProperty("metadata")]
public Dictionary<string, string> Metadata { get; set; }
}
}
| using System.Collections.Generic;
using Newtonsoft.Json;
namespace Stripe
{
public class StripeCouponUpdateOptions : StripeBaseOptions, ISupportMetadata
{
[JsonProperty("metadata")]
public Dictionary<string, string> Metadata { get; set; }
[JsonProperty("name")]
public string N... | Add support for updating a coupon's name | Add support for updating a coupon's name
| C# | apache-2.0 | stripe/stripe-dotnet,richardlawley/stripe.net |
947f3bed84e4b9af2c75d57911714d06c0741cc6 | src/MaterialForms/Controls/PasswordTextControl.xaml.cs | src/MaterialForms/Controls/PasswordTextControl.xaml.cs | using System;
using System.Runtime.InteropServices;
using System.Security;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
namespace MaterialForms.Controls
{
/// <summary>
/// Interaction logic for SingleLineTextControl.xaml
/// </summary>
public partial class PasswordT... | using System;
using System.Runtime.InteropServices;
using System.Security;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
namespace MaterialForms.Controls
{
/// <summary>
/// Interaction logic for SingleLineTextControl.xaml
/// </summary>
public partial class PasswordT... | Use UpdateSourceTrigger.PropertyChanged for password controls | Use UpdateSourceTrigger.PropertyChanged for password controls
| C# | mit | EdonGashi/WpfMaterialForms |
931183031795a23655d14cc4353aae53665fd3c7 | src/WebApiContrib/Http/HttpRequestMessageExtensions.cs | src/WebApiContrib/Http/HttpRequestMessageExtensions.cs | using System;
using System.Net.Http;
namespace WebApiContrib.Http
{
public static class HttpRequestMessageExtensions
{
private const string HttpContext = "MS_HttpContext";
private const string RemoteEndpointMessage = "System.ServiceModel.Channels.RemoteEndpointMessageProperty";
public ... | using System;
using System.Net.Http;
namespace WebApiContrib.Http
{
public static class HttpRequestMessageExtensions
{
private const string HttpContext = "MS_HttpContext";
private const string RemoteEndpointMessage = "System.ServiceModel.Channels.RemoteEndpointMessageProperty";
private ... | Fix for GetClientIpAddress in OWIN-hosting | Fix for GetClientIpAddress in OWIN-hosting
| C# | mit | andyshao/WebAPIContrib,yonglehou/WebAPIContrib,modulexcite/WebAPIContrib,WebApiContrib/WebAPIContrib,yonglehou/WebAPIContrib,andyshao/WebAPIContrib,TerraVenil/WebAPIContrib,modulexcite/WebAPIContrib,TerraVenil/WebAPIContrib,WebApiContrib/WebAPIContrib |
16001f42c3bb0aade68c2a3e3750305070aefe8d | src/Workspaces/Remote/Core/Shared/SimpleAssetSource.cs | src/Workspaces/Remote/Core/Shared/SimpleAssetSource.cs | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.... | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.... | Add a better message if the SimpleAssetService doesn't have an asset | Add a better message if the SimpleAssetService doesn't have an asset
| C# | mit | KirillOsenkov/roslyn,nguerrera/roslyn,eriawan/roslyn,heejaechang/roslyn,wvdd007/roslyn,dotnet/roslyn,jmarolf/roslyn,AlekseyTs/roslyn,shyamnamboodiripad/roslyn,AmadeusW/roslyn,weltkante/roslyn,eriawan/roslyn,physhi/roslyn,panopticoncentral/roslyn,panopticoncentral/roslyn,davkean/roslyn,tannergooding/roslyn,physhi/roslyn... |
fe29b093365bdff0309893bd3a1db13c4fd2bb9c | Source/Web/Models/RelationshipModel.cs | Source/Web/Models/RelationshipModel.cs | using System.Runtime.Serialization;
namespace Web.Models
{
[DataContract]
public class RelationshipModel
{
[DataMember]
public string Name { get; set; }
}
} | using System.Runtime.Serialization;
namespace Web.Models
{
[DataContract]
public class RelationshipModel
{
[DataMember]
public string Name { get; set; }
}
} | Make a whitespace change to test the TeamCity upgrade. | Make a whitespace change to test the TeamCity upgrade.
| C# | mit | ekyoung/contact-repository,ekyoung/contact-repository |
471c44334a322f2b8de8f0bca69decc6c3cc4e6a | src/Atata.WebDriverExtras.Tests/SafeWaitTests.cs | src/Atata.WebDriverExtras.Tests/SafeWaitTests.cs | using System;
using System.Threading;
using NUnit.Framework;
namespace Atata.WebDriverExtras.Tests
{
[TestFixture]
[Parallelizable(ParallelScope.None)]
public class SafeWaitTests
{
private SafeWait<object> wait;
[SetUp]
public void SetUp()
{
wait = new Safe... | using System;
using System.Threading;
using NUnit.Framework;
namespace Atata.WebDriverExtras.Tests
{
[TestFixture]
[Parallelizable(ParallelScope.None)]
public class SafeWaitTests
{
private SafeWait<object> wait;
[SetUp]
public void SetUp()
{
wait = new Safe... | Increase toleranceSeconds in SafeWait_PollingInterval_GreaterThanTimeout test | Increase toleranceSeconds in SafeWait_PollingInterval_GreaterThanTimeout test
| C# | apache-2.0 | atata-framework/atata-webdriverextras,atata-framework/atata-webdriverextras |
1ffc5fe9fa65bade16f592137b2b776fd0d9ccb6 | symbooglix/symbooglix/Expr/NonSymbolicDuplicator.cs | symbooglix/symbooglix/Expr/NonSymbolicDuplicator.cs | using System;
using Microsoft.Boogie;
using System.Diagnostics;
namespace symbooglix
{
/// <summary>
/// This duplicates Expr accept the identifier expr attached to symbolics
/// </summary>
public class NonSymbolicDuplicator : Duplicator
{
public NonSymbolicDuplicator()
{
}
... | using System;
using Microsoft.Boogie;
using System.Diagnostics;
namespace symbooglix
{
/// <summary>
/// This duplicates Expr accept the identifier expr attached to symbolics
/// </summary>
public class NonSymbolicDuplicator : Duplicator
{
public NonSymbolicDuplicator()
{
}
... | Fix Symbolic duplication bug (I think). It seems to be a bug in Boogie that IdentifierExprs can be cloned twice | Fix Symbolic duplication bug (I think). It seems to be a bug in Boogie
that IdentifierExprs can be cloned twice
foo(symbolic_0) == foo(symbolic_0) seemed to expose this.
I should really fix Boogie at some point.
| C# | bsd-2-clause | symbooglix/symbooglix,symbooglix/symbooglix,symbooglix/symbooglix |
2da9b3575efb8ca19054d38272a6af6d12737981 | RestImageResize.EpiServer/Properties/AssemblyInfo.cs | RestImageResize.EpiServer/Properties/AssemblyInfo.cs | using System.Reflection;
// General info about the product
[assembly: AssemblyTitle("RestImageResize.EPiServer")]
[assembly: AssemblyProduct("RestImageResize")]
[assembly: AssemblyDescription("Includes required dependences and source code for easily start to use RestImageResize package in EPiServer CMS site.")]
[asse... | using System.Reflection;
// General info about the product
[assembly: AssemblyTitle("RestImageResize.EPiServer")]
[assembly: AssemblyProduct("RestImageResize")]
[assembly: AssemblyDescription("Includes required dependences and source code for easily start to use RestImageResize package in EPiServer CMS site.")]
[asse... | Replace assembly file version by informational version | Replace assembly file version by informational version
| C# | mit | Romanets/RestImageResize,Romanets/RestImageResize,Romanets/RestImageResize,Romanets/RestImageResize,Romanets/RestImageResize |
e4ff024cf5ba71b1e0ec66ba8aada005318a00ff | MagicalCryptoWallet/ClientSideFilter/BlockFilterBuilder.cs | MagicalCryptoWallet/ClientSideFilter/BlockFilterBuilder.cs | using System.Collections.Generic;
using NBitcoin;
namespace MagicalCryptoWallet.Backend
{
public class BlockFilterBuilder
{
private const int P = 20;
public GolombRiceFilter Build(Block block)
{
var key = block.GetHash().ToBytes();
var buffer = new List<byte[]>();
buffer.Add(key);
foreach (var ... | using System.Collections.Generic;
using NBitcoin;
namespace MagicalCryptoWallet.Backend
{
public class BlockFilterBuilder
{
private const int P = 20;
private static readonly PayToWitPubKeyHashTemplate P2wpkh = PayToWitPubKeyHashTemplate.Instance;
public GolombRiceFilter Build(Block block)
{
var key = bl... | Build filters only for P2WPKH scripts | Build filters only for P2WPKH scripts
Previous version created filters for p2wpkh and p2wsh scripts. This
version generates the filters using the push data part of the p2wpkh.
| C# | mit | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet |
eea1d4451ccbfca879370b07b1f845a0044658e2 | src/Crunch.DotNet/Authorization/OAuthTokensExtensions.cs | src/Crunch.DotNet/Authorization/OAuthTokensExtensions.cs | using OAuth;
namespace Crunch.DotNet.Authorization
{
public static class OAuthTokensExtensions
{
public static string GetAuthorisationHeader(this OAuthTokens tokens, string url, string restMethod, string realm = null)
{
var oauthClient = OAuthRequest.ForProtectedResource(restMethod,... | using OAuth;
namespace Crunch.DotNet.Authorization
{
public static class OAuthTokensExtensions
{
public static string GetAuthorisationHeader(this OAuthTokens tokens, string url, string restMethod, string realm = null)
{
var oauthClient = new OAuthRequest
{
... | Fix broken auth when POSTing/PUTing data | Fix broken auth when POSTing/PUTing data
| C# | mit | Seronam/crunchdotnet |
19ab973bb99bdcfc0cb0ff25bc64fcf0875d417d | osu.Game.Tests/Visual/UserInterface/TestSceneHueAnimation.cs | osu.Game.Tests/Visual/UserInterface/TestSceneHueAnimation.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using NUnit.Framework;
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Textures;
using osu.Game.Graphics.Sprites;
namespace os... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using NUnit.Framework;
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Textures;
using osu.Game.Graphics;
using osu.Game.Graphi... | Add second layer to test scene | Add second layer to test scene
| C# | mit | peppy/osu,peppy/osu,peppy/osu-new,smoogipoo/osu,smoogipoo/osu,NeoAdonis/osu,UselessToucan/osu,NeoAdonis/osu,ppy/osu,ppy/osu,UselessToucan/osu,NeoAdonis/osu,peppy/osu,UselessToucan/osu,smoogipoo/osu,ppy/osu,smoogipooo/osu |
f4d0bef897f7305799bd8b8573e13962970ee2c4 | osu.Game.Tests/Visual/Editing/TestSceneTimingScreen.cs | osu.Game.Tests/Visual/Editing/TestSceneTimingScreen.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using NUnit.Framework;
using osu.Framework.Allocation;
using osu.Game.Rulesets.Osu.Beatmaps;
using osu.Game.Screens.Edit;
using osu.Game.Screens.Edit.Timing;
namespace o... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using NUnit.Framework;
using osu.Framework.Allocation;
using osu.Game.Rulesets.Edit;
using osu.Game.Rulesets.Osu.Beatmaps;
using osu.Game.Screens.Edit;
using osu.Game.Scr... | Fix timing screen test crashing due to missing dependency | Fix timing screen test crashing due to missing dependency
| C# | mit | NeoAdonis/osu,NeoAdonis/osu,peppy/osu-new,peppy/osu,UselessToucan/osu,smoogipoo/osu,ppy/osu,smoogipoo/osu,UselessToucan/osu,peppy/osu,NeoAdonis/osu,UselessToucan/osu,smoogipooo/osu,ppy/osu,ppy/osu,smoogipoo/osu,peppy/osu |
c1d6fd0202200b0b79f8f47b9646d921ec0fd5c7 | Portal.CMS.Web/Areas/PageBuilder/Views/Page/Guest.cshtml | Portal.CMS.Web/Areas/PageBuilder/Views/Page/Guest.cshtml | @model Portal.CMS.Entities.Entities.Page
@{
ViewBag.Title = Model.PageName;
}
<div id="page-wrapper">
@Html.Partial("/Areas/PageBuilder/Views/Page/_Page.cshtml", Model)
</div> |
@model Portal.CMS.Entities.Entities.Page
@{
ViewBag.Title = Model.PageName;
}
<div id="page-wrapper" class="visitor">
@Html.Partial("/Areas/PageBuilder/Views/Page/_Page.cshtml", Model)
</div> | Resolve an issue with the FAQ / Spoiler Component where it does not open and close as intended | Resolve an issue with the FAQ / Spoiler Component where it does not open and close as intended
| C# | mit | tommcclean/PortalCMS,tommcclean/PortalCMS,tommcclean/PortalCMS |
fe9611694906fedbba709baf697874f47fbf8567 | Src/AutoFixture.xUnit.net2/CustomizeAttributeComparer.cs | Src/AutoFixture.xUnit.net2/CustomizeAttributeComparer.cs | using System.Collections.Generic;
namespace Ploeh.AutoFixture.Xunit2
{
internal class CustomizeAttributeComparer : Comparer<CustomizeAttribute>
{
public override int Compare(CustomizeAttribute x, CustomizeAttribute y)
{
if (x is FrozenAttribute && !(y is FrozenAttribute))
... | using System.Collections.Generic;
namespace Ploeh.AutoFixture.Xunit2
{
internal class CustomizeAttributeComparer : Comparer<CustomizeAttribute>
{
public override int Compare(CustomizeAttribute x, CustomizeAttribute y)
{
var xfrozen = x is FrozenAttribute;
var yfrozen = ... | Fix the 'CA1800: Do not cast unnecessarily' code analysis error | Fix the 'CA1800: Do not cast unnecessarily' code analysis error
https://msdn.microsoft.com/en-us/library/ms182271.aspx
| C# | mit | sbrockway/AutoFixture,sergeyshushlyapin/AutoFixture,dcastro/AutoFixture,zvirja/AutoFixture,hackle/AutoFixture,sergeyshushlyapin/AutoFixture,adamchester/AutoFixture,dcastro/AutoFixture,hackle/AutoFixture,sbrockway/AutoFixture,AutoFixture/AutoFixture,Pvlerick/AutoFixture,adamchester/AutoFixture,sean-gilliam/AutoFixture |
63afa1d982c4f6cba8c44537df0364ae4b04e422 | WalletWasabi.Fluent/ViewModels/Dialogs/TestDialogViewModel.cs | WalletWasabi.Fluent/ViewModels/Dialogs/TestDialogViewModel.cs | using System.Windows.Input;
using ReactiveUI;
namespace WalletWasabi.Fluent.ViewModels.Dialogs
{
public class TestDialogViewModel : DialogViewModelBase<bool>
{
private NavigationStateViewModel _navigationState;
private string _message;
public TestDialogViewModel(NavigationStateViewModel navigationState, strin... | using System.Windows.Input;
using ReactiveUI;
namespace WalletWasabi.Fluent.ViewModels.Dialogs
{
public class TestDialogViewModel : DialogViewModelBase<bool>
{
private NavigationStateViewModel _navigationState;
private string _message;
public TestDialogViewModel(NavigationStateViewModel navigationState, strin... | Disable OnDialogClosed navigation for now | Disable OnDialogClosed navigation for now
| C# | mit | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet |
48129c52d676d8e33d63852031e530fe4cef6b32 | osu.Game/Online/RealtimeMultiplayer/MultiplayerClientState.cs | osu.Game/Online/RealtimeMultiplayer/MultiplayerClientState.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
#nullable enable
namespace osu.Game.Online.RealtimeMultiplayer
{
public class MultiplayerClientState
{
public long CurrentRoomID { get; set; }
p... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
#nullable enable
namespace osu.Game.Online.RealtimeMultiplayer
{
[Serializable]
public class MultiplayerClientState
{
public readonly ... | Change get-only property for now | Change get-only property for now
| C# | mit | UselessToucan/osu,NeoAdonis/osu,UselessToucan/osu,peppy/osu,ppy/osu,peppy/osu-new,smoogipooo/osu,smoogipoo/osu,smoogipoo/osu,smoogipoo/osu,NeoAdonis/osu,UselessToucan/osu,peppy/osu,ppy/osu,NeoAdonis/osu,peppy/osu,ppy/osu |
1ec1f3ce23ceb182e9dcfb56ef6d3b95e0810154 | NBi.Core.SqlServer/Smo/SmoBatchRunnerFactory.cs | NBi.Core.SqlServer/Smo/SmoBatchRunnerFactory.cs | using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NBi.Core.Batch;
using System.Data.SqlClient;
namespace NBi.Core.SqlServer.Smo
{
public class SmoBatchRunnerFactory : IBatchRunnerFatory
{
public IDecorationComma... | using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NBi.Core.Batch;
using System.Data.SqlClient;
namespace NBi.Core.SqlServer.Smo
{
public class SmoBatchRunnerFactory : IBatchRunnerFatory
{
public IDecorationComma... | Add handlng of invalid arguments when instanciating a SmoBatchRunner | Add handlng of invalid arguments when instanciating a SmoBatchRunner
| C# | apache-2.0 | Seddryck/NBi,Seddryck/NBi |
69dc93daa3c5460e91a7518d2ddab26544c7d13f | MbCacheTest/Logic/Performance/CacheMissPerformanceTest.cs | MbCacheTest/Logic/Performance/CacheMissPerformanceTest.cs | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Threading.Tasks;
using MbCacheTest.TestData;
using NUnit.Framework;
using SharpTestsEx;
namespace MbCacheTest.Logic.Performance
{
public class CacheMissPerformanceTest : TestCase
{
private ObjectTakes100MsToFill instance;
... | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Threading.Tasks;
using MbCacheTest.TestData;
using NUnit.Framework;
using SharpTestsEx;
namespace MbCacheTest.Logic.Performance
{
public class CacheMissPerformanceTest : TestCase
{
private ObjectTakes100MsToFill instance;
... | Make test work also in environments with few cores. | Make test work also in environments with few cores.
| C# | mit | RogerKratz/mbcache |
1e3c5ae6270252c43d231752488b0410dee13df6 | src/System.Globalization/tests/CultureInfo/CultureInfoNativeName.cs | src/System.Globalization/tests/CultureInfo/CultureInfoNativeName.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Collections.Generic;
using Xunit;
namespace System.Globalization.Tests
{
public class CultureInfoN... | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Collections.Generic;
using Xunit;
namespace System.Globalization.Tests
{
public class CultureInfoN... | Fix a globalization test failure | Fix a globalization test failure
| C# | mit | ericstj/corefx,marksmeltzer/corefx,lggomez/corefx,rahku/corefx,krk/corefx,ptoonen/corefx,cydhaselton/corefx,shmao/corefx,dhoehna/corefx,adamralph/corefx,shimingsg/corefx,mazong1123/corefx,Petermarcu/corefx,ravimeda/corefx,yizhang82/corefx,ericstj/corefx,DnlHarvey/corefx,ravimeda/corefx,mazong1123/corefx,Priya91/corefx-... |
facf39190f1ee088a8a337ed7afe159708d16668 | ExpressRunner.TestProject/ExampleTests.cs | ExpressRunner.TestProject/ExampleTests.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using Xunit;
using Xunit.Extensions;
namespace ExpressRunner.TestProject
{
public class ExampleTests
{
[Fact]
public void Should_fail_always()
{
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using Xunit;
using Xunit.Extensions;
namespace ExpressRunner.TestProject
{
public class ExampleTests
{
[Fact]
public void Should_fail_always()
{
... | Make sleep shorter in test project | Make sleep shorter in test project
| C# | mit | lpatalas/ExpressRunner |
c21cdacc8e93ab0ddf202ae6212617b1ddd4cf0d | src/Glimpse.Agent.Common/Broker/DefaultMessageAgentBus.cs | src/Glimpse.Agent.Common/Broker/DefaultMessageAgentBus.cs | using System;
using System.Collections.Generic;
using System.Reactive.Linq;
using System.Reactive.Subjects;
using System.Reflection;
using System.Threading.Tasks;
namespace Glimpse.Agent
{
public class DefaultAgentBroker : IAgentBroker
{
private readonly ISubject<IMessage> _subject;
// TODO:... | using System;
using System.Collections.Generic;
using System.Reactive.Linq;
using System.Reactive.Subjects;
using System.Reflection;
using System.Threading.Tasks;
namespace Glimpse.Agent
{
public class DefaultAgentBroker : IAgentBroker
{
private readonly ISubject<IMessage> _subject;
// TODO:... | Update reasoning behind why AgentBus hack exists | Update reasoning behind why AgentBus hack exists
| C# | mit | pranavkm/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,zanetdev/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,zanetdev/Glimpse.Prototype,pranavkm/Glimpse.Prototype,Glimpse/Glimpse.Prototype,mike-kaufman/Glimps... |
d01cd489ed92638163d5163d690de1d1fe78c9b5 | src/reni2/FeatureTest/Reference/ArrayReferenceDumpLoop.cs | src/reni2/FeatureTest/Reference/ArrayReferenceDumpLoop.cs | using System;
using System.Collections.Generic;
using System.Linq;
using hw.UnitTest;
namespace Reni.FeatureTest.Reference
{
[TestFixture]
[ArrayReferenceDumpSimple]
[Target(@"
repeat: /\ ^ while() then(^ body(), repeat(^));
o:
/\
{
data: ^ array_reference ;
count: ^ count;
dump_print:
... | using System;
using System.Collections.Generic;
using System.Linq;
using hw.UnitTest;
namespace Reni.FeatureTest.Reference
{
[TestFixture]
[ArrayReferenceDumpSimple]
[Target(@"
repeat: /\ ^ while() then(^ body(), repeat(^));
o:
/\
{
data: ^ array_reference ;
count: ^ count;
dump_print:
... | Access operator for array is now "item" | Change: Access operator for array is now "item"
| C# | mit | hahoyer/reni.cs,hahoyer/reni.cs,hahoyer/reni.cs |
1695bfcf0a45c1d534608baf7b931cdfd40c9785 | src/MobileApps/MyDriving/MyDriving.AzureClient/AzureClient.cs | src/MobileApps/MyDriving/MyDriving.AzureClient/AzureClient.cs | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for details.
using Microsoft.WindowsAzure.MobileServices;
namespace MyDriving.AzureClient
{
public class AzureClient : IAzureClient
{
const string DefaultMobileServiceU... | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for details.
using Microsoft.WindowsAzure.MobileServices;
namespace MyDriving.AzureClient
{
public class AzureClient : IAzureClient
{
const string DefaultMobileServiceU... | Switch back to the correct url | Switch back to the correct url
| C# | mit | Azure-Samples/MyDriving,Azure-Samples/MyDriving,Azure-Samples/MyDriving |
72b6bb25a5c1125f038d4b079e2e57fd31fdbcd1 | osu.Game/Overlays/Settings/Sections/General/UpdateSettings.cs | osu.Game/Overlays/Settings/Sections/General/UpdateSettings.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;
using osu.Framework.Allocation;
using osu.Framework.Platform;
using osu.Game.Configuration;
using osu.Game.Updater;
namespace osu.Game.Overlays.Set... | // 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;
using osu.Framework.Allocation;
using osu.Framework.Platform;
using osu.Game.Configuration;
using osu.Game.Updater;
namespace osu.Game.Overlays.Set... | Allow nulls and hide if missing dependencies | Allow nulls and hide if missing dependencies
| C# | mit | peppy/osu,NeoAdonis/osu,smoogipooo/osu,UselessToucan/osu,smoogipoo/osu,peppy/osu,ppy/osu,UselessToucan/osu,smoogipoo/osu,peppy/osu-new,peppy/osu,NeoAdonis/osu,UselessToucan/osu,ppy/osu,smoogipoo/osu,ppy/osu,NeoAdonis/osu |
cea5818326b6abcaa28ede762a70a06b93878268 | src/NRules/NRules/Rete/Fact.cs | src/NRules/NRules/Rete/Fact.cs | using System;
using System.Diagnostics;
namespace NRules.Rete
{
[DebuggerDisplay("Fact {Object}")]
internal class Fact
{
private readonly Type _factType;
private readonly object _object;
public Fact()
{
}
public Fact(object @object)
{
_... | using System;
using System.Diagnostics;
namespace NRules.Rete
{
[DebuggerDisplay("Fact {Object}")]
internal class Fact
{
private readonly Type _factType;
private readonly object _object;
public Fact()
{
}
public Fact(object @object)
{
_... | Fix wrapper fact to show proper type | Fix wrapper fact to show proper type
| C# | mit | prashanthr/NRules,StanleyGoldman/NRules,NRules/NRules,StanleyGoldman/NRules |
3a5f5d1edb82d63a8eeac520c9a5061bc0642799 | test/Grobid.Test/GrobidTest.cs | test/Grobid.Test/GrobidTest.cs | using System;
using System.IO;
using ApprovalTests;
using ApprovalTests.Reporters;
using FluentAssertions;
using Xunit;
using Grobid.NET;
using org.apache.log4j;
using org.grobid.core;
namespace Grobid.Test
{
[UseReporter(typeof(DiffReporter))]
public class GrobidTest
{
static G... | using System;
using System.IO;
using ApprovalTests;
using ApprovalTests.Reporters;
using FluentAssertions;
using Xunit;
using Grobid.NET;
using org.apache.log4j;
using org.grobid.core;
namespace Grobid.Test
{
[UseReporter(typeof(DiffReporter))]
public class GrobidTest
{
static G... | Reduce logging level to ERROR | Reduce logging level to ERROR
| C# | apache-2.0 | boumenot/Grobid.NET |
455ff5b458c998ad4cd1d7d0e43b3c5c6a834299 | src/SmugMugShared/Descriptors/Limits.cs | src/SmugMugShared/Descriptors/Limits.cs | // Copyright (c) Alex Ghiondea. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
namespace SmugMug.Shared.Descriptors
{
public class Limits
{
// INFINITY, NEGATIVE_INFINITY, POSITIVE_INFINITY, and numbers
... | // Copyright (c) Alex Ghiondea. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
namespace SmugMug.Shared.Descriptors
{
public class Limits
{
// INFINITY, NEGATIVE_INFINITY, POSITIVE_INFINITY, and numbers
... | Handle a couple more options for how to describe the limits | Handle a couple more options for how to describe the limits
| C# | mit | AlexGhiondea/SmugMug.NET |
ec3183a019f76246769bc74cfeb29b4599357abd | src/Orchard.Web/Core/Dashboard/Views/Admin/Index.cshtml | src/Orchard.Web/Core/Dashboard/Views/Admin/Index.cshtml | @model dynamic
<h1>@Html.TitleForPage(T("Welcome to Orchard").ToString())</h1>
<p>@T("This is the place where you can manage your web site, its appearance and its contents. Please take a moment to explore the different menu items on the left of the screen to familiarize yourself with the features of the applicatio... | @model dynamic
<h1>@Html.TitleForPage(T("Welcome to Orchard").ToString())</h1>
<p>@T("This is the place where you can manage your web site, its appearance and its contents. Please take a moment to explore the different menu items on the left of the screen to familiarize yourself with the features of the applicatio... | Add advisory message in dashboard | Add advisory message in dashboard
--HG--
branch : dev
| C# | bsd-3-clause | SeyDutch/Airbrush,Serlead/Orchard,cooclsee/Orchard,ehe888/Orchard,xiaobudian/Orchard,neTp9c/Orchard,MpDzik/Orchard,NIKASoftwareDevs/Orchard,caoxk/orchard,patricmutwiri/Orchard,kouweizhong/Orchard,jchenga/Orchard,IDeliverable/Orchard,tobydodds/folklife,johnnyqian/Orchard,sfmskywalker/Orchard,austinsc/Orchard,openbizgit/... |
b59d9f6700da26f6b8fb0aa4a2689e03e004a0ff | src/Orchard.Web/Core/Title/Handlers/TitlePartHandler.cs | src/Orchard.Web/Core/Title/Handlers/TitlePartHandler.cs | using Orchard.ContentManagement.Handlers;
using Orchard.Core.Title.Models;
using Orchard.Data;
namespace Orchard.Core.Title.Handlers {
public class TitlePartHandler : ContentHandler {
public TitlePartHandler(IRepository<TitlePartRecord> repository) {
Filters.Add(StorageFilter.For(repo... | using Orchard.ContentManagement.Handlers;
using Orchard.Core.Title.Models;
using Orchard.Data;
namespace Orchard.Core.Title.Handlers {
public class TitlePartHandler : ContentHandler {
public TitlePartHandler(IRepository<TitlePartRecord> repository) {
Filters.Add(StorageFilter.For(repo... | Remove indexing on TitlePart (it's performed thru ITitleAspect) | Remove indexing on TitlePart (it's performed thru ITitleAspect)
--HG--
branch : autoroute
| C# | bsd-3-clause | fassetar/Orchard,sebastienros/msc,geertdoornbos/Orchard,xiaobudian/Orchard,arminkarimi/Orchard,Dolphinsimon/Orchard,patricmutwiri/Orchard,escofieldnaxos/Orchard,grapto/Orchard.CloudBust,asabbott/chicagodevnet-website,Praggie/Orchard,jchenga/Orchard,AdvantageCS/Orchard,Dolphinsimon/Orchard,asabbott/chicagodevnet-website... |
7358d784ddf44f90fd96163e2f7a7a3c741966d4 | Sensors/UpsSensor/UpsSensor/UPSSensor.cs | Sensors/UpsSensor/UpsSensor/UPSSensor.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using PowerChuteCS;
using SensorHost.Shared;
namespace UpsSensor
{
public class UPSSensor : SensorHost.Shared.SensorBase
{
public override IEnumerable<Result> Results()
{
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using PowerChuteCS;
using SensorHost.Shared;
namespace UpsSensor
{
public class UPSSensor : SensorHost.Shared.SensorBase
{
private PowerChuteData _dataFactory;
public UPSSensor()... | Fix a bug that caused the sensor host to crash | Fix a bug that caused the sensor host to crash
| C# | apache-2.0 | rossdargan/PRTG-Sensors |
1567befb2ce4f0891cf08440046ea9714dc4cd4d | src/Noobot.Runner/NoobotHost.cs | src/Noobot.Runner/NoobotHost.cs | using System;
using Common.Logging;
using Noobot.Core;
using Noobot.Core.Configuration;
using Noobot.Core.DependencyResolution;
namespace Noobot.Runner
{
/// <summary>
/// NoobotHost is required due to TopShelf.
/// </summary>
public class NoobotHost
{
private readonly IConfigReader _confi... | using System;
using Common.Logging;
using Noobot.Core;
using Noobot.Core.Configuration;
using Noobot.Core.DependencyResolution;
namespace Noobot.Runner
{
/// <summary>
/// NoobotHost is required due to TopShelf.
/// </summary>
public class NoobotHost
{
private readonly IConfigReader _confi... | Add overload to the default Host to accept any configuration | Add overload to the default Host to accept any configuration
| C# | mit | noobot/noobot,Workshop2/noobot |
4e9ec329dddbc7866fa168ad90e0738ddf3c546d | test/Grobid.Test/GrobidTest.cs | test/Grobid.Test/GrobidTest.cs | using System;
using System.IO;
using ApprovalTests;
using ApprovalTests.Reporters;
using FluentAssertions;
using Xunit;
using Grobid.NET;
using org.apache.log4j;
using org.grobid.core;
namespace Grobid.Test
{
[UseReporter(typeof(DiffReporter))]
public class GrobidTest
{
static G... | using System;
using System.IO;
using ApprovalTests;
using ApprovalTests.Reporters;
using FluentAssertions;
using Xunit;
using Grobid.NET;
using org.apache.log4j;
using org.grobid.core;
namespace Grobid.Test
{
[UseReporter(typeof(DiffReporter))]
public class GrobidTest
{
static G... | Set log level to INFO | Set log level to INFO
| C# | apache-2.0 | boumenot/Grobid.NET |
42bdfdfa10f3759bcd1c688e705f3b2a923b32a7 | src/ConsoleApp/Table.cs | src/ConsoleApp/Table.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
namespace ConsoleApp
{
public class Table
{
private readonly string tableName;
private readonly IEnumerable<Column> columns;
public Table(string tableName, IEnumerable<Column> columns)
{
... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
namespace ConsoleApp
{
public class Table
{
private readonly string tableName;
private readonly IEnumerable<Column> columns;
public Table(string tableName, IEnumerable<Column> columns)
{
... | Make class generatng code clearer (?) | Make class generatng code clearer (?)
| C# | mit | TeamnetGroup/schema2fm |
67db9b7a61b64ab11345efef546fe69c54099ea4 | Assets/Scripts/Player.cs | Assets/Scripts/Player.cs | using UnityEngine;
using System.Collections;
public class Player : MonoBehaviour {
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
if (Input.GetMouseButtonDown(0)) {
// TODO: place tower
}
}
}
| using UnityEngine;
using System.Collections;
public class Player : MonoBehaviour {
private int money = 500;
public int GetMoney () {
return money;
}
public bool Buy (int price) {
if (price > money) {
return false;
}
money -= price;
return true;
}
// Update is called once per frame
void Updat... | Add methods to buy stuff | Add methods to buy stuff
| C# | mit | bastuijnman/ludum-dare-36 |
a7a1956a32a67a2f668701be1863bab596c78c85 | src/Arkivverket.Arkade/Core/Noark5/ReadElementEventArgs.cs | src/Arkivverket.Arkade/Core/Noark5/ReadElementEventArgs.cs | using System;
using System.Collections.Generic;
using System.Linq;
namespace Arkivverket.Arkade.Core.Noark5
{
public class ReadElementEventArgs : EventArgs
{
public string Name { get; set; }
public string Value { get; set; }
public ElementPath Path { get; set; }
public ReadElem... | using System;
using System.Collections.Generic;
using System.Linq;
namespace Arkivverket.Arkade.Core.Noark5
{
public class ReadElementEventArgs : EventArgs
{
public string Name { get; set; }
public string Value { get; set; }
public ElementPath Path { get; set; }
public ReadElem... | Add method to get path segment representing parent element | Add method to get path segment representing parent element
| C# | agpl-3.0 | arkivverket/arkade5,arkivverket/arkade5,arkivverket/arkade5 |
d079f08745b07492f8c0427089d84e6ace9d0695 | Samples/Stylet.Samples.OverridingViewManager/CustomViewManager.cs | Samples/Stylet.Samples.OverridingViewManager/CustomViewManager.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Windows;
namespace Stylet.Samples.OverridingViewManager
{
[AttributeUsage(AttributeTargets.Class, Inherited = false, AllowMultiple = false)]
sealed class ViewModelAttribute : Attribute
{
readon... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Windows;
namespace Stylet.Samples.OverridingViewManager
{
[AttributeUsage(AttributeTargets.Class, Inherited = false, AllowMultiple = false)]
sealed class ViewModelAttribute : Attribute
{
readon... | Fix 'overriding view manager' sample | Fix 'overriding view manager' sample
| C# | mit | canton7/Stylet,canton7/Stylet |
e26bab1d86d47aa561f59f2d49e747cec21bf880 | CreviceApp/GM.GestureMachine.cs | CreviceApp/GM.GestureMachine.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Crevice.GestureMachine
{
using System.Threading;
using System.Drawing;
using Crevice.Core.FSM;
using Crevice.Core.Events;
using Crevice.Threading;
public class NullGes... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Crevice.GestureMachine
{
using System.Threading;
using System.Drawing;
using Crevice.Core.FSM;
using Crevice.Core.Events;
using Crevice.Threading;
public class NullGes... | Revert LowLatencyTaskFactory to the default. | Revert LowLatencyTaskFactory to the default.
| C# | mit | rubyu/CreviceApp,rubyu/CreviceApp |
66f636045e54ad0e96a4c001f09b01bb665ac3f1 | Presentation.Web/Global.asax.cs | Presentation.Web/Global.asax.cs | using System.Web.Http;
using System.Web.Mvc;
using System.Web.Optimization;
using System.Web.Routing;
using Newtonsoft.Json;
using Newtonsoft.Json.Serialization;
namespace Presentation.Web
{
// Note: For instructions on enabling IIS6 or IIS7 classic mode,
// visit http://go.microsoft.com/?LinkId=9394801
... | using System.Data.Entity;
using System.Web.Http;
using System.Web.Mvc;
using System.Web.Optimization;
using System.Web.Routing;
using Infrastructure.DataAccess;
using Newtonsoft.Json;
using Newtonsoft.Json.Serialization;
namespace Presentation.Web
{
// Note: For instructions on enabling IIS6 or IIS7 classic mode,... | Add instantiation of context on app start. | Add instantiation of context on app start.
| C# | mpl-2.0 | miracle-as/kitos,miracle-as/kitos,os2kitos/kitos,os2kitos/kitos,miracle-as/kitos,miracle-as/kitos,os2kitos/kitos,os2kitos/kitos |
a528b9d5f47b02e44e4748e8c4ba2a98ee9f3366 | src/Umbraco.Core/Configuration/Models/UmbracoPluginSettings.cs | src/Umbraco.Core/Configuration/Models/UmbracoPluginSettings.cs | // Copyright (c) Umbraco.
// See LICENSE for more details.
using System.Collections.Generic;
namespace Umbraco.Cms.Core.Configuration.Models
{
/// <summary>
/// Typed configuration options for the plugins.
/// </summary>
[UmbracoOptions(Constants.Configuration.ConfigPlugins)]
public class UmbracoP... | // Copyright (c) Umbraco.
// See LICENSE for more details.
using System.Collections.Generic;
namespace Umbraco.Cms.Core.Configuration.Models
{
/// <summary>
/// Typed configuration options for the plugins.
/// </summary>
[UmbracoOptions(Constants.Configuration.ConfigPlugins)]
public class UmbracoP... | Allow .map files as default browsable file extensions from the App_Plugins static file handler. | Allow .map files as default browsable file extensions from the App_Plugins static file handler.
| C# | mit | robertjf/Umbraco-CMS,abjerner/Umbraco-CMS,dawoe/Umbraco-CMS,dawoe/Umbraco-CMS,KevinJump/Umbraco-CMS,KevinJump/Umbraco-CMS,dawoe/Umbraco-CMS,robertjf/Umbraco-CMS,KevinJump/Umbraco-CMS,dawoe/Umbraco-CMS,JimBobSquarePants/Umbraco-CMS,KevinJump/Umbraco-CMS,umbraco/Umbraco-CMS,robertjf/Umbraco-CMS,JimBobSquarePants/Umbraco-... |
0adf819830028c3f984163237205c8e7c5c2efe5 | CIXReader/Utilities/Constants_Windows.cs | CIXReader/Utilities/Constants_Windows.cs | // *****************************************************
// CIXReader
// Constants_Windows.cs
//
// Author: Steve Palmer (spalmer@cix)
//
// Created: 21/06/2015 11:02
//
// Copyright (C) 2013-2015 CIX Online Ltd. All Rights Reserved.
// *****************************************************
namespace CIXReader.Uti... | // *****************************************************
// CIXReader
// Constants_Windows.cs
//
// Author: Steve Palmer (spalmer@cix)
//
// Created: 21/06/2015 11:02
//
// Copyright (C) 2013-2015 CIX Online Ltd. All Rights Reserved.
// *****************************************************
namespace CIXReader.Uti... | Use https for Sparkle updates and change log access | Use https for Sparkle updates and change log access
| C# | apache-2.0 | cixonline/cixreader,cixonline/cixreader,cixonline/cixreader,cixonline/cixreader |
8ad9e0958fe01e917894447e7d38252f9aa9d88f | DEX/DEX/Controllers/ContactController.cs | DEX/DEX/Controllers/ContactController.cs | using DEX.Models;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace DEX.Controllers
{
public class ContactController : Controller
{
private ApplicationDbContext db = new ApplicationDbContext();
}
} | using DEX.Models;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace DEX.Controllers
{
public class ContactController : Controller
{
private ApplicationDbContext db = new ApplicationDbContext();
... | Create Contact method added to Contact Controller | Create Contact method added to Contact Controller
| C# | apache-2.0 | ADukeLabs/DEX,ADukeLabs/DEX,ADukeLabs/DEX |
b06128ffa5f4845bd0c9ae6dabe11120336b5cf4 | osu.Game/Rulesets/Difficulty/PerformanceAttributes.cs | osu.Game/Rulesets/Difficulty/PerformanceAttributes.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System.Collections.Generic;
using Newtonsoft.Json;
namespace osu.Game.Rulesets.Difficulty
{
public class PerformanceAttributes
{
/// <summary>
... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System.Collections.Generic;
using Newtonsoft.Json;
namespace osu.Game.Rulesets.Difficulty
{
public class PerformanceAttributes
{
/// <summary>
... | Rename "Final PP" to "Achieved PP" | Rename "Final PP" to "Achieved PP"
| C# | mit | peppy/osu,peppy/osu,NeoAdonis/osu,peppy/osu,ppy/osu,NeoAdonis/osu,ppy/osu,NeoAdonis/osu,ppy/osu |
4f91e949b5b30ebab073c321dcf5088109b34e2c | Website/Migrations/201304030226233_CuratedFeedPackageUniqueness.cs | Website/Migrations/201304030226233_CuratedFeedPackageUniqueness.cs | namespace NuGetGallery.Migrations
{
using System.Data.Entity.Migrations;
public partial class CuratedFeedPackageUniqueness : DbMigration
{
public override void Up()
{
// DELETE duplicate CuratedPackages from the database
// Trying to prefer keeping duplicated ent... | namespace NuGetGallery.Migrations
{
using System.Data.Entity.Migrations;
public partial class CuratedFeedPackageUniqueness : DbMigration
{
public override void Up()
{
// ADD uniqueness constraint - as an Index, since it seems reasonable to look up curated package entries by ... | Revert the addition of SQL code for deleting DuplicateCuratedPackages. This will move over to a SQL script in NuGetOperations. | Revert the addition of SQL code for deleting DuplicateCuratedPackages. This will move over to a SQL script in NuGetOperations.
| C# | apache-2.0 | KuduApps/NuGetGallery,grenade/NuGetGallery_download-count-patch,skbkontur/NuGetGallery,mtian/SiteExtensionGallery,projectkudu/SiteExtensionGallery,mtian/SiteExtensionGallery,KuduApps/NuGetGallery,JetBrains/ReSharperGallery,KuduApps/NuGetGallery,mtian/SiteExtensionGallery,JetBrains/ReSharperGallery,JetBrains/ReSharperGa... |
79d9fbb998f4bdb48e6ef13cee5a9e50fa754704 | CertiPay.Common.Notifications/Notifications/Notification.cs | CertiPay.Common.Notifications/Notifications/Notification.cs | using System;
using System.Collections.Generic;
namespace CertiPay.Common.Notifications
{
public class Notification
{
public String Content { get; set; }
public ICollection<String> Recipients { get; set; }
public Notification()
{
this.Recipients = new List<String>... | using System;
using System.Collections.Generic;
namespace CertiPay.Common.Notifications
{
/// <summary>
/// Describes the base notification content required to send
/// </summary>
public class Notification
{
/// <summary>
/// The content of the message
/// </summary>
... | Add comments to the notification interface | Add comments to the notification interface
| C# | mit | mattgwagner/CertiPay.Common |
d64f07b00c0694fba9293e9b7948b792dd06eef9 | csharp/HOLMS.Platform/HOLMS.Platform/Types/Extensions/Booking/CancellationPolicy.cs | csharp/HOLMS.Platform/HOLMS.Platform/Types/Extensions/Booking/CancellationPolicy.cs | using HOLMS.Types.Booking.Indicators;
using HOLMS.Types.Extensions;
using HOLMS.Types.Primitive;
namespace HOLMS.Types.Booking {
public partial class CancellationPolicy : EntityDTO<CancellationPolicyIndicator> {
public CancellationPolicy(CancellationPolicyIndicator id, string description,
int ... | using HOLMS.Types.Booking.Indicators;
using HOLMS.Types.Extensions;
using HOLMS.Types.Primitive;
namespace HOLMS.Types.Booking {
public partial class CancellationPolicy : EntityDTO<CancellationPolicyIndicator> {
public CancellationPolicy(CancellationPolicyIndicator id, string description,
int ... | Remove unused positional constructor arg | Remove unused positional constructor arg
| C# | mit | PietroProperties/holms.platformclient.net |
4af885f6b1b4a28b91c6fa115e8f1718b2041c97 | osu.Game.Rulesets.Mania/Configuration/ManiaConfigManager.cs | osu.Game.Rulesets.Mania/Configuration/ManiaConfigManager.cs | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using osu.Framework.Configuration.Tracking;
using osu.Game.Configuration;
using osu.Game.Rulesets.Configuration;
using osu.Game.Rulesets.Mania.UI;
namespace osu.Game.R... | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using osu.Framework.Configuration.Tracking;
using osu.Game.Configuration;
using osu.Game.Rulesets.Configuration;
using osu.Game.Rulesets.Mania.UI;
namespace osu.Game.R... | Adjust default mania speed to match stable | Adjust default mania speed to match stable
| C# | mit | UselessToucan/osu,DrabWeb/osu,smoogipoo/osu,johnneijzen/osu,smoogipoo/osu,DrabWeb/osu,peppy/osu,smoogipooo/osu,johnneijzen/osu,peppy/osu,ppy/osu,NeoAdonis/osu,UselessToucan/osu,NeoAdonis/osu,peppy/osu,ZLima12/osu,DrabWeb/osu,NeoAdonis/osu,ZLima12/osu,EVAST9919/osu,naoey/osu,peppy/osu-new,2yangk23/osu,ppy/osu,EVAST9919/... |
5f43299d3779ffbde32d3bd2f735592f30fad820 | osu.Game/Overlays/Changelog/ChangelogUpdateStreamControl.cs | osu.Game/Overlays/Changelog/ChangelogUpdateStreamControl.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Game.Online.API.Requests.Responses;
namespace osu.Game.Overlays.Changelog
{
public class ChangelogUpdateStreamControl : OverlayStreamControl<APIUpdateStre... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Game.Online.API.Requests.Responses;
namespace osu.Game.Overlays.Changelog
{
public class ChangelogUpdateStreamControl : OverlayStreamControl<APIUpdateStre... | Fix tests failing due to base logic firing | Fix tests failing due to base logic firing
It turns out that the changelog code was semi-intentionally relying on
the request to get release streams to be slow to initially show the
listing of all streams.
Locally suppress the base tab control logic to fix this.
| C# | mit | peppy/osu,NeoAdonis/osu,peppy/osu-new,NeoAdonis/osu,peppy/osu,UselessToucan/osu,NeoAdonis/osu,UselessToucan/osu,peppy/osu,ppy/osu,smoogipoo/osu,smoogipooo/osu,UselessToucan/osu,ppy/osu,smoogipoo/osu,ppy/osu,smoogipoo/osu |
eda4f3c165acd66395c18051e7cdf026ef74bccf | src/BulkWriter/Pipeline/Internal/StartEtlPipelineStep.cs | src/BulkWriter/Pipeline/Internal/StartEtlPipelineStep.cs | using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Threading;
namespace BulkWriter.Pipeline.Internal
{
internal class StartEtlPipelineStep<TIn> : EtlPipelineStep<TIn, TIn>
{
public StartEtlPipelineStep(EtlPipelineContext pipelineContext, IEnumerable<TIn> enumerable) : ... | using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Threading;
namespace BulkWriter.Pipeline.Internal
{
internal class StartEtlPipelineStep<TIn> : EtlPipelineStep<TIn, TIn>
{
private readonly IEnumerable<TIn> _inputEnumerable;
public StartEtlPipelineStep(EtlPip... | Remove ConcurrentQueue wrapper around input enumerable and just iterate it directly in the Run method | Remove ConcurrentQueue wrapper around input enumerable and just iterate it directly in the Run method
| C# | apache-2.0 | HeadspringLabs/bulk-writer |
1dbbbc0b38776f29885fe0707c2fe0678373b2d0 | Mos6510/Instructions/Opcodes.cs | Mos6510/Instructions/Opcodes.cs | namespace Mos6510.Instructions
{
public enum Opcode
{
Inx,
Iny,
Nop,
And,
Ora,
Eor,
Adc,
Clc,
Lda,
Sbc,
Sta,
Ldx,
Ldy,
}
}
| namespace Mos6510.Instructions
{
public enum Opcode
{
Adc, // Add Memory to Accumulator with Carry
And, // "AND" Memory with Accumulator
Asl, // Shift Left One Bit (Memory or Accumulator)
Bcc, // Branch on Carry Clear
Bcs, // Branch on Carry Set
Beq, // Branch on Result Zero
Bit, // Test... | Add all opcodes to the enum | Add all opcodes to the enum
The data comes from http://www.unusedino.de/ec64/technical/aay/c64/bmain.htm
| C# | mit | joshpeterson/mos,joshpeterson/mos,joshpeterson/mos |
5e1a387369b958138e2a98c285f57e34de52b5b1 | Omise/Models/ScheduleRequest.cs | Omise/Models/ScheduleRequest.cs | using System;
using Newtonsoft.Json;
using Newtonsoft.Json.Serialization;
namespace Omise.Models
{
public class ScheduleOnRequest : Request
{
[JsonProperty("weekdays")]
public Weekdays[] Weekdays { get; set; }
[JsonProperty("days_of_month")]
public int[] DaysOfMonth { get; set; ... | using System;
using Newtonsoft.Json;
using Newtonsoft.Json.Serialization;
namespace Omise.Models
{
public class ScheduleOnRequest : Request
{
[JsonProperty("weekdays")]
public Weekdays[] Weekdays { get; set; }
[JsonProperty("days_of_month")]
public int[] DaysOfMonth { get; set; ... | Fix wrong json key of WeekdayOfMonth property. | Fix wrong json key of WeekdayOfMonth property.
| C# | mit | omise/omise-dotnet |
71c680388c0e83ec5a3b5a3a4c7bf914bc844eb4 | src/Markdig/Helpers/ExcludeFromCodeCoverageAttribute.cs | src/Markdig/Helpers/ExcludeFromCodeCoverageAttribute.cs | #if NET35 || UAP
using System;
namespace System.Diagnostics.CodeAnalysis
{
[AttributeUsage(AttributeTargets.All, AllowMultiple = false, Inherited = false)]
public class ExcludeFromCodeCoverageAttribute : Attribute
{
}
}
#endif | #if NET35 || UAP
using System;
namespace System.Diagnostics.CodeAnalysis
{
[AttributeUsage(AttributeTargets.All, AllowMultiple = false, Inherited = false)]
internal class ExcludeFromCodeCoverageAttribute : Attribute
{
}
}
#endif | Make ExcludeFromCodeCoverage compatibility stub internal | Make ExcludeFromCodeCoverage compatibility stub internal
| C# | bsd-2-clause | lunet-io/markdig |
3f9168c21ec937f32dbae75cfaba878c9632e2b9 | test/Abp.EntityFrameworkCore.Tests/Transaction_Tests.cs | test/Abp.EntityFrameworkCore.Tests/Transaction_Tests.cs | using System;
using System.Threading.Tasks;
using Abp.Domain.Repositories;
using Abp.Domain.Uow;
using Abp.EntityFrameworkCore.Tests.Domain;
using Microsoft.EntityFrameworkCore;
using Shouldly;
using Xunit;
namespace Abp.EntityFrameworkCore.Tests
{
public class Transaction_Tests : EntityFrameworkCoreModuleTestBase... | using System;
using System.Threading.Tasks;
using Abp.Domain.Repositories;
using Abp.Domain.Uow;
using Abp.EntityFrameworkCore.Tests.Domain;
using Microsoft.EntityFrameworkCore;
using Shouldly;
namespace Abp.EntityFrameworkCore.Tests
{
//WE CAN NOT TEST TRANSACTIONS SINCE INMEMORY DB DOES NOT SUPPORT IT! TODO: Use... | Disable EF Core transaction test. | Disable EF Core transaction test.
| C# | mit | ilyhacker/aspnetboilerplate,carldai0106/aspnetboilerplate,carldai0106/aspnetboilerplate,AlexGeller/aspnetboilerplate,ryancyq/aspnetboilerplate,lvjunlei/aspnetboilerplate,verdentk/aspnetboilerplate,fengyeju/aspnetboilerplate,verdentk/aspnetboilerplate,jaq316/aspnetboilerplate,virtualcca/aspnetboilerplate,aspnetboilerpla... |
30dca2a094ce63eeede1278835cb4f63f7640468 | Alexa.NET/Response/CardImage.cs | Alexa.NET/Response/CardImage.cs | using Newtonsoft.Json;
namespace Alexa.NET.Response
{
public class CardImage
{
[JsonProperty("smallImageUrl")]
[JsonRequired]
public string SmallImageUrl { get; set; }
[JsonProperty("largeImageUrl")]
[JsonRequired]
public string LargeImageUrl { get; set; }
... | using Newtonsoft.Json;
namespace Alexa.NET.Response
{
public class CardImage
{
[JsonProperty("smallImageUrl",NullValueHandling = NullValueHandling.Ignore)]
public string SmallImageUrl { get; set; }
[JsonProperty("largeImageUrl", NullValueHandling = NullValueHandling.Ignore)]
p... | Make card image types optional | Make card image types optional
| C# | mit | timheuer/alexa-skills-dotnet,stoiveyp/alexa-skills-dotnet |
1f4bea817f68f6dd8e1d1b600ad9e591dc22547c | samples/Simple4/Simple4/Views/Home/ConfigServerSettings.cshtml | samples/Simple4/Simple4/Views/Home/ConfigServerSettings.cshtml | @{
ViewBag.Title = "Configuration Settings for Spring Cloud Config Server";
}
<h2>@ViewBag.Title.</h2>
<h4>spring:cloud:config:enabled = @ViewBag.Enabled</h4>
<h4>spring:cloud:config:env = @ViewBag.Environment</h4>
<h4>spring:cloud:config:failFast = @ViewBag,FailFast</h4>
<h4>spring:cloud:config:name = @ViewBag.N... | @{
ViewBag.Title = "Configuration Settings for Spring Cloud Config Server";
}
<h2>@ViewBag.Title.</h2>
<h4>spring:cloud:config:enabled = @ViewBag.Enabled</h4>
<h4>spring:cloud:config:env = @ViewBag.Environment</h4>
<h4>spring:cloud:config:failFast = @ViewBag.FailFast</h4>
<h4>spring:cloud:config:name = @ViewBag.N... | Fix typo in Asp.Net 4.5 Sample app (Simple4) | Fix typo in Asp.Net 4.5 Sample app (Simple4)
| C# | apache-2.0 | SteelToeOSS/Configuration,SteelToeOSS/Configuration,SteelToeOSS/Configuration |
aed69634f2a1e3c7b223af7bd7871ed109a8e2de | src/Glimpse.Agent.Web/Framework/DefaultRequestIgnorerManager.cs | src/Glimpse.Agent.Web/Framework/DefaultRequestIgnorerManager.cs | using System.Collections.Generic;
using System.Linq;
using Microsoft.AspNet.Http;
namespace Glimpse.Agent.Web
{
public class DefaultRequestIgnorerManager : IRequestIgnorerManager
{
public DefaultRequestIgnorerManager(IExtensionProvider<IRequestIgnorer> requestIgnorerProvider, IHttpContextAccessor http... | using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.AspNet.Http;
namespace Glimpse.Agent.Web
{
public class DefaultRequestIgnorerManager : IRequestIgnorerManager
{
public DefaultRequestIgnorerManager(IExtensionProvider<IRequestIgnorer> requestIgnorerProvider, IHttpContex... | Introduce Null Argument check if context is null on RequestIgnorerManager | Introduce Null Argument check if context is null on RequestIgnorerManager
| C# | mit | peterblazejewicz/Glimpse.Prototype,Glimpse/Glimpse.Prototype,zanetdev/Glimpse.Prototype,zanetdev/Glimpse.Prototype,Glimpse/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,zanetdev/Glimpse.Prototype,peterblazejewicz/Gli... |
c72822227ee1cffe535370708c7d66813bc8f217 | Ignition.Foundation.Core/Automap/IgnitionAutomapHelper.cs | Ignition.Foundation.Core/Automap/IgnitionAutomapHelper.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
namespace Ignition.Foundation.Core.Automap
{
public static class IgnitionAutomapHelper
{
public static IEnumerable<Assembly> GetAutomappedAssemblies()
{
var automappedAssemblies = Assembly.GetExecutingAssembl... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
namespace Ignition.Foundation.Core.Automap
{
public static class IgnitionAutomapHelper
{
public static IEnumerable<Assembly> GetAutomappedAssemblies()
{
var automappedAssemblies = Assembly.GetExecutingAssembl... | Fix AutomapHelper to only return assemblies decorated with IgnitionAutomapAttribute | Fix AutomapHelper to only return assemblies decorated with IgnitionAutomapAttribute
| C# | mit | sitecoreignition/Ignition.Foundation |
87fd77708be4f25275aa42bb3e13690f2f5d64fd | Assets/Resources/Scripts/game/controller/GameController.cs | Assets/Resources/Scripts/game/controller/GameController.cs | using UnityEngine;
public class GameController : MonoBehaviour
{
GlobalGame game;
public float previewTime, previewTimer, confirmTime, confirmTimer;
public GlobalGame Game
{
get { return game; }
set { game = value; }
}
public void Confirm()
{
game.Confirm();
}... | using UnityEngine;
public class GameController : MonoBehaviour
{
GlobalGame game;
public float previewTime, previewTimer, confirmTime, confirmTimer;
public GlobalGame Game
{
get { return game; }
set { game = value; }
}
public void Confirm()
{
game.Confirm();
}... | Fix delay bug on resetting | Fix delay bug on resetting
| C# | mit | Curdflappers/UltimateTicTacToe |
8527b470e810059d36fccf6979ef6582e09d5e77 | LtiLibrary.AspNet/Outcomes/v1/ImsxXmlMediaTypeModelBinder.cs | LtiLibrary.AspNet/Outcomes/v1/ImsxXmlMediaTypeModelBinder.cs | using System;
using System.Threading.Tasks;
using System.Xml.Serialization;
using LtiLibrary.Core.Outcomes.v1;
using Microsoft.AspNetCore.Mvc.ModelBinding;
using System.IO;
namespace LtiLibrary.AspNet.Outcomes.v1
{
public class ImsxXmlMediaTypeModelBinder : IModelBinder
{
private static readonly XmlSe... | using LtiLibrary.Core.Outcomes.v1;
using Microsoft.AspNetCore.Mvc.ModelBinding;
using System;
using System.IO;
using System.Threading.Tasks;
using System.Xml.Serialization;
namespace LtiLibrary.AspNet.Outcomes.v1
{
/// <summary>
/// Use this ModelBinder to deserialize imsx_POXEnvelopeRequest XML. For example,... | Add comments, better error handling to new class. | Add comments, better error handling to new class.
| C# | apache-2.0 | andyfmiller/LtiLibrary |
de88433a3a3a0009cea53e421fdaa575aad98cae | src/Lloyd.AzureMailGateway.Core/JsonConverters/AddressConverter.cs | src/Lloyd.AzureMailGateway.Core/JsonConverters/AddressConverter.cs | using System;
using Lloyd.AzureMailGateway.Models;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
namespace Lloyd.AzureMailGateway.Core.JsonConverters
{
public class AddressConverter : JsonConverter
{
public override bool CanConvert(Type objectType) => (objectType == typeof(Address));
pub... | using System;
using Lloyd.AzureMailGateway.Models;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
namespace Lloyd.AzureMailGateway.Core.JsonConverters
{
public class AddressConverter : JsonConverter
{
public override bool CanConvert(Type objectType) => (objectType == typeof(Address));
pub... | Use more appropriate exception (can also never happen - JSON.NET uses the CanWrite property). | Use more appropriate exception (can also never happen - JSON.NET uses the CanWrite property).
| C# | mit | lloydjatkinson/Lloyd.AzureMailGateway |
fa004377c4a4ec5a58211dbdf837c1d205e1aa04 | template-game/TemplateGame.Game/TemplateGameGame.cs | template-game/TemplateGame.Game/TemplateGameGame.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;
namespace TemplateGame.Game
{
public class TemplateGameGame : osu.Framework.Game
{
[BackgroundDependencyLoader]
... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Shapes;
using osuTK;
using osuTK.Graphics;
namespace TemplateGame.Game
{
... | Add a rotating box for indication of a good game template state | Add a rotating box for indication of a good game template state
| C# | mit | EVAST9919/osu-framework,peppy/osu-framework,ZLima12/osu-framework,ppy/osu-framework,ZLima12/osu-framework,EVAST9919/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,ppy/osu-framework,EVAST9919/osu-framework |
fd8f2c5e8d806f95e3c6b3084f11565ff40e69ad | src/ScriptBuilder/Writers/SubscriptionWriter.cs | src/ScriptBuilder/Writers/SubscriptionWriter.cs | using System.IO;
using NServiceBus.Persistence.Sql.ScriptBuilder;
class SubscriptionWriter
{
public static void WriteSubscriptionScript(string scriptPath, BuildSqlDialect sqlDialect)
{
var createPath = Path.Combine(scriptPath, "Subscription_Create.sql");
File.Delete(createPath);
using ... | using System.IO;
using NServiceBus.Persistence.Sql.ScriptBuilder;
class SubscriptionWriter
{
public static void WriteSubscriptionScript(string scriptPath, BuildSqlDialect sqlDialect)
{
var createPath = Path.Combine(scriptPath, "Subscription_Create.sql");
File.Delete(createPath);
using ... | Fix the subscription drop script | Fix the subscription drop script
| C# | mit | NServiceBusSqlPersistence/NServiceBus.SqlPersistence |
fd23f07cd9c48601f97c9556b58d53be2686d423 | AppVeyorServices.IntegrationTests/AppVeyorGatewayTests.cs | AppVeyorServices.IntegrationTests/AppVeyorGatewayTests.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NFluent;
using NUnit.Framework;
namespace AppVeyorServices.IntegrationTests
{
[TestFixture]
public class AppVeyorGatewayTests
{
[Test]
public void GetProjects_Always_... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NFluent;
using NUnit.Framework;
namespace AppVeyorServices.IntegrationTests
{
[TestFixture]
public class AppVeyorGatewayTests
{
[Test]
public void GetProjects_Always_... | Make sure we receive a meaningful response | Make sure we receive a meaningful response
| C# | mit | dirkrombauts/AppVeyor-Light |
dc0174e658c523b7a4699f2fb03b74bf2d123013 | ASPVariables/ASPVariables/SessionResultsPage.aspx.cs | ASPVariables/ASPVariables/SessionResultsPage.aspx.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace ASPVariables
{
public partial class SessionResultsPage : 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 ASPVariables
{
public partial class SessionResultsPage : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
... | Add a blank line test | Add a blank line test
| C# | apache-2.0 | avinashbhujan/ASPVariables |
4d035afcc6f93d808c28f4ebec36b26be2f1aee5 | osu.Game/Overlays/Settings/Sections/Debug/GeneralSettings.cs | osu.Game/Overlays/Settings/Sections/Debug/GeneralSettings.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.Configuration;
using osu.Framework.Graphics;
namespace osu.Game.Overlays.Settings.Sections.Debug
{
public class ... | // 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.Configuration;
using osu.Framework.Graphics;
namespace osu.Game.Overlays.Settings.Sections.Debug
{
public class ... | Add setting to bypass front-to-back | Add setting to bypass front-to-back
| C# | mit | ppy/osu,UselessToucan/osu,NeoAdonis/osu,johnneijzen/osu,peppy/osu,2yangk23/osu,NeoAdonis/osu,ZLima12/osu,EVAST9919/osu,smoogipoo/osu,smoogipoo/osu,peppy/osu,peppy/osu,NeoAdonis/osu,ZLima12/osu,peppy/osu-new,UselessToucan/osu,smoogipoo/osu,UselessToucan/osu,EVAST9919/osu,smoogipooo/osu,johnneijzen/osu,ppy/osu,2yangk23/o... |
e438bdb733049e40f2ef690610c20a884a845b40 | Testing/WhatsMyRun.Services.Tests/WorkoutDataProviderTest.cs | Testing/WhatsMyRun.Services.Tests/WorkoutDataProviderTest.cs | using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using WhatsMyRun.Services.DataRequestor;
using Moq;
using WhatsMyRun.Services.DataProviders.Workouts;
using System.Threading.Tasks;
using System.IO;
using System.Reflection;
namespace WhatsMyRun.Tests
{
[TestClass]
public class WorkoutDataProvi... | using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using WhatsMyRun.Services.DataRequestor;
using Moq;
using WhatsMyRun.Services.DataProviders.Workouts;
using System.Threading.Tasks;
using System.IO;
using System.Reflection;
namespace WhatsMyRun.Tests
{
[TestClass]
public class WorkoutDataProvi... | Test to be proper async. Dave to make the test pass | Test to be proper async. Dave to make the test pass
| C# | mit | texred/WhatsMyRun |
b4daaac67802724b8bdebaee3f9fa2d5ec1dde7d | server/Apollo/Data/IJournalDataService.cs | server/Apollo/Data/IJournalDataService.cs | using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Apollo.Data.ResultModels;
using Dapper;
namespace Apollo.Data
{
public interface IJournalDataService
{
Task<IReadOnlyList<JournalEntry>> GetAllJournalEntries();
Task CreateJournalEntry(JournalEntry entry);... | using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Apollo.Data.ResultModels;
using Dapper;
namespace Apollo.Data
{
public interface IJournalDataService
{
Task<IReadOnlyList<JournalEntry>> GetAllJournalEntries();
Task CreateJournalEntry(JournalEntry entry);... | Return Journal entries latest first | Return Journal entries latest first
| C# | mit | charlesj/Apollo,charlesj/Apollo,charlesj/Apollo,charlesj/Apollo,charlesj/Apollo |
ba5b717fc0f70f426b7146d0d164673e715f7f2c | osu.Framework/Timing/IFrameBasedClock.cs | osu.Framework/Timing/IFrameBasedClock.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.Framework.Timing
{
/// <summary>
/// A clock which will only update its current time when a frame proces is triggered.
/// Useful for keeping a... | // 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.Framework.Timing
{
/// <summary>
/// A clock which will only update its current time when a frame proces is triggered.
/// Useful for keeping a... | Add xmldoc warning against use of FramesPerSecond | Add xmldoc warning against use of FramesPerSecond
| C# | mit | ppy/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,ZLima12/osu-framework,ppy/osu-framework,ZLima12/osu-framework,smoogipooo/osu-framework |
0e721f3a135d8fe4df813ee59cf3a4d1e9b49228 | NQuery.Language/Syntax/ExpressionSelectColumnSyntax.cs | NQuery.Language/Syntax/ExpressionSelectColumnSyntax.cs | using System;
using System.Collections.Generic;
namespace NQuery.Language
{
public sealed class ExpressionSelectColumnSyntax : SelectColumnSyntax
{
private readonly ExpressionSyntax _expression;
private readonly AliasSyntax _alias;
private readonly SyntaxToken? _commaToken;
pub... | using System;
using System.Collections.Generic;
namespace NQuery.Language
{
public sealed class ExpressionSelectColumnSyntax : SelectColumnSyntax
{
private readonly ExpressionSyntax _expression;
private readonly AliasSyntax _alias;
public ExpressionSelectColumnSyntax(ExpressionSyntax e... | Replace field by access to base class | Replace field by access to base class
| C# | mit | terrajobst/nquery-vnext |
aca9289d89df4c0984a0416ad689cff0ddff6f16 | osu.Game.Rulesets.Osu/Objects/Drawables/Pieces/ApproachCircle.cs | osu.Game.Rulesets.Osu/Objects/Drawables/Pieces/ApproachCircle.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.Sprites;
using osu.Framework.Graphics... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.Textures;
using osu.Game.Skinning;
n... | Use SkinnableSprite for approach circle | Use SkinnableSprite for approach circle
| C# | mit | UselessToucan/osu,ppy/osu,UselessToucan/osu,UselessToucan/osu,ZLima12/osu,smoogipooo/osu,smoogipoo/osu,ppy/osu,ppy/osu,NeoAdonis/osu,EVAST9919/osu,NeoAdonis/osu,johnneijzen/osu,johnneijzen/osu,peppy/osu,NeoAdonis/osu,2yangk23/osu,smoogipoo/osu,peppy/osu,peppy/osu-new,peppy/osu,smoogipoo/osu,2yangk23/osu,ZLima12/osu,EVA... |
0125e67677740a885fbb3af3a2a09570e3fd17c8 | Containerizer/Program.cs | Containerizer/Program.cs | using Microsoft.Owin.Hosting;
using System;
using System.Net.Http;
using System.Net.WebSockets;
using System.Text;
using System.Threading;
using Owin.WebSocket;
using Owin.WebSocket.Extensions;
using System.Threading.Tasks;
namespace Containerizer
{
public class Program
{
static void Main(string[] arg... | using Microsoft.Owin.Hosting;
using System;
using System.Net.Http;
using System.Net.WebSockets;
using System.Text;
using System.Threading;
using Owin.WebSocket;
using Owin.WebSocket.Extensions;
using System.Threading.Tasks;
namespace Containerizer
{
public class Program
{
static void Main(string[] arg... | Use port 80 by default for containerizer | Use port 80 by default for containerizer
| C# | apache-2.0 | cloudfoundry/garden-windows,cloudfoundry-incubator/garden-windows,cloudfoundry/garden-windows,cloudfoundry/garden-windows,stefanschneider/garden-windows,stefanschneider/garden-windows,cloudfoundry-incubator/garden-windows,stefanschneider/garden-windows,cloudfoundry-incubator/garden-windows |
6124ebfb2fb2ebc75a3cbaa50256fa8dc4edf8c0 | Conditional-Statements-Homework/ExchangeIfGreater/ExchangeIfGreater.cs | Conditional-Statements-Homework/ExchangeIfGreater/ExchangeIfGreater.cs | /*Problem 1. Exchange If Greater
Write an if-statement that takes two double variables a and b and exchanges their values if the first one
is greater than the second one. As a result print the values a and b, separated by a space.
Examples:
a b result
5 2 2 5
3 4 3 4
5.5 4.5 4... | /*Problem 1. Exchange If Greater
Write an if-statement that takes two double variables a and b and exchanges their values if the first one
is greater than the second one. As a result print the values a and b, separated by a space.
Examples:
a b result
5 2 2 5
3 4 3 4
5.5 4.5 4... | Update to Problem 1. Exchange If Greater | Update to Problem 1. Exchange If Greater
| C# | mit | SimoPrG/CSharpPart1Homework |
45ab9fc3e899c70077f21d3a5b328fe97e973ad1 | src/IFS.Web/Areas/Administration/Views/Files/Index.cshtml | src/IFS.Web/Areas/Administration/Views/Files/Index.cshtml | @using Humanizer
@model FilesOverviewModel
@{
ViewBag.Title = "Uploaded file overview";
}
<h2>@ViewBag.Title</h2>
@{
var sortedFiles = Model.Files.OrderBy(x => x.Metadata.OriginalFileName);
}
<table class="table table-striped">
<thead>
<tr>
<th>ID</th>
<th>File name</th>
<th... | @using Humanizer
@model FilesOverviewModel
@{
ViewBag.Title = "Uploaded file overview";
}
<h2>@ViewBag.Title</h2>
@{
var sortedFiles = Model.Files.OrderBy(x => x.Metadata.OriginalFileName);
}
<table class="table table-striped">
<thead>
<tr>
<th>ID</th>
<th>File name</th>
<th... | Allow downloading files from administrative mode | Allow downloading files from administrative mode
| C# | mit | Sebazzz/IFS,Sebazzz/IFS,Sebazzz/IFS,Sebazzz/IFS |
5bb0515af5157d4cb61eee7a889921688a5e2ece | MicroMVVM/ViewLocator.cs | MicroMVVM/ViewLocator.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using System.Windows;
namespace MicroMVVM
{
public static class ViewLocator
{
public static UIElement LocateForModel(object... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using System.Windows;
namespace MicroMVVM
{
public static class ViewLocator
{
public static UIElement LocateForModel(object... | Call InitializeComponent, if no code-behind | Call InitializeComponent, if no code-behind
| C# | mit | canton7/Stylet,cH40z-Lord/Stylet,canton7/Stylet,cH40z-Lord/Stylet |
6356180b6abd5a11ab32508ad3dcd2984c561aee | osu.Game/Overlays/Settings/Sections/Gameplay/AudioSettings.cs | osu.Game/Overlays/Settings/Sections/Gameplay/AudioSettings.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.Localisation;
using osu.Game.Configuration;
using osu.Gam... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Localisation;
using osu.Game.Configuration;
using osu.Game.Localisation;
namespace osu.... | Remove unnecessary code and fix double nesting causing filtering to not work | Remove unnecessary code and fix double nesting causing filtering to not work
| C# | mit | peppy/osu,ppy/osu,NeoAdonis/osu,peppy/osu,ppy/osu,NeoAdonis/osu,peppy/osu,NeoAdonis/osu,ppy/osu |
662f129a1b804c0d462440d5fb6240cb2d8fc637 | Editor/AspectRatioLayoutSwitcherEditor.cs | Editor/AspectRatioLayoutSwitcherEditor.cs | using UnityEditor;
using UnityEngine;
namespace SpaceTrader.Util.EditorUtil {
public static class AspectRatioLayoutSwitcherEditor {
[MenuItem("SpaceTrader/Refresh All Layout Switchers")]
private static void RefreshAllSwitchersInScene() {
var switchers = Object.FindObjectsOfType<AspectR... | using UnityEditor;
using UnityEngine;
namespace SpaceTrader.Util.EditorUtil {
public static class AspectRatioLayoutSwitcherEditor {
[MenuItem("Tools/SpaceTrader/Refresh All Layout Switchers")]
private static void RefreshAllSwitchersInScene() {
var switchers = Object.FindObjectsOfType<A... | Fix layout switcher tool menu path | Fix layout switcher tool menu path
| C# | mit | spriest487/spacetrader-utils |
7f0ee6f608c36e66a9894c1013e3a7db68021e39 | src/NHibernate.Test/ExpressionTest/InsensitiveLikeExpressionFixture.cs | src/NHibernate.Test/ExpressionTest/InsensitiveLikeExpressionFixture.cs | using System;
using System.Data;
using System.Text;
using NHibernate.Engine;
using NExpression = NHibernate.Expression;
using NHibernate.SqlCommand;
using NHibernate.Type;
using NHibernate.DomainModel;
using NUnit.Framework;
namespace NHibernate.Test.ExpressionTest
{
/// <summary>
/// Summary description for Insen... | using System;
using System.Data;
using System.Text;
using NHibernate.Engine;
using NExpression = NHibernate.Expression;
using NHibernate.SqlCommand;
using NHibernate.Type;
using NHibernate.DomainModel;
using NUnit.Framework;
namespace NHibernate.Test.ExpressionTest
{
/// <summary>
/// Summary description for Insen... | Make the test pass for PostgreSQL, using a bit of a hack | Make the test pass for PostgreSQL, using a bit of a hack
SVN: 488784591515bd4cdaa016be4ec9b172dc4e7caf@1282
| C# | lgpl-2.1 | lnu/nhibernate-core,alobakov/nhibernate-core,fredericDelaporte/nhibernate-core,fredericDelaporte/nhibernate-core,RogerKratz/nhibernate-core,livioc/nhibernate-core,nkreipke/nhibernate-core,gliljas/nhibernate-core,RogerKratz/nhibernate-core,gliljas/nhibernate-core,lnu/nhibernate-core,hazzik/nhibernate-core,RogerKratz/nhi... |
5a7dbb2980fa66566bf3e9acdd06aa0ea8a9cee5 | src/DummyConsoleApp/Program.cs | src/DummyConsoleApp/Program.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
namespace DummyConsoleApp
{
public class Program
{
static void Main(string[] args)
{
var exitCodeToReturn = int.Parse(args[0]);
var millisecondsToSleep = int.Parse(args[1]);
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
namespace DummyConsoleApp
{
public class Program
{
static void Main(string[] args)
{
int exitCodeToReturn = int.Parse(args[0]);
int millisecondsToSleep = int.Parse(args[1]);
... | Reduce diff size: undo autoformat. | Reduce diff size: undo autoformat.
| C# | mit | jamesmanning/RunProcessAsTask |
8eb94d3a494ce8ae74a660fc02a93fc076a9a130 | src/Glimpse.Agent.Web/GlimpseAgentWebOptionsSetup.cs | src/Glimpse.Agent.Web/GlimpseAgentWebOptionsSetup.cs | using System;
using Glimpse.Agent.Web.Options;
using Microsoft.Framework.OptionsModel;
namespace Glimpse.Agent.Web
{
public class GlimpseAgentWebOptionsSetup : ConfigureOptions<GlimpseAgentWebOptions>
{
public GlimpseAgentWebOptionsSetup() : base(ConfigureGlimpseAgentWebOptions)
{
... | using System;
using Glimpse.Agent.Web.Options;
using Microsoft.Framework.OptionsModel;
namespace Glimpse.Agent.Web
{
public class GlimpseAgentWebOptionsSetup : ConfigureOptions<GlimpseAgentWebOptions>
{
public GlimpseAgentWebOptionsSetup() : base(ConfigureGlimpseAgentWebOptions)
{
... | Switch over to using Regex extension | Switch over to using Regex extension
| C# | mit | peterblazejewicz/Glimpse.Prototype,pranavkm/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,zanetdev/Glimpse.Prototype,Glimpse/Glimpse.Prototype,zanetdev/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,zanetdev/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,pranavkm/Glimpse.Pr... |
28e3ded2e9a581797d62be648168cebe5e6ab117 | src/NHibernate.Test/ExpressionTest/NotExpressionFixture.cs | src/NHibernate.Test/ExpressionTest/NotExpressionFixture.cs | using System;
using System.Data;
using System.Text;
using NHibernate.Engine;
using NExpression = NHibernate.Expression;
using NHibernate.SqlCommand;
using NHibernate.Type;
using NHibernate.DomainModel;
using NUnit.Framework;
namespace NHibernate.Test.ExpressionTest
{
/// <summary>
/// Summary description for NotEx... | using System;
using System.Data;
using System.Text;
using NHibernate.Engine;
using NExpression = NHibernate.Expression;
using NHibernate.SqlCommand;
using NHibernate.Type;
using NHibernate.DomainModel;
using NUnit.Framework;
namespace NHibernate.Test.ExpressionTest
{
/// <summary>
/// Summary description for NotEx... | Fix the test on MySQL, should work now | Fix the test on MySQL, should work now
SVN: 488784591515bd4cdaa016be4ec9b172dc4e7caf@1689
| C# | lgpl-2.1 | RogerKratz/nhibernate-core,RogerKratz/nhibernate-core,lnu/nhibernate-core,gliljas/nhibernate-core,fredericDelaporte/nhibernate-core,livioc/nhibernate-core,alobakov/nhibernate-core,hazzik/nhibernate-core,ngbrown/nhibernate-core,nhibernate/nhibernate-core,nhibernate/nhibernate-core,ManufacturingIntelligence/nhibernate-co... |
4bc4f35ec96c8ed1e408414487f8cc5510e8444e | src/Firehose.Web/Authors/ThomasRayner.cs | src/Firehose.Web/Authors/ThomasRayner.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel.Syndication;
using System.Web;
using Firehose.Web.Infrastructure;
namespace Firehose.Web.Authors
{
public class ThomasRayner : IAmAMicrosoftMVP
{
public string FirstName => "Thomas";
public string LastN... | using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel.Syndication;
using System.Web;
using Firehose.Web.Infrastructure;
namespace Firehose.Web.Authors
{
public class ThomasRayner : IWorkAtMicrosoft
{
public string FirstName => "Thomas";
public string LastN... | Switch Thomas Rayner over to IWorkAtMicrosoft | Switch Thomas Rayner over to IWorkAtMicrosoft | C# | mit | planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell |
1c82c382648f8a20216725e37d79d2c488cb647c | src/Cake.Hg/Properties/AssemblyInfo.cs | src/Cake.Hg/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("Ca... | using Cake.Core.Annotations;
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.... | Add assemblywide cake namespace imports | Add assemblywide cake namespace imports
| C# | mit | vCipher/Cake.Hg |
e0a6fb4e125c79300cc32bab0527b16a2bc5bc97 | src/ifvm.glulx/GlulxMachine.cs | src/ifvm.glulx/GlulxMachine.cs | using System;
using IFVM.Core;
namespace IFVM.Glulx
{
public class GlulxMachine : Machine
{
public GlulxHeader Header { get; }
public GlulxMachine(Memory memory) : base(memory)
{
this.Header = new GlulxHeader(memory);
VerifyChecksum(memory, this.Header.Checksu... | using System;
using IFVM.Core;
namespace IFVM.Glulx
{
public class GlulxMachine : Machine
{
public GlulxHeader Header { get; }
public GlulxMachine(Memory memory) : base(memory)
{
this.Header = new GlulxHeader(memory);
VerifyChecksum(memory, this.Header.Checksu... | Mark ROM region for Glulx | Mark ROM region for Glulx
| C# | mit | DustinCampbell/ifvm |
9a4e14569bba51cefc427f4d76875066808c33e1 | DanTup.DartVS.Vsix/ProjectSystem/DartFileNodeProperties.cs | DanTup.DartVS.Vsix/ProjectSystem/DartFileNodeProperties.cs | namespace DanTup.DartVS.ProjectSystem
{
using System.ComponentModel;
using System.Runtime.InteropServices;
using Microsoft.VisualStudio.Project;
using prjBuildAction = VSLangProj.prjBuildAction;
[ComVisible(true)]
public class DartFileNodeProperties : FileNodeProperties
{
public Da... | namespace DanTup.DartVS.ProjectSystem
{
using System.ComponentModel;
using System.Runtime.InteropServices;
using Microsoft.VisualStudio.Project;
using prjBuildAction = VSLangProj.prjBuildAction;
[ComVisible(true)]
public class DartFileNodeProperties : FileNodeProperties
{
public Da... | Remove the Copy to Output Directory file property | Remove the Copy to Output Directory file property
| C# | mit | DartVS/DartVS,DartVS/DartVS,DartVS/DartVS,modulexcite/DartVS,modulexcite/DartVS,modulexcite/DartVS |
d47fe0280355cdd768e5b837039650b0861dc13e | DirigoEdge/Areas/Admin/Models/ViewModels/RedirectViewModel.cs | DirigoEdge/Areas/Admin/Models/ViewModels/RedirectViewModel.cs | using System.Collections.Generic;
using System.Linq;
using DirigoEdgeCore.Data.Entities;
using DirigoEdgeCore.Models;
public class RedirectViewModel : DirigoBaseModel
{
public List<Redirect> Redirects;
public List<string> Pages = new List<string>();
public RedirectViewModel()
{
BookmarkTitle ... | using System.Collections.Generic;
using System.Linq;
using DirigoEdgeCore.Data.Entities;
using DirigoEdgeCore.Models;
public class RedirectViewModel : DirigoBaseModel
{
public List<Redirect> Redirects;
public List<string> Pages = new List<string>();
public RedirectViewModel()
{
BookmarkTitle ... | Order pages by title in dropdown | Order pages by title in dropdown | C# | mit | codevlabs/DirigoEdge,justincolangelo/EdgeInstallerTest,justincolangelo/EdgeInstallerTest,codevlabs/DirigoEdge,justincolangelo/EdgeInstallerTest,codevlabs/DirigoEdge,justincolangelo/EdgeInstallerTest,justincolangelo/EdgeInstallerTest,codevlabs/DirigoEdge,codevlabs/DirigoEdge |
7bb0cd588d82722a9a39002836aeaff30281c933 | src/Nest/CommonAbstractions/Infer/IndexName/IndexNameFormatter.cs | src/Nest/CommonAbstractions/Infer/IndexName/IndexNameFormatter.cs | using Utf8Json;
namespace Nest
{
internal class IndexNameFormatter : IJsonFormatter<IndexName>
{
public IndexName Deserialize(ref JsonReader reader, IJsonFormatterResolver formatterResolver)
{
if (reader.GetCurrentJsonToken() != JsonToken.String) return null;
IndexName indexName = reader.ReadString();
... | using Utf8Json;
namespace Nest
{
internal class IndexNameFormatter : IJsonFormatter<IndexName>, IObjectPropertyNameFormatter<IndexName>
{
public IndexName Deserialize(ref JsonReader reader, IJsonFormatterResolver formatterResolver)
{
if (reader.GetCurrentJsonToken() != JsonToken.String) return null;
Inde... | Allow IndexName to be serialized as an object key | Allow IndexName to be serialized as an object key
| C# | apache-2.0 | elastic/elasticsearch-net,elastic/elasticsearch-net |
3ab47cef377042e4e472dbe6f3889eaa040a508b | MusicRandomizer/MusicRandomizer/VersionRequestForm.cs | MusicRandomizer/MusicRandomizer/VersionRequestForm.cs | using System;
using System.IO;
using System.Windows.Forms;
namespace MusicRandomizer
{
public partial class VersionRequestForm : Form
{
public SplatoonRegion chosenRegion;
public VersionRequestForm()
{
InitializeComponent();
}
private void V... | using System;
using System.IO;
using System.Windows.Forms;
namespace MusicRandomizer
{
public partial class VersionRequestForm : Form
{
public SplatoonRegion chosenRegion;
public VersionRequestForm()
{
InitializeComponent();
}
private void V... | Remove other_files message box from the region selector | MusicRandomizer: Remove other_files message box from the region selector
| C# | mit | OatmealDome/SplatoonUtilities |
6661135573bf484c45e20cd0422cb7979238059c | SimpleAzureTraceListener/Listeners/AzureSqlTraceListener.cs | SimpleAzureTraceListener/Listeners/AzureSqlTraceListener.cs | using System.Data;
using System.Data.SqlClient;
using SimpleAzureTraceListener.Listeners.Base;
using SimpleAzureTraceListener.Models;
namespace SimpleAzureTraceListener.Listeners
{
public class AzureSqlTraceListener : AzureTraceListener
{
private readonly string _tableName;
private r... | using System;
using System.Data;
using System.Data.SqlClient;
using SimpleAzureTraceListener.Listeners.Base;
using SimpleAzureTraceListener.Models;
namespace SimpleAzureTraceListener.Listeners
{
public class AzureSqlTraceListener : AzureTraceListener
{
private readonly string _tableName;
... | Allow category to be null in Azure SQL listener | Allow category to be null in Azure SQL listener
Another null category fix
| C# | mit | MRCollective/AzureTraceListeners |
71c305e7fc5044cbcbfb6f85e3834a6be7a09298 | src/SnakeApp/GameController.cs | src/SnakeApp/GameController.cs | using SnakeApp.Models;
using System;
using System.Threading.Tasks;
namespace SnakeApp
{
public class GameController
{
public async Task StartNewGame()
{
var game = new Game(80, 25, 5, 100);
game.Start();
ConsoleKeyInfo userInput = new ConsoleKeyInfo();
do
{
userInput = Console.ReadKey(true);... | using SnakeApp.Models;
using System;
using System.Threading.Tasks;
namespace SnakeApp
{
public class GameController
{
public async Task StartNewGame()
{
PrepareConsole();
var game = new Game(80, 25, 5, 100);
game.Start();
ConsoleKeyInfo userInput = new ConsoleKeyInfo();
do
{
userInput = ... | Hide the blinking console tail on linux. | Hide the blinking console tail on linux.
| C# | mit | darkriszty/SnakeApp |
c8cd8b7be62cfd3978cf00d18ed174f971db8199 | src/PcscDotNet/Pcsc_1.cs | src/PcscDotNet/Pcsc_1.cs | using System;
namespace PcscDotNet
{
public static class Pcsc<TIPcscProvider> where TIPcscProvider : class, IPcscProvider, new()
{
private static readonly Pcsc _instance = new Pcsc(new TIPcscProvider());
public static Pcsc Instance => _instance;
public static PcscContext CreateContext... | using System;
namespace PcscDotNet
{
public static class Pcsc<TIPcscProvider> where TIPcscProvider : class, IPcscProvider, new()
{
private static readonly Pcsc _instance = new Pcsc(new TIPcscProvider());
public static Pcsc Instance => _instance;
public static PcscContext CreateContext... | Change method callings to default static instance | Change method callings to default static instance
| C# | mit | Archie-Yang/PcscDotNet |
656a63481f8302e9de2a18ba6a1c292da6e6986f | src/PowerShellEditorServices.Protocol/LanguageServer/CodeAction.cs | src/PowerShellEditorServices.Protocol/LanguageServer/CodeAction.cs | using Microsoft.PowerShell.EditorServices.Protocol.MessageProtocol;
using Newtonsoft.Json.Linq;
namespace Microsoft.PowerShell.EditorServices.Protocol.LanguageServer
{
public class CodeActionRequest
{
public static readonly
RequestType<CodeActionParams, CodeActionCommand[], object, object>... | using Microsoft.PowerShell.EditorServices.Protocol.MessageProtocol;
using Newtonsoft.Json.Linq;
namespace Microsoft.PowerShell.EditorServices.Protocol.LanguageServer
{
public class CodeActionRequest
{
public static readonly
RequestType<CodeActionParams, CodeActionCommand[], object, TextDoc... | Add registration options for codeAction request | Add registration options for codeAction request
| C# | mit | PowerShell/PowerShellEditorServices |
49d67f663087e08fb220b7229b44b57edc8e3f8c | src/Projects/MyCouch/Requests/Factories/AttachmentHttpRequestFactory.cs | src/Projects/MyCouch/Requests/Factories/AttachmentHttpRequestFactory.cs | using System.Net.Http;
using MyCouch.Net;
namespace MyCouch.Requests.Factories
{
public class AttachmentHttpRequestFactory :
HttpRequestFactoryBase,
IHttpRequestFactory<GetAttachmentRequest>,
IHttpRequestFactory<PutAttachmentRequest>,
IHttpRequestFactory<DeleteAttachmentRequest>
... | using System.Net.Http;
using MyCouch.Net;
namespace MyCouch.Requests.Factories
{
public class AttachmentHttpRequestFactory :
HttpRequestFactoryBase,
IHttpRequestFactory<GetAttachmentRequest>,
IHttpRequestFactory<PutAttachmentRequest>,
IHttpRequestFactory<DeleteAttachmentRequest>
... | Move down to highlight the Create methods. | Move down to highlight the Create methods.
| C# | mit | danielwertheim/mycouch,danielwertheim/mycouch |
49014f7e69eb873e758e96fa5c312d8e315f387c | Assets/Resources/Scripts/Server/Packet/PlayerHandshakePacket.cs | Assets/Resources/Scripts/Server/Packet/PlayerHandshakePacket.cs | using UnityEngine;
using System.Collections;
using Realms.Common.Packet;
using System;
namespace Realms.Server.Packet
{
[Serializable]
public class PlayerHandshakePacket : IPacket
{
/// <summary>
/// Is the connection to the server allowed
/// </summary>
public... | using UnityEngine;
using System.Collections;
using Realms.Common.Packet;
using System;
namespace Realms.Server.Packet
{
[Serializable]
public class PlayerHandshakePacket : IPacket
{
/// <summary>
/// Is the connection to the server allowed
/// </summary>
public... | Fix copy and past bug. | Fix copy and past bug.
| C# | mit | SamOatesJams/Ludumdare33,SamOatesJams/Ludumdare33 |
439f03e3b3d78dbdbc8ba3d6db559c13043f1e86 | osu.Game.Tests/Visual/Editing/TestSceneEditorSummaryTimeline.cs | osu.Game.Tests/Visual/Editing/TestSceneEditorSummaryTimeline.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using NUnit.Framework;
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Game.Rulesets.Osu;
using osu.Game.Screens.Edit.Components.Timelines.Summary... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using NUnit.Framework;
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Game.Rulesets.Osu;
using osu.Game.Rulesets.Osu.Beatmaps;
using osu.Game.Scr... | Fix failing test due to missing dependency | Fix failing test due to missing dependency
| C# | mit | peppy/osu,peppy/osu,ppy/osu,UselessToucan/osu,smoogipoo/osu,peppy/osu-new,smoogipoo/osu,NeoAdonis/osu,smoogipoo/osu,UselessToucan/osu,NeoAdonis/osu,smoogipooo/osu,ppy/osu,ppy/osu,NeoAdonis/osu,peppy/osu,UselessToucan/osu |
df52e3bfa84a312a1c1068199b9e094d294e5283 | test/Grobid.Test/GrobidTest.cs | test/Grobid.Test/GrobidTest.cs | using org.grobid.core;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using FluentAssertions;
using Xunit;
using Grobid.NET;
using System.Xml.Linq;
using org.apache.log4j;
namespace Grobid.Test
{
public class GrobidTest
{
... | using org.grobid.core;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using FluentAssertions;
using Xunit;
using Grobid.NET;
using System.Xml.Linq;
using org.apache.log4j;
namespace Grobid.Test
{
public class GrobidTest
{
... | Mark the ExtractTest as EndToEnd. | Mark the ExtractTest as EndToEnd.
| C# | apache-2.0 | boumenot/Grobid.NET |
d7c73c42651c8826d7d4e688d298f34203af7b52 | src/PowerShellEditorServices.Protocol/LanguageServer/DocumentHighlight.cs | src/PowerShellEditorServices.Protocol/LanguageServer/DocumentHighlight.cs | //
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
//
using Microsoft.PowerShell.EditorServices.Protocol.MessageProtocol;
namespace Microsoft.PowerShell.EditorServices.Protocol.LanguageServer
{
public enum Docum... | //
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
//
using Microsoft.PowerShell.EditorServices.Protocol.MessageProtocol;
namespace Microsoft.PowerShell.EditorServices.Protocol.LanguageServer
{
public enum Docum... | Add registration options for documentHighlight request | Add registration options for documentHighlight request
| C# | mit | PowerShell/PowerShellEditorServices |
b72dc24bc047dc5706037e5f293b52e579df44de | Assets/scripts/entity/SpinnerActivator.cs | Assets/scripts/entity/SpinnerActivator.cs | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class SpinnerActivator : MonoBehaviour
{
public bool boostEnabled;
public GameObject boost;
private void Start()
{
boost.GetComponent<BoostPadForce>().boostEnabled = false;
boost.GetComponent<BoostPa... | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Networking;
public class SpinnerActivator : MonoBehaviour
{
public bool boostEnabled;
public GameObject boost;
private void Start()
{
boost.GetComponent<BoostPadForce>().boostEnabled = false;
... | Put obstaclenetworking setup in the right place. | Put obstaclenetworking setup in the right place.
| C# | mit | Double-Fine-Game-Club/pongball |
26ce61c56333f6a4d80ab04e4682d01ef955c4e2 | StressMeasurementSystem/Models/Patient.cs | StressMeasurementSystem/Models/Patient.cs | namespace StressMeasurementSystem.Models
{
public class Patient
{
#region Structs
struct Name
{
public string Prefix { get; set; }
public string First { get; set; }
public string Middle { get; set; }
public string Last { get; set; }
... | namespace StressMeasurementSystem.Models
{
public class Patient
{
#region Structs
struct Name
{
public string Prefix { get; set; }
public string First { get; set; }
public string Middle { get; set; }
public string Last { get; set; }
... | Redefine age field as unsigned | Redefine age field as unsigned
| C# | apache-2.0 | SICU-Stress-Measurement-System/frontend-cs |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.