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 |
|---|---|---|---|---|---|---|---|---|
0d80504321db98483ea72d06851c6bcfb5888c30 | Improve readability | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi.Gui/Controls/QrEncoder/Masking/Pattern7.cs | WalletWasabi.Gui/Controls/QrEncoder/Masking/Pattern7.cs | using System;
namespace Gma.QrCodeNet.Encoding.Masking
{
internal class Pattern7 : Pattern
{
public override bool this[int i, int j]
{
get { return (((i * j) % 3) + (((i + j) % 2) % 2)) == 0; }
set { throw new NotSupportedException(); }
}
public override MaskPatternType MaskPatternType
{
get { r... | using System;
namespace Gma.QrCodeNet.Encoding.Masking
{
internal class Pattern7 : Pattern
{
public override bool this[int i, int j]
{
get { return ((((i * j) % 3) + (((i + j) % 2)) % 2)) == 0; }
set { throw new NotSupportedException(); }
}
public override MaskPatternType MaskPatternType
{
get {... | mit | C# |
90123d0bd494ce152e8a612855134b00b243c0ed | update assembly info | matrostik/SQLitePCL.pretty,bordoley/SQLitePCL.pretty | SQLitePCL.pretty.Orm/Properties/AssemblyInfo.cs | SQLitePCL.pretty.Orm/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
// Information about this assembly is defined by the following attributes.
// Change them to the values specific to your project.
[assembly: AssemblyTitle("SQLitePCL.pretty.Orm")]
[assembly: AssemblyDescription("An ORM for SQLitePCL.pretty")]
[assembly:... | using System.Reflection;
using System.Runtime.CompilerServices;
// Information about this assembly is defined by the following attributes.
// Change them to the values specific to your project.
[assembly: AssemblyTitle("SQLitePCL.pretty.Orm")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]... | apache-2.0 | C# |
2016d8e56bb0dba1d05bc86a1220387f0e89dae7 | Update AddingBordersToCells.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,aspose-cells/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.... | Examples/CSharp/Formatting/Borders/AddingBordersToCells.cs | Examples/CSharp/Formatting/Borders/AddingBordersToCells.cs | using System.IO;
using Aspose.Cells;
using System.Drawing;
namespace Aspose.Cells.Examples.Formatting.Borders
{
public class AddingBordersToCells
{
public static void Main(string[] args)
{
//ExStart:1
// The path to the documents directory.
string dataDir = ... | using System.IO;
using Aspose.Cells;
using System.Drawing;
namespace Aspose.Cells.Examples.Formatting.Borders
{
public class AddingBordersToCells
{
public static void Main(string[] args)
{
// The path to the documents directory.
string dataDir = Aspose.Cells.Examples.Ut... | mit | C# |
d1cec7ada526069ded7298ee6995c0e647fec5af | Fix reference to ClientSeedSource | RonnChyran/snowflake,SnowflakePowered/snowflake,RonnChyran/snowflake,SnowflakePowered/snowflake,SnowflakePowered/snowflake,RonnChyran/snowflake | src/Snowflake.Support.Scraping.Primitives/ResultCuller.cs | src/Snowflake.Support.Scraping.Primitives/ResultCuller.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Snowflake.Extensibility;
using Snowflake.Scraping;
using Snowflake.Scraping.Extensibility;
using Snowflake.Support.Scraping.Primitives.Utility;
using F23.StringSimilarity;
namespace Snowflake.Support.Scraping.Primitives
{
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Snowflake.Extensibility;
using Snowflake.Scraping;
using Snowflake.Scraping.Extensibility;
using Snowflake.Support.Scraping.Primitives.Utility;
using F23.StringSimilarity;
namespace Snowflake.Support.Scraping.Primitives
{
... | mpl-2.0 | C# |
56d719aeb4749126781ac418bec58e71240cb964 | create user | fgNv/GSDRequirementsCSharp,fgNv/GSDRequirementsCSharp,fgNv/GSDRequirementsCSharp | GSDRequirementsCSharp.Persistence/Commands/Users/SaveUserCommand/CreateUserCommandHandler.cs | GSDRequirementsCSharp.Persistence/Commands/Users/SaveUserCommand/CreateUserCommandHandler.cs | using GSDRequirementsCSharp.Infrastructure;
using GSDRequirementsCSharp.Infrastructure.CQS;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GSDRequirementsCSharp.Persistence.Commands.Users.SaveUserCommand
{
public class CreateUserComman... | using GSDRequirementsCSharp.Infrastructure;
using GSDRequirementsCSharp.Infrastructure.CQS;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GSDRequirementsCSharp.Persistence.Commands.Users.SaveUserCommand
{
public class CreateUserComman... | bsd-2-clause | C# |
1ce20ab81d73d998621143fdbac4149630ab9f4b | Update S40 token | kienct89/Chat-API-NET,almone/Chat-API-NET,andrebires/Chat-API-NET,JulioImolesi/Chat-API-NET,ProducJeffer/Chat-API-NET,mgp25/Chat-API-NET,shekohex/Chat-API-NET,rvriens/Chat-API-NET,blachshma/Chat-API-NET,mgp25/Chat-API-NET,rvriens/Chat-API-NET,mgp25/Chat-API-NET,andrebires/Chat-API-NET,andrebires/Chat-API-NET,rvriens/Ch... | WhatsAppApi/Register/WaToken.cs | WhatsAppApi/Register/WaToken.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Cryptography;
using System.Text;
namespace WhatsAppApi.Register
{
class WaToken
{
public static string GenerateToken(string number)
{
string token = "PdA2DJyKoUrwLw1Bg6EIhzh502dF9noR9uFCllGk14399217171... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Cryptography;
using System.Text;
namespace WhatsAppApi.Register
{
class WaToken
{
public static string GenerateToken(string number)
{
string token = "PdA2DJyKoUrwLw1Bg6EIhzh502dF9noR9uFCllGk14308605489... | mit | C# |
f3b66ff6afa88b5a6033893482a7094ffc409099 | Add comment | 60071jimmy/UartOscilloscope,60071jimmy/UartOscilloscope | QueueDataGraphic/QueueDataGraphic/CSharpFiles/DataQueue.cs | QueueDataGraphic/QueueDataGraphic/CSharpFiles/DataQueue.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace QueueDataGraphic.CSharpFiles
{ // namespace start
class DataQueue
{
}
} ... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace QueueDataGraphic.CSharpFiles
{
class DataQueue
{
}
}
| apache-2.0 | C# |
2d8a59902e8786ad39ba926275a1117b0f36892c | fix typo. | sbellana/service-fabric-dotnet-getting-started,neaorin/service-fabric-dotnet-getting-started,Azure-Samples/service-fabric-dotnet-getting-started,Azure-Samples/service-fabric-dotnet-getting-started,neaorin/service-fabric-dotnet-getting-started,neaorin/service-fabric-dotnet-getting-started,Azure-Samples/service-fabric-do... | Services/WordCount/WordCount.Service/ServiceEventSource.cs | Services/WordCount/WordCount.Service/ServiceEventSource.cs | // ------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
// ------------------------------------------------------------
namespace WordCount.Service... | // ------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
// ------------------------------------------------------------
namespace WordCount.Service... | mit | C# |
659ed936af0d6ba919976651ad3c679a9d2fb9b8 | Fix lighting | kennyvv/Alex,kennyvv/Alex,kennyvv/Alex,kennyvv/Alex | src/Alex/Utils/LightingUtils.cs | src/Alex/Utils/LightingUtils.cs | using Alex.ResourcePackLib.Json;
using Microsoft.Xna.Framework;
namespace Alex.Utils
{
public class LightingUtils
{
public static readonly Color LightColor =
new Color(245, 245, 225);
/// <summary>
/// The default lighting information for rendering a block;
/// i.e. when the lighting param to CreateUni... | using Alex.ResourcePackLib.Json;
using Microsoft.Xna.Framework;
namespace Alex.Utils
{
public class LightingUtils
{
public static readonly Vector3 LightColor =
new Vector3(245, 245, 225);
/// <summary>
/// The default lighting information for rendering a block;
/// i.e. when the lighting param to Creat... | mpl-2.0 | C# |
52e34048a1024f5a16aa449528c7a5221294dd19 | Switch to ImmutableArray to prevent accidental mutation | mavasani/roslyn,diryboy/roslyn,CyrusNajmabadi/roslyn,KevinRansom/roslyn,dotnet/roslyn,KevinRansom/roslyn,diryboy/roslyn,weltkante/roslyn,sharwell/roslyn,bartdesmet/roslyn,jasonmalinowski/roslyn,KevinRansom/roslyn,bartdesmet/roslyn,diryboy/roslyn,shyamnamboodiripad/roslyn,dotnet/roslyn,weltkante/roslyn,weltkante/roslyn,... | src/Workspaces/Core/Portable/LanguageServices/DeclaredSymbolFactoryService/ArityUtilities.cs | src/Workspaces/Core/Portable/LanguageServices/DeclaredSymbolFactoryService/ArityUtilities.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.Immutable;
using System.Diagnostics;
using System.Globalization;
namespace Microsoft.Code... | // 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.
#nullable disable
using System.Diagnostics;
using System.Globalization;
namespace Microsoft.CodeAnalysis.Language... | mit | C# |
18a254c3fa955a6ddf241722272f3a021b9417a6 | Enable all kernel tests again. | MyvarHD/Cosmos,tgiphil/Cosmos,CosmosOS/Cosmos,zdimension/Cosmos,trivalik/Cosmos,MetSystem/Cosmos,sgetaz/Cosmos,Cyber4/Cosmos,zhangwenquan/Cosmos,zdimension/Cosmos,tgiphil/Cosmos,fanoI/Cosmos,MyvarHD/Cosmos,zdimension/Cosmos,sgetaz/Cosmos,MetSystem/Cosmos,Cyber4/Cosmos,MyvarHD/Cosmos,MetSystem/Cosmos,tgiphil/Cosmos,Cosm... | Tests/Cosmos.TestRunner.Core/DefaultEngineConfiguration.cs | Tests/Cosmos.TestRunner.Core/DefaultEngineConfiguration.cs | using System;
namespace Cosmos.TestRunner.Core
{
public static class DefaultEngineConfiguration
{
public static void Apply(Engine engine)
{
if (engine == null)
{
throw new ArgumentNullException("engine");
}
engine.AddKernel(type... | using System;
namespace Cosmos.TestRunner.Core
{
public static class DefaultEngineConfiguration
{
public static void Apply(Engine engine)
{
if (engine == null)
{
throw new ArgumentNullException("engine");
}
engine.AddKernel(type... | bsd-3-clause | C# |
3c025b3b56fabe9db1eb9bac8e473d05c4bd6c42 | Fix string.ToUpper/ToLower to use the computed result | tijoytom/coreclr,ramarag/coreclr,chrishaly/coreclr,botaberg/coreclr,lzcj4/coreclr,sagood/coreclr,apanda/coreclr,cshung/coreclr,vinnyrom/coreclr,naamunds/coreclr,misterzik/coreclr,jakesays/coreclr,ruben-ayrapetyan/coreclr,josteink/coreclr,cydhaselton/coreclr,shahid-pk/coreclr,Alcaro/coreclr,russellhadley/coreclr,tijoyto... | src/mscorlib/corefx/System/Globalization/TextInfo.Unix.cs | src/mscorlib/corefx/System/Globalization/TextInfo.Unix.cs | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Diagnostics.Contracts;
using System.Text;
namespace System.Globalization
{
public partial class TextInfo
{
////////////////////////////////... | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Diagnostics.Contracts;
using System.Text;
namespace System.Globalization
{
public partial class TextInfo
{
////////////////////////////////... | mit | C# |
e91e377753bdd873b82defc2879d25ab4f8ad448 | Fix wrong class hierarchy in Abstract class test cases | merbla/serilog,CaioProiete/serilog,merbla/serilog,serilog/serilog,serilog/serilog | test/Serilog.Tests/Support/ClassHierarchy.cs | test/Serilog.Tests/Support/ClassHierarchy.cs | namespace Serilog.Tests.Support
{
public abstract class DummyAbstractClass
{
}
public class DummyConcreteClassWithDefaultConstructor : DummyAbstractClass
{
// ReSharper disable once UnusedParameter.Local
public DummyConcreteClassWithDefaultConstructor(string param = "")
{
... | namespace Serilog.Tests.Support
{
public abstract class DummyAbstractClass
{
}
public class DummyConcreteClassWithDefaultConstructor
{
// ReSharper disable once UnusedParameter.Local
public DummyConcreteClassWithDefaultConstructor(string param = "")
{
}
}
p... | apache-2.0 | C# |
2cd5ef9965a8761f0ebdb4cf2767cd579a22ecca | Update unit test | sonvister/Binance | test/Binance.Tests/WebSocket/TradesWebSocketClientTest.cs | test/Binance.Tests/WebSocket/TradesWebSocketClientTest.cs | using System;
using Binance.Client;
using Binance.WebSocket;
using Xunit;
namespace Binance.Tests.WebSocket
{
public class TradesWebSocketClientTest
{
[Fact]
public void SubscribeThrows()
{
var client = new TradeWebSocketClient();
Assert.Throws<ArgumentNullExce... | using System;
using Binance.Client;
using Binance.WebSocket;
using Xunit;
namespace Binance.Tests.WebSocket
{
public class TradesWebSocketClientTest
{
[Fact]
public void SubscribeThrows()
{
var client = new AggregateTradeWebSocketClient();
Assert.Throws<Argumen... | mit | C# |
db3d245f476c2c56e57d87522bba5e9ebc141e0c | Update WalletWasabi.Fluent/ViewModels/MainViewModel.cs | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi.Fluent/ViewModels/MainViewModel.cs | WalletWasabi.Fluent/ViewModels/MainViewModel.cs | using NBitcoin;
using ReactiveUI;
using System.Reactive;
using WalletWasabi.Gui.ViewModels;
using WalletWasabi.Fluent.ViewModels.Dialog;
using System;
using Global = WalletWasabi.Gui.Global;
namespace WalletWasabi.Fluent.ViewModels
{
public class MainViewModel : ViewModelBase, IScreen, IDialogHost
{
private Global... | #nullable enable
using NBitcoin;
using ReactiveUI;
using System.Reactive;
using WalletWasabi.Gui.ViewModels;
using WalletWasabi.Fluent.ViewModels.Dialog;
using System;
using Global = WalletWasabi.Gui.Global;
namespace WalletWasabi.Fluent.ViewModels
{
public class MainViewModel : ViewModelBase, IScreen, IDialogHost
{... | mit | C# |
f82445ae3e4dc695bb26a78ed3b493f151748b18 | Add expiration | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi.Gui/Helpers/NotificationHelpers.cs | WalletWasabi.Gui/Helpers/NotificationHelpers.cs | using Avalonia.Controls.Notifications;
using ReactiveUI;
using Splat;
using System;
using System.Reactive.Concurrency;
namespace WalletWasabi.Gui.Helpers
{
public static class NotificationHelpers
{
public static INotificationManager GetNotificationManager()
{
return Locator.Current.GetService<INotificationMan... | using Avalonia.Controls.Notifications;
using ReactiveUI;
using Splat;
using System.Reactive.Concurrency;
namespace WalletWasabi.Gui.Helpers
{
public static class NotificationHelpers
{
public static INotificationManager GetNotificationManager()
{
return Locator.Current.GetService<INotificationManager>();
}
... | mit | C# |
0f9d0fee324581c0ef73d3b30c4a17a1a8bb799a | bump version | QuintSys/Five9ApiClient | src/Five9ApiClient/Five9ApiClient/Properties/AssemblyInfo.cs | src/Five9ApiClient/Five9ApiClient/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("Quintsys.Five9ApiClient")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Quintero Systems, Inc.")]
[assembly: AssemblyProduct("Quintsys.Five9ApiClient")]
[assembly: Assembly... | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("Quintsys.Five9ApiClient")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Quintero Systems, Inc.")]
[assembly: AssemblyProduct("Quintsys.Five9ApiClient")]
[assembly: Assembly... | mit | C# |
d37afda980cfb6efa61015b62460669277424b64 | Change string to int for mark | jacquesweidig/DBVRMONS,jacquesweidig/DBVRMONS | src/dotnetCloudantWebstarter/Models/ToDoItemModel.cs | src/dotnetCloudantWebstarter/Models/ToDoItemModel.cs | namespace CloudantDotNet.Models
{
public class ToDoItem
{
public string id { get; set; }
public string rev { get; set; }
public string text { get; set; }
}
public class VREntryItem
{
public string id { get; set; }
public string rev { get; set; }
publi... | namespace CloudantDotNet.Models
{
public class ToDoItem
{
public string id { get; set; }
public string rev { get; set; }
public string text { get; set; }
}
public class VREntryItem
{
public string id { get; set; }
public string rev { get; set; }
publi... | apache-2.0 | C# |
21a22a95e56c36ab21bfc878ec1647db739644f5 | add SourceRelativePath. | hellosnow/docfx,superyyrrzz/docfx,hellosnow/docfx,superyyrrzz/docfx,pascalberger/docfx,dotnet/docfx,DuncanmaMSFT/docfx,928PJY/docfx,928PJY/docfx,superyyrrzz/docfx,LordZoltan/docfx,pascalberger/docfx,928PJY/docfx,LordZoltan/docfx,dotnet/docfx,hellosnow/docfx,LordZoltan/docfx,dotnet/docfx,LordZoltan/docfx,pascalberger/do... | src/Microsoft.DocAsCode.Build.Engine/TemplateManifestItem.cs | src/Microsoft.DocAsCode.Build.Engine/TemplateManifestItem.cs | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Microsoft.DocAsCode.Build.Engine
{
using System.Collections.Generic;
using Newtonsoft.Json;
using YamlDotNet.Serialization;
using Microsoft.... | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Microsoft.DocAsCode.Build.Engine
{
using System.Collections.Generic;
using Newtonsoft.Json;
using YamlDotNet.Serialization;
using Microsoft.... | mit | C# |
8310c1542994fc3dd1f374e1448d8afd0f4fc8a4 | Remove unused variable in UserRepository | Chess-Variants-Training/Chess-Variants-Training,Chess-Variants-Training/Chess-Variants-Training,Chess-Variants-Training/Chess-Variants-Training | src/AtomicChessPuzzles/DbRepositories/UserRepository.cs | src/AtomicChessPuzzles/DbRepositories/UserRepository.cs | using MongoDB.Driver;
using AtomicChessPuzzles.Models;
namespace AtomicChessPuzzles.DbRepositories
{
public class UserRepository : IUserRepository
{
MongoSettings settings;
IMongoCollection<User> userCollection;
public UserRepository()
{
settings = new MongoSetting... | using MongoDB.Driver;
using AtomicChessPuzzles.Models;
namespace AtomicChessPuzzles.DbRepositories
{
public class UserRepository : IUserRepository
{
MongoSettings settings;
IMongoDatabase database;
IMongoCollection<User> userCollection;
public UserRepository()
{
... | agpl-3.0 | C# |
30a4b09d9fc859757ffecb08ce07c2c2cd8a3e9f | Fix CookieOptions.HttpOnly doc comment | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore | src/Microsoft.AspNetCore.Http.Features/CookieOptions.cs | src/Microsoft.AspNetCore.Http.Features/CookieOptions.cs | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
namespace Microsoft.AspNetCore.Http
{
/// <summary>
/// Options used to create a new cookie.
/// </summary>
public class ... | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
namespace Microsoft.AspNetCore.Http
{
/// <summary>
/// Options used to create a new cookie.
/// </summary>
public class ... | apache-2.0 | C# |
8b836a74f9a25f49469659c17efec7a25ec175cd | Fix StructureMap missing default convention for React.Config | KevM/Reactive.Config | src/Reactive.Config.StructureMap/ContainerExtensions.cs | src/Reactive.Config.StructureMap/ContainerExtensions.cs | using System;
using StructureMap;
namespace Reactive.Config.StructureMap
{
public static class ContainerExtensions
{
public static void ReactiveConfig(this ConfigurationExpression config, Action<IReactiveConfigRegistry> action)
{
config.Scan(s =>
{
s.Ass... | using System;
using StructureMap;
namespace Reactive.Config.StructureMap
{
public static class ContainerExtensions
{
public static void ReactiveConfig(this ConfigurationExpression config, Action<IReactiveConfigRegistry> action)
{
config.For<IKeyPathProvider>().Use<NamespaceKeyPathP... | mit | C# |
f4dc19ec62d2f48e5d1296db82509ccbbd93ce36 | Add `CardIssuing` and `JcbPayments` as capabilities on `Account` | stripe/stripe-dotnet | src/Stripe.net/Entities/Accounts/AccountCapabilities.cs | src/Stripe.net/Entities/Accounts/AccountCapabilities.cs | namespace Stripe
{
using System;
using Newtonsoft.Json;
public class AccountCapabilities : StripeEntity<AccountCapabilities>
{
/// <summary>
/// The status of the BECS Direct Debit (AU) payments capability of the account, or whether
/// the account can directly process BECS Dire... | namespace Stripe
{
using System;
using Newtonsoft.Json;
public class AccountCapabilities : StripeEntity<AccountCapabilities>
{
/// <summary>
/// The status of the BECS Direct Debit (AU) payments capability of the account, or whether
/// the account can directly process BECS Dire... | apache-2.0 | C# |
cf6d33f8433bd924409f3e0699b07225cc27847b | Update src/Umbraco.Core/Security/IBackOfficeSecurityFactory.cs | KevinJump/Umbraco-CMS,umbraco/Umbraco-CMS,dawoe/Umbraco-CMS,marcemarc/Umbraco-CMS,abryukhov/Umbraco-CMS,KevinJump/Umbraco-CMS,abjerner/Umbraco-CMS,robertjf/Umbraco-CMS,JimBobSquarePants/Umbraco-CMS,marcemarc/Umbraco-CMS,robertjf/Umbraco-CMS,marcemarc/Umbraco-CMS,arknu/Umbraco-CMS,JimBobSquarePants/Umbraco-CMS,KevinJump... | src/Umbraco.Core/Security/IBackOfficeSecurityFactory.cs | src/Umbraco.Core/Security/IBackOfficeSecurityFactory.cs | namespace Umbraco.Cms.Core.Security
{
/// <summary>
/// Creates and manages <see cref="IBackOfficeSecurity"/> instances.
/// </summary>
public interface IBackOfficeSecurityFactory
{
/// <summary>
/// Ensures that a current <see cref="IBackOfficeSecurity"/> exists.
/// </summa... | namespace Umbraco.Core.Security
{
/// <summary>
/// Creates and manages <see cref="IBackOfficeSecurity"/> instances.
/// </summary>
public interface IBackOfficeSecurityFactory
{
/// <summary>
/// Ensures that a current <see cref="IBackOfficeSecurity"/> exists.
/// </summary>
... | mit | C# |
90834686f9ed80f614430bbb714d4e48c6fe3d66 | Update OrdinalImpl.cs | CosmosOS/Cosmos,CosmosOS/Cosmos,zarlo/Cosmos,CosmosOS/Cosmos,zarlo/Cosmos,zarlo/Cosmos,CosmosOS/Cosmos,zarlo/Cosmos | source/Cosmos.Core_Plugs/System/Globalization/OrdinalImpl.cs | source/Cosmos.Core_Plugs/System/Globalization/OrdinalImpl.cs | using IL2CPU.API.Attribs;
namespace Cosmos.Core_Plugs.System.Globalization
{
[Plug(TargetName = "System.Globalization.Ordinal, System.Private.CoreLib")]
class OrdinalImpl
{
[PlugMethod(IsOptional =false, PlugRequired =true)]
public static unsafe int CompareStringIgnoreCaseNonAscii(char* aS... | using IL2CPU.API.Attribs;
namespace Cosmos.Core_Plugs.System.Globalization
{
class OrdinalImpl
{
[PlugMethod(IsOptional =false, PlugRequired =true)]
public static unsafe int CompareStringIgnoreCaseNonAscii(char* aStrA, int aLengthA, char* aStrB, int aLengthB)
{
if(aLengthA ... | bsd-3-clause | C# |
aec88d1b82b6920adaa59ea4a667f8fe9e435449 | Update FindByInnerXPathStrategy | YevgeniyShunevych/Atata,YevgeniyShunevych/Atata,atata-framework/atata,atata-framework/atata | src/Atata/ScopeSearch/Strategies/FindByInnerXPathStrategy.cs | src/Atata/ScopeSearch/Strategies/FindByInnerXPathStrategy.cs | using System.Linq;
namespace Atata
{
public class FindByInnerXPathStrategy : XPathComponentScopeLocateStrategy
{
protected override string Build(ComponentScopeXPathBuilder builder, ComponentScopeLocateOptions options)
{
string[] conditions = options.Terms.Length > 1
... | namespace Atata
{
public class FindByInnerXPathStrategy : XPathComponentScopeLocateStrategy
{
protected override string Build(ComponentScopeXPathBuilder builder, ComponentScopeLocateOptions options)
{
return builder.WrapWithIndex(x => x.Descendant.ComponentXPath.Where(y => y.Joi... | apache-2.0 | C# |
f39092540e766f17d14719f97945d84858dff1e6 | Support computing navigation bar items for source generated files | jasonmalinowski/roslyn,sharwell/roslyn,mavasani/roslyn,KevinRansom/roslyn,shyamnamboodiripad/roslyn,eriawan/roslyn,mavasani/roslyn,AmadeusW/roslyn,diryboy/roslyn,shyamnamboodiripad/roslyn,jasonmalinowski/roslyn,physhi/roslyn,diryboy/roslyn,weltkante/roslyn,eriawan/roslyn,CyrusNajmabadi/roslyn,wvdd007/roslyn,KevinRansom... | src/Workspaces/Remote/ServiceHub/Services/NavigationBar/RemoteNavigationBarItemService.cs | src/Workspaces/Remote/ServiceHub/Services/NavigationBar/RemoteNavigationBarItemService.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.Immutable;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAnaly... | // 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.Immutable;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAnaly... | mit | C# |
d41a3065bd11bed66f4fe786fb1b58f37c4a13c2 | Update class name to reflect additional test | FabioNascimento/fluentmigrator,lcharlebois/fluentmigrator,stsrki/fluentmigrator,lcharlebois/fluentmigrator,fluentmigrator/fluentmigrator,amroel/fluentmigrator,itn3000/fluentmigrator,schambers/fluentmigrator,eloekset/fluentmigrator,fluentmigrator/fluentmigrator,FabioNascimento/fluentmigrator,itn3000/fluentmigrator,igitu... | src/FluentMigrator.Tests/Unit/AutoReversingMigrationTests.cs | src/FluentMigrator.Tests/Unit/AutoReversingMigrationTests.cs | using NUnit.Framework;
using FluentMigrator.Infrastructure;
namespace FluentMigrator.Tests.Unit
{
using System.Collections.ObjectModel;
using System.Linq;
using FluentMigrator.Expressions;
using Moq;
[TestFixture]
public class AutoReversingMigrationTests
{
private Mock<IMigrationCo... | using NUnit.Framework;
using FluentMigrator.Infrastructure;
namespace FluentMigrator.Tests.Unit
{
using System.Collections.ObjectModel;
using System.Linq;
using FluentMigrator.Expressions;
using Moq;
[TestFixture]
public class AutoReversingMigrationTests
{
private Mock<IMigrationCo... | apache-2.0 | C# |
66468264b5b923dbcbff230dd34ad5ca26b46164 | add log to sql | bit-foundation/bit-framework,bit-foundation/bit-framework,bit-foundation/bit-framework,bit-foundation/bit-framework | src/Server/Bit.Owin/Implementations/SqlServerJsonLogStore.cs | src/Server/Bit.Owin/Implementations/SqlServerJsonLogStore.cs | using Bit.Core.Contracts;
using Bit.Core.Models;
using System.Data.SqlClient;
using System.Threading.Tasks;
namespace Bit.Owin.Implementations
{
public class SqlServerJsonLogStore : ILogStore
{
public virtual AppEnvironment ActiveAppEnvironment { get; set; }
public virtual IDateTime... | using Bit.Core.Contracts;
using Bit.Core.Models;
using System.Data.SqlClient;
using System.Threading.Tasks;
namespace Flawingo.DataAccess.Implementations
{
public class SqlServerJsonLogStore : ILogStore
{
public virtual AppEnvironment ActiveAppEnvironment { get; set; }
public virtu... | mit | C# |
5ae85306af476d07b21d624cf24923d5d0185937 | update docs and add Recommendation | UgurAldanmaz/NLog,UgurAldanmaz/NLog,BrutalCode/NLog,snakefoot/NLog,luigiberrettini/NLog,luigiberrettini/NLog,NLog/NLog,304NotModified/NLog,sean-gilliam/NLog,BrutalCode/NLog,nazim9214/NLog,nazim9214/NLog | src/NLog/Config/AppDomainFixedOutputAttribute.cs | src/NLog/Config/AppDomainFixedOutputAttribute.cs | //
// Copyright (c) 2004-2017 Jaroslaw Kowalski <jaak@jkowalski.net>, Kim Christensen, Julian Verdurmen
//
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions
// are met:
//
// * Redistributions of s... | //
// Copyright (c) 2004-2017 Jaroslaw Kowalski <jaak@jkowalski.net>, Kim Christensen, Julian Verdurmen
//
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions
// are met:
//
// * Redistributions of s... | bsd-3-clause | C# |
9c8b4d66cb9a9fb8f4d51cd382a2ec295314822f | add missing paid filter to invoices list | stripe/stripe-dotnet,richardlawley/stripe.net | src/Stripe.net/Services/Invoices/StripeInvoiceListOptions.cs | src/Stripe.net/Services/Invoices/StripeInvoiceListOptions.cs | using Newtonsoft.Json;
namespace Stripe
{
public class StripeInvoiceListOptions : StripeListOptions
{
/// <summary>
/// The billing mode of the invoice to retrieve. One of <see cref="StripeBilling" />.
/// </summary>
[JsonProperty("billing")]
public StripeBilling? Bill... | using Newtonsoft.Json;
namespace Stripe
{
public class StripeInvoiceListOptions : StripeListOptions
{
/// <summary>
/// The billing mode of the invoice to retrieve. One of <see cref="StripeBilling" />.
/// </summary>
[JsonProperty("billing")]
public StripeBilling? Bill... | apache-2.0 | C# |
3eaefb93e6f3cf307691a55f313a7f0b9228567c | fix spelling mistake | ZA-PT/Obsidian,ZA-PT/Obsidian,ZA-PT/Obsidian,ZA-PT/Obsidian | src/Obsidian.Application/AccountAPIClaimTypes.cs | src/Obsidian.Application/AccountAPIClaimTypes.cs | using System;
using System.Collections.Generic;
using System.Text;
namespace Obsidian.Application
{
public class AccountAPIClaimTypes
{
private const string _prefix = "http://schema.za-pt.org/Obsidian/AccountAPI/";
public const string Profile = _prefix + "UserProfile";
}
}
| using System;
using System.Collections.Generic;
using System.Text;
namespace Obsidian.Application
{
public class AccountAPIClaimTypes
{
private const string _prefix = "http://schema.za-pt.org/Obsidian/AccountAPI/";
public const string Profile = _prefix + "UserPrfile";
}
}
| apache-2.0 | C# |
91ca622825acfec0a74e0e564df6f5719cb6ed07 | add POST method in ohaeVehicleController.cs | tlaothong/echecker,tlaothong/echecker,tlaothong/echecker,tlaothong/echecker | ECheckerSource/ApiApp/Controllers/ohaeVehicleController.cs | ECheckerSource/ApiApp/Controllers/ohaeVehicleController.cs | using ApiApp.Models;
using MongoDB.Bson;
using MongoDB.Driver;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
namespace ApiApp.Controllers
{
public class ohaeVehicleController : ApiController
{
/// <summary>
//... | using ApiApp.Models;
using MongoDB.Bson;
using MongoDB.Driver;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
namespace ApiApp.Controllers
{
public class ohaeVehicleController : ApiController
{
/// <summary>
//... | mit | C# |
0c38cbe7369ad01ce21640717a71e87c9a78336f | Bump v1.0.14 | karronoli/tiny-sato | TinySato/Properties/AssemblyInfo.cs | TinySato/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// アセンブリに関する一般情報は以下の属性セットをとおして制御されます。
// アセンブリに関連付けられている情報を変更するには、
// これらの属性値を変更してください。
[assembly: AssemblyTitle("TinySato")]
[assembly: AssemblyDescription("You can construct and send SBPL packet to Sato printer. Sat... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// アセンブリに関する一般情報は以下の属性セットをとおして制御されます。
// アセンブリに関連付けられている情報を変更するには、
// これらの属性値を変更してください。
[assembly: AssemblyTitle("TinySato")]
[assembly: AssemblyDescription("You can construct and send SBPL packet to Sato printer. Sat... | apache-2.0 | C# |
5cae15cf73b317e0bc7a5c75a7e60d8eafdb020f | Update UnityARCameraSettingsProfileInspector.cs | killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity,DDReaper/MixedRealityToolkit-Unity,killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity | Assets/MixedRealityToolkit.Staging/UnityAR/Editor/UnityARCameraSettingsProfileInspector.cs | Assets/MixedRealityToolkit.Staging/UnityAR/Editor/UnityARCameraSettingsProfileInspector.cs | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using Microsoft.MixedReality.Toolkit.Editor;
using Microsoft.MixedReality.Toolkit.Utilities.Editor;
using System.Linq;
using UnityEditor;
namespace Microsoft.Mixed... | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using Microsoft.MixedReality.Toolkit.Editor;
using Microsoft.MixedReality.Toolkit.Utilities.Editor;
using System.Linq;
using UnityEditor;
namespace Microsoft.Mixed... | mit | C# |
b45354ce97c5944bce29cfc35294f9e10ceae70d | Add missing header | johnneijzen/osu,smoogipoo/osu,smoogipoo/osu,smoogipooo/osu,johnneijzen/osu,UselessToucan/osu,peppy/osu-new,ppy/osu,EVAST9919/osu,UselessToucan/osu,peppy/osu,naoey/osu,peppy/osu,DrabWeb/osu,smoogipoo/osu,UselessToucan/osu,DrabWeb/osu,NeoAdonis/osu,2yangk23/osu,NeoAdonis/osu,ppy/osu,2yangk23/osu,ZLima12/osu,EVAST9919/osu... | osu.Game/Online/API/Requests/Responses/APIUserMostPlayedBeatmap.cs | osu.Game/Online/API/Requests/Responses/APIUserMostPlayedBeatmap.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 Newtonsoft.Json;
using osu.Game.Beatmaps;
using osu.Game.Rulesets;
namespace osu.Game.Online.API.Requests.Responses
{
public class APIUserMostPlayedBeatmap
... | using Newtonsoft.Json;
using osu.Game.Beatmaps;
using osu.Game.Rulesets;
namespace osu.Game.Online.API.Requests.Responses
{
public class APIUserMostPlayedBeatmap
{
[JsonProperty("beatmap_id")]
public int BeatmapID;
[JsonProperty("count")]
public int PlayCount;
[JsonPr... | mit | C# |
f2eda57b84343959ca766e54b128e2285fd7535b | Add some flags work on 0x60 0x0A Damage Packet | HelloKitty/Booma.Proxy | src/Booma.Proxy.Packets.BlockServer/Commands/Command60/Sub60ObjectDamageRecievedCommand.cs | src/Booma.Proxy.Packets.BlockServer/Commands/Command60/Sub60ObjectDamageRecievedCommand.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using FreecraftCore.Serializer;
namespace Booma.Proxy
{
//TODO: Finish reverse engineering what each flag means.
[Flags]
public enum DamageFlag2 : byte
{
Unknown2 = 2,
NormalCreatureDeath = 10,
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using FreecraftCore.Serializer;
namespace Booma.Proxy
{
//https://sylverant.net/wiki/index.php/Packet_0x60#Subcommand_0x0A
[WireDataContract]
[SubCommand60(SubCommand60OperationCode.ObjectDamageHit)]... | agpl-3.0 | C# |
0c5aec81ec615af63ef684a96019aa33d6f6fb8b | Initialize fuse delay and sky quality default value | komakallio/komahub,komakallio/komahub,komakallio/komahub,komakallio/komahub | software/KomaHub/KomaHub/DataTypes.cs | software/KomaHub/KomaHub/DataTypes.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace KomaHub
{
public class KomahubFactorySettings
{
public int FirmwareVersion;
public int SerialNumber;
public int fuseDelay = 100;
public float sqmOffset ... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace KomaHub
{
public class KomahubFactorySettings
{
public int FirmwareVersion;
public int SerialNumber;
public int fuseDelay;
public float sqmOffset;
... | mit | C# |
9cf91d4b706a91fb0cc0e479484297f00d7ddaf5 | Update Assets/MRTK/SDK/Features/Utilities/ConstraintUtils.cs | killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity | Assets/MRTK/SDK/Features/Utilities/ConstraintUtils.cs | Assets/MRTK/SDK/Features/Utilities/ConstraintUtils.cs | // Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using UnityEngine;
using System.Collections.Generic;
using Microsoft.MixedReality.Toolkit.UI;
namespace Microsoft.MixedReality.Toolkit.Utilities
{
/// <summary>
/// Utilities for the management of constraints.
/// </summary>
in... | // Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using UnityEngine;
using System.Collections.Generic;
using Microsoft.MixedReality.Toolkit.UI;
namespace Microsoft.MixedReality.Toolkit.Utilities
{
/// <summary>
/// Utilities for the management of constraints.
/// </summary>
in... | mit | C# |
bd1c7ea0392d065c551ef7a352dd11e648afcb78 | Update ResizingMode.cs | chsword/ResizingServer | source/ResizingClient/ResizingMode.cs | source/ResizingClient/ResizingMode.cs | namespace ResizingClient
{
public enum ResizingMode
{
Crop=1,
Max=2,
Pad=3
}
}
| namespace ResizingClient
{
public enum ResizingMode
{
Crop=1,
Max=2,Pad=3
}
} | apache-2.0 | C# |
a402c938db9a447a170688c9a57066108b613ce7 | Remove empty regions. | jongleur1983/ClosedXML,igitur/ClosedXML,ClosedXML/ClosedXML,b0bi79/ClosedXML,JavierJJJ/ClosedXML | ClosedXML_Examples/Misc/WorkbookProtection.cs | ClosedXML_Examples/Misc/WorkbookProtection.cs | using System;
using ClosedXML.Excel;
namespace ClosedXML_Examples.Misc
{
public class WorkbookProtection : IXLExample
{
#region Methods
// Public
public void Create(String filePath)
{
using (var wb = new XLWorkbook())
{
var ws = wb.Works... | using System;
using ClosedXML.Excel;
namespace ClosedXML_Examples.Misc
{
public class WorkbookProtection : IXLExample
{
#region Variables
// Public
// Private
#endregion
#region Properties
// Public
// Private
// Override
#endre... | mit | C# |
c65a651acab976871d6ee5923c0bc870017a0b49 | Comment Database tables creation at DataAccessModule.cs | B1naryStudio/Azimuth,B1naryStudio/Azimuth | DataAccess/Infrastructure/DataAccessModule.cs | DataAccess/Infrastructure/DataAccessModule.cs | using System.Reflection;
using Azimuth.DataAccess.Entities;
using Azimuth.DataAccess.Repositories;
using NHibernate;
using NHibernate.Cfg;
using NHibernate.Tool.hbm2ddl;
using Ninject.Extensions.Factory;
using Ninject.Modules;
namespace Azimuth.DataAccess.Infrastructure
{
public class DataAccessModule : NinjectMo... | using System.Reflection;
using Azimuth.DataAccess.Entities;
using Azimuth.DataAccess.Repositories;
using NHibernate;
using NHibernate.Cfg;
using NHibernate.Tool.hbm2ddl;
using Ninject.Extensions.Factory;
using Ninject.Modules;
namespace Azimuth.DataAccess.Infrastructure
{
public class DataAccessModule : NinjectMo... | mit | C# |
a37ffd1b4c726d22ee6a16df715a81b4614ec367 | prepare for release | yamamoWorks/azure-activedirectory-library-for-dotnet,AzureAD/microsoft-authentication-library-for-dotnet,AzureAD/microsoft-authentication-library-for-dotnet,AzureAD/microsoft-authentication-library-for-dotnet,makhdumi/azure-activedirectory-library-for-dotnet,bjartebore/azure-activedirectory-library-for-dotnet,AzureAD/m... | src/ADAL.Common/CommonAssemblyInfo.cs | src/ADAL.Common/CommonAssemblyInfo.cs | //----------------------------------------------------------------------
// Copyright (c) Microsoft Open Technologies, Inc.
// All Rights Reserved
// Apache License 2.0
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may ob... | //----------------------------------------------------------------------
// Copyright (c) Microsoft Open Technologies, Inc.
// All Rights Reserved
// Apache License 2.0
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may ob... | mit | C# |
a5e03696eed22800e819424ec4e12ebf1e112d66 | Update DefaultTokenManager.cs | WestDiscGolf/Fitbit.NET,aarondcoleman/Fitbit.NET,AlexGhiondea/Fitbit.NET,amammay/Fitbit.NET,AlexGhiondea/Fitbit.NET,WestDiscGolf/Fitbit.NET,aarondcoleman/Fitbit.NET,AlexGhiondea/Fitbit.NET,amammay/Fitbit.NET,WestDiscGolf/Fitbit.NET,amammay/Fitbit.NET,aarondcoleman/Fitbit.NET | Fitbit.Portable/OAuth2/DefaultTokenManager.cs | Fitbit.Portable/OAuth2/DefaultTokenManager.cs | namespace Fitbit.Api.Portable.OAuth2
{
using System.Collections.Generic;
using System.Net.Http;
using System.Threading.Tasks;
internal class DefaultTokenManager : ITokenManager
{
private static string FitbitOauthPostUrl => "https://api.fitbit.com/oauth2/token";
public async Task<O... | namespace Fitbit.Api.Portable.OAuth2
{
using System.Collections.Generic;
using System.Net.Http;
using System.Threading.Tasks;
internal class DefaultTokenManager : ITokenManager
{
private static string FitbitOauthPostUrl => "https://api.fitbit.com/oauth2/token";
public async Task<O... | mit | C# |
a43f006c16141d1ef5fbb73010ea3fdf204250bc | Bump version. | mios-fi/mios.payment | core/Properties/AssemblyInfo.cs | core/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: AssemblyTi... | 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: AssemblyTi... | bsd-2-clause | C# |
6dbccd34e00b4c8a7df557c038b2c9be01be3fbe | work done on menu slider | oussamabonnor1/Catcheep | Documents/Unity3D/Catcheep/Assets/Scripts/startMenuManager.cs | Documents/Unity3D/Catcheep/Assets/Scripts/startMenuManager.cs | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
using UnityEngine.UI;
public class startMenuManager : MonoBehaviour
{
public GameObject ScrollBarGameObject;
private Scrollbar ScrollBar;
private Vector2 startPosition;
private Vector2 en... | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
using UnityEngine.UI;
public class startMenuManager : MonoBehaviour
{
public GameObject ScrollRect;
// Use this for initialization
void Start () {
if( ScrollRect == null) ScrollRect = GameObjec... | mit | C# |
d5eb5d0f5168ff67b77c50952160d5f1ad089a02 | fix comment on IServer | jennings/Turbocharged.Beanstalk | src/Turbocharged.Beanstalk/IServer.cs | src/Turbocharged.Beanstalk/IServer.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Turbocharged.Beanstalk
{
/// <summary>
/// Provides methods useful for inspecting the status of a Beanstalk
/// server.
/// </summary>
public interface IServer
{
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Turbocharged.Beanstalk
{
/// <summary>
/// Provides methods useful for inserting jobs into Beanstalk.
/// </summary>
public interface IServer
{
/// <summary>
... | mit | C# |
14260e1e875a7f539ace2eeed39d16d856035de0 | Add tracking bug links | DamianEdwards/RazorPagesSample,DamianEdwards/RazorPagesSample | RazorPagesSample/Customers/SeparatePageModels/Index.cshtml.cs | RazorPagesSample/Customers/SeparatePageModels/Index.cshtml.cs | using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
using Microsoft.AspNetCore.Mvc.Rendering;
using Microsoft.EntityFrameworkCore;
namespace RazorPages.Customers
{
public class CustomersPageModel : PageModel
{... |
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
using Microsoft.AspNetCore.Mvc.Rendering;
using Microsoft.EntityFrameworkCore;
namespace RazorPages.Customers
{
public class CustomersPageModel : PageModel
... | mit | C# |
8c116d40f72c669e8975fdaef2dfb9f7792aa8f0 | fix bug | 100poisha/MaybeFailure,100poisha/MaybeFailure | Source/Maybe/Maybe/Maybe/Maybe.DictionaryExtension.cs | Source/Maybe/Maybe/Maybe/Maybe.DictionaryExtension.cs | using System.Collections.Generic;
namespace System
{
public static partial class Maybe
{
public static Option<TValue> MaybeGetValue<TKey, TValue>(this IDictionary<TKey, TValue> dictionary,
TKey key)
{
return Maybe.GetValue(dictionary, key);
}
public sta... | using System.Collections.Generic;
namespace System
{
public static partial class Maybe
{
public static Option<TValue> MaybeGetValue<TKey, TValue>(this IDictionary<TKey, TValue> dictionary,
TKey key)
{
return Maybe.GetValue(dictionary, key);
}
public sta... | mit | C# |
1094d88fd05c0ec2c8041a0cc6e3d3e275374fee | Change RedisSubscriberConnection externally owned in Autofac registration | appharbor/ConsolR,jrusbatch/compilify,vendettamit/compilify,appharbor/ConsolR,vendettamit/compilify,jrusbatch/compilify | Web/Infrastructure/DependencyInjection/RedisModule.cs | Web/Infrastructure/DependencyInjection/RedisModule.cs | using Autofac;
using BookSleeve;
using Compilify.Web.Services;
namespace Compilify.Web.Infrastructure.DependencyInjection
{
public class RedisModule : Module
{
protected override void Load(ContainerBuilder builder)
{
builder.Register(x => RedisConnectionGateway.Current)
... | using Autofac;
using BookSleeve;
using Compilify.Web.Services;
namespace Compilify.Web.Infrastructure.DependencyInjection
{
public class RedisModule : Module
{
protected override void Load(ContainerBuilder builder)
{
builder.Register(x => RedisConnectionGateway.Current)
... | mit | C# |
fe5314ea98bfe0c05d04ea55609190a8a2a0e4f0 | Remove old comment | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore | src/Microsoft.Net.Http.Server/NativeInterop/ComNetOS.cs | src/Microsoft.Net.Http.Server/NativeInterop/ComNetOS.cs | // Copyright (c) Microsoft Open Technologies, Inc.
// 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
//
// THIS CODE ... | // Copyright (c) Microsoft Open Technologies, Inc.
// 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
//
// THIS CODE ... | apache-2.0 | C# |
0e93b5f21fff938634751c8c99e3095496800466 | Optimize heading HtmlRenderer | christophano/markdig,lunet-io/markdig | src/Textamina.Markdig/Renderers/Html/HeadingRenderer.cs | src/Textamina.Markdig/Renderers/Html/HeadingRenderer.cs | // Copyright (c) Alexandre Mutel. All rights reserved.
// This file is licensed under the BSD-Clause 2 license.
// See the license.txt file in the project root for more information.
using System.Globalization;
using Textamina.Markdig.Syntax;
namespace Textamina.Markdig.Renderers.Html
{
/// <summary>
/// An HT... | // Copyright (c) Alexandre Mutel. All rights reserved.
// This file is licensed under the BSD-Clause 2 license.
// See the license.txt file in the project root for more information.
using System.Globalization;
using Textamina.Markdig.Syntax;
namespace Textamina.Markdig.Renderers.Html
{
/// <summary>
/// An HT... | bsd-2-clause | C# |
3df08ccae5d200c4204eed7997e127999b5dd6ef | remove newline | Voxelgon/Voxelgon,Voxelgon/Voxelgon | Assets/Plugins/Voxelgon/Spacecraft/ShipManager.cs | Assets/Plugins/Voxelgon/Spacecraft/ShipManager.cs | using UnityEngine;
using System;
using System.Collections;
using System.Collections.Generic;
using Voxelgon;
[RequireComponent (typeof (Rigidbody))]
public class ShipManager : MonoBehaviour {
public float portTransCutoff = 5;
//Setup Variables for gathering Ports
public enum Direction{
YawLeft,
YawRight,
... | using UnityEngine;
using System;
using System.Collections;
using System.Collections.Generic;
using Voxelgon;
[RequireComponent (typeof (Rigidbody))]
public class ShipManager : MonoBehaviour {
public float portTransCutoff = 5;
//Setup Variables for gathering Ports
public enum Direction{
YawLeft,
YawRight,
... | apache-2.0 | C# |
52806d4337e6f044668020818484d44abfce0e74 | Remove an unused field | adrianbanks/BroadbandSpeedStats,adrianbanks/BroadbandSpeedStats,adrianbanks/BroadbandSpeedStats,adrianbanks/BroadbandSpeedStats | NetgearRouter.Tests/Devices/DevicesParserTests.cs | NetgearRouter.Tests/Devices/DevicesParserTests.cs | using System.Linq;
using BroadbandStats.NetgearRouter.Devices;
using NUnit.Framework;
using Shouldly;
namespace NetgearRouter.Tests.Devices
{
[TestFixture]
public sealed class DevicesParserTests
{
[TestCase(null)]
[TestCase("")]
[TestCase(" ")]
public void ParsingShouldFai... | using System.Linq;
using BroadbandStats.NetgearRouter.Devices;
using NUnit.Framework;
using Shouldly;
namespace NetgearRouter.Tests.Devices
{
[TestFixture]
public sealed class DevicesParserTests
{
[TestCase(null)]
[TestCase("")]
[TestCase(" ")]
public void ParsingShouldFai... | mit | C# |
49766fcf63d82c0e2b14c125b405265ead695f8a | Fix ignored id when reading views | bwatts/Totem,bwatts/Totem | Source/Totem.Runtime/Timeline/ViewDbOperations.cs | Source/Totem.Runtime/Timeline/ViewDbOperations.cs | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using Totem.Runtime.Map.Timeline;
namespace Totem.Runtime.Timeline
{
/// <summary>
/// Extends <see cref="IViewDb"/> with core operations
/// </summary>
[EditorBrowsable(EditorBrowsableState.Never)]
public static... | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using Totem.Runtime.Map.Timeline;
namespace Totem.Runtime.Timeline
{
/// <summary>
/// Extends <see cref="IViewDb"/> with core operations
/// </summary>
[EditorBrowsable(EditorBrowsableState.Never)]
public static... | mit | C# |
45d406f98e77c0547e76170fd3b64eee9ed81c4d | Add integer matrices, WIP | ajlopez/TensorSharp | Src/TensorSharp/Operations/AddIntegerOperation.cs | Src/TensorSharp/Operations/AddIntegerOperation.cs | namespace TensorSharp.Operations
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
public class AddIntegerOperation : INode<int>
{
private INode<int> left;
private INode<int> right;
private int rank;
private int[... | namespace TensorSharp.Operations
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
public class AddIntegerOperation : INode<int>
{
private INode<int> left;
private INode<int> right;
private int rank;
private int[... | mit | C# |
db515fe3d591eca4277ce2c46a689a3a18f2b483 | Fix Uap TFM to include Aot | ChadNedzlek/buildtools,MattGal/buildtools,ChadNedzlek/buildtools,stephentoub/buildtools,AlexGhiondea/buildtools,nguerrera/buildtools,MattGal/buildtools,crummel/dotnet_buildtools,weshaggard/buildtools,nguerrera/buildtools,ericstj/buildtools,JeremyKuhne/buildtools,joperezr/buildtools,ericstj/buildtools,tarekgh/buildtools... | src/xunit.netcore.extensions/TargetFrameworkMonikers.cs | src/xunit.netcore.extensions/TargetFrameworkMonikers.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;
namespace Xunit
{
[Flags]
public enum TargetFrameworkMonikers
{
Net45 = 0x1,
... | // 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;
namespace Xunit
{
[Flags]
public enum TargetFrameworkMonikers
{
Net45 = 0x1,
... | mit | C# |
7fe8c4e04189a821cbeb6f17e7a9747776816691 | Support params usage as input for tests | martincostello/adventofcode,martincostello/adventofcode,martincostello/adventofcode,martincostello/adventofcode | tests/AdventOfCode.Tests/Puzzles/PuzzleTestHelpers.cs | tests/AdventOfCode.Tests/Puzzles/PuzzleTestHelpers.cs | // Copyright (c) Martin Costello, 2015. All rights reserved.
// Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information.
namespace MartinCostello.AdventOfCode.Puzzles
{
using Xunit;
/// <summary>
/// A class containing methods for helping to test puzzle... | // Copyright (c) Martin Costello, 2015. All rights reserved.
// Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information.
namespace MartinCostello.AdventOfCode.Puzzles
{
using Xunit;
/// <summary>
/// A class containing methods for helping to test puzzl... | apache-2.0 | C# |
8c5800a94cb6ea52251539c809d476365b3277d0 | Update Index.cshtml.cs | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore | src/ProjectTemplates/Web.ProjectTemplates/content/RazorPagesWeb-CSharp/Pages/Index.cshtml.cs | src/ProjectTemplates/Web.ProjectTemplates/content/RazorPagesWeb-CSharp/Pages/Index.cshtml.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
using Microsoft.Extensions.Logging;
namespace Company.WebApplication1.Pages
{
public class IndexModel : PageModel
{
private readon... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
using Microsoft.Extensions.Logging;
namespace Company.WebApplication1.Pages
{
public class IndexModel : PageModel
{
private readon... | apache-2.0 | C# |
133321228f9d20aa70ee7ba0073c3fe10926c5c9 | Add IServiceResolver | AspectCore/Abstractions,AspectCore/AspectCore-Framework,AspectCore/Lite,AspectCore/AspectCore-Framework | src/IoC/src/AspectCore.Extensions.IoC/ServiceDefinition.cs | src/IoC/src/AspectCore.Extensions.IoC/ServiceDefinition.cs | using System;
using System.Collections.Generic;
using System.Text;
namespace AspectCore.Extensions.IoC
{
public abstract class ServiceDefinition
{
}
}
| using System;
using System.Collections.Generic;
using System.Text;
namespace AspectCore.Extensions.IoC
{
public class ServiceDefinition
{
}
}
| mit | C# |
9611a30c37d8f9c782f46efebac2f4a5efdff7aa | Test Commit for Slack Integration | benthroop/Frankenweapon | Assets/Scripts/AIController.cs | Assets/Scripts/AIController.cs | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class AIController : MonoBehaviour
{
public UnityEngine.AI.NavMeshAgent agent { get; private set; } // the navmesh agent required for the path finding
public Transform target; // tar... | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class AIController : MonoBehaviour
{
public UnityEngine.AI.NavMeshAgent agent { get; private set; } // the navmesh agent required for the path finding
public Transform target; // tar... | mit | C# |
b2374c9d7cd4da8e48fb6e6312ebae0e6a20bcc1 | Tackle with damage immunity | Carveca/ProjectBurningSteel | Assets/Scripts/EnergyScript.cs | Assets/Scripts/EnergyScript.cs | using UnityEngine;
using System.Collections;
public class EnergyScript : MonoBehaviour
{
public float maxEnergy = 100.0f;
public float currentEnergy;
public float boostCostModifier = 5.0f;
public float boostRechargeModifier = 20.0f;
public float attritionModifier = 10.0f;
public float immuni... | using UnityEngine;
using System.Collections;
public class EnergyScript : MonoBehaviour
{
public float maxEnergy = 100.0f;
public float currentEnergy;
public float boostCostModifier = 5.0f;
public float boostRechargeModifier = 20.0f;
public float attritionModifier = 10.0f;
void Start()
{... | apache-2.0 | C# |
bbc860a24afaeb66681351ba8633832d17677dde | Fix issue with checking header value | pekkah/tanka,pekkah/tanka,pekkah/tanka | src/Web/Infrastructure/AppHarborCompatibilityExtensions.cs | src/Web/Infrastructure/AppHarborCompatibilityExtensions.cs | namespace Tanka.Web.Infrastructure
{
using System;
using System.Linq;
using global::Nancy;
using global::Nancy.Responses;
public static class AppHarborCompatibilityExtensions
{
public static void RequiresHttpsOrXProto(this INancyModule module, bool redirect = true)
{
... | namespace Tanka.Web.Infrastructure
{
using System;
using System.Linq;
using global::Nancy;
using global::Nancy.Responses;
public static class AppHarborCompatibilityExtensions
{
public static void RequiresHttpsOrXProto(this INancyModule module, bool redirect = true)
{
... | mit | C# |
784d6db0554393973975387fab8fa97bed492de2 | Fix an issue with assembly binding which prevents the tests from running by removing the AssemblyCulture. | timmkrause/AspNet.Identity.OracleProvider | src/AspNet.Identity.OracleProvider/Properties/AssemblyInfo.cs | src/AspNet.Identity.OracleProvider/Properties/AssemblyInfo.cs | // Copyright (c) Timm Krause. All rights reserved. See LICENSE file in the project root for license information.
using System.Diagnostics.CodeAnalysis;
using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("AspNet.Identity.OracleProvider")]
[assembly: AssemblyDescription("ASP.NET Id... | // Copyright (c) Timm Krause. All rights reserved. See LICENSE file in the project root for license information.
using System.Diagnostics.CodeAnalysis;
using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("AspNet.Identity.OracleProvider")]
[assembly: AssemblyDescription("ASP.NET Id... | mit | C# |
20fc4272a093b75ff80cb93910637442e47cb15a | Update model project to minor version 11 | galtrold/propeller.mvc,galtrold/propeller.mvc,galtrold/propeller.mvc,galtrold/propeller.mvc,galtrold/propeller.mvc | src/Framework/PropellerMvcModel/Properties/AssemblyInfo.cs | src/Framework/PropellerMvcModel/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("Pr... | 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("Pr... | mit | C# |
29aa9005379ee9256c77f3a0ef04d33d3c7290db | Bump version to 1.0.1 | HangfireIO/Hangfire.Dashboard.Authorization | Hangfire.Dashboard.Authorization/Properties/AssemblyInfo.cs | Hangfire.Dashboard.Authorization/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Hangfire.Dashboard.Authorization")]
[asse... | using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Hangfire.Dashboard.Authorization")]
[asse... | mit | C# |
748d64ad030a235c3cf080058a2fe4414cd08b42 | Add placeholder version numbers to AssemblyInfo. Appveyor cannot patch without them. | DogusTeknoloji/BatMap | BatMap/Properties/AssemblyInfo.cs | BatMap/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("BatMap - Convention-based fast mapper")]
... | using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("BatMap - Convention-based fast mapper")]
... | mit | C# |
eaaef0c763200e01da0cf7de39ed74862704ffc6 | fix off by one | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi.Gui/Controls/LockScreen/LockScreenViewModel.cs | WalletWasabi.Gui/Controls/LockScreen/LockScreenViewModel.cs | using System;
using ReactiveUI;
using System.Reactive.Disposables;
using WalletWasabi.Helpers;
using System.Reactive.Linq;
using WalletWasabi.Gui.ViewModels;
namespace WalletWasabi.Gui.Controls.LockScreen
{
public class LockScreenViewModel : ViewModelBase
{
private CompositeDisposable Disposables { get; }
publi... | using System;
using ReactiveUI;
using System.Reactive.Disposables;
using WalletWasabi.Helpers;
using System.Reactive.Linq;
using WalletWasabi.Gui.ViewModels;
namespace WalletWasabi.Gui.Controls.LockScreen
{
public class LockScreenViewModel : ViewModelBase
{
private CompositeDisposable Disposables { get; }
publi... | mit | C# |
69ca17cb264d0b8eb93b3a63ed01fb935c99a3f4 | Update OpenIddictCustomizer to inherit from RelationalModelCustomizer instead of ModelCustomizer | openiddict/openiddict-core,openiddict/openiddict-core,openiddict/openiddict-core,openiddict/openiddict-core,openiddict/core,openiddict/openiddict-core,openiddict/core | src/OpenIddict.EntityFrameworkCore/OpenIddictCustomizer.cs | src/OpenIddict.EntityFrameworkCore/OpenIddictCustomizer.cs | /*
* Licensed under the Apache License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0)
* See https://github.com/openiddict/openiddict-core for more information concerning
* the license and the contributors participating to this project.
*/
using System;
using JetBrains.Annotations;
using Microsoft.Entit... | /*
* Licensed under the Apache License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0)
* See https://github.com/openiddict/openiddict-core for more information concerning
* the license and the contributors participating to this project.
*/
using System;
using JetBrains.Annotations;
using Microsoft.Entit... | apache-2.0 | C# |
7a50974800017f0a3ea08b89ad8fcc0ea18e1512 | Make FileModel internal. | maraf/WebCamImageCollector | src/WebCamImageCollector.Background/Capturing/FileModel.cs | src/WebCamImageCollector.Background/Capturing/FileModel.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Windows.Storage.Streams;
namespace WebCamImageCollector.Capturing
{
internal sealed class FileModel
{
public IInputStream Content { get; private set; }
public l... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Windows.Storage.Streams;
namespace WebCamImageCollector.Capturing
{
public sealed class FileModel
{
public IInputStream Content { get; private set; }
public lon... | apache-2.0 | C# |
59f53559d01ac211276a17f1e96d848f4166b6c1 | Fix null exception | Serasvatie/Parakeet | Parakeet/Parakeet/View/ResultWindow/ResultWindow.xaml.cs | Parakeet/Parakeet/View/ResultWindow/ResultWindow.xaml.cs | using Manager;
using Parakeet.ViewModel.ResultWindow;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows;
namespace Parakeet.View.ResultWindow
{
/// <summary>
/// Logique d'interaction pour ResultWindow.xaml
/// </summary>
public partial class ResultWindow : Window
{
privat... | using Manager;
using Parakeet.ViewModel.ResultWindow;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows;
namespace Parakeet.View.ResultWindow
{
/// <summary>
/// Logique d'interaction pour ResultWindow.xaml
/// </summary>
public partial class ResultWindow : Window
{
privat... | mit | C# |
bd64b17c53f8c6e21c7ba072283af36bd800eea6 | Bump version | InEngine-NET/InEngine.NET,InEngine-NET/InEngine.NET,InEngine-NET/InEngine.NET | configuration/SharedAssemblyInfo.cs | configuration/SharedAssemblyInfo.cs | using System.Reflection;
// Assembly Info that is shared across the product
[assembly: AssemblyProduct("InEngine.NET")]
[assembly: AssemblyVersion("2.0.2.*")]
[assembly: AssemblyInformationalVersion("2.0.2")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Ethan Hann")]
[assembly: AssemblyCopyright... | using System.Reflection;
// Assembly Info that is shared across the product
[assembly: AssemblyProduct("InEngine.NET")]
[assembly: AssemblyVersion("2.0.1.*")]
[assembly: AssemblyInformationalVersion("2.0.1")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Ethan Hann")]
[assembly: AssemblyCopyright... | mit | C# |
bcbd0e096165cd7d1cf3ad871e43b9fc1a79e3e6 | Revert ctor param | ppy/osu,peppy/osu,smoogipoo/osu,peppy/osu,peppy/osu,smoogipoo/osu,smoogipoo/osu,peppy/osu-new,NeoAdonis/osu,NeoAdonis/osu,ppy/osu,NeoAdonis/osu,ppy/osu,smoogipooo/osu | osu.Game.Rulesets.Osu/Skinning/Legacy/LegacyApproachCircle.cs | osu.Game.Rulesets.Osu/Skinning/Legacy/LegacyApproachCircle.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.Game.Rulesets.Objects.Drawables;
using osu.Game.Skinning;
using osu... | // 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.Game.Rulesets.Objects.Drawables;
using osu.Game.Skinning;
using osu... | mit | C# |
4ea890e229f29aa67eaef340f8d16d993548c4fb | Update RelativeRectComparer.cs | wieslawsoltes/Perspex,AvaloniaUI/Avalonia,SuperJMN/Avalonia,kekekeks/Perspex,jkoritzinsky/Perspex,AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,wieslawsoltes/Perspex,MrDaedra/Avalonia,SuperJMN/Avalonia,wieslawsoltes/Perspex,SuperJMN/Avalonia,jkoritzinsky/Avalonia,jkoritzinsky/Avalonia,Perspex/Perspex,SuperJMN/Avalonia,jkorit... | tests/Perspex.SceneGraph.UnitTests/RelativeRectComparer.cs | tests/Perspex.SceneGraph.UnitTests/RelativeRectComparer.cs | // Copyright (c) The Perspex Project. All rights reserved.
// Licensed under the MIT license. See licence.md file in the project root for full license information.
using System;
using System.Collections.Generic;
namespace Perspex.SceneGraph.UnitTests
{
public class RelativeRectComparer : IEqualityComparer<Relativ... | // Copyright (c) The Perspex Project. All rights reserved.
// Licensed under the MIT license. See licence.md file in the project root for full license information.
using System;
using System.Collections.Generic;
namespace Perspex.SceneGraph.UnitTests
{
public class RelativeRectComparer : IEqualityComparer<Relativ... | mit | C# |
495cb3a3bde1a9101c3a6c721c4f1e73bf96be90 | Add missing using | wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,Core2D/Core2D,wieslawsoltes/Core2D,Core2D/Core2D | src/Core2D.Avalonia/Dock/Handlers/DropHelper.cs | src/Core2D.Avalonia/Dock/Handlers/DropHelper.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 Avalonia;
using Avalonia.Controls;
using Avalonia.Controls.PanAndZoom;
using Avalonia.Input;
using Avalonia.VisualTree;
namespace Core2D.Avalonia.Dock.Handl... | // 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 Avalonia;
using Avalonia.Controls;
using Avalonia.Controls.PanAndZoom;
using Avalonia.Input;
namespace Core2D.Avalonia.Dock.Handlers
{
public static cla... | mit | C# |
cf77dbf081a07275e2f7e1b985291ea058737113 | Use `RegexOptions.ECMAScript` | mariomka/regex-benchmark,mariomka/regex-benchmark,mariomka/regex-benchmark,mariomka/regex-benchmark,mariomka/regex-benchmark,mariomka/regex-benchmark,mariomka/regex-benchmark,mariomka/regex-benchmark,mariomka/regex-benchmark,mariomka/regex-benchmark,mariomka/regex-benchmark,mariomka/regex-benchmark,mariomka/regex-bench... | csharp/Benchmark.cs | csharp/Benchmark.cs | using System;
using System.IO;
using System.Text.RegularExpressions;
using System.Diagnostics;
class Benchmark
{
static void Main(string[] args)
{
if (args.Length != 1)
{
Console.WriteLine("Usage: benchmark <filename>");
Environment.Exit(1);
}
StreamRea... | using System;
using System.IO;
using System.Text.RegularExpressions;
using System.Diagnostics;
class Benchmark
{
static void Main(string[] args)
{
if (args.Length != 1)
{
Console.WriteLine("Usage: benchmark <filename>");
Environment.Exit(1);
}
StreamRea... | mit | C# |
2381e83d50851042b6eb416c006fdaea87ab8ddb | update version vue | sjoerd222888/MVVM.CEF.Glue,NeutroniumCore/Neutronium,sjoerd222888/MVVM.CEF.Glue,sjoerd222888/MVVM.CEF.Glue,David-Desmaisons/Neutronium,David-Desmaisons/Neutronium,NeutroniumCore/Neutronium,David-Desmaisons/Neutronium,NeutroniumCore/Neutronium | JavascriptFramework/Vue/VueVersions.cs | JavascriptFramework/Vue/VueVersions.cs | using Neutronium.Core.Infra;
namespace Neutronium.JavascriptFramework.Vue
{
internal class VueVersions : IVueVersion
{
public string FrameworkName { get; }
public string Name { get; }
public string VueVersion { get; }
internal static VueVersions Vue1 { get; } = new VueVersions... | using Neutronium.Core.Infra;
namespace Neutronium.JavascriptFramework.Vue
{
internal class VueVersions : IVueVersion
{
public string FrameworkName { get; }
public string Name { get; }
public string VueVersion { get; }
internal static VueVersions Vue1 { get; } = new VueVersions... | mit | C# |
2f28c3b217e6da1d93f81b03a40ea2e1f86bc8a0 | Make CodeAction registration as lightweight | bbarry/roslyn,orthoxerox/roslyn,panopticoncentral/roslyn,TyOverby/roslyn,KevinRansom/roslyn,davkean/roslyn,swaroop-sridhar/roslyn,OmarTawfik/roslyn,a-ctor/roslyn,bbarry/roslyn,srivatsn/roslyn,AArnott/roslyn,CaptainHayashi/roslyn,balajikris/roslyn,VSadov/roslyn,wvdd007/roslyn,cston/roslyn,diryboy/roslyn,mattscheffer/ros... | src/Features/Core/Portable/CodeFixes/PreferFrameworkType/PreferFrameworkTypeCodeFixProvider.cs | src/Features/Core/Portable/CodeFixes/PreferFrameworkType/PreferFrameworkTypeCodeFixProvider.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.Collections.Immutable;
using System.Composition;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.CodeActions;... | // 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.Collections.Immutable;
using System.Composition;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.CodeActions;... | mit | C# |
f1b337ad32de86c2e4cbb0140bc19685e803bc4f | Bump library version to 0.1 | smaeul/7DaysToolbox | SDTD.Config/Properties/AssemblyInfo.cs | SDTD.Config/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("SD... | 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("SD... | mit | C# |
bf2bd0970e6ec93ba0d21b3c6b00b9682e0106de | Update AdUnitBundle.cs | tiksn/TIKSN-Framework | TIKSN.Core/Advertising/AdUnitBundle.cs | TIKSN.Core/Advertising/AdUnitBundle.cs | using System;
namespace TIKSN.Advertising
{
public class AdUnitBundle
{
public AdUnitBundle(AdUnit designTime, AdUnit production)
{
this.DesignTime = designTime ?? throw new ArgumentNullException(nameof(designTime));
this.Production = production ?? throw new ArgumentNul... | using System;
namespace TIKSN.Advertising
{
public class AdUnitBundle
{
public AdUnitBundle(AdUnit designTime, AdUnit production)
{
DesignTime = designTime ?? throw new ArgumentNullException(nameof(designTime));
Production = production ?? throw new ArgumentNullException... | mit | C# |
1842dc1ef1b73d00cdb30c7153d2ac2c3bef3fc0 | rename S_WHISPER.PlayerId -> GameId | Foglio1024/Tera-custom-cooldowns,Foglio1024/Tera-custom-cooldowns | TeraPacketParser/Messages/S_WHISPER.cs | TeraPacketParser/Messages/S_WHISPER.cs |
namespace TeraPacketParser.Messages
{
public class S_WHISPER : ParsedMessage
{
public ulong GameId { get; private set; }
public string Author { get; private set; }
public string Recipient { get; private set; }
public string Message { get; private set; }
public S_WHISP... |
namespace TeraPacketParser.Messages
{
public class S_WHISPER : ParsedMessage
{
public ulong PlayerId { get; private set; }
public string Author { get; private set; }
public string Recipient { get; private set; }
public string Message { get; private set; }
public S_WHI... | mit | C# |
2d19f3e11890a042da0e8d558d28c67e6d8ee7d8 | modify enumerator test to use existed GetEnumerator to solve the issue. | AxeDotNet/AxePractice.CSharpViaTest | src/CSharpViaTest.Collections/10_SkippedEnumeratorPractice.cs | src/CSharpViaTest.Collections/10_SkippedEnumeratorPractice.cs | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using Xunit;
namespace CSharpViaTest.Collections
{
public class SkippedEnumeratorPractice
{
class SkippedEnumerable<T> : IEnumerable<T>
{
readonly ICollection<T> collection;
pu... | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using Xunit;
namespace CSharpViaTest.Collections
{
public class SkippedEnumeratorPractice
{
class SkippedEnumerable<T> : IEnumerable<T>
{
readonly ICollection<T> collection;
pu... | mit | C# |
880bbf697f33ce8bb6379fe2eea8d847b44fd686 | Add ILinkable to UserLinkViewModel | leotsarev/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net,leotsarev/joinrpg-net,joinrpg/joinrpg-net,joinrpg/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net | src/JoinRpg.WebPortal.Models/UserProfile/UserLinkViewModel.cs | src/JoinRpg.WebPortal.Models/UserProfile/UserLinkViewModel.cs | using System;
using JoinRpg.DataModel;
using JoinRpg.Domain;
using JoinRpg.Services.Interfaces;
namespace JoinRpg.Web.Models.UserProfile
{
public record UserLinkViewModel(
int UserId,
string DisplayName)
: ILinkable
{
public UserLinkViewModel(User user) : this(user.UserId, user.... | using JoinRpg.DataModel;
using JoinRpg.Domain;
namespace JoinRpg.Web.Models.UserProfile
{
public record UserLinkViewModel(
int UserId,
string DisplayName)
{
public UserLinkViewModel(User user) : this(user.UserId, user.GetDisplayName().Trim())
{
}
public static ... | mit | C# |
244ef6df54703a085a8d6345c737e13ba28a786b | Store and reuse health status for health checks (#36102) | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore | src/Middleware/HealthChecks/src/HealthCheckResponseWriters.cs | src/Middleware/HealthChecks/src/HealthCheckResponseWriters.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System.Text;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Diagnostics.HealthChecks;
namespace Microsoft.AspNetCore.Diagnostics.HealthChecks
{
internal stati... | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Diagnostics.HealthChecks;
namespace Microsoft.AspNetCore.Diagnostics.HealthChecks
{
in... | apache-2.0 | C# |
33d04df1b959fbab9e01af47d5f22a5d9d1d374a | Refactor stream name definition | PKI-InVivo/reactive-domain | src/ReactiveDomain.Foundation/EventStore/StreamNameBuilder.cs | src/ReactiveDomain.Foundation/EventStore/StreamNameBuilder.cs | using System;
namespace ReactiveDomain.Foundation.EventStore
{
/// <summary>
/// Class responsible for generating standard stream names which follow a specific formating: [lowercaseprefix].[camelCaseName]-[id]
/// </summary>
public class StreamNameBuilder
{
private readonly string _prefix;... | using System;
namespace ReactiveDomain.Foundation.EventStore
{
/// <summary>
/// Class responsible for generating standard stream names which follow a specific formating: [lowercaseprefix].[camelCaseName]-[id]
/// </summary>
public class StreamNameBuilder
{
private readonly string _prefix;... | mit | C# |
1f111297c04720c10be10a7df53aed46faf0e0d9 | Update Program.cs | natintosh/Numerical-Methods | NumericalMethods/LUDecomposition/LUDecomposition/Program.cs | NumericalMethods/LUDecomposition/LUDecomposition/Program.cs | using System;
namespace LUDecomposition
{
class MainClass:NumericalMethods
{
public static void Main()
{
Double[,] matrix = {
{ 25, 5, 1, 106.8 },
{ 64, 8, 1, 177.2 },
{ 144, 12, 1, 292.2 } };
Decompostion decomposition = new Decompostion(matrix);
... | using System;
namespace LUDecomposition
{
class MainClass:NumericalMethods
{
public static void Main()
{
Double[,] linearEquation = {
{ 25, 5, 1, 106.8 },
{ 64, 8, 1, 177.2 },
{ 144, 12, 1, 292.2 } };
Decompostion decomposition = new Decompostion(matrix);
... | mit | C# |
942c5de889cd21bd79b27ccb33fff95a8998ef05 | remove an incorrect line | projectkudu/SiteExtensionGallery,mtian/SiteExtensionGallery,grenade/NuGetGallery_download-count-patch,skbkontur/NuGetGallery,grenade/NuGetGallery_download-count-patch,skbkontur/NuGetGallery,ScottShingler/NuGetGallery,projectkudu/SiteExtensionGallery,mtian/SiteExtensionGallery,projectkudu/SiteExtensionGallery,ScottShing... | tests/NuGetGallery.FunctionalTests/LinksTests/LinksTests.cs | tests/NuGetGallery.FunctionalTests/LinksTests/LinksTests.cs | using FluentLinkChecker;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Microsoft.VisualStudio.TestTools.WebTesting;
using NuGetGallery.FunctionTests.Helpers;
using System;
using System.Collections.Specialized;
using System.IO;
using System.Net;
using System.Text;
using System.Web.UI;
namespace NuGetGaller... | using FluentLinkChecker;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Microsoft.VisualStudio.TestTools.WebTesting;
using NuGetGallery.FunctionTests.Helpers;
using System;
using System.Collections.Specialized;
using System.IO;
using System.Net;
using System.Text;
using System.Web.UI;
namespace NuGetGaller... | apache-2.0 | C# |
675d50e8bd29db9164a4c0c87f51b1d33168150b | Return correct keys | toddams/RazorLight,toddams/RazorLight | samples/RazorLight.Samples/EntityFrameworkRazorLightProject.cs | samples/RazorLight.Samples/EntityFrameworkRazorLightProject.cs | using RazorLight.Razor;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore;
namespace Samples.EntityFrameworkProject
{
public class EntityFrameworkRazorLightProject : RazorLightProject
{
private readonly AppDbCont... | using RazorLight.Razor;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore;
namespace Samples.EntityFrameworkProject
{
public class EntityFrameworkRazorLightProject : RazorLightProject
{
private readonly AppDbCont... | apache-2.0 | C# |
f5de2d6d2fe9fffd9709a6cbeb90bfa87996e096 | Fix link to evaluation | mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander | Battery-Commander.Web/Views/Reports/EvaluationUpdated.cshtml | Battery-Commander.Web/Views/Reports/EvaluationUpdated.cshtml | @model BatteryCommander.Web.Models.Evaluation
<h1>@Model.Ratee</h1>
<table border="1">
<tbody>
<tr>
<td>Soldier</td>
<td>@Model.Ratee</td>
</tr>
<tr>
<td>Rater</td>
<td>@Model.Rater</td>
</tr>
<tr>
<td>SR Rater</td... | @model BatteryCommander.Web.Models.Evaluation
<h1>@Model.Ratee</h1>
<table border="1">
<tbody>
<tr>
<td>Soldier</td>
<td>@Model.Ratee</td>
</tr>
<tr>
<td>Rater</td>
<td>@Model.Rater</td>
</tr>
<tr>
<td>SR Rater</td... | mit | C# |
10ed7680022ecee1c9e4ea9357c497d564d4e597 | Test for TanhGrad | migueldeicaza/TensorFlowSharp,migueldeicaza/TensorFlowSharp,migueldeicaza/TensorFlowSharp | tests/TensorFlowSharp.Tests.CSharp/MathTests.cs | tests/TensorFlowSharp.Tests.CSharp/MathTests.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TensorFlow;
using Xunit;
namespace TensorFlowSharp.Tests.CSharp
{
public class MathTests
{
[Fact]
public void Should_CalculateTanhGrad_Correctly ()
{
using (TFGraph graph = new TFGraph ... | using System.Collections.Generic;
using TensorFlow;
using Xunit;
namespace TensorFlowSharp.Tests.CSharp
{
public class MathTests
{
private static IEnumerable<object []> reduceMeanData ()
{
// Example from https://www.tensorflow.org/api_docs/python/tf/reduce_mean
// # 'x' is [[1., 1.]
// # [2., ... | mit | C# |
eadef53e68cd1612f8bb0b0a6d7260f5631ad07f | Add more annotations | ppy/osu,NeoAdonis/osu,NeoAdonis/osu,UselessToucan/osu,ppy/osu,UselessToucan/osu,peppy/osu,NeoAdonis/osu,smoogipoo/osu,smoogipoo/osu,ppy/osu,smoogipooo/osu,peppy/osu-new,peppy/osu,peppy/osu,UselessToucan/osu,smoogipoo/osu | osu.Game/Online/Multiplayer/MultiplayerScoresAround.cs | osu.Game/Online/Multiplayer/MultiplayerScoresAround.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 JetBrains.Annotations;
using Newtonsoft.Json;
namespace osu.Game.Online.Multiplayer
{
/// <summary>
/// An object which stores scores higher and lower than... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using Newtonsoft.Json;
namespace osu.Game.Online.Multiplayer
{
/// <summary>
/// An object which stores scores higher and lower than the user's score.
/// </... | mit | C# |
e4529ad5381acca1bc962aa051e6093994ddc19a | Fix PopIn/Out being run before a VisibilityContainer is added to the scene graph | ppy/osu-framework,EVAST9919/osu-framework,smoogipooo/osu-framework,ZLima12/osu-framework,ZLima12/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,peppy/osu-framework,DrabWeb/osu-framework,DrabWeb/osu-framework,Tom94/osu-framework,EVAST9919/osu-framework,Tom94/osu-framework,smoogipooo/osu-fr... | osu.Framework/Graphics/Containers/VisibilityContainer.cs | osu.Framework/Graphics/Containers/VisibilityContainer.cs | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using System;
namespace osu.Framework.Graphics.Containers
{
/// <summary>
/// A container which adds a basic visibility state.
/// </sum... | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using System;
namespace osu.Framework.Graphics.Containers
{
/// <summary>
/// A container which adds a basic visibility state.
/// </sum... | mit | C# |
9ed47b9f07d070dc5a405af3699c39e52924ebb8 | Fix multithreading issue in MockedConsole (#34) | mgrosperrin/commandlineparser | tests/MGR.CommandLineParser.IntegrationTests/MockedConsole.cs | tests/MGR.CommandLineParser.IntegrationTests/MockedConsole.cs | using System;
using System.Text;
namespace MGR.CommandLineParser.IntegrationTests
{
internal class MockedConsole : IConsole
{
[ThreadStatic]
private static MockedConsole _currentConsole = new MockedConsole();
public static MockedConsole CurrentConsole => _currentConsole = _currentConso... | using System;
using System.Text;
namespace MGR.CommandLineParser.IntegrationTests
{
internal class MockedConsole : IConsole
{
[ThreadStatic]
private static readonly MockedConsole _currentConsole = new MockedConsole();
public static MockedConsole CurrentConsole => _currentConsole;
... | mit | C# |
75a226b126a84abf56c655f76a9193c3c70358ac | make test less coupled | gregsochanik/SevenDigital.Api.Wrapper,mattgray/SevenDigital.Api.Wrapper,bnathyuw/SevenDigital.Api.Wrapper,danbadge/SevenDigital.Api.Wrapper,minkaotic/SevenDigital.Api.Wrapper,AnthonySteele/SevenDigital.Api.Wrapper,danhaller/SevenDigital.Api.Wrapper,bettiolo/SevenDigital.Api.Wrapper,luiseduardohdbackup/SevenDigital.Api.... | src/SevenDigital.Api.Wrapper.Integration.Tests/EndpointTests/ArtistEndpoint/ArtistDetailsTests.cs | src/SevenDigital.Api.Wrapper.Integration.Tests/EndpointTests/ArtistEndpoint/ArtistDetailsTests.cs | using System.Threading;
using NUnit.Framework;
using SevenDigital.Api.Schema.ArtistEndpoint;
namespace SevenDigital.Api.Wrapper.Integration.Tests.EndpointTests.ArtistEndpoint
{
[TestFixture]
public class ArtistDetailsTests
{
[Test]
public void Can_hit_endpoint_with_fluent_interface()
{
var art... | using System.Threading;
using NUnit.Framework;
using SevenDigital.Api.Schema.ArtistEndpoint;
namespace SevenDigital.Api.Wrapper.Integration.Tests.EndpointTests.ArtistEndpoint
{
[TestFixture]
public class ArtistDetailsTests
{
[Test]
public void Can_hit_endpoint_with_fluent_interface()
{
var artist = Api<... | mit | C# |
5f67135c6139e08bbf860053048cc9dd66a8a8fb | Change load event of UI component to from Awake to Start | patchkit-net/patchkit-integration-unity | src/Assets/Plugins/PatchKit/Scripts/UI/UIApiComponent.cs | src/Assets/Plugins/PatchKit/Scripts/UI/UIApiComponent.cs | using System.Collections;
using PatchKit.Api;
using UnityEngine;
namespace PatchKit.Unity.UI
{
public abstract class UIApiComponent : MonoBehaviour
{
private Coroutine _loadCoroutine;
private bool _isDirty;
private ApiConnection _apiConnection;
public bool LoadOnStart = true... | using System.Collections;
using PatchKit.Api;
using UnityEngine;
namespace PatchKit.Unity.UI
{
public abstract class UIApiComponent : MonoBehaviour
{
private Coroutine _loadCoroutine;
private bool _isDirty;
private ApiConnection _apiConnection;
public bool LoadOnAwake = true... | mit | C# |
f6376e23cd13ce165d1012bf41bb3cf1569e9520 | test a custom create operator | deftom/fitsharp,deftom/fitsharp,deftom/fitsharp | source/fitSharpTest/NUnit/Fit/CellProcessorBaseTest.cs | source/fitSharpTest/NUnit/Fit/CellProcessorBaseTest.cs | // Copyright © 2010 Syterra Software Inc. All rights reserved.
// The use and distribution terms for this software are covered by the Common Public License 1.0 (http://opensource.org/licenses/cpl.php)
// which can be found in the file license.txt at the root of this distribution. By using this software in any fashion,... | // Copyright © 2010 Syterra Software Inc. All rights reserved.
// The use and distribution terms for this software are covered by the Common Public License 1.0 (http://opensource.org/licenses/cpl.php)
// which can be found in the file license.txt at the root of this distribution. By using this software in any fashion,... | epl-1.0 | C# |
c726049f2378c906a6f64695bb9abc90693dce25 | Fix worker filename | henrikstengaard/hstwb-installer,henrikstengaard/hstwb-installer,henrikstengaard/hstwb-installer,henrikstengaard/hstwb-installer,henrikstengaard/hstwb-installer,henrikstengaard/hstwb-installer | src/HstWbInstaller.Imager.GuiApp/Helpers/WorkerHelper.cs | src/HstWbInstaller.Imager.GuiApp/Helpers/WorkerHelper.cs | namespace HstWbInstaller.Imager.GuiApp.Helpers
{
using System;
using System.IO;
using System.Linq;
public static class WorkerHelper
{
public static string GetExecutingFile()
{
return Environment.GetCommandLineArgs().FirstOrDefault();
}
public static str... | namespace HstWbInstaller.Imager.GuiApp.Helpers
{
using System;
using System.IO;
using System.Linq;
public static class WorkerHelper
{
public static string GetExecutingFile()
{
return Environment.GetCommandLineArgs().FirstOrDefault();
}
public st... | mit | C# |
74b01fdf80837bea191787406bb055735506fe49 | fix typo (#2770) | open-telemetry/opentelemetry-dotnet,open-telemetry/opentelemetry-dotnet,open-telemetry/opentelemetry-dotnet | src/OpenTelemetry.Api/Metrics/MeterProviderBuilder.cs | src/OpenTelemetry.Api/Metrics/MeterProviderBuilder.cs | // <copyright file="MeterProviderBuilder.cs" company="OpenTelemetry Authors">
// Copyright The OpenTelemetry Authors
//
// 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.a... | // <copyright file="MeterProviderBuilder.cs" company="OpenTelemetry Authors">
// Copyright The OpenTelemetry Authors
//
// 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.a... | apache-2.0 | C# |
41b0cc82116e90b58c427734d7be5d86e9f23d8b | Remove singleton from sample | haderach75/Webjobs.Extensions.NetCore.Eventstore | src/Webjobs.Extensions.Eventstore.Sample/Functions.cs | src/Webjobs.Extensions.Eventstore.Sample/Functions.cs | using System;
using System.Collections.Generic;
using EventStore.ClientAPI;
using Microsoft.Azure.WebJobs;
using Webjobs.Extensions.NetCore.Eventstore;
using Webjobs.Extensions.NetCore.Eventstore.Impl;
namespace Webjobs.Extensions.Eventstore.Sample
{
public class Functions
{
private readonly IEventPub... | using System;
using System.Collections.Generic;
using EventStore.ClientAPI;
using Microsoft.Azure.WebJobs;
using Webjobs.Extensions.NetCore.Eventstore;
using Webjobs.Extensions.NetCore.Eventstore.Impl;
namespace Webjobs.Extensions.Eventstore.Sample
{
public class Functions
{
private readonly IEventPub... | mit | C# |
2b1e44894bae29e5038b1b2ed826a897ac04c5dc | Fix a bug leading to the printing of the same unmute time for all muted users. | Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW | MitternachtWeb/Areas/Moderation/Controllers/MutesController.cs | MitternachtWeb/Areas/Moderation/Controllers/MutesController.cs | using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using Mitternacht.Modules.Administration.Services;
using Mitternacht.Services;
using MitternachtWeb.Areas.Moderation.Models;
using MitternachtWeb.Exceptions;
using System;
using System.Linq;
using System.Thre... | using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using Mitternacht.Modules.Administration.Services;
using Mitternacht.Services;
using MitternachtWeb.Areas.Moderation.Models;
using MitternachtWeb.Exceptions;
using System;
using System.Linq;
using System.Thre... | mit | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.