commit stringlengths 40 40 | subject stringlengths 4 1.73k | repos stringlengths 5 127k | old_file stringlengths 2 751 | new_file stringlengths 2 751 | new_contents stringlengths 1 8.98k | old_contents stringlengths 0 6.59k | license stringclasses 13
values | lang stringclasses 23
values |
|---|---|---|---|---|---|---|---|---|
0c01045938e794cbf467ebf5821594e2099a661f | fix typo in NextUInt64 | ArsenShnurkov/BitSharp | BitSharp.Data.Test/RandomExtensionMethods.cs | BitSharp.Data.Test/RandomExtensionMethods.cs |
using BitSharp.Common;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Numerics;
using System.Text;
using System.Threading.Tasks;
namespace BitSharp.Data.Test
{
public static class RandomExtensionMethods
{
public static UInt32 NextUInt32(this Random random... |
using BitSharp.Common;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Numerics;
using System.Text;
using System.Threading.Tasks;
namespace BitSharp.Data.Test
{
public static class RandomExtensionMethods
{
public static UInt32 NextUInt32(this Random random... | unlicense | C# |
002aab3e76d2e84518fa2f8fa06c85ee068757cc | Fix unit test so it does unprotecting and padding | 0culus/ElectronicCash | ElectronicCash.Tests/SecretSplittingTests.cs | ElectronicCash.Tests/SecretSplittingTests.cs | using NUnit.Framework;
using SecretSplitting;
namespace ElectronicCash.Tests
{
[TestFixture]
class SecretSplittingTests
{
private static readonly byte[] Message = Helpers.GetBytes("Supersecretmessage");
private static readonly byte[] RandBytes = Helpers.GetRandomBytes(Helpers.GetString(Mes... | using NUnit.Framework;
using SecretSplitting;
namespace ElectronicCash.Tests
{
[TestFixture]
class SecretSplittingTests
{
private static readonly byte[] Message = Helpers.GetBytes("Supersecretmessage");
private static readonly byte[] RandBytes = Helpers.GetRandomBytes(Helpers.GetString(Mes... | mit | C# |
317da2d01f457db22b5d2cc66729ff73988dbc4e | Fix string comparison for URL history | oda1560/XHRTool,oda1560/XHRTool | XHRTool.UI.WPF/ViewModels/UrlHistoryModel.cs | XHRTool.UI.WPF/ViewModels/UrlHistoryModel.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Policy;
using System.Text;
using System.Threading.Tasks;
using XHRTool.XHRLogic.Common;
namespace XHRTool.UI.WPF.ViewModels
{
[Serializable]
public class UrlHistoryModel
{
public UrlHistoryModel(string url, st... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Policy;
using System.Text;
using System.Threading.Tasks;
using XHRTool.XHRLogic.Common;
namespace XHRTool.UI.WPF.ViewModels
{
[Serializable]
public class UrlHistoryModel
{
public UrlHistoryModel(string url, st... | agpl-3.0 | C# |
1fa06a3a5b724c77aa30833392a43e09dff1a3e9 | Improve logging of AppUpdaterEmptyStrategy | patchkit-net/patchkit-patcher-unity,mohsansaleem/patchkit-patcher-unity,patchkit-net/patchkit-patcher-unity,mohsansaleem/patchkit-patcher-unity,patchkit-net/patchkit-patcher-unity,patchkit-net/patchkit-patcher-unity | src/Assets/Scripts/AppUpdater/AppUpdaterEmptyStrategy.cs | src/Assets/Scripts/AppUpdater/AppUpdaterEmptyStrategy.cs | using PatchKit.Unity.Patcher.Cancellation;
using PatchKit.Unity.Patcher.Debug;
namespace PatchKit.Unity.Patcher.AppUpdater
{
public class AppUpdaterEmptyStrategy : IAppUpdaterStrategy
{
private static readonly DebugLogger DebugLogger = new DebugLogger(typeof(AppUpdaterStrategyResolver));
publ... | using PatchKit.Unity.Patcher.Cancellation;
namespace PatchKit.Unity.Patcher.AppUpdater
{
public class AppUpdaterEmptyStrategy : IAppUpdaterStrategy
{
public void Update(CancellationToken cancellationToken)
{
}
}
} | mit | C# |
9bf6808c47921d6be32054c62916ba8847f9a03f | Use JSValue.MarshalArray | arfbtwn/banshee,mono-soc-2011/banshee,GNOME/banshee,stsundermann/banshee,dufoli/banshee,ixfalia/banshee,stsundermann/banshee,babycaseny/banshee,mono-soc-2011/banshee,ixfalia/banshee,mono-soc-2011/banshee,Carbenium/banshee,Dynalon/banshee-osx,GNOME/banshee,Carbenium/banshee,dufoli/banshee,mono-soc-2011/banshee,dufoli/ba... | src/Core/Banshee.WebBrowser/JavaScriptCore/JSFunction.cs | src/Core/Banshee.WebBrowser/JavaScriptCore/JSFunction.cs | //
// JSFunction.cs
//
// Author:
// Aaron Bockover <abockover@novell.com>
//
// Copyright 2010 Novell, Inc.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, i... | //
// JSFunction.cs
//
// Author:
// Aaron Bockover <abockover@novell.com>
//
// Copyright 2010 Novell, Inc.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, i... | mit | C# |
c6a969fe74e18d3f797db9e2f782cc7d30d74384 | update notify bindingresource.create snippet | teoreteetik/api-snippets,teoreteetik/api-snippets,TwilioDevEd/api-snippets,TwilioDevEd/api-snippets,TwilioDevEd/api-snippets,TwilioDevEd/api-snippets,teoreteetik/api-snippets,teoreteetik/api-snippets,TwilioDevEd/api-snippets,teoreteetik/api-snippets,TwilioDevEd/api-snippets,TwilioDevEd/api-snippets,teoreteetik/api-snip... | notifications/rest/bindings/create-binding/create-binding.5.x.cs | notifications/rest/bindings/create-binding/create-binding.5.x.cs | // Download the twilio-csharp library from twilio.com/docs/libraries/csharp
using System;
using System.Collections.Generic;
using Twilio;
using Twilio.Rest.Notify.Service;
public class Example
{
public static void Main(string[] args)
{
// Find your Account SID and Auth Token at twilio.com/console
... | // Download the twilio-csharp library from twilio.com/docs/libraries/csharp
using System;
using System.Collections.Generic;
using Twilio;
using Twilio.Rest.Notify.Service;
public class Example
{
public static void Main(string[] args)
{
// Find your Account SID and Auth Token at twilio.com/console
... | mit | C# |
fb06e51eff984b55009127162f984b44a996acd4 | Fix SystemColorOutputSink to print warning and error details | nuke-build/nuke,nuke-build/nuke,nuke-build/nuke,nuke-build/nuke | source/Nuke.Common/OutputSinks/SystemColorOutputSink.cs | source/Nuke.Common/OutputSinks/SystemColorOutputSink.cs | // Copyright 2019 Maintainers of NUKE.
// Distributed under the MIT License.
// https://github.com/nuke-build/nuke/blob/master/LICENSE
using System;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using System.Runtime.CompilerServices;
using JetBrains.Annotations;
using Nuke.Common.Utilities;
namespace Nuke... | // Copyright 2019 Maintainers of NUKE.
// Distributed under the MIT License.
// https://github.com/nuke-build/nuke/blob/master/LICENSE
using System;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using System.Runtime.CompilerServices;
using JetBrains.Annotations;
using Nuke.Common.Utilities;
namespace Nuke... | mit | C# |
07edfe20719df382129d27a3171b6acf91587f11 | Fix scopes | danbarua/Cedar.EventStore,damianh/Cedar.EventStore,damianh/SqlStreamStore,SQLStreamStore/SQLStreamStore,SQLStreamStore/SQLStreamStore | src/Cedar.EventStore.Tests/EventStoreAcceptanceTests.cs | src/Cedar.EventStore.Tests/EventStoreAcceptanceTests.cs | namespace Cedar.EventStore
{
using System;
using System.Linq;
using System.Threading.Tasks;
using FluentAssertions;
using Xunit;
using Xunit.Abstractions;
public abstract partial class EventStoreAcceptanceTests
{
private readonly ITestOutputHelper _testOutputHelper;
pro... | namespace Cedar.EventStore
{
using System;
using System.Linq;
using System.Threading.Tasks;
using FluentAssertions;
using Xunit;
using Xunit.Abstractions;
public abstract partial class EventStoreAcceptanceTests
{
private readonly ITestOutputHelper _testOutputHelper;
pro... | mit | C# |
545fc0d5726f4740296808ec8c9f5c1ba712a9bc | Fix BillingDetails on PaymentMethod creation to have the right params | stripe/stripe-dotnet,richardlawley/stripe.net | src/Stripe.net/Services/PaymentMethods/BillingDetailsOptions.cs | src/Stripe.net/Services/PaymentMethods/BillingDetailsOptions.cs | namespace Stripe
{
using Newtonsoft.Json;
public class BillingDetailsOptions : INestedOptions
{
[JsonProperty("address")]
public AddressOptions Address { get; set; }
[JsonProperty("email")]
public string Email { get; set; }
[JsonProperty("name")]
public str... | namespace Stripe
{
using Newtonsoft.Json;
public class BillingDetailsOptions : INestedOptions
{
[JsonProperty("address")]
public AddressOptions Address { get; set; }
[JsonProperty("country")]
public string Country { get; set; }
[JsonProperty("line1")]
publi... | apache-2.0 | C# |
6422b902a5fb40f3a805e1b259d6bd6f1496f454 | Increment version. | jyuch/ReflectionToStringBuilder | src/ReflectionToStringBuilder/Properties/AssemblyInfo.cs | src/ReflectionToStringBuilder/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// アセンブリに関する一般情報は以下の属性セットをとおして制御されます。
// アセンブリに関連付けられている情報を変更するには、
// これらの属性値を変更してください。
[assembly: AssemblyTitle("ReflectionToStringBuilder")]
[assembly: AssemblyDescription("ReflectionでToStringするアレ")]
[assembly: Ass... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// アセンブリに関する一般情報は以下の属性セットをとおして制御されます。
// アセンブリに関連付けられている情報を変更するには、
// これらの属性値を変更してください。
[assembly: AssemblyTitle("ReflectionToStringBuilder")]
[assembly: AssemblyDescription("ReflectionでToStringするアレ")]
[assembly: Ass... | mit | C# |
40f0531e5ff7b7e2b079e51813b509413e643a3d | Update ArgbColorTypeConverter.cs | wieslawsoltes/Core2D,wieslawsoltes/Core2D,Core2D/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,Core2D/Core2D | src/Serializer.Xaml/Converters/ArgbColorTypeConverter.cs | src/Serializer.Xaml/Converters/ArgbColorTypeConverter.cs | // Copyright (c) Wiesław Šoltés. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Globalization;
#if NETSTANDARD1_3
using System.ComponentModel;
#endif
using Core2D.Style;
using Portable.Xaml.ComponentModel;
namespace... | // Copyright (c) Wiesław Šoltés. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Globalization;
#if NETSTANDARD1_3
using System.ComponentModel;
#else
using Portable.Xaml.ComponentModel;
#endif
using Core2D.Style;
nam... | mit | C# |
820e0164bddea985ccc2a9d8ad3ba01bf519e125 | Fix formatting | feliwir/openSage,feliwir/openSage | src/OpenSage.Game/Graphics/Effects/EffectParameter.cs | src/OpenSage.Game/Graphics/Effects/EffectParameter.cs | using OpenSage.Graphics.Shaders;
using Veldrid;
namespace OpenSage.Graphics.Effects
{
internal sealed class EffectParameter : DisposableBase
{
private readonly uint _slot;
private ResourceSet _data;
private bool _dirty;
public string Name => ResourceBinding.Name;
pu... | using OpenSage.Graphics.Shaders;
using Veldrid;
namespace OpenSage.Graphics.Effects
{
internal sealed class EffectParameter : DisposableBase
{
private readonly uint _slot;
private ResourceSet _data;
private bool _dirty;
public string Name => ResourceBinding.Name;
pu... | mit | C# |
1dee9daafb587a8ba7dea1b3a1e9a834486cfc57 | increment patch version, | jwChung/Experimentalism,jwChung/Experimentalism | build/CommonAssemblyInfo.cs | build/CommonAssemblyInfo.cs | using System.Reflection;
using System.Resources;
using System.Runtime.InteropServices;
[assembly: AssemblyCompany("Jin-Wook Chung")]
[assembly: AssemblyCopyright("Copyright (c) 2014, Jin-Wook Chung")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: Co... | using System.Reflection;
using System.Resources;
using System.Runtime.InteropServices;
[assembly: AssemblyCompany("Jin-Wook Chung")]
[assembly: AssemblyCopyright("Copyright (c) 2014, Jin-Wook Chung")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: Co... | mit | C# |
7d145a74704d61a1a44360cac41cd20be0180495 | Add test for loading spinner with box | ppy/osu,smoogipoo/osu,peppy/osu,EVAST9919/osu,smoogipooo/osu,NeoAdonis/osu,EVAST9919/osu,smoogipoo/osu,johnneijzen/osu,peppy/osu,2yangk23/osu,NeoAdonis/osu,2yangk23/osu,ppy/osu,johnneijzen/osu,UselessToucan/osu,UselessToucan/osu,ppy/osu,smoogipoo/osu,NeoAdonis/osu,peppy/osu-new,peppy/osu,UselessToucan/osu | osu.Game.Tests/Visual/UserInterface/TestSceneLoadingSpinner.cs | osu.Game.Tests/Visual/UserInterface/TestSceneLoadingSpinner.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Graphics;
using osu.Framework.Graphics.Shapes;
using osu.Game.Graphics.UserInterface;
using osuTK.Graphics;
namespace osu.Game.Tests.Visual.UserInte... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Graphics;
using osu.Framework.Graphics.Shapes;
using osu.Game.Graphics.UserInterface;
using osuTK.Graphics;
namespace osu.Game.Tests.Visual.UserInte... | mit | C# |
6908a69c63811e536407bc1216a2d1a79a5a2bff | Add some missing RegionInformation doc | OpensourceScape/RsCacheLibrary | src/Runescape.Cache.Structures/Map/RegionInformation.cs | src/Runescape.Cache.Structures/Map/RegionInformation.cs | using System;
using System.Collections.Generic;
using System.Text;
using FreecraftCore.Serializer;
namespace Runescape.Cache
{
[WireDataContract]
public sealed class RegionInformation
{
/// <summary>
/// Location hash for the region.
/// </summary>
[WireMember(1)]
public ushort RegionHash { get; }
//T... | using System;
using System.Collections.Generic;
using System.Text;
using FreecraftCore.Serializer;
namespace Runescape.Cache
{
[WireDataContract]
public sealed class RegionInformation
{
/*regionHash[reg] = b.getShortUnsigned();
regionLandscapeIndex[reg] = b.getShortUnsigned();
regionObjectMapIndex[reg] = b.g... | mit | C# |
7d7946ac27fee6f3a67d91f8ac09030d8551845f | Fix vessel state handling | DaggerES/LunaMultiPlayer,gavazquez/LunaMultiPlayer,gavazquez/LunaMultiPlayer,gavazquez/LunaMultiPlayer | Client/Systems/VesselFlightStateSys/VesselFlightStateMessageHandler.cs | Client/Systems/VesselFlightStateSys/VesselFlightStateMessageHandler.cs | using System.Collections.Concurrent;
using LunaClient.Base;
using LunaClient.Base.Interface;
using LunaCommon.Message.Data.Vessel;
using LunaCommon.Message.Interface;
namespace LunaClient.Systems.VesselFlightStateSys
{
public class VesselFlightStateMessageHandler : SubSystem<VesselFlightStateSystem>, IMessageHand... | using System.Collections.Concurrent;
using LunaClient.Base;
using LunaClient.Base.Interface;
using LunaCommon.Message.Data.Vessel;
using LunaCommon.Message.Interface;
namespace LunaClient.Systems.VesselFlightStateSys
{
public class VesselFlightStateMessageHandler : SubSystem<VesselFlightStateSystem>, IMessageHand... | mit | C# |
8f75aea912dcca6605f691107cba2074e1f37a95 | Add VVAccess to SignalTransmitterComponent (#8400) | space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14 | Content.Server/MachineLinking/Components/SignalTransmitterComponent.cs | Content.Server/MachineLinking/Components/SignalTransmitterComponent.cs | using Content.Server.MachineLinking.System;
namespace Content.Server.MachineLinking.Components
{
[DataDefinition]
public struct PortIdentifier
{
[DataField("uid")]
public EntityUid Uid;
[DataField("port")]
public string Port;
public PortIdentifier(EntityUid uid, st... | using Content.Server.MachineLinking.System;
namespace Content.Server.MachineLinking.Components
{
[DataDefinition]
public struct PortIdentifier
{
[DataField("uid")]
public EntityUid Uid;
[DataField("port")]
public string Port;
public PortIdentifier(EntityUid uid, st... | mit | C# |
8809a068541bcad32483283a51f321f5b6709bbc | Add breadcrumb caption example to basic directory selector | ppy/osu-framework,ppy/osu-framework,ZLima12/osu-framework,smoogipooo/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,peppy/osu-framework,ZLima12/osu-framework,peppy/osu-framework,peppy/osu-framework | osu.Framework/Graphics/UserInterface/BasicDirectorySelectorBreadcrumbDisplay.cs | osu.Framework/Graphics/UserInterface/BasicDirectorySelectorBreadcrumbDisplay.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.IO;
using osu.Framework.Allocation;
using osu.Framework.Graphics.Sprites;
using osuTK;
namespace osu.Framework.Graphics.UserInterface
{
public class Bas... | // 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.IO;
using osu.Framework.Allocation;
using osu.Framework.Graphics.Sprites;
using osuTK;
namespace osu.Framework.Graphics.UserInterface
{
public class Bas... | mit | C# |
15414c85594e33f6cea5055723a653d3f8daa623 | Fix for Lens3D merge conflict | netonjm/CocosSharp,mono/cocos2d-xna,haithemaraissia/CocosSharp,mono/CocosSharp,haithemaraissia/CocosSharp,zmaruo/CocosSharp,hig-ag/CocosSharp,mono/cocos2d-xna,hig-ag/CocosSharp,TukekeSoft/CocosSharp,zmaruo/CocosSharp,TukekeSoft/CocosSharp,MSylvia/CocosSharp,mono/CocosSharp,MSylvia/CocosSharp,netonjm/CocosSharp | tests/tests/classes/tests/EffectsAdvancedTest/Effect1.cs | tests/tests/classes/tests/EffectsAdvancedTest/Effect1.cs | using cocos2d;
namespace tests
{
public class Effect1 : EffectAdvanceTextLayer
{
public override void OnEnter()
{
base.OnEnter();
CCNode target = GetChildByTag(EffectAdvanceScene.kTagBackground);
// To reuse a grid the grid size and the grid type must be th... | using cocos2d;
namespace tests
{
public class Effect1 : EffectAdvanceTextLayer
{
public override void OnEnter()
{
base.OnEnter();
CCNode target = GetChildByTag(EffectAdvanceScene.kTagBackground);
// To reuse a grid the grid size and the grid type must be th... | mit | C# |
561ba66fbda06ef9eed5ebc38b231cebd72a52ab | Change error controller range to start at 400 | ASP-NET-MVC-Boilerplate/Templates,ASP-NET-Core-Boilerplate/Templates,RehanSaeed/ASP.NET-MVC-Boilerplate,ASP-NET-MVC-Boilerplate/Templates,RehanSaeed/ASP.NET-MVC-Boilerplate,ASP-NET-Core-Boilerplate/Templates,ASP-NET-Core-Boilerplate/Templates,RehanSaeed/ASP.NET-MVC-Boilerplate | Source/MVC6/Boilerplate.Web.Mvc6.Sample/Controllers/ErrorController.cs | Source/MVC6/Boilerplate.Web.Mvc6.Sample/Controllers/ErrorController.cs | namespace MvcBoilerplate.Controllers
{
using Boilerplate.Web.Mvc;
using Microsoft.AspNet.Mvc;
using MvcBoilerplate.Constants;
/// <summary>
/// Provides methods that respond to HTTP requests with HTTP errors.
/// </summary>
[Route("[controller]")]
public sealed class ErrorCon... | namespace MvcBoilerplate.Controllers
{
using Boilerplate.Web.Mvc;
using Microsoft.AspNet.Mvc;
using MvcBoilerplate.Constants;
/// <summary>
/// Provides methods that respond to HTTP requests with HTTP errors.
/// </summary>
[Route("[controller]")]
public sealed class ErrorCon... | mit | C# |
13b9a7bf6e3709ca7be1c23de8b243e55cd3b3a1 | fix typo in monero | btcpayserver/btcpayserver,btcpayserver/btcpayserver,btcpayserver/btcpayserver,btcpayserver/btcpayserver | BTCPayServer/Views/Shared/Monero/MoneroSyncSummary.cshtml | BTCPayServer/Views/Shared/Monero/MoneroSyncSummary.cshtml | @using BTCPayServer.Services.Altcoins.Monero.Services
@inject MoneroRPCProvider MoneroRpcProvider
@inject SignInManager<ApplicationUser> SignInManager;
@if (SignInManager.IsSignedIn(User) && User.IsInRole(Roles.ServerAdmin) && MoneroRpcProvider.Summaries.Any())
{
@foreach (var summary in MoneroRpcProvider.Summarie... | @using BTCPayServer.Services.Altcoins.Monero.Services
@inject MoneroRPCProvider MoneroRpcProvider
@inject SignInManager<ApplicationUser> SignInManager;
@if (SignInManager.IsSignedIn(User) && User.IsInRole(Roles.ServerAdmin) && MoneroRpcProvider.Summaries.Any())
{
@foreach (var summary in MoneroRpcProvider.Summarie... | mit | C# |
614dc8f4d19e6a0c618fa1ba42ff1e6b6979883e | Fix U4-2711 add Null Check to ToXMl method | mittonp/Umbraco-CMS,AndyButland/Umbraco-CMS,VDBBjorn/Umbraco-CMS,JimBobSquarePants/Umbraco-CMS,abryukhov/Umbraco-CMS,dawoe/Umbraco-CMS,engern/Umbraco-CMS,aaronpowell/Umbraco-CMS,m0wo/Umbraco-CMS,Jeavon/Umbraco-CMS-RollbackTweak,rajendra1809/Umbraco-CMS,gavinfaux/Umbraco-CMS,YsqEvilmax/Umbraco-CMS,m0wo/Umbraco-CMS,hfloy... | src/umbraco.editorControls/imagecropper/DataTypeData.cs | src/umbraco.editorControls/imagecropper/DataTypeData.cs | using System.Xml;
namespace umbraco.editorControls.imagecropper
{
public class DataTypeData : umbraco.cms.businesslogic.datatype.DefaultData
{
public DataTypeData(umbraco.cms.businesslogic.datatype.BaseDataType DataType) : base(DataType) { }
public override XmlNode ToXMl(XmlDocument d... | using System.Xml;
namespace umbraco.editorControls.imagecropper
{
public class DataTypeData : umbraco.cms.businesslogic.datatype.DefaultData
{
public DataTypeData(umbraco.cms.businesslogic.datatype.BaseDataType DataType) : base(DataType) { }
public override XmlNode ToXMl(XmlDocument d... | mit | C# |
f65191f308b43dab8a70f3c702c36047fab3a364 | Handle console app exception | marcosnz/SmallestDotNet,shanselman/SmallestDotNet,shanselman/SmallestDotNet,marcosnz/SmallestDotNet | CheckForDotNet45/Program.cs | CheckForDotNet45/Program.cs | using Microsoft.Win32;
namespace CheckForDotNet45
{
using System;
using System.Diagnostics;
class Program
{
const string site = "http://smallestdotnet.com/?realversion={0}";
static void Main(string[] args)
{
Console.Write("Checking .NET version...");
... | using Microsoft.Win32;
namespace CheckForDotNet45
{
using System;
using System.Diagnostics;
class Program
{
const string site = "http://smallestdotnet.com/?realversion={0}";
static void Main(string[] args)
{
Console.Write("Checking .NET version...");
i... | mit | C# |
4afc150f1e2fd431a2d69e38bd010e18db011474 | make sure we are on the UIThread before calling GetPythonToolsServer() (#6228) | int19h/PTVS,zooba/PTVS,int19h/PTVS,zooba/PTVS,zooba/PTVS,int19h/PTVS,zooba/PTVS,zooba/PTVS,int19h/PTVS,zooba/PTVS,int19h/PTVS,int19h/PTVS | Python/Product/PythonTools/PythonTools/Environments/UserSpecifiedCondaLocator.cs | Python/Product/PythonTools/PythonTools/Environments/UserSpecifiedCondaLocator.cs | // Python Tools for Visual Studio
// Copyright(c) Microsoft Corporation
// All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the License); you may not use
// this file except in compliance with the License. You may obtain a copy of the
// License at http://www.apache.org/licenses/LICENSE-2.0
//... | // Python Tools for Visual Studio
// Copyright(c) Microsoft Corporation
// All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the License); you may not use
// this file except in compliance with the License. You may obtain a copy of the
// License at http://www.apache.org/licenses/LICENSE-2.0
//... | apache-2.0 | C# |
fcbf5c7585b27fc83b25ab4410e8a1567afeed10 | Make SA0000 hidden but enabled by default | DotNetAnalyzers/StyleCopAnalyzers | StyleCop.Analyzers/StyleCop.Analyzers/SpecialRules/SA0000Roslyn7446Workaround.cs | StyleCop.Analyzers/StyleCop.Analyzers/SpecialRules/SA0000Roslyn7446Workaround.cs | // Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.
namespace StyleCop.Analyzers.SpecialRules
{
using System;
using System.Collections.Immutable;
using System.Reflection;
usin... | // Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.
namespace StyleCop.Analyzers.SpecialRules
{
using System;
using System.Collections.Immutable;
using System.Reflection;
usin... | mit | C# |
62b473b87c58720ba744f7d3d9bdf7c7b5c7f2eb | change link to button "comment" | ramzzzay/GalleryMVC_With_Auth,ramzzzay/GalleryMVC_With_Auth,ramzzzay/GalleryMVC_With_Auth | GalleryMVC_With_Auth/Views/Shared/_GalleryPartial.cshtml | GalleryMVC_With_Auth/Views/Shared/_GalleryPartial.cshtml | @using GalleryMVC_With_Auth.Domain.Entities
<div id="blueimp-gallery" class="blueimp-gallery blueimp-gallery-controls">
<div class="slides"></div>
<h3 class="title"></h3>
<a class="prev">‹</a>
<a class="next">›</a>
<a class="close">×</a>
<a class="play-pause"></a>
<ol class="indicator"></ol... | @using GalleryMVC_With_Auth.Domain.Entities
<div id="blueimp-gallery" class="blueimp-gallery blueimp-gallery-controls">
<div class="slides"></div>
<h3 class="title"></h3>
<a class="prev">‹</a>
<a class="next">›</a>
<a class="close">×</a>
<a class="play-pause"></a>
<ol class="indicator"></ol... | apache-2.0 | C# |
e8f6ec469cdf8a617ddb91dd4d30d5bb38ee29ae | Fix warnings. | JohanLarsson/Gu.ChangeTracking | Gu.State.Tests/DiffTests/DiffBuilder/DiffBuilderTests.cs | Gu.State.Tests/DiffTests/DiffBuilder/DiffBuilderTests.cs | // ReSharper disable RedundantArgumentDefaultValue
namespace Gu.State.Tests.DiffTests
{
using NUnit.Framework;
using static DiffTypes;
public class DiffBuilderTests
{
[Test]
public void ReturnsSameWhileAlive()
{
var x = new ComplexType();
var y = new Com... | // ReSharper disable RedundantArgumentDefaultValue
namespace Gu.State.Tests.DiffTests
{
using NUnit.Framework;
using static DiffTypes;
public class DiffBuilderTests
{
[Test]
public void ReturnsSameWhileAlive()
{
var x = new ComplexType();
var y = new Co... | mit | C# |
6bce0313170372a1d60cdb90be7b6462990e9901 | Improve unit tests | DaveSenn/Extend | PortableExtensions.Testing/System.DateTime/DateTime.Age.Test.cs | PortableExtensions.Testing/System.DateTime/DateTime.Age.Test.cs | #region Using
using System;
using NUnit.Framework;
#endregion
namespace PortableExtensions.Testing
{
[TestFixture]
public partial class DateTimeExTest
{
[Test]
public void AgeTestCase()
{
var dateTime = new DateTime(1980, 1, 1);
var expected = DateTime.Now... | #region Using
using System;
using NUnit.Framework;
#endregion
namespace PortableExtensions.Testing
{
[TestFixture]
public partial class DateTimeExTest
{
[Test]
public void AgeTestCase()
{
var dateTime = new DateTime( 1980, 1, 1 );
var expected = DateTime.N... | mit | C# |
567a9b38a37ea4d22f649c62a13cee1445615f48 | Use two shift registers with two bar graphs and an collection | treehopper-electronics/treehopper-sdk,treehopper-electronics/treehopper-sdk,treehopper-electronics/treehopper-sdk,treehopper-electronics/treehopper-sdk,treehopper-electronics/treehopper-sdk,treehopper-electronics/treehopper-sdk | NET/Libraries/Demos/Displays/LedShiftRegister/Program.cs | NET/Libraries/Demos/Displays/LedShiftRegister/Program.cs | using System;
using System.Linq;
using System.Threading.Tasks;
using Treehopper;
using Treehopper.Libraries.Displays;
namespace LedShiftRegisterDemo
{
class Program
{
static void Main(string[] args)
{
App().Wait();
}
static async Task App()
{
va... | using System;
using System.Threading.Tasks;
using Treehopper;
using Treehopper.Libraries.Displays;
namespace LedShiftRegisterDemo
{
class Program
{
static void Main(string[] args)
{
App().Wait();
}
static async Task App()
{
var board = await Con... | mit | C# |
d9abb710fbda11e3be843262f1e72e5acd8ec4af | fix Upgrade_20211112_FixBootstrap for .net 5 | signumsoftware/framework,signumsoftware/framework | Signum.Upgrade/Upgrades/Upgrade_20211112_FixBootstrap.cs | Signum.Upgrade/Upgrades/Upgrade_20211112_FixBootstrap.cs | namespace Signum.Upgrade.Upgrades
{
class Upgrade_20211112_FixBootstrap : CodeUpgradeBase
{
public override string Description => "Set Production mode";
public override void Execute(UpgradeContext uctx)
{
uctx.ChangeCodeFile($@"Southwind.React\Dockerfile", file =>
... | namespace Signum.Upgrade.Upgrades;
class Upgrade_20211112_FixBootstrap : CodeUpgradeBase
{
public override string Description => "Set Production mode";
public override void Execute(UpgradeContext uctx)
{
uctx.ChangeCodeFile($@"Southwind.React\Dockerfile", file =>
{
file.Replace... | mit | C# |
53c968e137488ba4719f5241d0edb3d32940ece3 | Fix user profile best performance weighting being out of order | NeoAdonis/osu,peppy/osu,smoogipoo/osu,smoogipoo/osu,UselessToucan/osu,smoogipooo/osu,peppy/osu,ppy/osu,ppy/osu,UselessToucan/osu,peppy/osu-new,NeoAdonis/osu,ppy/osu,peppy/osu,UselessToucan/osu,smoogipoo/osu,NeoAdonis/osu | osu.Game/Overlays/Profile/Sections/Ranks/PaginatedScoreContainer.cs | osu.Game/Overlays/Profile/Sections/Ranks/PaginatedScoreContainer.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Graphics.Containers;
using osu.Game.Online.API.Requests;
using osu.Game.Users;
using System;
using osu.Framework.Bindables;
using osu.Framework.Graph... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Graphics.Containers;
using osu.Game.Online.API.Requests;
using osu.Game.Users;
using System;
using osu.Framework.Bindables;
using osu.Framework.Graph... | mit | C# |
4e89e752ae2c019290fd17f583b4f34fd83da339 | Update Client project. Add new samples | mikgam/MusicBrainz,avatar29A/MusicBrainz,wo80/MusicBrainz | Hqub.MusicBrainze.API/Hqub.MusicBrainze.Client/Program.cs | Hqub.MusicBrainze.API/Hqub.MusicBrainze.Client/Program.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Serialization;
using Hqub.MusicBrainz.API.Entities;
namespace Hqub.MusicBrainz.Client
{
internal class Program
{
private static void Main(string[] args)... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Serialization;
using Hqub.MusicBrainz.API.Entities;
namespace Hqub.MusicBrainz.Client
{
internal class Program
{
private static void Main(string[] args)... | mit | C# |
2fef9efd50817e0460b965b6594ad0c6b6c646c1 | Add test for authorization requirement in TraktUserListLikeRequest | henrikfroehling/TraktApiSharp | Source/Tests/TraktApiSharp.Tests/Experimental/Requests/Users/OAuth/TraktUserListLikeRequestTests.cs | Source/Tests/TraktApiSharp.Tests/Experimental/Requests/Users/OAuth/TraktUserListLikeRequestTests.cs | namespace TraktApiSharp.Tests.Experimental.Requests.Users.OAuth
{
using FluentAssertions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using TraktApiSharp.Experimental.Requests.Base.Post.Bodyless;
using TraktApiSharp.Experimental.Requests.Users.OAuth;
using TraktApiSharp.Requests;
[Test... | namespace TraktApiSharp.Tests.Experimental.Requests.Users.OAuth
{
using FluentAssertions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using TraktApiSharp.Experimental.Requests.Base.Post.Bodyless;
using TraktApiSharp.Experimental.Requests.Users.OAuth;
[TestClass]
public class TraktUserL... | mit | C# |
64489f329d3362946db5261a69a168dd3c87ab30 | Refresh interface list on change | tewarid/net-tools,tewarid/NetTools | Common/InterfaceSelector.cs | Common/InterfaceSelector.cs | using System.Net.NetworkInformation;
using System.Net.Sockets;
using System.Windows.Forms;
namespace Common
{
public partial class InterfaceSelectorComboBox : ComboBox
{
public InterfaceSelectorComboBox()
{
InitializeComponent();
Initalize();
... | using System.Net.NetworkInformation;
using System.Net.Sockets;
using System.Windows.Forms;
namespace Common
{
public partial class InterfaceSelectorComboBox : ComboBox
{
public InterfaceSelectorComboBox()
{
InitializeComponent();
NetworkInterface[] interfaces... | mit | C# |
231b4097fcd3923b27a0fdfa51779affe5db7032 | Remove failing test. | jquintus/TeamCitySpike | AmazingApp/AmazingTests/ProgramTests.cs | AmazingApp/AmazingTests/ProgramTests.cs | using AmazingApp;
using NUnit.Framework;
namespace AmazingTests
{
[TestFixture]
public class ProgramTests
{
[Test]
public void Msg_IsHelloWorld()
{
Assert.AreEqual("Hello World", Program.Msg);
}
[Test]
public void Pass()
{
As... | using AmazingApp;
using NUnit.Framework;
namespace AmazingTests
{
[TestFixture]
public class ProgramTests
{
[Test]
public void Msg_IsHelloWorld()
{
Assert.AreEqual("Hello World", Program.Msg);
}
[Test]
public void Pass()
{
As... | mit | C# |
ee6e1a9d8bfe505fc9c73f09cf20f1b31f7e1e2c | Disable extra templates tree | Phosworks/Umbraco-CMS,lars-erik/Umbraco-CMS,Scott-Herbert/Umbraco-CMS,leekelleher/Umbraco-CMS,Pyuuma/Umbraco-CMS,kasperhhk/Umbraco-CMS,leekelleher/Umbraco-CMS,TimoPerplex/Umbraco-CMS,Nicholas-Westby/Umbraco-CMS,qizhiyu/Umbraco-CMS,yannisgu/Umbraco-CMS,hfloyd/Umbraco-CMS,rajendra1809/Umbraco-CMS,lingxyd/Umbraco-CMS,robe... | src/Umbraco.Web/Trees/TemplateTreeController.cs | src/Umbraco.Web/Trees/TemplateTreeController.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using umbraco.cms.presentation.Trees;
using Constants = Umbraco.Core.Constants;
using Umbraco.Web.WebApi.Filters;
using Umbraco.Web.Mvc;
using umbraco.cms.businesslogic.template;
using Umbraco.Web.Models... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using umbraco.cms.presentation.Trees;
using Constants = Umbraco.Core.Constants;
using Umbraco.Web.WebApi.Filters;
using Umbraco.Web.Mvc;
using umbraco.cms.businesslogic.template;
using Umbraco.Web.Models... | mit | C# |
a8d2fafb799f3a8578b446aed00644fc502016da | Fix for wrong items per page calculation for the view | andrelmp/eShopOnContainers,skynode/eShopOnContainers,oferns/eShopOnContainers,andrelmp/eShopOnContainers,productinfo/eShopOnContainers,TypeW/eShopOnContainers,BillWagner/eShopOnContainers,skynode/eShopOnContainers,oferns/eShopOnContainers,albertodall/eShopOnContainers,andrelmp/eShopOnContainers,TypeW/eShopOnContainers,... | src/Web/WebMVC/Controllers/CatalogController.cs | src/Web/WebMVC/Controllers/CatalogController.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.eShopOnContainers.WebMVC.ViewModels.Pagination;
using Microsoft.eShopOnContainers.WebMVC.Services;
using Microsoft.eShopOnContainers.WebMVC.ViewModels.CatalogViewModels;
na... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.eShopOnContainers.WebMVC.ViewModels.Pagination;
using Microsoft.eShopOnContainers.WebMVC.Services;
using Microsoft.eShopOnContainers.WebMVC.ViewModels.CatalogViewModels;
na... | mit | C# |
06f50ac1d523511da52e780a2791316de58cb293 | Fix example code, when I put the recipients numbers | danieleskebby/skebbyAPI,danieleskebby/skebbyAPI,danieleskebby/skebbyAPI,danieleskebby/skebbyAPI,danieleskebby/skebbyAPI,danieleskebby/skebbyAPI,danieleskebby/skebbyAPI | C#.NET/Program.cs | C#.NET/Program.cs | using System;
using System.Collections;
using System.Collections.Generic;
using SkebbyGW;
namespace ConsoleApplication
{
public class Program
{
public static void Main(string[] args)
{
var sms = new skebbyAPI("username","password");
Dictionary<string,dynami... | using System;
using System.Collections;
using System.Collections.Generic;
using SkebbyGW;
namespace ConsoleApplication
{
public class Program
{
public static void Main(string[] args)
{
var sms = new skebbyAPI("username","password");
Hashtable input = new Ha... | unlicense | C# |
36a325ca1395b3ac7cb3644889c452223763a600 | fix resource path | Pondidum/Dashen,Pondidum/Dashen,Pondidum/Dashen,Pondidum/Dashen | Dashen/Endpoints/Static/StaticController.cs | Dashen/Endpoints/Static/StaticController.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Web.Http;
using Dashen.Infrastructure;
namespace Dashen.Endpoints.Static
{
public class StaticController : ApiController
{
private readonly List<IStaticContentPro... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Web.Http;
using Dashen.Infrastructure;
namespace Dashen.Endpoints.Static
{
public class StaticController : ApiController
{
private readonly List<IStaticContentPro... | lgpl-2.1 | C# |
53f6b5c7e496238cfef4ecd8b1ce3237ac8cd9ac | Correct layout | CollActionteam/CollAction,CollActionteam/CollAction,CollActionteam/CollAction,CollActionteam/CollAction,CollActionteam/CollAction | CollAction/Views/Donation/Donate.cshtml | CollAction/Views/Donation/Donate.cshtml | @using Stripe
@using Microsoft.Extensions.Options
@inject IOptions<RequestOptions> StripeOptions
@{
ViewData["Title"] = "Donate";
}
<div class="container-fluid">
<partial name="_DonationBox" />
</div> | @using Stripe
@using Microsoft.Extensions.Options
@inject IOptions<RequestOptions> StripeOptions
@{
ViewData["Title"] = "Donate";
}
<div id="donation-box" /> | agpl-3.0 | C# |
cd4e2c06d3296cedb87aa87ca823a1b5cd1adadb | Remove code to set zendesk widget in individual view as this is done in the base layout. | SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice | src/SFA.DAS.EmployerAccounts.Web/Views/Home/ServiceStartPage.cshtml | src/SFA.DAS.EmployerAccounts.Web/Views/Home/ServiceStartPage.cshtml | @using SFA.DAS.EmployerAccounts.Web.Helpers
@{ViewBag.PageID = "page-service-start"; }
@{ViewBag.Title = "Create an account to manage apprenticeships"; }
@{ViewBag.MetaDesc = "Manage your funding for apprenticeships in England"; }
@{ViewBag.HideNav = true; }
@{
ViewBag.GaData.Vpv = "/page-service-start";
}
@{Lay... | @using SFA.DAS.EmployerAccounts.Web.Helpers
@{ViewBag.PageID = "page-service-start"; }
@{ViewBag.Title = "Create an account to manage apprenticeships"; }
@{ViewBag.MetaDesc = "Manage your funding for apprenticeships in England"; }
@{ViewBag.HideNav = true; }
@{
ViewBag.GaData.Vpv = "/page-service-start";
}
@{Lay... | mit | C# |
ca3876f2687fc3a45f3d919a180c7ec168d7b66e | Update Assets/MRTK/Core/Interfaces/SpatialAwareness/Observers/Experimental/IMixedRealityOnDemandObserver.cs | killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity,DDReaper/MixedRealityToolkit-Unity | Assets/MRTK/Core/Interfaces/SpatialAwareness/Observers/Experimental/IMixedRealityOnDemandObserver.cs | Assets/MRTK/Core/Interfaces/SpatialAwareness/Observers/Experimental/IMixedRealityOnDemandObserver.cs | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
namespace Microsoft.MixedReality.Toolkit.SpatialAwareness
{
/// <summary>
/// The interface for defining an on-demand spatial observer which enables on deman... | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
namespace Microsoft.MixedReality.Toolkit.SpatialAwareness
{
/// <summary>
/// The interface for defining an <see cref="IMixedRealityOnDemandObserver"/> which... | mit | C# |
867d23581666bf52bea0371f8c1c14b6e9d04b15 | Correct error message in thread test | am11/MaxMind-DB-Reader-dotnet,am11/MaxMind-DB-Reader-dotnet,maxmind/MaxMind-DB-Reader-dotnet | MaxMind.MaxMindDb.Test/ThreadingTest.cs | MaxMind.MaxMindDb.Test/ThreadingTest.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Threading.Tasks;
using NUnit.Framework;
namespace MaxMind.MaxMindDb.Test
{
[TestFixture]
public class ThreadingTest
{
[Test]
public void TestParallelFor()
{
var reader = ne... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Threading.Tasks;
using NUnit.Framework;
namespace MaxMind.MaxMindDb.Test
{
[TestFixture]
public class ThreadingTest
{
[Test]
public void TestParallelFor()
{
var reader = ne... | apache-2.0 | C# |
8d54bc7ae3a739cb2d1e7bfa57554819085cab39 | Rename ITablature to IAsciiTablature | GetTabster/Tabster.Data | ITablatureFile.cs | ITablatureFile.cs | #region
using Tabster.Core.Types;
#endregion
namespace Tabster.Data
{
public interface ITablatureFile : ITablatureExtendedAttributes, ITablatureAttributes, ITablatureSourceAttributes, IAsciiTablature, ITabsterFile
{
}
} | #region
using Tabster.Core.Types;
#endregion
namespace Tabster.Data
{
public interface ITablatureFile : ITablatureExtendedAttributes, ITablatureAttributes, ITablatureSourceAttributes, ITablature, ITabsterFile
{
}
} | apache-2.0 | C# |
96bc9961f75613a90e9f02c958184851beab3629 | Set locations panel initial size | SonarSource-VisualStudio/sonarlint-visualstudio | src/IssueViz/IssueVizPackage.cs | src/IssueViz/IssueVizPackage.cs | /*
* SonarLint for Visual Studio
* Copyright (C) 2016-2020 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version ... | /*
* SonarLint for Visual Studio
* Copyright (C) 2016-2020 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version ... | mit | C# |
e583be3cf23fab957f124ebdd6e95bd5c086bf0a | fix build error | ObjectivityBSS/Test.Automation,ObjectivityLtd/Test.Automation | Objectivity.Test.Automation.Tests.NUnit/Tests/jraczek.cs | Objectivity.Test.Automation.Tests.NUnit/Tests/jraczek.cs | /*
The MIT License (MIT)
Copyright (c) 2015 Objectivity Bespoke Software Specialists
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
... | /*
The MIT License (MIT)
Copyright (c) 2015 Objectivity Bespoke Software Specialists
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
... | mit | C# |
af8d41836261a8fa24e1b7d3bb68cd8e76e9902c | Disable same site policy. | gyrosworkshop/Wukong,gyrosworkshop/Wukong | Wukong/Options/AuthenticationOptions.cs | Wukong/Options/AuthenticationOptions.cs | using System;
using Microsoft.AspNetCore.Authentication.JwtBearer;
using Microsoft.AspNetCore.Authentication.Cookies;
using Microsoft.AspNetCore.Http;
using Wukong.Store;
namespace Wukong.Options
{
public class AuthenticationOptions
{
public static Action<CookieAuthenticationOptions> CookieAuthenticati... | using System;
using Microsoft.AspNetCore.Authentication.JwtBearer;
using Microsoft.AspNetCore.Authentication.Cookies;
using Microsoft.AspNetCore.Http;
using Wukong.Store;
namespace Wukong.Options
{
public class AuthenticationOptions
{
public static Action<CookieAuthenticationOptions> CookieAuthenticati... | mit | C# |
723410c0577a581b2530477b0f54c3e35fed532e | Fix conversion from Xamarin Forms color to native color | Esri/arcgis-toolkit-dotnet | src/Esri.ArcGISRuntime.Toolkit/XamarinForms/Shared/ExtensionMethods.cs | src/Esri.ArcGISRuntime.Toolkit/XamarinForms/Shared/ExtensionMethods.cs | using Xamarin.Forms;
#if __ANDROID__
using NativePoint = Android.Graphics.PointF;
using NativeColor = Android.Graphics.Color;
#elif __IOS__
using NativePoint = CoreGraphics.CGPoint;
#elif NETFX_CORE
using NativePoint = Windows.Foundation.Point;
#endif
#if NETFX_CORE
using NativeColor = Windows.UI.Color;
#endif
namesp... | using Xamarin.Forms;
#if __ANDROID__
using NativePoint = Android.Graphics.PointF;
using NativeColor = Android.Graphics.Color;
#elif __IOS__
using NativePoint = CoreGraphics.CGPoint;
#elif NETFX_CORE
using NativePoint = Windows.Foundation.Point;
#endif
#if NETFX_CORE
using NativeColor = Windows.UI.Color;
#endif
namesp... | apache-2.0 | C# |
0b8ac1c8f4c1e19fae0a38f59d5bcd0f723e4790 | Improve code | sakapon/KLibrary-Labs | ObservableModelLab/ObservableModel/ObservableModel/ObservableMask.cs | ObservableModelLab/ObservableModel/ObservableModel/ObservableMask.cs | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
namespace KLibrary.Labs.ObservableModel
{
class ObservableMask<T> : IObservable<T>
{
IObservable<T> _source;
public ObservableMask(IObservable<T> source)
{
_source = source;
... | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
namespace KLibrary.Labs.ObservableModel
{
class ObservableMask<T> : IObservable<T>
{
IObservable<T> _source;
public ObservableMask(IObservable<T> source)
{
_source = source;
... | mit | C# |
d03a642ad0a00fd680c12564aaa4afbd26a44ebf | Refactor tests | Branimir123/PhotoLife,Branimir123/PhotoLife,Branimir123/PhotoLife | PhotoLife/PhotoLife.Web.Tests/Controllers/Account/Register_Should.cs | PhotoLife/PhotoLife.Web.Tests/Controllers/Account/Register_Should.cs | using System.Web.Mvc;
using Moq;
using NUnit.Framework;
using PhotoLife.Authentication.Providers;
using PhotoLife.Controllers;
using PhotoLife.Factories;
namespace PhotoLife.Web.Tests.Controllers.Account
{
[TestFixture]
public class Register_Should
{
[Test]
public void _Return_NotNull()
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Web.Mvc;
using Moq;
using NUnit.Framework;
using PhotoLife.Authentication.Providers;
using PhotoLife.Controllers;
using PhotoLife.Factories;
namespace PhotoLife.Web.Tests.Controllers.Accoun... | mit | C# |
12d705332abbeebd51d7e77979fc96cfb7123731 | Disable analyzer tests. | yevhen/orleans,dotnet/orleans,ElanHasson/orleans,hoopsomuah/orleans,galvesribeiro/orleans,waynemunro/orleans,hoopsomuah/orleans,ibondy/orleans,ElanHasson/orleans,veikkoeeva/orleans,yevhen/orleans,jthelin/orleans,ibondy/orleans,dotnet/orleans,amccool/orleans,amccool/orleans,waynemunro/orleans,ReubenBond/orleans,amccool/... | test/Analyzers.Tests/AlwaysInterleaveDiagnosticAnalyzerTests.cs | test/Analyzers.Tests/AlwaysInterleaveDiagnosticAnalyzerTests.cs | using System.Linq;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis;
using Orleans.Analyzers;
using Xunit;
namespace Analyzers.Tests
{
//[TestCategory("BVT"), TestCategory("Analyzer")]
public class AlwaysInterleaveDiagnosticAnalyzerTest : DiagnosticAnalyzerTestBase<AlwaysInterleaveDiagnosticAnalyzer>... | using System.Linq;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis;
using Orleans.Analyzers;
using Xunit;
namespace Analyzers.Tests
{
[TestCategory("BVT"), TestCategory("Analyzer")]
public class AlwaysInterleaveDiagnosticAnalyzerTest : DiagnosticAnalyzerTestBase<AlwaysInterleaveDiagnosticAnalyzer>
... | mit | C# |
ad8975dd4b064381e1560536b77e5dcfb3195c84 | Add GC.KeepAlive to keep collectible ALC alive across usage. (#22133) | cshung/coreclr,mmitche/coreclr,poizan42/coreclr,cshung/coreclr,mmitche/coreclr,krk/coreclr,mmitche/coreclr,poizan42/coreclr,wtgodbe/coreclr,poizan42/coreclr,mmitche/coreclr,poizan42/coreclr,krk/coreclr,mmitche/coreclr,cshung/coreclr,mmitche/coreclr,wtgodbe/coreclr,poizan42/coreclr,wtgodbe/coreclr,krk/coreclr,cshung/cor... | tests/src/Interop/ICustomMarshaler/ConflictingNames/RunInALC.cs | tests/src/Interop/ICustomMarshaler/ConflictingNames/RunInALC.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;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Runtime.Loader;
using TestLi... | // 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;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Runtime.Loader;
using TestLi... | mit | C# |
35c39a4daf4a46ebf4dbd259852373912ef9cc41 | Move whitespace to aid automated tests | SkillsFundingAgency/das-providerapprenticeshipsservice,SkillsFundingAgency/das-providerapprenticeshipsservice,SkillsFundingAgency/das-providerapprenticeshipsservice | src/SFA.DAS.ProviderApprenticeshipsService.Web/Views/Shared/ChooseEmployer.cshtml | src/SFA.DAS.ProviderApprenticeshipsService.Web/Views/Shared/ChooseEmployer.cshtml | @using SFA.DAS.ProviderApprenticeshipsService.Web.Models
@model SFA.DAS.ProviderApprenticeshipsService.Web.Models.ChooseEmployerViewModel
@{
ViewBag.Title = Model.Title;
}
<div class="grid-row">
<div class="column-two-thirds">
<h1 class="heading-xlarge">Choose an employer</h1>
<p>@Model.Descri... | @using SFA.DAS.ProviderApprenticeshipsService.Web.Models
@model SFA.DAS.ProviderApprenticeshipsService.Web.Models.ChooseEmployerViewModel
@{
ViewBag.Title = Model.Title;
}
<div class="grid-row">
<div class="column-two-thirds">
<h1 class="heading-xlarge">Choose an employer</h1>
<p>@Model.Descr... | mit | C# |
563f1cd2135ed256cf186aee1cce51427a69af0f | Fix the issue | thabart/SimpleIdentityServer,thabart/SimpleIdentityServer | SimpleIdentityServer/SimpleIdentityServer.Core.Jwt/ModuleInit.cs | SimpleIdentityServer/SimpleIdentityServer.Core.Jwt/ModuleInit.cs | using System.ComponentModel.Composition;
using SimpleIdentityServer.Common;
using SimpleIdentityServer.Core.Jwt.Encrypt;
using SimpleIdentityServer.Core.Jwt.Encrypt.Encryption;
using SimpleIdentityServer.Core.Jwt.Mapping;
using SimpleIdentityServer.Core.Jwt.Signature;
namespace SimpleIdentityServer.Core.Jwt
{
[E... | using System.ComponentModel.Composition;
using SimpleIdentityServer.Common;
using SimpleIdentityServer.Core.Jwt.Encrypt;
using SimpleIdentityServer.Core.Jwt.Encrypt.Encryption;
using SimpleIdentityServer.Core.Jwt.Mapping;
using SimpleIdentityServer.Core.Jwt.Signature;
namespace SimpleIdentityServer.Core.Jwt
{
[E... | apache-2.0 | C# |
67d57aa74656895203f450343d44714f7e31f894 | Add unit tests for enum user like type read and write. | henrikfroehling/TraktApiSharp | Source/Tests/TraktApiSharp.Tests/Enums/TraktUserLikeTypeTests.cs | Source/Tests/TraktApiSharp.Tests/Enums/TraktUserLikeTypeTests.cs | namespace TraktApiSharp.Tests.Enums
{
using FluentAssertions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Newtonsoft.Json;
using TraktApiSharp.Enums;
[TestClass]
public class TraktUserLikeTypeTests
{
class TestObject
{
[JsonConverter(typeof(TraktUs... | namespace TraktApiSharp.Tests.Enums
{
using FluentAssertions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using TraktApiSharp.Enums;
[TestClass]
public class TraktUserLikeTypeTests
{
[TestMethod]
public void TestTraktUserLikeTypeHasMembers()
{
typeof... | mit | C# |
de9c5a4b5ce780a17c7f0a5f8e7b3a7ce2fb46e0 | Tweak initialization for email notification | mattgwagner/CertiPay.Common | CertiPay.Common.Notifications/Notifications/EmailNotification.cs | CertiPay.Common.Notifications/Notifications/EmailNotification.cs | using System;
using System.Collections.Generic;
namespace CertiPay.Common.Notifications
{
/// <summary>
/// Represents an email notification sent a user, employee, or administrator
/// </summary>
public class EmailNotification : Notification
{
public static String QueueName { get { return ... | using System;
using System.Collections.Generic;
namespace CertiPay.Common.Notifications
{
/// <summary>
/// Represents an email notification sent a user, employee, or administrator
/// </summary>
public class EmailNotification : Notification
{
public static String QueueName { get { return ... | mit | C# |
da92d03f23035217484d5885410297aef15b360c | Update AddingComboBoxControl.cs | asposecells/Aspose_Cells_NET,asposecells/Aspose_Cells_NET,aspose-cells/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,maria-shahid-aspose/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,as... | Examples/CSharp/DrawingObjects/Controls/AddingComboBoxControl.cs | Examples/CSharp/DrawingObjects/Controls/AddingComboBoxControl.cs | using System.IO;
using Aspose.Cells;
namespace Aspose.Cells.Examples.DrawingObjects.Controls
{
public class AddingComboBoxControl
{
public static void Main(string[] args)
{
//ExStart:1
// The path to the documents directory.
string dataDir = Aspose.Cells.Exa... | using System.IO;
using Aspose.Cells;
namespace Aspose.Cells.Examples.DrawingObjects.Controls
{
public class AddingComboBoxControl
{
public static void Main(string[] args)
{
// The path to the documents directory.
string dataDir = Aspose.Cells.Examples.Utils.GetDataDir(S... | mit | C# |
4e1bc59ccdef38e6bbfcfc7ad5c6583340378cec | Revert last commit | fullstack101/SuggestionSystem,fullstack101/SuggestionSystem,fullstack101/SuggestionSystem,fullstack101/SuggestionSystem | Source/SuggestionSystem/Web/SuggestionSystem.Web.DataTransferModels/Suggestion/SuggestionResponseModel.cs | Source/SuggestionSystem/Web/SuggestionSystem.Web.DataTransferModels/Suggestion/SuggestionResponseModel.cs | namespace SuggestionSystem.Web.DataTransferModels.Suggestion
{
using System;
using AutoMapper;
using Infrastructure.Mappings;
using Data.Models;
using System.Linq;
public class SuggestionResponseModel : IMapFrom<Suggestion>, IHaveCustomMappings
{
public int Id { get; set; }
... | namespace SuggestionSystem.Web.DataTransferModels.Suggestion
{
using System;
using AutoMapper;
using Infrastructure.Mappings;
using Data.Models;
using System.Linq;
public class SuggestionResponseModel : IMapFrom<Suggestion>, IHaveCustomMappings
{
public int Id { get; set; }
... | mit | C# |
5aa2ce14c434b3e58e08bd0470507475df55a1c5 | Remove duplicae null check, simplified state check | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi.Gui/Converters/WindowStateAfterSartJsonConverter.cs | WalletWasabi.Gui/Converters/WindowStateAfterSartJsonConverter.cs | using Avalonia.Controls;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Text;
namespace WalletWasabi.Gui.Converters
{
public class WindowStateAfterSartJsonConverter : JsonConverter
{
/// <inheritdoc />
public override bool CanConvert(Type objectType)
{
return objectType ... | using Avalonia.Controls;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Text;
namespace WalletWasabi.Gui.Converters
{
public class WindowStateAfterSartJsonConverter : JsonConverter
{
/// <inheritdoc />
public override bool CanConvert(Type objectType)
{
return objectType ... | mit | C# |
d7b3589ce5f6d57c8bfa588846eb1d316f02a1d2 | Change About page | Team-Code-Ninjas/SpaceBlog,Team-Code-Ninjas/SpaceBlog,Team-Code-Ninjas/SpaceBlog | SpaceBlog/SpaceBlog/Views/Home/About.cshtml | SpaceBlog/SpaceBlog/Views/Home/About.cshtml | <div class="container">
<div class="col-md-6">
<div align="left">
<h2>@ViewBag.Title</h2>
<h3>Contact info</h3>
<strong><span class="glyphicon glyphicon-map-marker"></span>Address:</strong><br />
Sofia, Bulgaria<br />
<strong><span ... |
<div class="container">
<div class="col-md-6">
<div align="left">
<h2>@ViewBag.Title</h2>
<h3>Contact info</h3>
<strong>Address:</strong><br />
15-17, Tintyava street, Sofia, Bulgaria<br />
... | mit | C# |
5686267d15569664f6f87e4562b2755743ccb1c2 | Modify EnumShortNameParser<> class to speed up | y-iihoshi/ThScoreFileConverter,y-iihoshi/ThScoreFileConverter | ThScoreFileConverter/EnumShortNameParser.cs | ThScoreFileConverter/EnumShortNameParser.cs | //-----------------------------------------------------------------------
// <copyright file="EnumShortNameParser.cs" company="None">
// (c) 2014 IIHOSHI Yoshinori
// </copyright>
//-----------------------------------------------------------------------
namespace ThScoreFileConverter
{
using System;
using... | //-----------------------------------------------------------------------
// <copyright file="EnumShortNameParser.cs" company="None">
// (c) 2014 IIHOSHI Yoshinori
// </copyright>
//-----------------------------------------------------------------------
namespace ThScoreFileConverter
{
using System;
using... | bsd-2-clause | C# |
b4f2e88653c6f01d5896bb2ab5b7aacbfbedb522 | add Load from file/stream support | rdio/vernacular,StephaneDelcroix/vernacular,gabornemeth/vernacular,mightea/vernacular,StephaneDelcroix/vernacular,dsuess/vernacular,gabornemeth/vernacular,rdio/vernacular,dsuess/vernacular,benoitjadinon/vernacular,mightea/vernacular,benoitjadinon/vernacular | Vernacular.Potato/Vernacular.PO/Document.cs | Vernacular.Potato/Vernacular.PO/Document.cs | //
// Document.cs
//
// Author:
// Aaron Bockover <abock@rd.io>
//
// Copyright 2012 Rdio, Inc.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including wit... | //
// Document.cs
//
// Author:
// Aaron Bockover <abock@rd.io>
//
// Copyright 2012 Rdio, Inc.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including wit... | mit | C# |
ee3656b746112b5539babefa35210a0a41ac081c | rename sqlserver processor | dotnetcore/CAP,ouraspnet/cap,dotnetcore/CAP,dotnetcore/CAP | src/DotNetCore.CAP.SqlServer/CAP.SqlServerCapOptionsExtension.cs | src/DotNetCore.CAP.SqlServer/CAP.SqlServerCapOptionsExtension.cs | // Copyright (c) .NET Core Community. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using System;
using DotNetCore.CAP.Processor;
using DotNetCore.CAP.SqlServer;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.DependencyInjection;
... | // Copyright (c) .NET Core Community. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using System;
using DotNetCore.CAP.Processor;
using DotNetCore.CAP.SqlServer;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.DependencyInjection;
... | mit | C# |
c6b99091d98f77e8c70890d69b665120efbdd92b | Add logging to webjob start and end | SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice | src/SFA.DAS.EmployerFinance.Jobs/ScheduledJobs/ExpireFundsJob.cs | src/SFA.DAS.EmployerFinance.Jobs/ScheduledJobs/ExpireFundsJob.cs | using System.Linq;
using System.Threading.Tasks;
using Microsoft.Azure.WebJobs;
using Microsoft.Extensions.Logging;
using NServiceBus;
using SFA.DAS.EmployerFinance.Data;
using SFA.DAS.EmployerFinance.Interfaces;
using SFA.DAS.EmployerFinance.Messages.Commands;
namespace SFA.DAS.EmployerFinance.Jobs.ScheduledJobs
{
... | using System.Linq;
using System.Threading.Tasks;
using Microsoft.Azure.WebJobs;
using Microsoft.Extensions.Logging;
using NServiceBus;
using SFA.DAS.EmployerFinance.Data;
using SFA.DAS.EmployerFinance.Interfaces;
using SFA.DAS.EmployerFinance.Messages.Commands;
namespace SFA.DAS.EmployerFinance.Jobs.ScheduledJobs
{
... | mit | C# |
549db22807c1251ddbd33ab2c523bf0fb50a55d6 | Update assemblyinfo | stevehodgkiss/restful-routing,restful-routing/restful-routing,restful-routing/restful-routing,stevehodgkiss/restful-routing,stevehodgkiss/restful-routing,restful-routing/restful-routing | src/RestfulRouting/Properties/AssemblyInfo.cs | src/RestfulRouting/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("RestfulRouting")]
[assembly: AssemblyDescription("RestfulRouting is a routing library for ASP.NET MVC based on the Rails 3 routing DSL.")]
[assembly: AssemblyProduct("RestfulRouting")]
[assembly: AssemblyVersion("1.0.1")]
| 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("Re... | mit | C# |
deea44fffb477abf639158d1325aa56bfcac2611 | Fix service locator version | yfakariya/NLiblet,yfakariya/NLiblet | src/ServiceLocator/Properties/AssemblyInfo.cs | src/ServiceLocator/Properties/AssemblyInfo.cs | #region -- License Terms --
//
// NLiblet
//
// Copyright (C) 2011 FUJIWARA, Yusuke
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/L... | #region -- License Terms --
//
// NLiblet
//
// Copyright (C) 2011 FUJIWARA, Yusuke
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/L... | apache-2.0 | C# |
6082a9ef84a494c2a366fb268d0dade40cc6569a | Change classifier's content type. | GeorgeAlexandria/CoCo | CoCo/EditorClassifierProvider.cs | CoCo/EditorClassifierProvider.cs | //------------------------------------------------------------------------------
// <copyright file="EditorClassifierProvider.cs" company="Company">
// Copyright (c) Company. All rights reserved.
// </copyright>
//------------------------------------------------------------------------------
using System.Compone... | //------------------------------------------------------------------------------
// <copyright file="EditorClassifierProvider.cs" company="Company">
// Copyright (c) Company. All rights reserved.
// </copyright>
//------------------------------------------------------------------------------
using System.Compone... | mit | C# |
b979fd20a5856f55578a652c92d057753bee549f | return dashboard page on submit click | ProtoTest/ProtoTest.Golem,ProtoTest/ProtoTest.Golem | Golem.PageObjects.Cael/Assessments/ReviewAssessmentConfirmPage.cs | Golem.PageObjects.Cael/Assessments/ReviewAssessmentConfirmPage.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Remoting.Messaging;
using System.Text;
using System.Threading.Tasks;
using Golem.Framework;
using OpenQA.Selenium;
namespace Golem.PageObjects.Cael
{
public class ReviewAssessmentConfirmPage : BasePageObject
{
stri... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Remoting.Messaging;
using System.Text;
using System.Threading.Tasks;
using Golem.Framework;
using OpenQA.Selenium;
namespace Golem.PageObjects.Cael
{
public class ReviewAssessmentConfirmPage : BasePageObject
{
stri... | apache-2.0 | C# |
b16273fa8bfb9ad445dcc829a4582fc95e4e1653 | Build warnings are annoying | MassTransit/MassTransit,phatboyg/MassTransit,phatboyg/MassTransit,MassTransit/MassTransit | src/Containers/MassTransit.ExtensionsDependencyInjectionIntegration/MultiBus/IServiceCollectionBusConfigurator.cs | src/Containers/MassTransit.ExtensionsDependencyInjectionIntegration/MultiBus/IServiceCollectionBusConfigurator.cs | namespace MassTransit.ExtensionsDependencyInjectionIntegration.MultiBus
{
using System;
[Obsolete("Replace with IServiceCollectionBusConfigurator<TBus>. This interface will be removed in next versions.")]
public interface IServiceCollectionConfigurator<in TBus> :
IServiceCollectionBusConfigurator
... | namespace MassTransit.ExtensionsDependencyInjectionIntegration.MultiBus
{
using System;
[Obsolete("Replace with IServiceCollectionBusConfigurator<TBus>. This interface will be removed in next versions.")]
public interface IServiceCollectionConfigurator<in TBus> :
IServiceCollectionBusConfigurator
... | apache-2.0 | C# |
0fc196501f33bd88d8e8ee352e812b05c73cfaa2 | Fix typo. (#66) | CslaGenFork/CslaGenFork,CslaGenFork/CslaGenFork,CslaGenFork/CslaGenFork,CslaGenFork/CslaGenFork | trunk/CoverageTest/Invoices-CS-DAL-DTO/Invoices.DataAccess/SupplierProductInfoDto.cs | trunk/CoverageTest/Invoices-CS-DAL-DTO/Invoices.DataAccess/SupplierProductInfoDto.cs | namespace Invoices.DataAccess
{
public partial class SupplierProductInfoDto
{
}
}
| namespace Invoices.DataAccess
{
public partial class SupplierProductItnfoDto
{
}
}
| mit | C# |
933f5d0807e33f9215d441b658d3c6c52a525bfb | Switch redth.codes to https (#348) | planetxamarin/planetxamarin,planetxamarin/planetxamarin,planetxamarin/planetxamarin,planetxamarin/planetxamarin | src/Firehose.Web/Authors/JonDick.cs | src/Firehose.Web/Authors/JonDick.cs | using System;
using System.Collections.Generic;
using Firehose.Web.Infrastructure;
namespace Firehose.Web
{
public class JonDick : IWorkAtXamarinOrMicrosoft
{
public string FirstName => "Jon";
public string LastName => "Dick";
public string ShortBioOrTagLine => "";
public string... | using System;
using System.Collections.Generic;
using Firehose.Web.Infrastructure;
namespace Firehose.Web
{
public class JonDick : IWorkAtXamarinOrMicrosoft
{
public string FirstName => "Jon";
public string LastName => "Dick";
public string ShortBioOrTagLine => "";
public string... | mit | C# |
78f30e05c0f089f9117f6d88ed3241c783400fbe | Fix off-by-one click error | royd/MvvmCross-Prototype | Common.Droid/Views/HeaderAdapter.cs | Common.Droid/Views/HeaderAdapter.cs | using Android.Content;
using Android.Views;
using MvvmCross.Binding.Droid.BindingContext;
using MvvmCross.Binding.Droid.Views;
namespace Common.Droid.Views
{
public class HeaderAdapter : MvxAdapter
{
public HeaderAdapter(Context context)
: this(context, MvxAndroidBindingContextHelpers.Current())
{
}
pub... | using Android.Content;
using Android.Views;
using MvvmCross.Binding.Droid.BindingContext;
using MvvmCross.Binding.Droid.Views;
namespace Common.Droid.Views
{
public class HeaderAdapter : MvxAdapter
{
public HeaderAdapter(Context context)
: this(context, MvxAndroidBindingContextHelpers.Current())
{
}
pub... | mit | C# |
70b75aa6c981ddf50de1025c063cb42472c54647 | Update index.cshtml | reactiveui/website,reactiveui/website,reactiveui/website,reactiveui/website | input/contribute/community/index.cshtml | input/contribute/community/index.cshtml | Order: 100
---
@Html.Partial("_ChildPages")
http://olivierlacan.com/posts/ruby-heroes-farewell/
| Order: 100
---
@Html.Partial("_ChildPages") | mit | C# |
391576039c6f7fc6dfaae300d5447a1888a34b6d | Add text to fullscreen test. | eylvisaker/AgateLib | Tests/DisplayTests/FullScreen.cs | Tests/DisplayTests/FullScreen.cs | using System;
using System.Collections.Generic;
using AgateLib;
using AgateLib.DisplayLib;
using AgateLib.Geometry;
using AgateLib.InputLib;
namespace Tests.DisplayTests
{
class FullscreenTest : IAgateTest
{
public string Name
{
get { return "Full Screen"; }
}
public string Category
{... | using System;
using System.Collections.Generic;
using AgateLib;
using AgateLib.DisplayLib;
using AgateLib.Geometry;
using AgateLib.InputLib;
namespace Tests.DisplayTests
{
class FullscreenTest : IAgateTest
{
public string Name
{
get { return "Full Screen"; }
}
public string Category
{... | mit | C# |
22f67d455b62bf05dd3638a4c4586a40d3e1e7ed | Fix NullReference exception | MrHant/tiver-fowl.Drivers,MrHant/tiver-fowl.Drivers | Tiver.Fowl.Drivers/Extensions.cs | Tiver.Fowl.Drivers/Extensions.cs | using System;
using System.Collections.Generic;
using System.Linq;
namespace Tiver.Fowl.Drivers
{
public static class Extensions
{
public static IEnumerable<Exception> GetInnerExceptions(this Exception ex)
{
if (ex == null)
{
throw new ArgumentNullExcepti... | using System;
using System.Collections.Generic;
using System.Linq;
namespace Tiver.Fowl.Drivers
{
public static class Extensions
{
public static IEnumerable<Exception> GetInnerExceptions(this Exception ex)
{
if (ex == null)
{
throw new ArgumentNullExcepti... | mit | C# |
bc6ec71cff9deebd34f309420da7ae4238719130 | Add base url | mono0926/xxx-server-proto,mono0926/xxx-server-proto,mono0926/xxx-server-proto,mono0926/xxx-server-proto | JoinProto/App_Start/WebApiConfig.cs | JoinProto/App_Start/WebApiConfig.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Web.Http;
using Microsoft.Owin.Security.OAuth;
using Newtonsoft.Json.Serialization;
namespace JoinProto
{
public static class WebApiConfig
{
#if DEBUG
public const string BaseUrl = "http://joinproto.... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Web.Http;
using Microsoft.Owin.Security.OAuth;
using Newtonsoft.Json.Serialization;
namespace JoinProto
{
public static class WebApiConfig
{
public static void Register(HttpConfiguration config)
... | mit | C# |
a8e0beda3043084a547ef6382c5776dbbb68bf2c | Include the exception when logging in WebAssemblyErrorBoundaryLogger (#39202) | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore | src/Components/WebAssembly/WebAssembly/src/Services/WebAssemblyErrorBoundaryLogger.cs | src/Components/WebAssembly/WebAssembly/src/Services/WebAssemblyErrorBoundaryLogger.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using Microsoft.AspNetCore.Components.Web;
using Microsoft.Extensions.Logging;
namespace Microsoft.AspNetCore.Components.WebAssembly.Services;
internal sealed class WebAssemblyErro... | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Components.Web;
using Microsoft.Extensions.Logging;
namespace Microsoft.AspNetCore.Components.WebAssembly.Serv... | apache-2.0 | C# |
ad19a7e357dac7f5021c71a406e079596e79b055 | Update EntityUnitOfWork.cs | tiksn/TIKSN-Framework | TIKSN.Framework.Core/Data/EntityFrameworkCore/EntityUnitOfWork.cs | TIKSN.Framework.Core/Data/EntityFrameworkCore/EntityUnitOfWork.cs | using Microsoft.EntityFrameworkCore;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
namespace TIKSN.Data.EntityFrameworkCore
{
public class EntityUnitOfWork : UnitOfWorkBase
{
private readonly DbContext[] _dbContexts;
public EntityUnitOfWork(DbContext[] dbContexts)
... | using Microsoft.EntityFrameworkCore;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
namespace TIKSN.Data.EntityFrameworkCore
{
public class EntityUnitOfWork : UnitOfWorkBase
{
private readonly DbContext[] _dbContexts;
public EntityUnitOfWork(DbContext[] dbContexts)
... | mit | C# |
52963046d46133b8b7050ab848de3a8b39a76519 | Add namespace | schlos/denver-schedules-api,codeforamerica/denver-schedules-api,codeforamerica/denver-schedules-api,schlos/denver-schedules-api | Schedules.API/Modules/SendModule.cs | Schedules.API/Modules/SendModule.cs | using Nancy;
using Schedules.API.Tasks.Sending;
using Simpler;
using Nancy.ModelBinding;
using Schedules.API.Models;
namespace Schedules.API.Modules
{
public class SendModule : NancyModule
{
public SendModule ()
{
Post["/reminders/email/send"] = parameters => {
var postRemindersEmailSend... | using Nancy;
using Schedules.API.Tasks.Sending;
using Simpler;
using Nancy.ModelBinding;
using Schedules.API.Models;
public class SendModule : NancyModule
{
public SendModule ()
{
Post["/reminders/email/send"] = parameters => {
var postRemindersEmailSend = Task.New<PostRemindersEmailSend>();
postR... | mit | C# |
2337b07659cd8ecd9de40052a430a5813c0462ea | Fix wrong parameter name | ProgTrade/SharpMath | SharpMath/Trigonometry/Converter.cs | SharpMath/Trigonometry/Converter.cs | using System;
namespace SharpMath.Trigonometry
{
public class Converter
{
public static double DegreesToRadians(double degrees)
{
return degrees * (Math.PI / 180);
}
public static double RadiansToDegrees(double radians)
{
return radians * (180 /... | using System;
namespace SharpMath.Trigonometry
{
public class Converter
{
public static double DegreesToRadians(double degrees)
{
return degrees * (Math.PI / 180);
}
public static double RadiansToDegrees(double degrees)
{
return degrees * (180 /... | mit | C# |
17edd7f05f0835078437718b7a57be7625cc74e4 | Remove confusing date format in summary messages. | nozzlegear/ShopifySharp,addsb/ShopifySharp,clement911/ShopifySharp | ShopifySharp/Filters/OrderFilter.cs | ShopifySharp/Filters/OrderFilter.cs | using System;
using Newtonsoft.Json;
using ShopifySharp.Enums;
namespace ShopifySharp.Filters
{
/// <summary>
/// Options for filtering <see cref="OrderService.CountAsync(OrderFilter)"/> and
/// <see cref="OrderService.ListAsync(OrderFilter)"/> results.
/// </summary>
public class OrderFilter : Li... | using System;
using Newtonsoft.Json;
using ShopifySharp.Enums;
namespace ShopifySharp.Filters
{
/// <summary>
/// Options for filtering <see cref="OrderService.CountAsync(OrderFilter)"/> and
/// <see cref="OrderService.ListAsync(OrderFilter)"/> results.
/// </summary>
public class OrderFilter : Li... | mit | C# |
2ed3975ff80528cd6fe3d21a323918f9d9545784 | Package Update #CHANGE: Pushed AdamsLair.WinForms1.0.6 | windygu/winforms,AdamsLair/winforms | WinForms/Properties/AssemblyInfo.cs | WinForms/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// Allgemeine Informationen über eine Assembly werden über die folgenden
// Attribute gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern,
// die mit einer Assembly verknüpft sind.
[assembly: A... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// Allgemeine Informationen über eine Assembly werden über die folgenden
// Attribute gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern,
// die mit einer Assembly verknüpft sind.
[assembly: A... | mit | C# |
6439ed8ba7881c10159c0617644e48dc274409cc | change the title | wli3/yum-sale,wli3/yum-sale,wli3/yum-sale | YumSale/Views/Shared/_Layout.cshtml | YumSale/Views/Shared/_Layout.cshtml | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>@ViewBag.Title - Yumsale</title>
@Styles.Render("~/Content/css")
@Scripts.Render("~/bundles/modernizr")
<link href="~/Content/flash-messages.css" rel="styl... | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>@ViewBag.Title - My ASP.NET Application</title>
@Styles.Render("~/Content/css")
@Scripts.Render("~/bundles/modernizr")
<link href="~/Content/flash-messages... | mit | C# |
26e96570d0c78dbbff350e852b7432280756f43e | Update index.cshtml | bolshakovinka/ApmathCloudBolshakov | SITE/index.cshtml | SITE/index.cshtml | @{
var txt = DateTime.Now;
double res = 0;
double[] x;
if (IsPost)
{
string line = Request.Form["Values"];
string[] values=line.Split(new Char[] { ',', ' '});
x = new double[values.Length];
for (int i = 0; i < values.Length; i++)
{
x[i] = Convert.ToDouble(values[i]);
res += x[i];
}
res /= x.Length;
}
}
<html>
<body>
... | @{
var txt = DateTime.Now;
}
<html>
<body>
<p>The dateTime is @txt</p>
</body>
</html> | mit | C# |
d723fcd9d831947286045cc52d6503e0915a66fe | clean up test syntax | msackton/FluentAssertions | Tests/FluentAssertions.Shared.Specs/EnumAssertionSpecs.cs | Tests/FluentAssertions.Shared.Specs/EnumAssertionSpecs.cs | using System;
using System.Collections.Generic;
using System.Text;
#if !OLD_MSTEST
using Microsoft.VisualStudio.TestPlatform.UnitTestFramework;
using System.Reflection.Emit;
using System.Reflection;
#else
using Microsoft.VisualStudio.TestTools.UnitTesting;
#endif
namespace FluentAssertions.Specs
{
public enum En... | using System;
using System.Collections.Generic;
using System.Text;
#if !OLD_MSTEST
using Microsoft.VisualStudio.TestPlatform.UnitTestFramework;
using System.Reflection.Emit;
using System.Reflection;
#else
using Microsoft.VisualStudio.TestTools.UnitTesting;
#endif
namespace FluentAssertions.Specs
{
public enum En... | apache-2.0 | C# |
09c9c859efef8c5acc1c17a5610b5ea27474b428 | Edit Debug.cs | 60071jimmy/UartOscilloscope,60071jimmy/UartOscilloscope | QueueDataGraphic/QueueDataGraphic/CSharpFiles/Debug.cs | QueueDataGraphic/QueueDataGraphic/CSharpFiles/Debug.cs | /********************************************************************
* Develop by Jimmy Hu *
* This program is licensed under the Apache License 2.0. *
* Debug.cs *
* 本檔案用於宣告偵錯相關工具物件 *
********************************************************************
*/
using System;
using... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace QueueDataGraphic.CSharpFiles
{
class Debug
{
/// <summary>
/// DebugMode would be setted "true" during debugging.
/// 在偵錯模式中將DebugMode設為true
/// </summary>
public readonly static b... | apache-2.0 | C# |
e7eac42a14528ad8bd991a9b953c3c856254f346 | add sence | bstaykov/DO-NOT-OPEN-IN-ANY-CIRCUMSTANCES-CLIENT,bstaykov/DO-NOT-OPEN-IN-ANY-CIRCUMSTANCES-CLIENT,bstaykov/DO-NOT-OPEN-IN-ANY-CIRCUMSTANCES-CLIENT | ServicesCORS/TeamsServices/Views/Shared/_Layout.cshtml | ServicesCORS/TeamsServices/Views/Shared/_Layout.cshtml | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width" />
<title>@ViewBag.Title</title>
@Styles.Render("~/Content/css")
@Scripts.Render("~/bundles/modernizr")
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js">... | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width" />
<title>@ViewBag.Title</title>
@Styles.Render("~/Content/css")
@Scripts.Render("~/bundles/modernizr")
</head>
<body>
<div class="navbar navbar-inverse navbar-fixed-top">
... | mit | C# |
5094bd4ac1d8d4337f3721f5a93357d36e6cd380 | Extend PlayerTags to accept name or entityID | Morphan1/Voxalia,Morphan1/Voxalia,Morphan1/Voxalia | Voxalia/ServerGame/TagSystem/TagBases/PlayerTagBase.cs | Voxalia/ServerGame/TagSystem/TagBases/PlayerTagBase.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Frenetic.TagHandlers;
using Frenetic.TagHandlers.Objects;
using Voxalia.ServerGame.TagSystem.TagObjects;
using Voxalia.ServerGame.ServerMainSystem;
using Voxalia.ServerGame.EntitySystem;
using Voxalia.Shared;
namespace Voxalia... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Frenetic.TagHandlers;
using Frenetic.TagHandlers.Objects;
using Voxalia.ServerGame.TagSystem.TagObjects;
using Voxalia.ServerGame.ServerMainSystem;
using Voxalia.ServerGame.EntitySystem;
using Voxalia.Shared;
namespace Voxalia... | mit | C# |
dd36df76c8a2f8d1ac2a91a14de65a56f42b8d3b | Update IPointShape.cs | wieslawsoltes/Core2D,Core2D/Core2D,wieslawsoltes/Core2D,Core2D/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D | src/Core2D/Model/Shapes/IPointShape.cs | src/Core2D/Model/Shapes/IPointShape.cs | using Core2D.Renderer;
namespace Core2D.Shapes
{
/// <summary>
/// Defines point shape contract.
/// </summary>
public interface IPointShape : IBaseShape, IStringExporter
{
/// <summary>
/// Gets or sets X coordinate of point.
/// </summary>
double X { get; set; }
... |
using Core2D.Renderer;
namespace Core2D.Shapes
{
/// <summary>
/// Defines point shape contract.
/// </summary>
public interface IPointShape : IBaseShape
{
/// <summary>
/// Gets or sets X coordinate of point.
/// </summary>
double X { get; set; }
/// <sum... | mit | C# |
9fec055eaf0078672636b84bd218f75bf53921a2 | Update BinanceRebate.cs (#1131) | JKorf/Binance.Net | Binance.Net/Objects/Models/Spot/BinanceRebate.cs | Binance.Net/Objects/Models/Spot/BinanceRebate.cs | using System;
using System.Collections.Generic;
using Binance.Net.Enums;
using CryptoExchange.Net.Converters;
using Newtonsoft.Json;
namespace Binance.Net.Objects.Models.Spot
{
/// <summary>
/// Rebates page wrapper
/// </summary>
public class BinanceRebateWrapper
{
/// <summary>
/... | using System;
using System.Collections.Generic;
using Binance.Net.Enums;
using CryptoExchange.Net.Converters;
using Newtonsoft.Json;
namespace Binance.Net.Objects.Models.Spot
{
/// <summary>
/// Rebates page wrapper
/// </summary>
public class BinanceRebateWrapper
{
/// <summary>
/... | mit | C# |
3bfff9f080d9ed80f6b0e688e82ecbc6c2edf0a1 | Fix unit tests | burningice2866/CompositeC1Contrib.FormBuilder,burningice2866/CompositeC1Contrib.FormBuilder,burningice2866/CompositeC1Contrib.FormBuilder | FormBuilder.Test/Validation/BaseValidatorTest.cs | FormBuilder.Test/Validation/BaseValidatorTest.cs | using System;
using System.Collections.Generic;
using CompositeC1Contrib.FormBuilder;
using CompositeC1Contrib.FormBuilder.Validation;
using System.Linq;
using NUnit.Framework;
namespace FormBuilder.Test.Validation
{
public abstract class BaseValidatorTest<T>
{
private FormFieldModel ... | using System;
using System.Collections.Generic;
using CompositeC1Contrib.FormBuilder;
using CompositeC1Contrib.FormBuilder.Validation;
using System.Linq;
using NUnit.Framework;
namespace FormBuilder.Test.Validation
{
public abstract class BaseValidatorTest<T>
{
private FormFieldModel ... | mit | C# |
1f3e00ae1e1723c3f7e1057d2edaa2c7a7ae0077 | Update master | mcintyre321/FormFactory,mcintyre321/FormFactory,mcintyre321/FormFactory | FormFactory.Templates/Properties/AssemblyInfo.cs | FormFactory.Templates/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("Fo... | 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("Fo... | mit | C# |
8d81783d5b62aded21fd1484fe242967a3df53d9 | Fix seekOffset being considered when seeking | Tom94/osu-framework,Tom94/osu-framework,default0/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,smoogipooo/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,ZLima12/osu-framework,default0/osu-framework,DrabWeb/osu-framework,Nabile-Rahmani/osu-framework,DrabWeb/osu-framework,Nabile-Rahmani/osu-frame... | osu.Framework/Timing/StopwatchClock.cs | osu.Framework/Timing/StopwatchClock.cs | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using osu.Framework.Extensions.TypeExtensions;
using System;
using System.Diagnostics;
namespace osu.Framework.Timing
{
public class StopwatchCl... | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using osu.Framework.Extensions.TypeExtensions;
using System;
using System.Diagnostics;
namespace osu.Framework.Timing
{
public class StopwatchCl... | mit | C# |
8a17b509d91d6924ec79181c4b4c99f264d0694c | Increase SpeedBonus Cap to 600BPM | peppy/osu,ppy/osu,ppy/osu,peppy/osu,ppy/osu,peppy/osu | osu.Game.Rulesets.Taiko/Difficulty/Evaluators/StaminaEvaluator.cs | osu.Game.Rulesets.Taiko/Difficulty/Evaluators/StaminaEvaluator.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using osu.Game.Rulesets.Difficulty.Preprocessing;
using osu.Game.Rulesets.Taiko.Difficulty.Preprocessing;
using osu.Game.Rulesets.Taiko.Objects;
namespace ... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using osu.Game.Rulesets.Difficulty.Preprocessing;
using osu.Game.Rulesets.Taiko.Difficulty.Preprocessing;
using osu.Game.Rulesets.Taiko.Objects;
namespace ... | mit | C# |
7d8601090336f41df99676b0b8fc79e35be20225 | Fix test regression | peppy/osu,ppy/osu,ppy/osu,peppy/osu,peppy/osu,ppy/osu | osu.Game.Tests/Visual/Settings/TestSceneLatencyCertifierScreen.cs | osu.Game.Tests/Visual/Settings/TestSceneLatencyCertifierScreen.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
#nullable enable
using System.Linq;
using NUnit.Framework;
using osu.Framework.Testing;
using osu.Game.Graphics.UserInterface;
using osu.Game.Screens.Utility;
using osuT... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
#nullable enable
using System.Linq;
using NUnit.Framework;
using osu.Framework.Testing;
using osu.Game.Graphics.UserInterface;
using osu.Game.Screens.Utility;
using osuT... | mit | C# |
93a34186cc56ed72320bb86998492ede07445ada | Make the camera kick when hit by a bullet. | space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14-content,space-wizards/space-station-14-content,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14-content | Content.Server/GameObjects/Components/Projectiles/ProjectileComponent.cs | Content.Server/GameObjects/Components/Projectiles/ProjectileComponent.cs | using System.Collections.Generic;
using Robust.Server.GameObjects;
using Robust.Shared.GameObjects;
using Robust.Shared.Interfaces.GameObjects;
using Robust.Shared.Interfaces.Physics;
using Robust.Shared.Interfaces.GameObjects.Components;
using Content.Server.GameObjects.Components.Mobs;
using Content.Shared.GameObjec... | using Robust.Shared.GameObjects;
using Robust.Shared.Interfaces.GameObjects;
using Robust.Shared.Interfaces.Physics;
using Robust.Shared.Interfaces.GameObjects.Components;
using System;
using System.Collections.Generic;
using YamlDotNet.RepresentationModel;
using Robust.Shared.Utility;
using Content.Shared.GameObjects... | mit | C# |
b789b1c386ce68ac55b263e960b1d885156ed163 | Fix for parallel deployments | mmooney/Sriracha.Deploy,mmooney/Sriracha.Deploy,mmooney/Sriracha.Deploy,mmooney/Sriracha.Deploy | Sriracha.Deploy.Data/ServiceJobs/ServiceJobImpl/RunBatchDeploymentJob.cs | Sriracha.Deploy.Data/ServiceJobs/ServiceJobImpl/RunBatchDeploymentJob.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using NLog;
using Sriracha.Deploy.Data.Notifications;
using Sriracha.Deploy.Data.Tasks;
using Sriracha.Deploy.Data.Deployment;
namespace Sriracha.Deploy.Data.ServiceJobs.ServiceJobImpl
{
public class Ru... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using NLog;
using Sriracha.Deploy.Data.Notifications;
using Sriracha.Deploy.Data.Tasks;
using Sriracha.Deploy.Data.Deployment;
namespace Sriracha.Deploy.Data.ServiceJobs.ServiceJobImpl
{
public class Ru... | mit | C# |
c3c9a6da3c25cf467e6ba8cb1fb6bb53dbde46b8 | Create server side API for single multiple answer question | Promact/trappist,Promact/trappist,Promact/trappist,Promact/trappist,Promact/trappist | Trappist/src/Promact.Trappist.Repository/Questions/QuestionRepository.cs | Trappist/src/Promact.Trappist.Repository/Questions/QuestionRepository.cs | using System.Collections.Generic;
using Promact.Trappist.DomainModel.Models.Question;
using System.Linq;
using Promact.Trappist.DomainModel.DbContext;
namespace Promact.Trappist.Repository.Questions
{
public class QuestionRepository : IQuestionRepository
{
private readonly TrappistDbContext _dbContext... | using System.Collections.Generic;
using Promact.Trappist.DomainModel.Models.Question;
using System.Linq;
using Promact.Trappist.DomainModel.DbContext;
namespace Promact.Trappist.Repository.Questions
{
public class QuestionRepository : IQuestionRepository
{
private readonly TrappistDbContext _dbContext... | mit | C# |
b5fbd2b891e0ef510346dae4aa76a67b953c30fd | Fix label antialiasing | abstractspoon/ToDoList_Plugins,abstractspoon/ToDoList_Plugins,abstractspoon/ToDoList_Plugins | UIExension/DayViewUIExtension/DayViewUIExtensionCore/DayViewWeekLabel.cs | UIExension/DayViewUIExtension/DayViewUIExtensionCore/DayViewWeekLabel.cs | using System;
using System.Collections.Generic;
using System.Text;
namespace DayViewUIExtension
{
[System.ComponentModel.DesignerCategory("")]
public class DayViewWeekLabel : System.Windows.Forms.Label
{
public DayViewWeekLabel()
{
}
private DateTime m_StartDate;
public DateTime StartDate
{
set
... | using System;
using System.Collections.Generic;
using System.Text;
namespace DayViewUIExtension
{
[System.ComponentModel.DesignerCategory("")]
public class DayViewWeekLabel : System.Windows.Forms.Label
{
public DayViewWeekLabel()
{
}
private DateTime m_StartDate;
public DateTime StartDate
{
set
... | epl-1.0 | C# |
0ac33b2d3c07157cba75887a02348bf8b58dc9d8 | fix null-value in comparison | FrankyBoy/ApiDoc,FrankyBoy/ApiDoc | ApiDoc/Utility/NodeListExtensions.cs | ApiDoc/Utility/NodeListExtensions.cs | using System;
using System.Collections.Generic;
using System.Linq;
using ApiDoc.Models;
namespace ApiDoc.Utility
{
public static class NodeListExtensions
{
private static readonly DiffMatchPatch Dmp = new DiffMatchPatch();
public static Node Compare(this IList<Node> items, int rev1, int rev2)... | using System;
using System.Collections.Generic;
using System.Linq;
using ApiDoc.Models;
namespace ApiDoc.Utility
{
public static class NodeListExtensions
{
private static readonly DiffMatchPatch Dmp = new DiffMatchPatch();
public static Node Compare(this IList<Node> items, int rev1, int rev2)... | apache-2.0 | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.