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 |
|---|---|---|---|---|---|---|---|---|
e905b9a94741faf6d08e7664e25dbb574ad608f7 | clean up code | IvanZheng/IFramework,IvanZheng/IFramework,IvanZheng/IFramework | Src/iFramework/Infrastructure/UniqueConstrainExceptionParser.cs | Src/iFramework/Infrastructure/UniqueConstrainExceptionParser.cs | using System;
using System.Data.Common;
using System.Linq;
namespace IFramework.Infrastructure
{
public class UniqueConstrainExceptionParser : IUniqueConstrainExceptionParser
{
public bool IsUniqueConstrainException(Exception exception, string[] uniqueConstrainNames)
{
var needRetr... | using System;
using System.Collections.Generic;
using System.Data.Common;
using System.Linq;
using System.Text;
namespace IFramework.Infrastructure
{
public class UniqueConstrainExceptionParser: IUniqueConstrainExceptionParser
{
public bool IsUniqueConstrainException(Exception exception, string[] uniq... | mit | C# |
82e136549e9f04ec88718f505af6de580d7c71cd | Fix for Issue #1. | thegoldenmule/UnityInEnglish | MonoBehavior.cs | MonoBehavior.cs | namespace UnityEngine
{
public class MonoBehavior : MonoBehaviour
{
// proper English codes
}
}
| public class MonoBehavior : UnityEngine.MonoBehaviour
{
// proper English
}
| mit | C# |
03c5e7653b23fb43244be68086d360e62c626708 | Add one more discovery test | siyo-wang/IdentityServer4,MienDev/IdentityServer4,IdentityServer/IdentityServer4,jbijlsma/IdentityServer4,jbijlsma/IdentityServer4,jbijlsma/IdentityServer4,MienDev/IdentityServer4,IdentityServer/IdentityServer4,chrisowhite/IdentityServer4,siyo-wang/IdentityServer4,siyo-wang/IdentityServer4,chrisowhite/IdentityServer4,c... | test/IdentityServer.IntegrationTests/Clients/DiscoveryClient.cs | test/IdentityServer.IntegrationTests/Clients/DiscoveryClient.cs | // Copyright (c) Brock Allen & Dominick Baier. All rights reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.
using FluentAssertions;
using IdentityModel.Client;
using IdentityServer4.IntegrationTests.Clients;
using Microsoft.AspNetCore.Hosting;
usin... | // Copyright (c) Brock Allen & Dominick Baier. All rights reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.
using IdentityModel.Client;
using IdentityServer4.IntegrationTests.Clients;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.T... | apache-2.0 | C# |
5a8692ad6690e3ba842e79d63802928cf7ac49c7 | Bump version to 1.1 | mhutch/MonoDevelop.AddinMaker,mhutch/MonoDevelop.AddinMaker | Properties/AddinInfo.cs | Properties/AddinInfo.cs | using System;
using Mono.Addins;
using Mono.Addins.Description;
[assembly:Addin (
"AddinMaker",
Namespace = "MonoDevelop",
Version = "1.1.0",
Url = "http://github.com/mhutch/MonoDevelop.AddinMaker"
)]
[assembly:AddinName ("Addin Maker")]
[assembly:AddinCategory ("Addin Development")]
[assembly:AddinDescription (... | using System;
using Mono.Addins;
using Mono.Addins.Description;
[assembly:Addin (
"AddinMaker",
Namespace = "MonoDevelop",
Version = "1.0.1",
Url = "http://github.com/mhutch/MonoDevelop.AddinMaker"
)]
[assembly:AddinName ("Addin Maker")]
[assembly:AddinCategory ("Addin Development")]
[assembly:AddinDescription (... | mit | C# |
69882b39f9181bdfb84159ec93b37cffa7b0a9d4 | Remove unused import. | sshnet/SSH.NET | src/Renci.SshNet.Tests/Classes/Messages/Transport/KeyExchangeDhGroupExchangeReplyBuilder.cs | src/Renci.SshNet.Tests/Classes/Messages/Transport/KeyExchangeDhGroupExchangeReplyBuilder.cs | using System.Text;
using Renci.SshNet.Common;
using Renci.SshNet.Messages.Transport;
namespace Renci.SshNet.Tests.Classes.Messages.Transport
{
public class KeyExchangeDhGroupExchangeReplyBuilder
{
private byte[] _hostKeyAlgorithm;
private byte[] _hostKeys;
private BigInteger _f;
... | using System.Collections.Generic;
using System.Text;
using Renci.SshNet.Common;
using Renci.SshNet.Messages.Transport;
namespace Renci.SshNet.Tests.Classes.Messages.Transport
{
public class KeyExchangeDhGroupExchangeReplyBuilder
{
private byte[] _hostKeyAlgorithm;
private byte[] _hostKeys;
... | mit | C# |
32fe2d0fbc1bdd8b33eb20d99cb2e7da112bfe4c | Fix comment (spelling). | Microsoft/ApplicationInsights-SDK-Labs | AggregateMetrics/AggregateMetrics/AzureWebApp/Implementation/AzureWebEnvironmentVariables.cs | AggregateMetrics/AggregateMetrics/AzureWebApp/Implementation/AzureWebEnvironmentVariables.cs | namespace Microsoft.ApplicationInsights.Extensibility.AggregateMetrics.AzureWebApp
{
using System;
/// <summary>
/// Enum for Azure Web App environment variables.
/// </summary>
[Flags]
public enum AzureWebApEnvironmentVariables
{
/// <summary>
/// ASP.NET.
/// </su... | namespace Microsoft.ApplicationInsights.Extensibility.AggregateMetrics.AzureWebApp
{
using System;
/// <summary>
/// Enum for Azure Web App environment variables.
/// </summary>
[Flags]
public enum AzureWebApEnvironmentVariables
{
/// <summary>
/// ASP.NET.
/// </su... | mit | C# |
933c694487c96763af1c03b0160ddf427540a403 | Add ":" to default suffix | Deliay/osuSync,Deliay/Sync | Sync/IRC/MessageFilter/Filters/DefaultFormat.cs | Sync/IRC/MessageFilter/Filters/DefaultFormat.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Sync.IRC.MessageFilter.Filters
{
class DefaultFormat : FilterBase, IDanmaku, IOsu
{
public override void onMsg(ref MessageBase msg)
{
msg.user.setPerfix("<"... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Sync.IRC.MessageFilter.Filters
{
class DefaultFormat : FilterBase, IDanmaku, IOsu
{
public override void onMsg(ref MessageBase msg)
{
msg.user.setPerfix("<"... | mit | C# |
c360fb58b78c13db8c68ae8194c56e87e3cf784c | Update AdUnitSelectorOptions.cs | tiksn/TIKSN-Framework | TIKSN.Core/Advertising/AdUnitSelectorOptions.cs | TIKSN.Core/Advertising/AdUnitSelectorOptions.cs | namespace TIKSN.Advertising
{
public class AdUnitSelectorOptions
{
public AdUnitSelectorOptions()
{
this.IsDebuggerSensitive = true;
this.IsDebug = false;
}
public bool IsDebuggerSensitive { get; set; }
public bool IsDebug { get; set; }
}
}
| namespace TIKSN.Advertising
{
public class AdUnitSelectorOptions
{
public AdUnitSelectorOptions()
{
IsDebuggerSensitive = true;
IsDebug = false;
}
public bool IsDebuggerSensitive { get; set; }
public bool IsDebug { get; set; }
}
} | mit | C# |
079c4797886504deea292014f6dbbeaccd4d3bcf | Update Wiki.cs | arcaneex/hash,arcaneex/hash,arcaneex/hash,arcaneex/hash | RohBot/Commands/Wiki.cs | RohBot/Commands/Wiki.cs | namespace RohBot.Commands
{
public class Wiki : Command
{
public override string Type { get { return "wiki"; } }
public override string Format(CommandTarget target, string type) { return "]"; }
public override void Handle(CommandTarget target, string type, string[] parameters)
... | namespace RohBot.Commands
{
public class Wiki : Command
{
public override string Type { get { return "wiki"; } }
public override string Format(CommandTarget target, string type) { return "]"; }
public override void Handle(CommandTarget target, string type, string[] parameters)
... | mit | C# |
0fbdd5eacb473a1b4e00c06da0fc465ef294161b | Fix test | EVAST9919/osu-framework,ppy/osu-framework,ppy/osu-framework,peppy/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,ZLima12/osu-framework,EVAST9919/osu-framework,ZLima12/osu-framework,EVAST9919/osu-framework | osu.Framework.Tests/Visual/Containers/TestSceneCompositeAsync.cs | osu.Framework.Tests/Visual/Containers/TestSceneCompositeAsync.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using NUnit.Framework;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
namespace osu.Framework.Tests.Visual.Containers
{
public class TestScen... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using NUnit.Framework;
using osu.Framework.Graphics.Containers;
namespace osu.Framework.Tests.Visual.Containers
{
public class TestSceneCompositeAsync : FrameworkTes... | mit | C# |
8b78536a110f9470adb29d6a29e6c9135db3fee6 | Change File Info repository save method, file info can now be updated. | LykkeCity/CompetitionPlatform,LykkeCity/CompetitionPlatform,LykkeCity/CompetitionPlatform | src/CompetitionPlatform/Data/AzureRepositories/Project/ProjectFileInfoRepository.cs | src/CompetitionPlatform/Data/AzureRepositories/Project/ProjectFileInfoRepository.cs | using System.Threading.Tasks;
using AzureStorage.Tables;
using Microsoft.WindowsAzure.Storage.Table;
namespace CompetitionPlatform.Data.AzureRepositories.Project
{
public class ProjectFileInfoEntity : TableEntity, IProjectFileInfoData
{
public static string GeneratePartitionKey()
{
... | using System.Threading.Tasks;
using AzureStorage.Tables;
using Microsoft.WindowsAzure.Storage.Table;
namespace CompetitionPlatform.Data.AzureRepositories.Project
{
public class ProjectFileInfoEntity : TableEntity, IProjectFileInfoData
{
public static string GeneratePartitionKey()
{
... | mit | C# |
cbbad7c74affdbeeea2927df5246df7fb0990cb7 | Change name of daabase for IoC | generik0/Smooth.IoC.Dapper.Repository.UnitOfWork,generik0/Smooth.IoC.Dapper.Repository.UnitOfWork | src/Smooth.IoC.Dapper.Repository.UnitOfWork.Tests/TestHelpers/MyDatabaseSettings.cs | src/Smooth.IoC.Dapper.Repository.UnitOfWork.Tests/TestHelpers/MyDatabaseSettings.cs | using NUnit.Framework;
namespace Smooth.IoC.Dapper.FastCRUD.Repository.UnitOfWork.Tests.TestHelpers
{
public class MyDatabaseSettings : IMyDatabaseSettings
{
public string ConnectionString { get; } = $@"Data Source={TestContext.CurrentContext.TestDirectory}\IoCTests.db;Version=3;New=True;BinaryGUID=Fa... | using NUnit.Framework;
namespace Smooth.IoC.Dapper.FastCRUD.Repository.UnitOfWork.Tests.TestHelpers
{
public class MyDatabaseSettings : IMyDatabaseSettings
{
public string ConnectionString { get; } = $@"Data Source={TestContext.CurrentContext.TestDirectory}\Tests.db;Version=3;New=True;BinaryGUID=False... | mit | C# |
02853394825dde73cf0534190ee83b97468feffa | Add CancellationContext comment | PowerShell/PowerShellEditorServices | src/PowerShellEditorServices/Services/PowerShell/Utility/CancellationContext.cs | src/PowerShellEditorServices/Services/PowerShell/Utility/CancellationContext.cs | using System;
using System.Collections.Concurrent;
using System.Threading;
namespace Microsoft.PowerShell.EditorServices.Services.PowerShell.Utility
{
/// <summary>
/// Encapsulates the scoping logic for cancellation tokens.
/// As PowerShell commands nest, this class maintains a stack of cancellation sco... | using System;
using System.Collections.Concurrent;
using System.Threading;
namespace Microsoft.PowerShell.EditorServices.Services.PowerShell.Utility
{
internal class CancellationContext
{
private readonly ConcurrentStack<CancellationTokenSource> _cancellationSourceStack;
public CancellationCo... | mit | C# |
9e7278ab028f84c0818efb84f975e1e46e98b0f6 | 修复一个低级Bug. :bug: | Automao/Automao.Data | src/Mapping/ProcedureNode.cs | src/Mapping/ProcedureNode.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Linq;
namespace Automao.Data.Mapping
{
public class ProcedureNode
{
#region 字段
private System.Type _entityType;
private string _name;
private string _procedure;
private stri... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Linq;
namespace Automao.Data.Mapping
{
public class ProcedureNode
{
#region 字段
private System.Type _entityType;
private string _name;
private string _procedure;
private stri... | lgpl-2.1 | C# |
12ec7b59ecd1f1db8de32ab5a9b79c43cbc69c3a | Change CAT spawn sound. | fr1tz/rotc-ethernet-game,fr1tz/rotc-ethernet-game,fr1tz/rotc-ethernet-game,fr1tz/rotc-ethernet-game | game/server/base/cats.sfx.cs | game/server/base/cats.sfx.cs | //------------------------------------------------------------------------------
// Revenge Of The Cats: Ethernet
// Copyright (C) 2008, mEthLab Interactive
//------------------------------------------------------------------------------
//------------------------------------------------------------------------------
... | //------------------------------------------------------------------------------
// Revenge Of The Cats: Ethernet
// Copyright (C) 2008, mEthLab Interactive
//------------------------------------------------------------------------------
//------------------------------------------------------------------------------
... | lgpl-2.1 | C# |
456885256a8643158fbd7adf190a72c385a7f552 | Bump nuget version number to 0.1.2, includes HaleSerializer | mdsol/crichton-dotnet,edandersen/Edsoft.Hypermedia,edandersen/Edsoft.Hypermedia | src/Crichton.Representors/Properties/AssemblyInfo.cs | src/Crichton.Representors/Properties/AssemblyInfo.cs | using System.Resources;
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.
usin... | using System.Resources;
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.
usin... | mit | C# |
b48dc8ed456a89096033c5a325a9e7650d1255a7 | Revert "=test2" | Peymanpn/FilenameHelper | Renamer/Program.cs | Renamer/Program.cs | using System;
using System.Collections.Generic;
using System.Windows.Forms;
namespace Renamer
{
static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main()
{
//Test
Application.E... | using System;
using System.Collections.Generic;
using System.Windows.Forms;
namespace Renamer
{
static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main()
{
//Test
//test 2
... | apache-2.0 | C# |
be5169aa5a1f4f37fcb3636f79e6aad5ff941849 | Add null checks | generik0/Smooth.IoC.Dapper.Repository.UnitOfWork,generik0/Smooth.IoC.Dapper.Repository.UnitOfWork | src/Smooth.IoC.Dapper.Repository.UnitOfWork/Data/DbConnection.cs | src/Smooth.IoC.Dapper.Repository.UnitOfWork/Data/DbConnection.cs | using System;
using System.Data;
namespace Smooth.IoC.Dapper.Repository.UnitOfWork.Data
{
public abstract class DbConnection : IDbConnection
{
private readonly IDbFactory _factory;
public IDbConnection Connection { get; protected set; }
public IsolationLevel IsolationLevel { get; }
... | using System;
using System.Data;
namespace Smooth.IoC.Dapper.Repository.UnitOfWork.Data
{
public abstract class DbConnection : IDbConnection
{
private readonly IDbFactory _factory;
public IDbConnection Connection { get; protected set; }
public IsolationLevel IsolationLevel { get; }
... | mit | C# |
a057c2e89eaa7c7701ff7b78fe7979656c42f577 | Deploy 1.0.0. | Faithlife/Parsing | SolutionInfo.cs | SolutionInfo.cs | using System.Reflection;
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyCompany("Faithlife Corporation")]
[assembly: AssemblyCopyright("Copyright 2016 Faithlife Corporation")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
| using System.Reflection;
[assembly: AssemblyVersion("0.1.5.0")]
[assembly: AssemblyCompany("Faithlife Corporation")]
[assembly: AssemblyCopyright("Copyright 2016 Faithlife Corporation")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
| mit | C# |
8eca12bd624e253c6c54ac7f2acb390774b297e8 | Fix layers content type rule to not include stereotypes (#8868) | xkproject/Orchard2,xkproject/Orchard2,stevetayloruk/Orchard2,xkproject/Orchard2,stevetayloruk/Orchard2,xkproject/Orchard2,stevetayloruk/Orchard2,stevetayloruk/Orchard2,stevetayloruk/Orchard2,xkproject/Orchard2 | src/OrchardCore.Modules/OrchardCore.Rules/Drivers/ContentTypeConditionEvaluatorDriver.cs | src/OrchardCore.Modules/OrchardCore.Rules/Drivers/ContentTypeConditionEvaluatorDriver.cs | using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using OrchardCore.ContentManagement;
using OrchardCore.ContentManagement.Display.ContentDisplay;
using OrchardCore.ContentManagement.Metadata.Settings;
using OrchardCore.DisplayManagement;
using OrchardCore.DisplayManagement.Handlers;
using O... | using System.Collections.Generic;
using System.Threading.Tasks;
using OrchardCore.ContentManagement;
using OrchardCore.ContentManagement.Display.ContentDisplay;
using OrchardCore.ContentManagement.Metadata.Settings;
using OrchardCore.DisplayManagement;
using OrchardCore.DisplayManagement.Handlers;
using OrchardCore.Dis... | bsd-3-clause | C# |
77447127d1828d912b227a66f9193944daebce57 | Fix ShipMapper: relation to CargoContainer | peopleware/net-ppwcode-vernacular-nhibernate | src/PPWCode.Vernacular.NHibernate.I.Tests/RepositoryWithDtoMapping/Mappers/ShipMapper.cs | src/PPWCode.Vernacular.NHibernate.I.Tests/RepositoryWithDtoMapping/Mappers/ShipMapper.cs | // Copyright 2017 by PeopleWare n.v..
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agree... | // Copyright 2017 by PeopleWare n.v..
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agree... | apache-2.0 | C# |
f77e260ae834634fa0d49e6d5ba5719cb2497fe6 | Extend OperatorOverloadsSample | ulrichb/ImplicitNullability,ulrichb/ImplicitNullability,ulrichb/ImplicitNullability | Src/ImplicitNullability.Samples.CodeWithIN/NullabilityAnalysis/OperatorOverloadsSample.cs | Src/ImplicitNullability.Samples.CodeWithIN/NullabilityAnalysis/OperatorOverloadsSample.cs | using System;
using JetBrains.Annotations;
using static ImplicitNullability.Samples.CodeWithIN.ReSharper;
namespace ImplicitNullability.Samples.CodeWithIN.NullabilityAnalysis
{
public static class OperatorOverloadsSample
{
public class Simple
{
public static int operator +(Simple l... | using System;
using JetBrains.Annotations;
using static ImplicitNullability.Samples.CodeWithIN.ReSharper;
namespace ImplicitNullability.Samples.CodeWithIN.NullabilityAnalysis
{
public static class OperatorOverloadsSample
{
public class Simple
{
public static int operator +(Simple l... | mit | C# |
be741a3f46844a27055c1ddfada949b7d59a5eb8 | Update KeneticProjectileDamageInterity.cs | fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation | UnityProject/Assets/Scripts/Weapons/Projectiles/Behaviours/KeneticProjectileDamageInterity.cs | UnityProject/Assets/Scripts/Weapons/Projectiles/Behaviours/KeneticProjectileDamageInterity.cs | using UnityEngine;
using ScriptableObjects.Gun;
namespace Weapons.Projectiles.Behaviours
{
/// <summary>
/// Damages integrity on collision
/// only for kenetic weapons
/// </summary>
public class KeneticProjectileDamageInterity : MonoBehaviour, IOnShoot, IOnHit
{
private GameObject shooter;
private Gun wea... | using UnityEngine;
using ScriptableObjects.Gun;
namespace Weapons.Projectiles.Behaviours
{
/// <summary>
/// Damages integrity on collision
/// only for kenetic weapons
/// </summary>
public class KeneticProjectileDamageInterity : MonoBehaviour, IOnShoot, IOnHit
{
private GameObject shooter;
private Gun wea... | agpl-3.0 | C# |
c1dfd37d3c5489061f79ddf1196ac4884a588f86 | Add TODO for flay restore url test | cstlaurent/elasticsearch-net,KodrAus/elasticsearch-net,KodrAus/elasticsearch-net,elastic/elasticsearch-net,UdiBen/elasticsearch-net,KodrAus/elasticsearch-net,cstlaurent/elasticsearch-net,adam-mccoy/elasticsearch-net,CSGOpenSource/elasticsearch-net,azubanov/elasticsearch-net,azubanov/elasticsearch-net,UdiBen/elasticsear... | src/Tests/Modules/SnapshotAndRestore/Restore/RestoreApiTests.cs | src/Tests/Modules/SnapshotAndRestore/Restore/RestoreApiTests.cs | using System;
using System.IO;
using Elasticsearch.Net;
using Nest;
using Tests.Framework;
using Tests.Framework.Integration;
using Xunit;
namespace Tests.Modules.SnapshotAndRestore.Restore
{
// TODO HitsTheCorrectUrl is flaky here, sometimes it fails sometimes it passes
[Collection(IntegrationContext.Indexing)]
p... | using System;
using System.IO;
using Elasticsearch.Net;
using Nest;
using Tests.Framework;
using Tests.Framework.Integration;
using Xunit;
namespace Tests.Modules.SnapshotAndRestore.Restore
{
[Collection(IntegrationContext.Indexing)]
public class RestoreApiTests
: ApiIntegrationTestBase<IRestoreResponse, IRestor... | apache-2.0 | C# |
243417c97bd97e293ad4f6e2c5d25c7d4b82b1b0 | change to serilog logger to unwrap the LogMessage correctly to get the format and arguments, and also make the ctor public so I could get it to work. | adamhathcock/akka.net,naveensrinivasan/akka.net,eisendle/akka.net,willieferguson/akka.net,rodrigovidal/akka.net,skotzko/akka.net,rogeralsing/akka.net,forki/akka.net,nvivo/akka.net,AntoineGa/akka.net,nvivo/akka.net,forki/akka.net,willieferguson/akka.net,JeffCyr/akka.net,Silv3rcircl3/akka.net,zbrad/akka.net,jordansjones/... | src/contrib/loggers/Akka.Serilog/Event/Serilog/SerilogLogger.cs | src/contrib/loggers/Akka.Serilog/Event/Serilog/SerilogLogger.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Akka.Actor;
using Akka.Event;
using Serilog;
namespace Akka.Serilog.Event.Serilog
{
public class SerilogLogger : ReceiveActor
{
private readonly LoggingAdapter _log = Logging.GetLo... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Akka.Actor;
using Akka.Event;
using Serilog;
namespace Akka.Serilog.Event.Serilog
{
public class SerilogLogger : ReceiveActor
{
private readonly LoggingAdapter _log = Logging.GetLo... | apache-2.0 | C# |
b2f9a68e231bb9a53d5bd9cd1b0630326188ab92 | use preferred api | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi.Gui/Controls/WalletExplorer/ClosedWalletViewModel.cs | WalletWasabi.Gui/Controls/WalletExplorer/ClosedWalletViewModel.cs | using AvalonStudio.Extensibility;
using ReactiveUI;
using Splat;
using System;
using System.IO;
using System.Linq;
using System.Reactive;
using System.Reactive.Linq;
using System.Threading;
using WalletWasabi.Gui.Helpers;
using WalletWasabi.Logging;
using WalletWasabi.Wallets;
namespace WalletWasabi.Gui.Controls.Walle... | using AvalonStudio.Extensibility;
using ReactiveUI;
using Splat;
using System;
using System.IO;
using System.Linq;
using System.Reactive;
using System.Reactive.Linq;
using System.Threading;
using WalletWasabi.Gui.Helpers;
using WalletWasabi.Logging;
using WalletWasabi.Wallets;
namespace WalletWasabi.Gui.Controls.Walle... | mit | C# |
1b5d4f2cfc0fa928c8c0f030810e67645c1a239c | Make HtmlContentFormatterTests use MockFileSystem | blorgbeard/pickles,irfanah/pickles,magicmonty/pickles,magicmonty/pickles,blorgbeard/pickles,picklesdoc/pickles,picklesdoc/pickles,irfanah/pickles,dirkrombauts/pickles,blorgbeard/pickles,magicmonty/pickles,blorgbeard/pickles,dirkrombauts/pickles,irfanah/pickles,ludwigjossieaux/pickles,ludwigjossieaux/pickles,irfanah/pic... | src/Pickles/Pickles.Test/Formatters/HtmlContentFormatterTests.cs | src/Pickles/Pickles.Test/Formatters/HtmlContentFormatterTests.cs | using System;
using System.Xml.Linq;
using Autofac;
using Moq;
using NUnit.Framework;
using PicklesDoc.Pickles.DirectoryCrawler;
using PicklesDoc.Pickles.DocumentationBuilders.HTML;
using PicklesDoc.Pickles.Parser;
namespace PicklesDoc.Pickles.Test.Formatters
{
[TestFixture]
public class HtmlContentFormatterT... | using System;
using System.Xml.Linq;
using Autofac;
using Moq;
using NUnit.Framework;
using PicklesDoc.Pickles.DirectoryCrawler;
using PicklesDoc.Pickles.DocumentationBuilders.HTML;
using PicklesDoc.Pickles.Parser;
namespace PicklesDoc.Pickles.Test.Formatters
{
[TestFixture]
public class HtmlContentFormatterT... | apache-2.0 | C# |
dfeae2cc47d0eb8696b10d0bb0e12d267a09bfd2 | Simplify string replacement in template.json | mrward/monodevelop-template-creator-addin,mrward/monodevelop-template-creator-addin | src/MonoDevelop.TemplateCreator/MonoDevelop.Templating/TemplateInformationViewModel.cs | src/MonoDevelop.TemplateCreator/MonoDevelop.Templating/TemplateInformationViewModel.cs | //
// TemplateInformationViewModel.cs
//
// Author:
// Matt Ward <matt.ward@xamarin.com>
//
// Copyright (c) 2017 Xamarin Inc. (http://xamarin.com)
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
/... | //
// TemplateInformationViewModel.cs
//
// Author:
// Matt Ward <matt.ward@xamarin.com>
//
// Copyright (c) 2017 Xamarin Inc. (http://xamarin.com)
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
/... | mit | C# |
32a2a0ed99a23c06c6d7d544a9d44f9c837eeac6 | Add BitChoiceGroup component Documentation Comments (#560) | bit-foundation/bit-framework,bit-foundation/bit-framework,bit-foundation/bit-framework,bit-foundation/bit-framework | src/Client/Web/Bit.Client.Web.BlazorUI/Components/Inputs/BitChoiceGroup.razor.cs | src/Client/Web/Bit.Client.Web.BlazorUI/Components/Inputs/BitChoiceGroup.razor.cs | using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Components;
namespace Bit.Client.Web.BlazorUI
{
public partial class BitChoiceGroup
{
private readonly List<BitChoiceOption> _options = new();
/// <summary>
/// Name of ChoiceGroup... | using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Components;
namespace Bit.Client.Web.BlazorUI
{
public partial class BitChoiceGroup
{
private readonly List<BitChoiceOption> _options = new();
[Parameter] public string Name { get; set; } ... | mit | C# |
2e46a8b1ac3f7251db1936b1da1c4ae5d415c901 | Add useful overload for instruction remover | fistak/MaterialColor | Injector/InstructionRemover.cs | Injector/InstructionRemover.cs | using Mono.Cecil;
using Mono.Cecil.Cil;
using System.Linq;
namespace Injector
{
public class InstructionRemover
{
public InstructionRemover(ModuleDefinition targetModule)
{
_targetModule = targetModule;
}
ModuleDefinition _targetModule;
public void Replace... | using Mono.Cecil;
using Mono.Cecil.Cil;
using System.Linq;
namespace Injector
{
public class InstructionRemover
{
public InstructionRemover(ModuleDefinition targetModule)
{
_targetModule = targetModule;
}
ModuleDefinition _targetModule;
public void Replace... | mit | C# |
fe3878304f0a115a6451e24176c102d4adb42d4c | Fix connection bug for fresh environments | davghouse/Daves.DeepDataDuplicator | Daves.DeepDataDuplicator.IntegrationTests/SqlDatabaseSetup.cs | Daves.DeepDataDuplicator.IntegrationTests/SqlDatabaseSetup.cs | using Microsoft.Data.Tools.Schema.Sql.UnitTesting;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Data;
using System.Data.SqlClient;
using System.Transactions;
namespace Daves.DeepDataDuplicator.IntegrationTests
{
[TestClass]
public class SqlDatabaseSetup
{
[AssemblyInitialize]
... | using Microsoft.Data.Tools.Schema.Sql.UnitTesting;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Data;
using System.Data.SqlClient;
using System.Transactions;
namespace Daves.DeepDataDuplicator.IntegrationTests
{
[TestClass]
public class SqlDatabaseSetup
{
public static readonly... | mit | C# |
32c650c6413ee6d71cb0358d5cd802b461e63347 | fix force node test | adam-mccoy/elasticsearch-net,UdiBen/elasticsearch-net,RossLieberman/NEST,cstlaurent/elasticsearch-net,azubanov/elasticsearch-net,elastic/elasticsearch-net,adam-mccoy/elasticsearch-net,KodrAus/elasticsearch-net,CSGOpenSource/elasticsearch-net,KodrAus/elasticsearch-net,RossLieberman/NEST,UdiBen/elasticsearch-net,UdiBen/e... | src/Tests/ClientConcepts/ConnectionPooling/RequestOverrides/RespectsForceNode.cs | src/Tests/ClientConcepts/ConnectionPooling/RequestOverrides/RespectsForceNode.cs | using System;
using System.Threading.Tasks;
using Elasticsearch.Net;
using Tests.Framework;
using static Elasticsearch.Net.AuditEvent;
namespace Tests.ClientConcepts.ConnectionPooling.RequestOverrides
{
public class RespectsForceNode
{
/** == Forcing nodes
* Sometimes you might want to fire a single ... | using System;
using System.Threading.Tasks;
using Elasticsearch.Net;
using Tests.Framework;
using static Elasticsearch.Net.AuditEvent;
namespace Tests.ClientConcepts.ConnectionPooling.RequestOverrides
{
public class RespectsForceNode
{
/** == Forcing nodes
* Sometimes you might want to fire a single ... | apache-2.0 | C# |
4557f2a42fdd53fb1cce47f7f58f8948d5890be1 | update help message | MichaelSimons/cli,nguerrera/cli,JohnChen0/cli,Faizan2304/cli,AbhitejJohn/cli,mylibero/cli,blackdwarf/cli,johnbeisner/cli,ravimeda/cli,naamunds/cli,mlorbetske/cli,Faizan2304/cli,dasMulli/cli,mlorbetske/cli,EdwardBlair/cli,dasMulli/cli,mylibero/cli,AbhitejJohn/cli,MichaelSimons/cli,AbhitejJohn/cli,borgdylan/dotnet-cli,ha... | src/dotnet/commands/dotnet-help/HelpCommand.cs | src/dotnet/commands/dotnet-help/HelpCommand.cs | // Copyright (c) .NET Foundation and contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Reflection;
using Microsoft.DotNet.Cli.Utils;
namespace Microsoft.DotNet.Tools.Help
{
public class HelpCommand
{
p... | // Copyright (c) .NET Foundation and contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Reflection;
using Microsoft.DotNet.Cli.Utils;
namespace Microsoft.DotNet.Tools.Help
{
public class HelpCommand
{
p... | mit | C# |
5ab3700ebf44a8d4c81a3bcde4b5a2ba3e3d9de6 | Add more meaningful error messages while searching for plugin path | earalov/Skylines-ModTools | Debugger/Utils/FileUtil.cs | Debugger/Utils/FileUtil.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text.RegularExpressions;
using ColossalFramework.Plugins;
using ICities;
namespace ModTools.Utils
{
internal static class FileUtil
{
public static List<string> ListFilesInDirectory(string path, List<string... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text.RegularExpressions;
using ColossalFramework.Plugins;
using ICities;
namespace ModTools.Utils
{
internal static class FileUtil
{
public static List<string> ListFilesInDirectory(string path, List<string... | mit | C# |
df31bef8820d3513dd6d17a6cff4d07f5780de31 | Add help comment about test location (#82) | googleapis/gapic-generator-csharp,googleapis/gapic-generator-csharp | Google.Api.Generator.Tests/ProtoTests/ServerStreaming/Testing.ServerStreaming/ServerStreamingClient.cs | Google.Api.Generator.Tests/ProtoTests/ServerStreaming/Testing.ServerStreaming/ServerStreamingClient.cs | using gaxgrpc = Google.Api.Gax.Grpc;
namespace Testing.ServerStreaming
{
public abstract class ServerStreamingClient
{
// Class generation is tested in `BasicServerStreaming`.
public abstract class SignatureMethodStream : gaxgrpc::ServerStreamingBase<Response> { }
public SignatureMetho... | using gaxgrpc = Google.Api.Gax.Grpc;
namespace Testing.ServerStreaming
{
public abstract class ServerStreamingClient
{
public abstract class SignatureMethodStream : gaxgrpc::ServerStreamingBase<Response> { }
public SignatureMethodStream SignatureMethod(Request request, gaxgrpc::CallSettings ca... | apache-2.0 | C# |
20754426cde51331c05554c29048d0681bbe58d0 | Use SyntaxFactoryWriter in RoslynAssert.Ast() | JohanLarsson/Gu.Roslyn.Asserts | Gu.Roslyn.Asserts/RoslynAssert.Ast.cs | Gu.Roslyn.Asserts/RoslynAssert.Ast.cs | namespace Gu.Roslyn.Asserts
{
using Microsoft.CodeAnalysis;
public static partial class RoslynAssert
{
/// <summary>
/// Serializes the syntax tree and compares the strings.
/// This can be useful when having trouble getting whitespace right.
/// </summary>
/// <type... | namespace Gu.Roslyn.Asserts
{
using Microsoft.CodeAnalysis;
public static partial class RoslynAssert
{
/// <summary>
/// Serializes the syntax tree and compares the strings.
/// This can be useful when having trouble getting whitespace right.
/// </summary>
/// <type... | mit | C# |
cd000535eb44c1e80ca0703069f011b992c8e6ec | Add ToString() to LogEntry to help debugging | badescuga/kudu,sitereactor/kudu,shibayan/kudu,kali786516/kudu,EricSten-MSFT/kudu,barnyp/kudu,EricSten-MSFT/kudu,barnyp/kudu,EricSten-MSFT/kudu,puneet-gupta/kudu,projectkudu/kudu,chrisrpatterson/kudu,uQr/kudu,chrisrpatterson/kudu,barnyp/kudu,sitereactor/kudu,sitereactor/kudu,uQr/kudu,chrisrpatterson/kudu,bbauya/kudu,shi... | Kudu.Contracts/Deployment/LogEntry.cs | Kudu.Contracts/Deployment/LogEntry.cs | using System;
using System.Diagnostics.CodeAnalysis;
using Kudu.Contracts.Infrastructure;
using Newtonsoft.Json;
namespace Kudu.Core.Deployment
{
public class LogEntry : INamedObject
{
[JsonIgnore]
[SuppressMessage("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes", Just... | using System;
using System.Diagnostics.CodeAnalysis;
using Kudu.Contracts.Infrastructure;
using Newtonsoft.Json;
namespace Kudu.Core.Deployment
{
public class LogEntry : INamedObject
{
[JsonIgnore]
[SuppressMessage("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes", Just... | apache-2.0 | C# |
a4c3a17dd7f6e4ecace410c043b52dae73012138 | Bump version | Deadpikle/NetSparkle,Deadpikle/NetSparkle | AssemblyInfo.cs | 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... | mit | C# |
02099729a4fcb867f3bcb0ecaf7b04e605aa53ae | Bump for v0.7.0 | jrick/Paymetheus,decred/Paymetheus | Paymetheus/Properties/AssemblyInfo.cs | Paymetheus/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Windows;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated ... | using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Windows;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated ... | isc | C# |
660a86e83e9c7fa5ce0aac39e55e127b85b146ed | Make sure it writes to a place that will not cause errors in release. | rytz/MatterControl,jlewin/MatterControl,rytz/MatterControl,rytz/MatterControl,tellingmachine/MatterControl,gregory-diaz/MatterControl,ddpruitt/MatterControl,mmoening/MatterControl,larsbrubaker/MatterControl,unlimitedbacon/MatterControl,larsbrubaker/MatterControl,unlimitedbacon/MatterControl,ddpruitt/MatterControl,grego... | CrashTracker.cs | CrashTracker.cs | /*
Copyright (c) 2014, Lars Brubaker
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the follow... | /*
Copyright (c) 2014, Lars Brubaker
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the follow... | bsd-2-clause | C# |
242ce75fee7ade56fdbc62a9b7dfad900d729273 | Improve test coverage of LineColumn and ParseResult. | Faithlife/Parsing | tests/Faithlife.Parsing.Tests/CommonTests.cs | tests/Faithlife.Parsing.Tests/CommonTests.cs | using System.Linq;
using Xunit;
namespace Faithlife.Parsing.Tests
{
public class CommonTests
{
[Fact]
public void ResultShouldAlwaysSucceed()
{
Parser.Success(true).TryParse("").ShouldSucceed(true, 0);
Parser.Success(true).TryParse("x").ShouldSucceed(true, 0);
Parser.Success(true).TryPars... | using System.Linq;
using Xunit;
namespace Faithlife.Parsing.Tests
{
public class CommonTests
{
[Fact]
public void ResultShouldAlwaysSucceed()
{
Parser.Success(true).TryParse("").ShouldSucceed(true, 0);
Parser.Success(true).TryParse("x").ShouldSucceed(true, 0);
Parser.Success(true).TryPars... | mit | C# |
23800bbd9ebb7b700d1ae58c5f611820e6578da7 | Update comment | Archie-Yang/PcscDotNet | src/PcscDotNet/SCardReaderGroupExtensions.cs | src/PcscDotNet/SCardReaderGroupExtensions.cs | namespace PcscDotNet
{
/// <summary>
/// Extension method of SCardReaderGroup.
/// </summary>
public static class SCardReaderGroupExtensions
{
/// <summary>
/// Defined value of SCardReaderGroup.All.
/// </summary>
private const string All = "SCard$AllReaders\000";
... | namespace PcscDotNet
{
/// <summary>
/// Extension method of SCardReaderGroup.
/// </summary>
public static class SCardReaderGroupExtensions
{
/// <summary>
/// Defined value of SCardReaderGroup.All.
/// </summary>
private const string All = "SCard$AllReaders\000";
... | mit | C# |
fc50f1f149f7f66a6a7911f71fec94d4631136d1 | Update ConvertHelper | WeihanLi/WeihanLi.Common,WeihanLi/WeihanLi.Common,WeihanLi/WeihanLi.Common | src/WeihanLi.Common/Helpers/ConvertHelper.cs | src/WeihanLi.Common/Helpers/ConvertHelper.cs | using System.Net;
namespace WeihanLi.Common.Helpers;
public static class ConvertHelper
{
public static EndPoint ToEndPoint(string ipOrHost, int port)
{
if (IPAddress.TryParse(ipOrHost, out var address))
{
return new IPEndPoint(address, port);
}
return new DnsEndPoi... | using System.Net;
namespace WeihanLi.Common.Helpers;
public static class ConvertHelper
{
/// <summary>
/// ip或域名转换为 EndPoint
/// </summary>
/// <param name="ipOrHost">ipOrHost</param>
/// <param name="port">port</param>
/// <returns>EndPoint</returns>
public static EndPoint ToEndPoint(str... | mit | C# |
0f1aac396a6f36b04fb8881e37e566570c4d6f0e | Fix do_after cancellations | space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14 | Content.Shared/DoAfter/SharedDoAfterComponent.cs | Content.Shared/DoAfter/SharedDoAfterComponent.cs | using Robust.Shared.GameStates;
using Robust.Shared.Map;
using Robust.Shared.Serialization;
namespace Content.Shared.DoAfter
{
[NetworkedComponent()]
public abstract class SharedDoAfterComponent : Component
{
}
[Serializable, NetSerializable]
public sealed class DoAfterComponentState : Compone... | using Robust.Shared.GameStates;
using Robust.Shared.Map;
using Robust.Shared.Serialization;
namespace Content.Shared.DoAfter
{
[NetworkedComponent()]
public abstract class SharedDoAfterComponent : Component
{
}
[Serializable, NetSerializable]
public sealed class DoAfterComponentState : Compone... | mit | C# |
9f53b7d6e9cf522464901e8aed0c9e2b01cdce36 | Fix up Octokit.Rx | chunkychode/octokit.net,adamralph/octokit.net,gdziadkiewicz/octokit.net,darrelmiller/octokit.net,SamTheDev/octokit.net,gabrielweyer/octokit.net,octokit-net-test/octokit.net,editor-tools/octokit.net,rlugojr/octokit.net,fffej/octokit.net,ivandrofly/octokit.net,Sarmad93/octokit.net,devkhan/octokit.net,nsrnnnnn/octokit.net... | Octokit.Reactive/Helpers/ConnectionExtensions.cs | Octokit.Reactive/Helpers/ConnectionExtensions.cs | using System;
using System.Collections.Generic;
using System.Reactive.Linq;
using System.Reactive.Threading.Tasks;
namespace Octokit.Reactive.Internal
{
internal static class ConnectionExtensions
{
public static IObservable<T> GetAndFlattenAllPages<T>(this IConnection connection, Uri url, IDictionary<... | using System;
using System.Collections.Generic;
using System.Reactive.Linq;
using System.Reactive.Threading.Tasks;
namespace Octokit.Reactive.Internal
{
internal static class ConnectionExtensions
{
public static IObservable<T> GetAndFlattenAllPages<T>(this IConnection connection, Uri url, IDictionary<... | mit | C# |
085739cf562b569cb9effc69261ba3af8a1c22e2 | Fix NSwag to quote tool path | nuke-build/nuke,nuke-build/nuke,nuke-build/nuke,nuke-build/nuke | source/Nuke.Common/Tools/NSwag/NSwagSettings.cs | source/Nuke.Common/Tools/NSwag/NSwagSettings.cs | // Copyright 2019 Maintainers of NUKE.
// Distributed under the MIT License.
// https://github.com/nuke-build/nuke/blob/master/LICENSE
using System;
using System.Linq;
using JetBrains.Annotations;
using Nuke.Common.IO;
using Nuke.Common.Tooling;
using Nuke.Common.Tools.DotNet;
using Nuke.Common.Utilities;
namespace ... | // Copyright 2019 Maintainers of NUKE.
// Distributed under the MIT License.
// https://github.com/nuke-build/nuke/blob/master/LICENSE
using System;
using System.Linq;
using JetBrains.Annotations;
using Nuke.Common.IO;
using Nuke.Common.Tooling;
using Nuke.Common.Tools.DotNet;
namespace Nuke.Common.Tools.NSwag
{
... | mit | C# |
5e2bce869a4d341ff7f6fd39e8e853088ca86ec6 | Update assembly info | KevinDockx/JsonPatch | src/Marvin.JsonPatch/Properties/AssemblyInfo.cs | src/Marvin.JsonPatch/Properties/AssemblyInfo.cs | using System.Resources;
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.
[ass... | using System.Resources;
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.
[ass... | mit | C# |
9810ec02deae2182c0528abcbdd37228ab139820 | Apply NH-2335 (by Patrick Earl) | livioc/nhibernate-core,lnu/nhibernate-core,fredericDelaporte/nhibernate-core,ManufacturingIntelligence/nhibernate-core,alobakov/nhibernate-core,gliljas/nhibernate-core,hazzik/nhibernate-core,nkreipke/nhibernate-core,alobakov/nhibernate-core,livioc/nhibernate-core,nhibernate/nhibernate-core,gliljas/nhibernate-core,nkrei... | src/NHibernate/Context/ReflectiveHttpContext.cs | src/NHibernate/Context/ReflectiveHttpContext.cs | using System;
using System.Collections;
using System.Linq.Expressions;
using System.Reflection;
namespace NHibernate.Context
{
/// <summary>
/// This class allows access to the HttpContext without referring to HttpContext at compile time.
/// The accessors are cached as delegates for performance.
/// </s... | using System;
using System.Collections;
using System.Linq.Expressions;
using System.Reflection;
namespace NHibernate.Context
{
/// <summary>
/// This class allows access to the HttpContext without referring to HttpContext at compile time.
/// The accessors are cached as delegates for performance.
/// </s... | lgpl-2.1 | C# |
c4d00f9b96236f68efd6d6a6deb30668fe707c15 | Fix #1478: Typo in stem_exclusion property serialization | KodrAus/elasticsearch-net,CSGOpenSource/elasticsearch-net,cstlaurent/elasticsearch-net,CSGOpenSource/elasticsearch-net,KodrAus/elasticsearch-net,TheFireCookie/elasticsearch-net,RossLieberman/NEST,RossLieberman/NEST,jonyadamit/elasticsearch-net,RossLieberman/NEST,UdiBen/elasticsearch-net,CSGOpenSource/elasticsearch-net,... | src/Nest/Analysis/Analyzers/LanguageAnalyzer.cs | src/Nest/Analysis/Analyzers/LanguageAnalyzer.cs | using System;
using System.Collections.Generic;
using Newtonsoft.Json;
namespace Nest
{
/// <summary>
/// A set of analyzers aimed at analyzing specific language text.
/// </summary>
public class LanguageAnalyzer : AnalyzerBase
{
public LanguageAnalyzer(Language language)
{
language.ThrowIfNull("language... | using System;
using System.Collections.Generic;
using Newtonsoft.Json;
namespace Nest
{
/// <summary>
/// A set of analyzers aimed at analyzing specific language text.
/// </summary>
public class LanguageAnalyzer : AnalyzerBase
{
public LanguageAnalyzer(Language language)
{
language.ThrowIfNull("language... | apache-2.0 | C# |
d7e17f9d824e42927eba7c0325b422bb51e32477 | Update SqliteConnectionStringParser.cs | msallin/SQLiteCodeFirst,liujunhua/SQLiteCodeFirst | SQLite.CodeFirst/SqliteConnectionStringParser.cs | SQLite.CodeFirst/SqliteConnectionStringParser.cs | using System;
using System.Collections.Generic;
namespace SQLite.CodeFirst
{
internal static class SqliteConnectionStringParser
{
private const string DataDirectoryVariable = "|DataDirectory|";
private const char KeyValuePairSeperator = ';';
private const char KeyValueSeperator = '=';... | using System.Collections.Generic;
namespace SQLite.CodeFirst
{
internal static class SqliteConnectionStringParser
{
private const char KeyValuePairSeperator = ';';
private const char KeyValueSeperator = '=';
private const int KeyPosition = 0;
private const int ValuePosition = 1... | apache-2.0 | C# |
a28f33f4297e92c6b7ad112fdfb43b7ac3c36c68 | comment out the OrderConsoleApplication from Main() to show first how the IModule works and do exercise 1 | iQuarc/Code-Design-Training,iQuarc/Code-Design-Training | AppInfraDemo/UI/ConsoleApplication/Program.cs | AppInfraDemo/UI/ConsoleApplication/Program.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using iQuarc.AppBoot;
using iQuarc.AppBoot.Unity;
using iQuarc.DataAccess.AppBoot;
using Microsoft.Practices.ServiceLocation;
namespace ConsoleApplication
{
internal class Program
{
private static void Mai... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using iQuarc.AppBoot;
using iQuarc.AppBoot.Unity;
using iQuarc.DataAccess.AppBoot;
using Microsoft.Practices.ServiceLocation;
namespace ConsoleApplication
{
internal class Program
{
private static void Mai... | mit | C# |
ba11f0b35704fa0f7b40eb60bda7f6d19d326232 | validate the name when copy a page. | lingxyd/CMS,lingxyd/CMS,techwareone/Kooboo-CMS,jtm789/CMS,jtm789/CMS,andyshao/CMS,andyshao/CMS,jtm789/CMS,Kooboo/CMS,lingxyd/CMS,techwareone/Kooboo-CMS,andyshao/CMS,Kooboo/CMS,Kooboo/CMS,techwareone/Kooboo-CMS | Kooboo.CMS/Kooboo.CMS.Web/Models/CopyModel.cs | Kooboo.CMS/Kooboo.CMS.Web/Models/CopyModel.cs | #region License
//
// Copyright (c) 2013, Kooboo team
//
// Licensed under the BSD License
// See the file LICENSE.txt for details.
//
#endregion
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;
namespace Kooboo.CMS.Web.Models
{
p... | #region License
//
// Copyright (c) 2013, Kooboo team
//
// Licensed under the BSD License
// See the file LICENSE.txt for details.
//
#endregion
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;
namespace Kooboo.CMS.Web.Models
{
p... | bsd-3-clause | C# |
f59faa2fa2f14c3b68122d262ed7b0af16f09d23 | Increment build number | emoacht/SnowyImageCopy | Source/SnowyImageCopy/Properties/AssemblyInfo.cs | Source/SnowyImageCopy/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Windows;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated ... | using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Windows;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated ... | mit | C# |
3f9b1334fb924141b43ddfe46738d2c37861abb6 | Implement third step of automation layer | dirkrombauts/fizz-buzz | Specification/AutomationLayer/StepDefinitions.cs | Specification/AutomationLayer/StepDefinitions.cs | using System;
using FizzBuzz.ConsoleApp;
using NFluent;
using TechTalk.SpecFlow;
namespace FizzBuzz.Specification.AutomationLayer
{
[Binding]
public class StepDefinitions
{
private int currentNumber;
private string currentResult;
[Given(@"the current number is '(.*)'")]
public void GivenTheCurr... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using FizzBuzz.ConsoleApp;
using TechTalk.SpecFlow;
namespace FizzBuzz.Specification.AutomationLayer
{
[Binding]
public class StepDefinitions
{
private int currentNumber;
private string currentResult;
[Given(@"the... | mit | C# |
8bd80eeb2d0754e9a5959cb3a0fc167883ff0485 | fix assemblyinfo | splitice/SystemInteract.Net,splitice/SystemInteract.Net | SystemInteract.Remote/Properties/AssemblyInfo.cs | SystemInteract.Remote/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("Sy... | 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("IP... | apache-2.0 | C# |
8b60ce2e42eefcdeb1f3e9791223bcc82daec89b | Update MongoClientProviderBase.cs | tiksn/TIKSN-Framework | TIKSN.Core/Data/Mongo/MongoClientProviderBase.cs | TIKSN.Core/Data/Mongo/MongoClientProviderBase.cs | using Microsoft.Extensions.Configuration;
using MongoDB.Driver;
namespace TIKSN.Data.Mongo
{
public abstract class MongoClientProviderBase : IMongoClientProvider
{
private readonly IConfiguration _configuration;
private readonly string _connectionStringKey;
private readonly object _loc... | using Microsoft.Extensions.Configuration;
using MongoDB.Driver;
namespace TIKSN.Data.Mongo
{
public abstract class MongoClientProviderBase : IMongoClientProvider
{
private readonly IConfiguration _configuration;
private readonly string _connectionStringKey;
private readonly object _loc... | mit | C# |
f425d6b67891a1d8ed4f700bca586393818b3b4d | add HasComponent (#576) | ericmbernier/Nez,prime31/Nez,prime31/Nez,prime31/Nez | Nez.Portable/Utils/Extensions/ComponentExt.cs | Nez.Portable/Utils/Extensions/ComponentExt.cs | using System.Collections.Generic;
using System.Runtime.CompilerServices;
namespace Nez
{
public static class ComponentExt
{
#region Entity Component management
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static T AddComponent<T>(this Component self, T component) where T : Component
{
retu... | using System.Collections.Generic;
using System.Runtime.CompilerServices;
namespace Nez
{
public static class ComponentExt
{
#region Entity Component management
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static T AddComponent<T>(this Component self, T component) where T : Component
{
retu... | mit | C# |
aa5d453664d3a7ff54f297af8ee2f7d1b47d5049 | remove unused parameter | kaosborn/KaosCollections | Source/RankedSet/RankedSetEqualityComparer.cs | Source/RankedSet/RankedSetEqualityComparer.cs | //
// Library: KaosCollections
// File: RankedSetEqualityComparer.cs
//
// Copyright © 2009-2018 Kasey Osborn (github.com/kaosborn)
// MIT License - Use and redistribute freely
//
using System.Collections.Generic;
namespace Kaos.Collections
{
public partial class RankedSet<T>
{
private class Ranke... | //
// Library: KaosCollections
// File: RankedSetEqualityComparer.cs
//
// Copyright © 2009-2018 Kasey Osborn (github.com/kaosborn)
// MIT License - Use and redistribute freely
//
using System.Collections.Generic;
namespace Kaos.Collections
{
public partial class RankedSet<T>
{
private class Ranke... | mit | C# |
fbf9cf0b56b1e2017dda9e035a1f0e29b0b96eb2 | Test for CRLF line ending bug | Guema/Arcanix | Scripts/Unit.cs | Scripts/Unit.cs | using UnityEngine;
using System.Collections;
[SelectionBase]
[DisallowMultipleComponent]
public class Unit : MonoBehaviour {
[SerializeField]
string faction;
[SerializeField]
int maxHeath = 100;
[SerializeField]
int health;
// This function is called on Component Placement/Replacement
... | using UnityEngine;
using System.Collections;
[SelectionBase]
[DisallowMultipleComponent]
public class Unit : MonoBehaviour {
[SerializeField]
string faction;
[SerializeField]
int maxHeath = 100;
[SerializeField]
int health;
// This function is called on Component Placement/Replacement
... | cc0-1.0 | C# |
86e6e63a811ccb56de7ca28b47e1dd40005eb6bf | Bump version to 0.1.2. | FacilityApi/Facility,ejball/Facility | SolutionInfo.cs | SolutionInfo.cs | using System.Reflection;
[assembly: AssemblyVersion("0.1.2.0")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyCopyright("Copyright 2016 Ed Ball")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
| using System.Reflection;
[assembly: AssemblyVersion("0.1.1.0")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyCopyright("Copyright 2016 Ed Ball")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
| mit | C# |
695487bdc6a4f90fd62c86b80284ced78924ebc7 | Update version number. | Damnae/storybrew | editor/Properties/AssemblyInfo.cs | editor/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("storybrew editor")]
[assembly: AssemblyDe... | 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("storybrew editor")]
[assembly: AssemblyDe... | mit | C# |
a6d3996af0cff8eb7608f8e395a2312484044527 | Update version number. | Damnae/storybrew | editor/Properties/AssemblyInfo.cs | editor/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("storybrew editor")]
[assembly: AssemblyDe... | 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("storybrew editor")]
[assembly: AssemblyDe... | mit | C# |
006368a1e2aae244941647ca18d715d35ce8f18b | Update AddSiteCollectionAppCatalog.cs | OfficeDev/PnP-PowerShell,kilasuit/PnP-PowerShell | Commands/Admin/AddSiteCollectionAppCatalog.cs | Commands/Admin/AddSiteCollectionAppCatalog.cs | #if !ONPREMISES
using Microsoft.Online.SharePoint.TenantAdministration;
using Microsoft.SharePoint.Client;
using SharePointPnP.PowerShell.CmdletHelpAttributes;
using SharePointPnP.PowerShell.Commands.Base;
using System.Management.Automation;
using OfficeDevPnP.Core.Sites;
using SharePointPnP.PowerShell.Commands.Base.P... | #if !ONPREMISES
using Microsoft.Online.SharePoint.TenantAdministration;
using Microsoft.SharePoint.Client;
using SharePointPnP.PowerShell.CmdletHelpAttributes;
using SharePointPnP.PowerShell.Commands.Base;
using System.Management.Automation;
using OfficeDevPnP.Core.Sites;
using SharePointPnP.PowerShell.Commands.Base.P... | mit | C# |
47ded411863d45bd25ccd1dafeff6d613d620fb4 | Add it to the job log too. | ucdavis/Commencement,ucdavis/Commencement,ucdavis/Commencement | Commencement.Jobs.Common/Logging/LogHelper.cs | Commencement.Jobs.Common/Logging/LogHelper.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Serilog;
using Serilog.Exceptions.Destructurers;
namespace Commencement.Jobs.Common.Logging
{
public static class LogHelper
{
private static bool _loggingSetup = false;... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Serilog;
namespace Commencement.Jobs.Common.Logging
{
public static class LogHelper
{
private static bool _loggingSetup = false;
public static void ConfigureL... | mit | C# |
f5a89a2e7e6aa0dcbfd33b7888745e895d72675f | update version number | CampusLabs/identity-token-cache | IdentityTokenCache/Properties/AssemblyInfo.cs | IdentityTokenCache/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("Id... | 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("Id... | mit | C# |
82efee615df6379eff46b1c599daed7cca1b6d89 | change documentation to not use xml literal substitutions [ci] | louthy/language-ext,StanJav/language-ext | LanguageExt.Core/Effects/Schedule/Schedule.cs | LanguageExt.Core/Effects/Schedule/Schedule.cs | #nullable enable
using System.Collections;
using System.Collections.Generic;
namespace LanguageExt;
/// <summary>
/// A schedule is defined as a potentially infinite stream of durations, combined with mechanisms for composing them.
/// </summary>
/// <remarks>
/// Used heavily by `repeat`, `retry`, and `fold` with ... | #nullable enable
using System.Collections;
using System.Collections.Generic;
namespace LanguageExt;
/// <summary>
/// A schedule is defined as a potentially infinite stream of durations, combined with mechanisms for composing them.
/// </summary>
/// <remarks>
/// Used heavily by `repeat`, `retry`, and `fold` with ... | mit | C# |
3c0df8de3a74053924dafc42505fc62a49b38a41 | Add note about build overwriting AssemblyInfo | jbialobr/NSubstitute,dnm240/NSubstitute,jbialobr/NSubstitute,dnm240/NSubstitute,iamkoch/NSubstitute,iamkoch/NSubstitute,jbialobr/NSubstitute,huoxudong125/NSubstitute,dnm240/NSubstitute,iamkoch/NSubstitute,jannickj/NSubstitute,jannickj/NSubstitute,jannickj/NSubstitute,mrinaldi/NSubstitute,iamkoch/NSubstitute,mrinaldi/NS... | Source/NSubstitute/Properties/AssemblyInfo.cs | Source/NSubstitute/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
// This file will be re-written by full build process.
// Make changes in build script (build.fsx)
[assembly: AssemblyTitle("NSubstitute")]
[assembly: AssemblyDescription("A simple substitute for .NET mocking frameworks.")]
[assembly: AssemblyConfigurati... | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("NSubstitute")]
[assembly: AssemblyDescription("A simple substitute for .NET mocking frameworks.")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("NSubstitute")]
[assembly: Assemb... | bsd-3-clause | C# |
f4e1cda208d26d861523c9a8e320a96cf14f02c2 | Fix Android font size (#626) | FormsCommunityToolkit/FormsCommunityToolkit | src/CommunityToolkit/Xamarin.CommunityToolkit/Views/Snackbar/SnackBar.android.cs | src/CommunityToolkit/Xamarin.CommunityToolkit/Views/Snackbar/SnackBar.android.cs | using Xamarin.Forms;
using Android.Graphics;
using Android.Widget;
using Xamarin.Forms.Platform.Android;
using Xamarin.CommunityToolkit.UI.Views.Options;
using Android.Util;
#if MONOANDROID10_0
using AndroidSnackBar = Google.Android.Material.Snackbar.Snackbar;
#else
using AndroidSnackBar = Android.Support.Design.Widge... | using Xamarin.Forms;
using Android.Graphics;
using Android.Widget;
using Xamarin.Forms.Platform.Android;
using Xamarin.CommunityToolkit.UI.Views.Options;
using Android.Util;
#if MONOANDROID10_0
using AndroidSnackBar = Google.Android.Material.Snackbar.Snackbar;
#else
using AndroidSnackBar = Android.Support.Design.Widge... | mit | C# |
b9d5b3c6b2f4d034b9d1b7367fdd46d098bfe6d9 | Change notification api endpoint | SkillsFundingAgency/das-employerusers,SkillsFundingAgency/das-employerusers,SkillsFundingAgency/das-employerusers | src/SFA.DAS.EmployerUsers.Application/Services/Notification/HttpClientWrapper.cs | src/SFA.DAS.EmployerUsers.Application/Services/Notification/HttpClientWrapper.cs | using System;
using System.Collections.Generic;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
using Newtonsoft.Json;
using SFA.DAS.Configuration;
using SFA.DAS.EmployerUsers.Infrastructure.Configuration;
namespace SFA.DAS.EmployerUsers.Application.Services.Notification
{
public class Http... | using System;
using System.Collections.Generic;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
using Newtonsoft.Json;
using SFA.DAS.Configuration;
using SFA.DAS.EmployerUsers.Infrastructure.Configuration;
namespace SFA.DAS.EmployerUsers.Application.Services.Notification
{
public class Http... | mit | C# |
897233eccb33c3da5fe8495eef3c0cb087b2086a | Update FunModule - using statement can now be removed as we are using the type keyword for char | mariocatch/MODiX,mariocatch/MODiX,mariocatch/MODiX,mariocatch/MODiX | Modix/Modules/FunModule.cs | Modix/Modules/FunModule.cs | using System.IO;
using System.Net.Http;
using System.Threading.Tasks;
using Discord;
using Discord.Commands;
using Serilog;
namespace Modix.Modules
{
[Name("Fun"), Summary("A bunch of miscellaneous, fun commands")]
public class FunModule : ModuleBase
{
[Command("jumbo"), Summary("Jumbofy an emoji"... | using System;
using System.IO;
using System.Net.Http;
using System.Threading.Tasks;
using Discord;
using Discord.Commands;
using Serilog;
namespace Modix.Modules
{
[Name("Fun"), Summary("A bunch of miscellaneous, fun commands")]
public class FunModule : ModuleBase
{
[Command("jumbo"), Summary("Jum... | mit | C# |
60ceee282143cb64b9216814d922b609c9622717 | remove unused namespace | auz34/js-studio | src/Examples/MyStudio/Behaviors/BindableEditorText.cs | src/Examples/MyStudio/Behaviors/BindableEditorText.cs | namespace MyStudio.Behaviors
{
using System.Windows;
using ICSharpCode.AvalonEdit;
public static class BindableEditorText
{
/// <summary>
/// The is persistent layout enabled property.
/// </summary>
public static readonly DependencyProperty BindableTextProperty =
... | namespace MyStudio.Behaviors
{
using System.Windows;
using ICSharpCode.AvalonEdit;
using Xceed.Wpf.AvalonDock.Layout;
public static class BindableEditorText
{
/// <summary>
/// The is persistent layout enabled property.
/// </summary>
public static readonly Depend... | mit | C# |
2bc0eaee7ba64c3416e3387b6d24fd85301540a7 | Fix unprivileged file symlink creation | tgstation/tgstation-server,Cyberboss/tgstation-server,Cyberboss/tgstation-server,tgstation/tgstation-server,tgstation/tgstation-server-tools | src/Tgstation.Server.Host/IO/WindowsSymlinkFactory.cs | src/Tgstation.Server.Host/IO/WindowsSymlinkFactory.cs | using System;
using System.ComponentModel;
using System.IO;
using System.Runtime.InteropServices;
using System.Threading;
using System.Threading.Tasks;
namespace Tgstation.Server.Host.IO
{
/// <summary>
/// <see cref="ISymlinkFactory"/> for windows systems
/// </summary>
sealed class WindowsSymlinkFactory : ISyml... | using System;
using System.ComponentModel;
using System.IO;
using System.Runtime.InteropServices;
using System.Threading;
using System.Threading.Tasks;
namespace Tgstation.Server.Host.IO
{
/// <summary>
/// <see cref="ISymlinkFactory"/> for windows systems
/// </summary>
sealed class WindowsSymlinkFactory : ISyml... | agpl-3.0 | C# |
dcf74f2709456dd2fd5be432d9da9e0c20d148a1 | Enhance seed.cs. | exKAZUu/ParserTests,exKAZUu/ParserTests,exKAZUu/ParserTests,exKAZUu/ParserTests,exKAZUu/ParserTests,exKAZUu/ParserTests,exKAZUu/ParserTests | fixture/CSharp/input_code/Seed.cs | fixture/CSharp/input_code/Seed.cs | using System;
namespace Occf.Learner.Core.Ts.Experiments {
internal class Seed {
public static void Main(string[] a) {
Contract.Requires(b);
Contract.Requires(b, "");
Contract.Requires<Exception>(b);
Contract.Requires<Exception>(b, "");
XXXXXXXX.Requires(b);
System.Diagnostics.Contracts.Contract.... | using System;
namespace Occf.Learner.Core.Ts.Experiments {
internal class Seed {
public static void Main(string[] a) {
Contract.Requires(b);
Contract.Requires(b, "");
Contract.Requires<Exception>(b);
Contract.Requires<Exception>(b, "");
System.Diagnostics.Contracts.Contract.Requires(b);
System.Di... | apache-2.0 | C# |
1e8b7ded385698b0973e4c2cd23fc1c1b701c7e6 | Add utility method that gets the device number for a path | hatton/libpalaso,JohnThomson/libpalaso,hatton/libpalaso,tombogle/libpalaso,marksvc/libpalaso,gtryus/libpalaso,mccarthyrb/libpalaso,ermshiperete/libpalaso,JohnThomson/libpalaso,darcywong00/libpalaso,andrew-polk/libpalaso,gtryus/libpalaso,mccarthyrb/libpalaso,sillsdev/libpalaso,JohnThomson/libpalaso,glasseyes/libpalaso,t... | Palaso/IO/PathUtilities.cs | Palaso/IO/PathUtilities.cs | // Copyright (c) 2014 SIL International
// This software is licensed under the MIT License (http://opensource.org/licenses/MIT)
using System;
using System.Diagnostics;
namespace Palaso.IO
{
public static class PathUtilities
{
// On Unix there are more characters valid in file names, but we
// want the result to... | // Copyright (c) 2014 SIL International
// This software is licensed under the MIT License (http://opensource.org/licenses/MIT)
using System;
namespace Palaso.IO
{
public static class PathUtilities
{
// On Unix there are more characters valid in file names, but we
// want the result to be identical on both pla... | mit | C# |
c25c3e259f90d106e81c97bcb4e2e03a7b6bd76d | Remove / | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi.Backend/UnversionedWebBuilder.cs | WalletWasabi.Backend/UnversionedWebBuilder.cs | using NBitcoin;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
namespace WalletWasabi.Backend
{
public static class UnversionedWebBuilder
{
#if DEBUG
public static string UnversionedFolder { get; } = Path.GetFullPath(Path.Combine(AppContext.BaseDi... | using NBitcoin;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
namespace WalletWasabi.Backend
{
public static class UnversionedWebBuilder
{
#if DEBUG
public static string UnversionedFolder { get; } = Path.GetFullPath(Path.Combine(AppContext.BaseDi... | mit | C# |
436b9d1205dd813e12a7837c94aa37563cc3ed6a | update version | smartsheet-platform/smartsheet-csharp-sdk,smartsheet-platform/smartsheet-csharp-sdk | Properties/AssemblyInfo.cs | Properties/AssemblyInfo.cs | // #[license]
// Smartsheet SDK for C#
// %%
// Copyright (C) 2014 Smartsheet
// %%
// 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://w... | // #[license]
// Smartsheet SDK for C#
// %%
// Copyright (C) 2014 Smartsheet
// %%
// 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://w... | apache-2.0 | C# |
2b1954c11f836c951ff836b30c39731faf177aa5 | Add overload to gdax client for making authentication easier | ChristopherHaws/gdax-dotnet | Gdax/GdaxClient.cs | Gdax/GdaxClient.cs | using System;
using System.Linq;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
namespace Gdax
{
/// <summary>
/// The GdaxClient is thread safe and can be used as a singleton for the lifetime of your application.
/// </summary>
public class GdaxClient : IDisposable
{
private readonly ... | using System;
using System.Linq;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
namespace Gdax
{
/// <summary>
/// The GdaxClient is thread safe and can be used as a singleton for the lifetime of your application.
/// </summary>
public class GdaxClient : IDisposable
{
private readonly ... | mit | C# |
4bf764d1a714563b295da2616954453bf9944f77 | Remove whitespace and add using | aloisdg/algo | Algo/FisherYates/FisherYates.cs | Algo/FisherYates/FisherYates.cs | using System;
using System.Collections.Generic;
using System.Linq;
namespace FisherYates
{
public static class FisherYates
{
/*
** http://en.wikipedia.org/wiki/Fisher%E2%80%93Yates_shuffle
*/
static readonly Random Rand = new Random();
public static IEnumerable<T> Shuffle<T>... | using System;
using System.Collections.Generic;
namespace FisherYates
{
public static class FisherYates
{
/*
** http://en.wikipedia.org/wiki/Fisher%E2%80%93Yates_shuffle
*/
static readonly Random Rand = new Random();
public static IEnumerable<T> Shuffle<T>(this IEnumerable<T... | bsd-3-clause | C# |
0dadea9077ee36a37425866e2b67976736834cf5 | update to test WMI further | ZXeno/Andromeda | Andromeda/Andromeda/Command/DebugToConsole.cs | Andromeda/Andromeda/Command/DebugToConsole.cs | using System;
using System.Management;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Andromeda.Command
{
class DebugToConsole : Action
{
NetworkConnections netconn;
ConnectionOptions connOps;
public DebugToConsole()
... | using System;
using System.Management;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Andromeda.Command
{
class DebugToConsole : Action
{
NetworkConnections netconn;
public DebugToConsole()
{
ActionName = "De... | agpl-3.0 | C# |
2839e21c5fa55ca525c6789a273fe25e4305b885 | Fix view | mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander | Battery-Commander.Web/Views/Admin/Jobs.cshtml | Battery-Commander.Web/Views/Admin/Jobs.cshtml | @model IEnumerable<FluentScheduler.Schedule>
<table>
@foreach (var schedule in Model)
{
<tr>
<td>@Html.DisplayFor(_ => schedule.Name)</td>
<td>@schedule.NextRun.ToEst()</td>
<td>
<form action="/api/Jobs/@schedule.Name" method="post">
... | @model IEnumerable<FluentScheduler.Schedule>
<table>
@foreach (var schedule in Model)
{
<tr>
<td>@Html.DisplayFor(_ => schedule.Name)</td>
<td>@Html.DisplayFor(_ => schedule.NextRun.ToEst()</td>
<td>
<form action="/api/Jobs/@schedule.Name" method="po... | mit | C# |
06fa6d5d65093fed15cf14de8a5e69f1623f64d6 | Move the ExprSMTLIB test cases (there's only one right now) into their own namespace. | symbooglix/symbooglix,symbooglix/symbooglix,symbooglix/symbooglix | symbooglix/SymbooglixLibTests/ExprSMTLIB/Literal.cs | symbooglix/SymbooglixLibTests/ExprSMTLIB/Literal.cs | using NUnit.Framework;
using System;
using Microsoft.Boogie;
using Microsoft.Basetypes;
using System.IO;
using symbooglix;
namespace ExprSMTLIBTest
{
[TestFixture()]
public class Literal
{
public Literal()
{
SymbooglixLibTests.SymbooglixTest.setupDebug();
}
[Tes... | using NUnit.Framework;
using System;
using Microsoft.Boogie;
using Microsoft.Basetypes;
using System.IO;
using symbooglix;
namespace SymbooglixLibTests
{
[TestFixture()]
public class Literal
{
public Literal()
{
SymbooglixTest.setupDebug();
}
[Test()]
pu... | bsd-2-clause | C# |
8d2a744dbb05522621446e291097324c684042e2 | rename [m_dic] to [m_dic_nameKey] | yasokada/unity-160820-Inventory-UI | Assets/DataBaseManager.cs | Assets/DataBaseManager.cs | using UnityEngine;
//using System.Collections;
using System.IO;
using System.Collections.Generic;
using System.Linq;
using NS_MyStringUtil;
/*
* - rename [m_dic] to [m_dic_nameKey]
* - add GetUniqueIndexString()
* v0.5 2016 Aug. 25
* - rename [kIndex_caseNo] to [kIndex_shelfNo]
* v0.4 2016 Aug. 25
* - ... | using UnityEngine;
//using System.Collections;
using System.IO;
using System.Collections.Generic;
using System.Linq;
using NS_MyStringUtil;
/*
* - add GetUniqueIndexString()
* v0.5 2016 Aug. 25
* - rename [kIndex_caseNo] to [kIndex_shelfNo]
* v0.4 2016 Aug. 25
* - fix typo > [Resouce] to [Resource]
* v0.... | mit | C# |
74a42920ff4c9b2ac96ec678c5df713db47a8494 | Fix up/rework BindableBool parsing | Tom94/osu-framework,EVAST9919/osu-framework,DrabWeb/osu-framework,Tom94/osu-framework,peppy/osu-framework,default0/osu-framework,smoogipooo/osu-framework,smoogipooo/osu-framework,EVAST9919/osu-framework,Nabile-Rahmani/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,DrabWeb/osu-framework,ppy/osu-framework,... | osu.Framework/Configuration/BindableBool.cs | osu.Framework/Configuration/BindableBool.cs | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using System;
namespace osu.Framework.Configuration
{
public class BindableBool : Bindable<bool>
{
public BindableBool(bool value = ... | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using System;
namespace osu.Framework.Configuration
{
public class BindableBool : Bindable<bool>
{
public BindableBool(bool value = ... | mit | C# |
68be0b230dd77e3a8aa7c9e507de5f2384b4f2c1 | Add version method | fredatgithub/UsefulFunctions | FonctionsUtiles.Fred.Csharp/FunctionsWindows.cs | FonctionsUtiles.Fred.Csharp/FunctionsWindows.cs | using System;
using System.Diagnostics;
using System.Reflection;
namespace FonctionsUtiles.Fred.Csharp
{
public class FunctionsWindows
{
public static bool IsInWinPath(string substring)
{
bool result = false;
string winPath = Environment.GetEnvironmentVariable("Path", EnvironmentVariableTarget... | using System;
namespace FonctionsUtiles.Fred.Csharp
{
public class FunctionsWindows
{
public static bool IsInWinPath(string substring)
{
bool result = false;
string winPath = Environment.GetEnvironmentVariable("Path", EnvironmentVariableTarget.Machine);
if (winPath != null) result = winPa... | mit | C# |
fafe30bda316fe239af661dce96bbc0288de3b31 | Add Guid as name for workspace registration | balazs4/mef | MEF/UI/App.xaml.cs | MEF/UI/App.xaml.cs | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Threading.Tasks;
using System.Windows;
using Microsoft.Practices.Unity;
using UI.AddComponent;
namespace UI
{
/// <summary>
/// Interaction logic for App.... | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Threading.Tasks;
using System.Windows;
using Microsoft.Practices.Unity;
using UI.AddComponent;
namespace UI
{
/// <summary>
/// Interaction logic for App.... | unlicense | C# |
9c8dc96b6c60099943f7bd25d4e6a40ae5b97d49 | Fix to use GetType instead of typeof(T). | cube-soft/Cube.Core,cube-soft/Cube.Core | Libraries/Sources/Aggregator.cs | Libraries/Sources/Aggregator.cs | /* ------------------------------------------------------------------------- */
//
// Copyright (c) 2010 CubeSoft, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.... | /* ------------------------------------------------------------------------- */
//
// Copyright (c) 2010 CubeSoft, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.... | apache-2.0 | C# |
e8cfe07b73013f20f60bcb4843501caef82f5ee3 | bump version | Fody/Obsolete | CommonAssemblyInfo.cs | CommonAssemblyInfo.cs | using System.Reflection;
[assembly: AssemblyTitle("Obsolete")]
[assembly: AssemblyProduct("Obsolete")]
[assembly: AssemblyVersion("1.5.4.0")]
[assembly: AssemblyFileVersion("1.5.4.0")]
| using System.Reflection;
[assembly: AssemblyTitle("Obsolete")]
[assembly: AssemblyProduct("Obsolete")]
[assembly: AssemblyVersion("1.5.3.0")]
[assembly: AssemblyFileVersion("1.5.3.0")]
| mit | C# |
3f0b6b2ac7cb2514575e88991f141df73d36c8ea | Copy AssemblyInfo fro old project | wgross/Elementary.Hierarchy | Elementary.Hierarchy/Properties/AssemblyInfo.cs | Elementary.Hierarchy/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Resources;
// 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("Elementary.Hierarchy")]
[assembly: AssemblyDescription("... | using System.Resources;
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.
[ass... | mit | C# |
d119abddc7327977160f88a45b4141393ad0acab | Set MaxSpeed and Mass to nonzero values in Follower. | Gluestick/AIssignment | Game/Entities/Follower.cs | Game/Entities/Follower.cs | using System.Drawing;
using ISGPAI.Game.Maths;
using ISGPAI.Game.SteeringBehaviors;
namespace ISGPAI.Game.Entities
{
/// <summary>
/// Entity that arrives the specified target.
/// </summary>
internal class Follower : MovingEntity
{
private ISteeringBehavior _steering;
public Follower(Entity ta... | using System.Drawing;
using ISGPAI.Game.Maths;
using ISGPAI.Game.SteeringBehaviors;
namespace ISGPAI.Game.Entities
{
/// <summary>
/// Entity that arrives the specified target.
/// </summary>
internal class Follower : MovingEntity
{
private ISteeringBehavior _steering;
public Follower(Entity ta... | mit | C# |
4affcb679913e60091747fad0676e77d26310950 | Add some more benchmark methods | HangfireIO/Cronos | benchmarks/Cronos.Benchmark/CronBenchmarks.cs | benchmarks/Cronos.Benchmark/CronBenchmarks.cs | using System;
using BenchmarkDotNet.Attributes;
using BenchmarkDotNet.Attributes.Jobs;
namespace Cronos.Benchmark
{
[RyuJitX64Job]
public class CronBenchmarks
{
private static readonly CronExpression SimpleExpression = CronExpression.Parse("* * * * * ?");
private static readonly CronExpres... | using System;
using BenchmarkDotNet.Attributes;
using BenchmarkDotNet.Attributes.Jobs;
namespace Cronos.Benchmark
{
[RyuJitX64Job]
public class CronBenchmarks
{
private static readonly CronExpression SimpleExpression = CronExpression.Parse("* * * * * ?");
private static readonly CronExpres... | mit | C# |
a894ba438481715b8f9daf97b896f3205ec09b0f | Update LearnThisFirst.cs | MartinChavez/CSharp | SchoolOfCSharp/Fundamentals/LearnThisFirst.cs | SchoolOfCSharp/Fundamentals/LearnThisFirst.cs | using System; //Use 'using' keyword to tell the compiler that you are using the 'System' namespace
namespace Fundamentals //'namespace' is a special keyword that allows to separate the code in a meaninful manner
{
class LearnThisFirst //Every single time you want to execute code, it needs to be inside of a Type,... | using System; //Use 'using' keyboard to tell the compiler that you are using the 'System' namespace
namespace Fundamentals //'namespace' is a special keyboard that allows to separate the code in a meaninful manner
{
class LearnThisFirst //Every single time you want to execute code, it needs to be inside of a Typ... | mit | C# |
1764349d3ad252331863bb0b28b641868729ace1 | Update now actually does things in EvoCommand | pampersrocker/EvoNet | EvoCommand/Program.cs | EvoCommand/Program.cs | using EvoSim;
using Microsoft.Xna.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace EvoCommand {
class Program {
static void Main(string[] args) {
Simulation sim = new Simulation();
... | using EvoSim;
using Microsoft.Xna.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace EvoCommand {
class Program {
static void Main(string[] args) {
Simulation sim = new Simulation();
... | mit | C# |
01aac32d9b412b9a0875aac4f258257614274bbe | add test query execution to make sure we generate valid sql | LinqToDB4iSeries/linq2db,MaceWindu/linq2db,linq2db/linq2db,MaceWindu/linq2db,LinqToDB4iSeries/linq2db,linq2db/linq2db | Tests/Linq/UserTests/IndexOutOfRangeInUnions.cs | Tests/Linq/UserTests/IndexOutOfRangeInUnions.cs | using System;
using System.Linq;
using LinqToDB;
using NUnit.Framework;
namespace Tests.UserTests
{
public class IndexOutOfRangeInUnions : TestBase
{
[Test]
public void ErrorInUinon([DataSources] string context)
{
using (var db = GetDataContext(context))
using (db.CreateLocalTable<ClassType... | using System;
using System.Linq;
using LinqToDB;
using NUnit.Framework;
namespace Tests.UserTests
{
public class IndexOutOfRangeInUnions : TestBase
{
[Test]
public void ErrorInUinon([DataSources] string context)
{
using (var db = GetDataContext(context))
{
IQueryable<ClassTypeOfResult>... | mit | C# |
b9ddd6e0a6af3670a67a857ce07a53efc532c5dd | Fix query to handle empty search terms | projecteon/thecollection,projecteon/thecollection,projecteon/thecollection,projecteon/thecollection | TheCollection.Web/Services/SearchableQuery.cs | TheCollection.Web/Services/SearchableQuery.cs | using Microsoft.Azure.Documents;
using System.Collections.Generic;
using System.Linq;
using TheCollection.Web.Models;
namespace TheCollection.Web.Services
{
public class SearchableQuery<T> where T : ISearchable
{
public static SqlQuerySpec Create(string collectionId, IEnumerable<string> searc... | using Microsoft.Azure.Documents;
using System.Collections.Generic;
using System.Linq;
using TheCollection.Web.Models;
namespace TheCollection.Web.Services
{
public class SearchableQuery<T> where T : ISearchable
{
public static SqlQuerySpec Create(string collectionId, IEnumerable<string> searchTerms, i... | apache-2.0 | C# |
fee007d07f86002b6aa96897136c098487020b9e | fix test | bijakatlykkex/NBitcoin.Indexer,NicolasDorier/NBitcoin.Indexer,MetacoSA/NBitcoin.Indexer | NBitcoin.Indexer/IndexerTransactionRepository.cs | NBitcoin.Indexer/IndexerTransactionRepository.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace NBitcoin.Indexer
{
public class IndexerTransactionRepository : ITransactionRepository
{
private readonly IndexerConfiguration _Configuration;
public IndexerConfiguratio... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace NBitcoin.Indexer
{
public class IndexerTransactionRepository : ITransactionRepository
{
private readonly IndexerConfiguration _Configuration;
public IndexerConfiguratio... | mit | C# |
b145aa4cc99d63399f579da9de46b3c90fed3f42 | Make sure Android back button doesn't return to the menu when we are on a game screen. | Noxalus/Xmas-Hell | Xmas-Hell/Xmas-Hell-Core/Screens/ScreenManager.cs | Xmas-Hell/Xmas-Hell-Core/Screens/ScreenManager.cs | using Microsoft.Xna.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace XmasHell.Screens
{
public class ScreenManager
{
private XmasHell _game;
private List<Screen> _screens;
private Screen _currentScreen;
private Stack<Scr... | using Microsoft.Xna.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace XmasHell.Screens
{
public class ScreenManager
{
private XmasHell _game;
private List<Screen> _screens;
private Screen _currentScreen;
private Stack<Scr... | mit | C# |
c3695a081a4e0964b32a99e3e5caa16f6accfbb9 | Add the OrderTableId to RetrieveConstants for syncing | Dav2070/UniversalSoundBoard | UniversalSoundBoard/Common/RetrieveConstants.cs | UniversalSoundBoard/Common/RetrieveConstants.cs | using System.Collections.Generic;
using davClassLibrary.Common;
using UniversalSoundBoard.DataAccess;
namespace UniversalSoundboard.Common
{
public class RetrieveConstants : IRetrieveConstants
{
public string GetApiKey()
{
return FileManager.ApiKey;
}
public string... | using System.Collections.Generic;
using davClassLibrary.Common;
using UniversalSoundBoard.DataAccess;
namespace UniversalSoundboard.Common
{
public class RetrieveConstants : IRetrieveConstants
{
public string GetApiKey()
{
return FileManager.ApiKey;
}
public string... | mit | C# |
01000d50cd63c32966b0c765950f2d5eafc461ce | Use local NullNotificationManager | 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
{
class NullNotificationManager : INotificationManager
{
public void Show(INotification notification)
{
}
... | 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... | mit | C# |
fb6e243b2892fc6d7479524b5f2abf33a2d9e956 | Resolve output path for download, so that on restart will go to the correct location. | dipeshc/BTDeploy | BTDeploy/Client.Commands/Add.cs | BTDeploy/Client.Commands/Add.cs | using ServiceStack.Service;
using ServiceStack.Common.Web;
using System.IO;
using BTDeploy.ServiceDaemon.TorrentClients;
using BTDeploy.ServiceDaemon;
using System.Linq;
using System.Threading;
using System;
namespace BTDeploy.Client.Commands
{
public class Add : ClientCommandBase
{
public string TorrentPath;
pu... | using ServiceStack.Service;
using ServiceStack.Common.Web;
using System.IO;
using BTDeploy.ServiceDaemon.TorrentClients;
using BTDeploy.ServiceDaemon;
using System.Linq;
using System.Threading;
using System;
namespace BTDeploy.Client.Commands
{
public class Add : ClientCommandBase
{
public string TorrentPath;
pu... | mit | C# |
5738f12bc11550dd3c8605d9beb03c71abc1b07a | Make NilProcess singleton | lou1306/CIV,lou1306/CIV | CIV.Ccs/Processes/NilProcess.cs | CIV.Ccs/Processes/NilProcess.cs | using System.Collections.Generic;
using System.Linq;
using CIV.Interfaces;
namespace CIV.Ccs
{
/// <summary>
/// Nil process. Implemented as a singleton class.
/// </summary>
class NilProcess : CcsProcess
{
public static NilProcess Instance { get; } = new NilProcess();
NilProcess(... | using System.Collections.Generic;
using System.Linq;
using CIV.Interfaces;
namespace CIV.Ccs
{
class NilProcess : CcsProcess
{
public override IEnumerable<Transition> Transitions()
{
return Enumerable.Empty<Transition>();
}
}
}
| mit | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.