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 |
|---|---|---|---|---|---|---|---|---|
f0f4317ba77275063b93f62e09f46a26a36316c7 | disable the keyboards page on mono | mccarthyrb/libpalaso,hatton/libpalaso,JohnThomson/libpalaso,ermshiperete/libpalaso,marksvc/libpalaso,tombogle/libpalaso,chrisvire/libpalaso,sillsdev/libpalaso,gmartin7/libpalaso,mccarthyrb/libpalaso,mccarthyrb/libpalaso,sillsdev/libpalaso,sillsdev/libpalaso,sillsdev/libpalaso,chrisvire/libpalaso,gmartin7/libpalaso,mark... | PalasoUIWindowsForms/WritingSystems/WSPropertiesTabControl.cs | PalasoUIWindowsForms/WritingSystems/WSPropertiesTabControl.cs | using System;
using System.Windows.Forms;
namespace Palaso.UI.WindowsForms.WritingSystems
{
public partial class WSPropertiesTabControl : UserControl
{
private WritingSystemSetupModel _model;
public WSPropertiesTabControl()
{
InitializeComponent();
#if MONO
this._tabControl.Controls.Remove(this._keyboar... | using System;
using System.Windows.Forms;
namespace Palaso.UI.WindowsForms.WritingSystems
{
public partial class WSPropertiesTabControl : UserControl
{
private WritingSystemSetupModel _model;
public WSPropertiesTabControl()
{
InitializeComponent();
}
public void BindToModel(WritingSystemSetupModel mod... | mit | C# |
80995230032f34666df436d788291fa9d59bf2fc | Check database name input parameter | devicehive/devicehive-.net,devicehive/devicehive-.net,devicehive/devicehive-.net | src/Setup/DeviceHive.Setup.Actions/Validation/SqlDatabaseValidator.cs | src/Setup/DeviceHive.Setup.Actions/Validation/SqlDatabaseValidator.cs | using System;
using System.Data;
using System.Data.SqlClient;
using Microsoft.SqlServer.Server;
namespace DeviceHive.Setup.Actions
{
class SqlDatabaseValidator
{
private SqlConnection _connection;
public SqlDatabaseValidator(SqlConnection connection)
{
if (connection == nu... | using System;
using System.Data;
using System.Data.SqlClient;
using Microsoft.SqlServer.Server;
namespace DeviceHive.Setup.Actions
{
class SqlDatabaseValidator
{
private SqlConnection _connection;
public SqlDatabaseValidator(SqlConnection connection)
{
if (connection == nu... | mit | C# |
bd6ed2b80e153ae0f54fa9829118987bdc00ea1e | Update ServiceProviderFixture.cs | tiksn/TIKSN-Framework | TIKSN.Framework.IntegrationTests/ServiceProviderFixture.cs | TIKSN.Framework.IntegrationTests/ServiceProviderFixture.cs | using System;
using System.Collections.Generic;
using Autofac;
using Autofac.Extensions.DependencyInjection;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Hosting;
using TIKSN.Data.Mongo;
using TIKSN.DependencyInjection;
using TIKSN.Framework.IntegrationTests.Data.Mongo;
namespace TIKSN.Framewor... | using System;
using System.Collections.Generic;
using Autofac;
using Autofac.Extensions.DependencyInjection;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Hosting;
using TIKSN.Data.Mongo;
using TIKSN.DependencyInjection;
using TIKSN.Framework.IntegrationTests.Data.Mongo;
namespace TIKSN.Framewo... | mit | C# |
95d81154f353155d50966cb4f49c974d1cf16691 | Adjust the eye lag amount | virtuallynaked/virtually-naked,virtuallynaked/virtually-naked | Viewer/src/actor/animation/procedural/EyeLookAtAnimator.cs | Viewer/src/actor/animation/procedural/EyeLookAtAnimator.cs | using SharpDX;
using static MathExtensions;
public class EyeLookAtAnimator : IProceduralAnimator {
private static readonly float RotationAngleRejectionThreshold = MathUtil.DegreesToRadians(80);
private readonly ChannelSystem channelSystem;
private readonly BoneSystem boneSystem;
private readonly BehaviorModel b... | using SharpDX;
using static MathExtensions;
public class EyeLookAtAnimator : IProceduralAnimator {
private static readonly float RotationAngleRejectionThreshold = MathUtil.DegreesToRadians(80);
private readonly ChannelSystem channelSystem;
private readonly BoneSystem boneSystem;
private readonly BehaviorModel b... | mit | C# |
1adfcbb4675c4b733fc542519ef9bc676285f9f4 | Revert begin burst event to ReadToEnd | HelloKitty/Booma.Proxy | src/Booma.Packet.Game/Block/Commands/Command60/Sub60ClientBurstBeginEventCommand.cs | src/Booma.Packet.Game/Block/Commands/Command60/Sub60ClientBurstBeginEventCommand.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using FreecraftCore.Serializer;
namespace Booma
{
//Tethella: https://github.com/justnoxx/psobb-tethealla/blob/master/ship_server/ship_server.c#L2720
/// <summary>
/// Sent before a client begins to l... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using FreecraftCore.Serializer;
namespace Booma
{
//Tethella: https://github.com/justnoxx/psobb-tethealla/blob/master/ship_server/ship_server.c#L2720
/// <summary>
/// Sent before a client begins to l... | agpl-3.0 | C# |
4e4435223a3c779bfabe3f633d0bc99f0573aa81 | Fix docfixed to work with iOS5 | mono/maccore,cwensley/maccore,jorik041/maccore | tools/docfixer/docfixer.mt.cs | tools/docfixer/docfixer.mt.cs | //
// MonoTouch defines for docfixer
//
using System;
using System.IO;
using System.Reflection;
using MonoTouch.Foundation;
public partial class DocGenerator {
static Assembly assembly = typeof (MonoTouch.Foundation.NSObject).Assembly;
const string BaseNamespace = "MonoTouch";
static string GetMostRecentDocBase ()... | //
// MonoTouch defines for docfixer
//
using System;
using System.IO;
using System.Reflection;
using MonoTouch.Foundation;
public partial class DocGenerator {
static Assembly assembly = typeof (MonoTouch.Foundation.NSObject).Assembly;
const string BaseNamespace = "MonoTouch";
static string GetMostRecentDocBase ()... | apache-2.0 | C# |
f95567296b1ce289cb9097f4b97bada1e103dfa8 | Fix Const class, better format for restricted | lou1306/CIV,lou1306/CIV | CIV.Ccs/Const.cs | CIV.Ccs/Const.cs | using System;
using static CIV.Ccs.CcsLexer;
namespace CIV.Ccs
{
public static class Const
{
public static readonly string tau = GetLiteral(TAU);
public static readonly string nil = GetLiteral(NIL);
public static readonly string par = GetLiteral(PAR);
public static readonly stri... | using System;
namespace CIV.Ccs
{
public static class Const
{
public static readonly string tau = GetLiteral(CcsLexer.TAU);
public static readonly string nil = GetLiteral(CcsLexer.NIL);
public static readonly string par = GetLiteral(CcsLexer.PAR);
public static readonly string prefix = GetL... | mit | C# |
d60587e972f0faadd4608c18744704d8e2a2beea | Fix interface. | TechplexEngineer/Aurora-Sim,TechplexEngineer/Aurora-Sim,TechplexEngineer/Aurora-Sim,TechplexEngineer/Aurora-Sim | OpenSim/Region/Framework/Interfaces/IOpenRegionSettingsModule.cs | OpenSim/Region/Framework/Interfaces/IOpenRegionSettingsModule.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using OpenMetaverse.StructuredData;
using OpenMetaverse;
namespace OpenSim.Region.Framework.Interfaces
{
public interface IOpenRegionSettingsModule
{
float MaxDragDistance { get; set; }
float DefaultDrawDista... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using OpenMetaverse.StructuredData;
using OpenMetaverse;
namespace OpenSim.Region.Framework.Interfaces
{
public interface IOpenRegionSettingsModule
{
float MaxDragDistance { get; set; }
float DefaultDrawDista... | bsd-3-clause | C# |
9ea0681683c3ac9528a99ce6e8c717da732dcdfe | Add some missing using statements. | dotnet-bot/corefx,rahku/corefx,Chrisboh/corefx,mellinoe/corefx,manu-silicon/corefx,iamjasonp/corefx,ViktorHofer/corefx,alexperovich/corefx,yizhang82/corefx,rubo/corefx,parjong/corefx,tijoytom/corefx,dotnet-bot/corefx,ravimeda/corefx,mmitche/corefx,shahid-pk/corefx,Chrisboh/corefx,stephenmichaelf/corefx,690486439/corefx... | src/System.Net.WebSockets.Client/src/System/Net/WebSockets/WebSocketHandle.WinRT.cs | src/System.Net.WebSockets.Client/src/System/Net/WebSockets/WebSocketHandle.WinRT.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;
using System.Collections.Generic;
using System.ComponentModel;
using System.Diagnostics.CodeAnalysis;
using System.Diagnostics;
using System.Net;
using Sy... | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Diagnostics.CodeAnalysis;
using System.Diagnostics;
using System.Net;
using Sy... | mit | C# |
8d12cbd76320ca873dc650723f0c13ad53fc18ad | Update Exp to sql | sunkaixuan/SqlSugar | Src/Asp.NetCore2/SqlSeverTest/SqlSugar/ExpressionsToSql/CaseWhen/CaseWhenResolve.cs | Src/Asp.NetCore2/SqlSeverTest/SqlSugar/ExpressionsToSql/CaseWhen/CaseWhenResolve.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
namespace SqlSugar
{
public class CaseWhenResolve
{
List<MethodCallExpression> allMethods = new List<MethodCallExpression>();
private ExpressionContext context = null;
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
namespace SqlSugar
{
public class CaseWhenResolve
{
List<MethodCallExpression> allMethods = new List<MethodCallExpression>();
private ExpressionContext context = null;
... | apache-2.0 | C# |
8e81275980d218dee22d14b2939bdeff3eda3cf3 | Add default value to documentation (#38018) | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore | src/Components/WebAssembly/Authentication.Msal/src/Models/MsalProviderOptions.cs | src/Components/WebAssembly/Authentication.Msal/src/Models/MsalProviderOptions.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.Collections.Generic;
using System.Text.Json.Serialization;
namespace Microsoft.Authentication.WebAssembly.Msal.Models
{
/// <summary>
/// Authentication provide... | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System.Collections.Generic;
using System.Text.Json.Serialization;
namespace Microsoft.Authentication.WebAssembly.Msal.Models
{
/// <summary>
/// Authentication provide... | apache-2.0 | C# |
7909eb569653179ae214e43c734e5cf1afb3c0da | Revert text maekrd as live that works in record/playback mode | AzureAutomationTeam/azure-powershell,ClogenyTechnologies/azure-powershell,AzureAutomationTeam/azure-powershell,AzureAutomationTeam/azure-powershell,AzureAutomationTeam/azure-powershell,ClogenyTechnologies/azure-powershell,AzureAutomationTeam/azure-powershell,ClogenyTechnologies/azure-powershell,ClogenyTechnologies/azur... | src/ResourceManager/Compute/Commands.Compute.Test/ScenarioTests/NewVhdVMTests.cs | src/ResourceManager/Compute/Commands.Compute.Test/ScenarioTests/NewVhdVMTests.cs | // ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// 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.apa... | // ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// 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.apa... | apache-2.0 | C# |
0bb801885275e3e56f4faf080ecce8b3af5c116b | Fix off-by-one error. | StephenClearyApps/NetStandardTypes,StephenClearyApps/NetStandardTypes,StephenClearyApps/NetStandardTypes,StephenClearyApps/NetStandardTypes | src/NuGetCatalog/Catalog.cs | src/NuGetCatalog/Catalog.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using Newtonsoft.Json.Linq;
using static NuGetCatalog.Globals;
namespace NuGetCatalog
{
public sealed class Catalog
{
private readonly dynamic _content;
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using Newtonsoft.Json.Linq;
using static NuGetCatalog.Globals;
namespace NuGetCatalog
{
public sealed class Catalog
{
private readonly dynamic _content;
... | mit | C# |
4eef78f04984904065fb449e39b052783cc7e24f | Add LogCallback to TAPNetTest | shutej/tapcfg,shutej/tapcfg,shutej/tapcfg,shutej/tapcfg,shutej/tapcfg,shutej/tapcfg,shutej/tapcfg | trunk/src/demos/TAPNetTest.cs | trunk/src/demos/TAPNetTest.cs | /**
* tapcfg - A cross-platform configuration utility for TAP driver
* Copyright (C) 2008-2009 Juho Vähä-Herttua
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* v... | /**
* tapcfg - A cross-platform configuration utility for TAP driver
* Copyright (C) 2008-2009 Juho Vähä-Herttua
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* v... | lgpl-2.1 | C# |
ecac5b1308d0875cdee4b53eac67305a0e769fe5 | Fix issue: Additional fedpeg folder created (#2950) | stratisproject/StratisBitcoinFullNode,quantumagi/StratisBitcoinFullNode,quantumagi/StratisBitcoinFullNode,bokobza/StratisBitcoinFullNode,bokobza/StratisBitcoinFullNode,mikedennis/StratisBitcoinFullNode,Neurosploit/StratisBitcoinFullNode,Aprogiena/StratisBitcoinFullNode,mikedennis/StratisBitcoinFullNode,Neurosploit/Stra... | src/Stratis.Bitcoin.Features.SmartContracts/PoA/SmartContractPoABlockDefinition.cs | src/Stratis.Bitcoin.Features.SmartContracts/PoA/SmartContractPoABlockDefinition.cs | using Microsoft.Extensions.Logging;
using NBitcoin;
using Stratis.Bitcoin.Configuration;
using Stratis.Bitcoin.Consensus;
using Stratis.Bitcoin.Features.Consensus.CoinViews;
using Stratis.Bitcoin.Features.MemoryPool;
using Stratis.Bitcoin.Features.MemoryPool.Interfaces;
using Stratis.Bitcoin.Features.Miner;
using Stra... | using Microsoft.Extensions.Logging;
using NBitcoin;
using Stratis.Bitcoin.Configuration;
using Stratis.Bitcoin.Consensus;
using Stratis.Bitcoin.Features.Consensus.CoinViews;
using Stratis.Bitcoin.Features.MemoryPool;
using Stratis.Bitcoin.Features.MemoryPool.Interfaces;
using Stratis.Bitcoin.Features.Miner;
using Stra... | mit | C# |
a1a054e74a9d5cdb3c9ddb192592bfbe53f0d051 | Print Inner Exceptions in ReflectionTypeLoadException ToString (#15688) | gregkalapos/corert,gregkalapos/corert,gregkalapos/corert,gregkalapos/corert | src/System.Private.CoreLib/shared/System/Reflection/ReflectionTypeLoadException.cs | src/System.Private.CoreLib/shared/System/Reflection/ReflectionTypeLoadException.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.Runtime.Serialization;
using System.Text;
namespace System.Reflection
{
[Serializable]
[System... | // 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.Runtime.Serialization;
namespace System.Reflection
{
[Serializable]
[System.Runtime.CompilerSe... | mit | C# |
ec6773d67a13c89e003684a09ca584aeb593cd9b | Add event handler for IntervalTimer. | jcheng31/IntervalTimer | IntervalTimer.cs | IntervalTimer.cs | using System;
using Microsoft.SPOT;
namespace IntervalTimer
{
public delegate void IntervalEventHandler(object sender, IntervalReachedEventArgs e);
public class IntervalTimer
{
public event IntervalEventHandler IntervalCompleted;
public TimeSpan ShortDuration { get; set; }
... | using System;
using Microsoft.SPOT;
namespace IntervalTimer
{
public delegate void IntervalEventHandler(object sender, IntervalReachedEventArgs e);
public class IntervalTimer
{
public TimeSpan ShortDuration { get; set; }
public TimeSpan LongDuration { get; set; }
publ... | mit | C# |
1e36ed0a2e7c9e7e3fe03430c6c004cf3669bca9 | Update SMS.cs | Nexmo/nexmo-dotnet,Nexmo/csharp-client,Nexmo/csharp-client | Nexmo.Api/SMS.cs | Nexmo.Api/SMS.cs | using Newtonsoft.Json;
namespace Nexmo.Api
{
public static class SMS
{
public class SMSRequest
{
public string from { get; set; }
public string to { get; set; }
public string type { get; set; }
public string text { get; set; }
[JsonPro... | namespace Nexmo.Api
{
public static class SMS
{
// TODO: send message
// TODO: deliver receipt callback
// TODO: inbound msg
}
}
| mit | C# |
5395f6a4fb32342ce51357bb907c45cd9c53e5a6 | Trim ParserException | PawelStroinski/LambdastylePrototype,PawelStroinski/LambdastylePrototype,PawelStroinski/LambdastylePrototype,PawelStroinski/LambdastylePrototype | Parser/Parser.cs | Parser/Parser.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Antlr.Runtime;
using Antlr.Runtime.Tree;
using LambdastylePrototype.Interpreter;
namespace LambdastylePrototype.Parser
{
class Parser
{
public Senten... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Antlr.Runtime;
using Antlr.Runtime.Tree;
using LambdastylePrototype.Interpreter;
namespace LambdastylePrototype.Parser
{
class Parser
{
public Senten... | mit | C# |
4f32802eb21d6ebd80f1414e009727d1c2e1db55 | swap order of locality & address & call it suburb | planetClaire/Orchard-LETS,planetClaire/Orchard-LETS,planetClaire/Orchard-LETS,planetClaire/Orchard-LETS,planetClaire/Orchard-LETS | src/Orchard.Web/Modules/LETS/Views/EditorTemplates/Parts/Address.cshtml | src/Orchard.Web/Modules/LETS/Views/EditorTemplates/Parts/Address.cshtml | @model LETS.ViewModels.EditAddressViewModel
@{
HtmlHelper.ClientValidationEnabled = true;
HtmlHelper.UnobtrusiveJavaScriptEnabled = true;
}
<div class="form-group">
<label class="required control-label" for="@Html.FieldIdFor(m => m.IdLocality)">@T("Suburb")</label>
@Html.DropDownListFor(model => model.... | @model LETS.ViewModels.EditAddressViewModel
@{
HtmlHelper.ClientValidationEnabled = true;
HtmlHelper.UnobtrusiveJavaScriptEnabled = true;
}
<div class="form-group">
<label class="required control-label" for="@Html.FieldIdFor(m => m.StreetAddress)">@T("Street address (for admin only, not shown to members)")... | bsd-3-clause | C# |
9f29e715da8e1714b8537590cceb8c34aa70486c | remove old commented out code | AlexanderSher/RTVS,MikhailArkhipov/RTVS,AlexanderSher/RTVS,karthiknadig/RTVS,AlexanderSher/RTVS,AlexanderSher/RTVS,MikhailArkhipov/RTVS,karthiknadig/RTVS,karthiknadig/RTVS,karthiknadig/RTVS,karthiknadig/RTVS,karthiknadig/RTVS,MikhailArkhipov/RTVS,MikhailArkhipov/RTVS,MikhailArkhipov/RTVS,MikhailArkhipov/RTVS,AlexanderS... | src/ProjectSystem/Impl/Package/Registration/DeveloperActivityAttribute.cs | src/ProjectSystem/Impl/Package/Registration/DeveloperActivityAttribute.cs | using System;
using Microsoft.VisualStudio.Shell;
namespace Microsoft.VisualStudio.ProjectSystem.FileSystemMirroring.Package.Registration
{
public sealed class DeveloperActivityAttribute : RegistrationAttribute
{
private readonly string _projectType;
private readonly int _templateSet;
... | using System;
using Microsoft.VisualStudio.Shell;
namespace Microsoft.VisualStudio.ProjectSystem.FileSystemMirroring.Package.Registration
{
public sealed class DeveloperActivityAttribute : RegistrationAttribute
{
private readonly string _projectType;
private readonly int _templateSet;
... | mit | C# |
a4173a93b761630f2712cd141f1e0289fd9759e2 | Improve display on payout confirm page | btcpayserver/btcpayserver,btcpayserver/btcpayserver,btcpayserver/btcpayserver,btcpayserver/btcpayserver | BTCPayServer/Views/UILightningLikePayout/ConfirmLightningPayout.cshtml | BTCPayServer/Views/UILightningLikePayout/ConfirmLightningPayout.cshtml | @model System.Collections.Generic.List<BTCPayServer.Data.Payouts.LightningLike.UILightningLikePayoutController.ConfirmVM>
@{
Layout = "../Shared/_Layout.cshtml";
ViewData["Title"] = "Confirm Lightning Payout";
var cryptoCode = Context.GetRouteValue("cryptoCode");
}
<h2 class="mt-1 mb-4">@ViewData["Title"]<... | @model System.Collections.Generic.List<BTCPayServer.Data.Payouts.LightningLike.UILightningLikePayoutController.ConfirmVM>
@{
Layout = "../Shared/_Layout.cshtml";
ViewData["Title"] = "Confirm Lightning Payout";
var cryptoCode = Context.GetRouteValue("cryptoCode");
}
<h2 class="mt-1 mb-4">@ViewData["Title"]<... | mit | C# |
bce23ad00814e36e27034c06d3e0286c47aa2816 | Update Stock.cs | IanMcT/StockMarketGame | SMG/SMG/Stock.cs | SMG/SMG/Stock.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SMG
{
class Stock
{
/// <summary>
/// Name of the Stock
/// </summary>
public string StockName;
/// <summary>
/// Descript... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SMG
{
class Stock
{
/// <summary>
/// Name of the Stock
/// </summary>
public string StockName;
/// <summary>
/// Descript... | apache-2.0 | C# |
9aa111b70571432343b8c68002b3e04b1285bf9b | Implement RunspaceConfiguration.Types | sburnicki/Pash,sburnicki/Pash,ForNeVeR/Pash,mrward/Pash,sburnicki/Pash,ForNeVeR/Pash,sburnicki/Pash,WimObiwan/Pash,WimObiwan/Pash,Jaykul/Pash,mrward/Pash,sillvan/Pash,sillvan/Pash,mrward/Pash,WimObiwan/Pash,sillvan/Pash,sillvan/Pash,ForNeVeR/Pash,Jaykul/Pash,Jaykul/Pash,mrward/Pash,Jaykul/Pash,ForNeVeR/Pash,WimObiwan/P... | Source/System.Management/Automation/Runspaces/RunspaceConfiguration.cs | Source/System.Management/Automation/Runspaces/RunspaceConfiguration.cs | // Copyright (C) Pash Contributors. License: GPL/BSD. See https://github.com/Pash-Project/Pash/
using System;
using System.Management.Automation;
namespace System.Management.Automation.Runspaces
{
public abstract class RunspaceConfiguration
{
private RunspaceConfigurationEntryCollection<CmdletConfigurationEntry> ... | // Copyright (C) Pash Contributors. License: GPL/BSD. See https://github.com/Pash-Project/Pash/
using System;
using System.Management.Automation;
namespace System.Management.Automation.Runspaces
{
public abstract class RunspaceConfiguration
{
private RunspaceConfigurationEntryCollection<CmdletConfigurationEntry> ... | bsd-3-clause | C# |
d905719be4745baa4d434a88ed75a26db0f49aa5 | Refactor to expr. bodied members | ulrichb/XmlDocInspections,ulrichb/XmlDocInspections,ulrichb/XmlDocInspections | Src/XmlDocInspections.Plugin.Tests/Integrative/AddDocCommentFixTest.cs | Src/XmlDocInspections.Plugin.Tests/Integrative/AddDocCommentFixTest.cs | using JetBrains.ReSharper.FeaturesTestFramework.Intentions;
using JetBrains.ReSharper.Intentions.CSharp.QuickFixes;
using JetBrains.ReSharper.TestFramework;
using NUnit.Framework;
namespace XmlDocInspections.Plugin.Tests.Integrative
{
[TestFixture]
[TestNetFramework4]
public class AddDocCommentFixTest : C... | using JetBrains.ReSharper.FeaturesTestFramework.Intentions;
using JetBrains.ReSharper.Intentions.CSharp.QuickFixes;
using JetBrains.ReSharper.TestFramework;
using NUnit.Framework;
namespace XmlDocInspections.Plugin.Tests.Integrative
{
[TestFixture]
[TestNetFramework4]
public class AddDocCommentFixTest : C... | mit | C# |
91794f74fb7dd7ca30a97a204cc6b0271a0703b0 | fix version display | Soluto/tweek,Soluto/tweek,Soluto/tweek,Soluto/tweek,Soluto/tweek,Soluto/tweek | Tweek.ApiService.NetCore/Diagnostics/EnvironmentDiagnosticsProvider.cs | Tweek.ApiService.NetCore/Diagnostics/EnvironmentDiagnosticsProvider.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Reflection;
namespace Tweek.ApiService.NetCore.Diagnostics
{
public class EnvironmentDiagnosticsProvider : IDiagnosticsProvider
{
public string Name => "EnvironmentDetails";
public st... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Tweek.ApiService.NetCore.Diagnostics
{
public class EnvironmentDiagnosticsProvider : IDiagnosticsProvider
{
public string Name => "EnvironmentDetails";
public string AppVersion =
... | mit | C# |
8fcb6f6ff5321d2fa97cb989bedb4a58d2621d68 | update comment | imnbwd/WpfWindowToolkit | WpfWindowToolkit/PraiseHim.Rejoice.WpfWindowToolkit.Shared/Base/ViewModelRootBase.cs | WpfWindowToolkit/PraiseHim.Rejoice.WpfWindowToolkit.Shared/Base/ViewModelRootBase.cs | namespace PraiseHim.Rejoice.WpfWindowToolkit.Base
{
/// <summary>
/// ViewModelBaseData
/// </summary>
/// <typeparam name="T">The parameter data type</typeparam>
public abstract class ViewModelBaseData<T> : ViewModelRootBase
{
/// <summary>
/// Get or set the data that passed t... | namespace PraiseHim.Rejoice.WpfWindowToolkit.Base
{
/// <summary>
/// ViewModelBaseData
/// </summary>
/// <typeparam name="T"></typeparam>
public abstract class ViewModelBaseData<T> : ViewModelRootBase
{
/// <summary>
/// Get or set the data that passed to this view model
... | apache-2.0 | C# |
a6b12cddaafaa8a4691709dd71b1705403b67f27 | Fix event name | StefanoFiumara/Harry-Potter-Unity | Assets/Scripts/HarryPotterUnity/Cards/Charms/Spells/WingardiumLeviosa.cs | Assets/Scripts/HarryPotterUnity/Cards/Charms/Spells/WingardiumLeviosa.cs | using System.Collections.Generic;
using JetBrains.Annotations;
namespace HarryPotterUnity.Cards.Charms.Spells
{
[UsedImplicitly]
public class WingardiumLeviosa : BaseSpell
{
protected override void SpellAction(List<BaseCard> targets)
{
Player.OppositePlayer.OnTurnStartEvent +=... | using System.Collections.Generic;
using JetBrains.Annotations;
namespace HarryPotterUnity.Cards.Charms.Spells
{
[UsedImplicitly]
public class WingardiumLeviosa : BaseSpell
{
protected override void SpellAction(List<BaseCard> targets)
{
Player.OppositePlayer.OnTurnStart += () =... | mit | C# |
639fc9d10f760508702e21b51628a84b45398e6b | Add correlationId to fix startup of the EAS web application. Copied from specific branch | SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice | src/SFA.DAS.EmployerApprenticeshipsService.Infrastructure/Data/UserRepository.cs | src/SFA.DAS.EmployerApprenticeshipsService.Infrastructure/Data/UserRepository.cs | using System;
using System.Data;
using System.Data.Entity;
using System.Linq;
using System.Threading.Tasks;
using Dapper;
using SFA.DAS.EAS.Domain.Configuration;
using SFA.DAS.EAS.Domain.Data.Repositories;
using SFA.DAS.EAS.Domain.Models.UserProfile;
using SFA.DAS.Sql.Client;
using SFA.DAS.NLog.Logger;
na... | using System;
using System.Data;
using System.Data.Entity;
using System.Linq;
using System.Threading.Tasks;
using Dapper;
using SFA.DAS.EAS.Domain.Configuration;
using SFA.DAS.EAS.Domain.Data.Repositories;
using SFA.DAS.EAS.Domain.Models.UserProfile;
using SFA.DAS.Sql.Client;
using SFA.DAS.NLog.Logger;
na... | mit | C# |
e7000b08a89fc0677c05ca1e989eb1385df3f9be | Fix routing to plot folder tags (#1518) | leotsarev/joinrpg-net,leotsarev/joinrpg-net,leotsarev/joinrpg-net,joinrpg/joinrpg-net,joinrpg/joinrpg-net,joinrpg/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net | src/JoinRpg.Portal/Views/Shared/DisplayTemplates/PlotFolderListItemViewModel.cshtml | src/JoinRpg.Portal/Views/Shared/DisplayTemplates/PlotFolderListItemViewModel.cshtml | @model JoinRpg.Web.Models.Plot.PlotFolderListItemViewModel
@Html.ActionLink(Model.PlotFolderMasterTitle, "Edit", "Plot", new { Model.PlotFolderId, Model.ProjectId }, null)
@if (!string.IsNullOrWhiteSpace(Model.TodoField) && Model.HasEditAccess)
{
<span title="@Model.TodoField">TODO</span>
}
@if (Model.TagNames.An... | @model JoinRpg.Web.Models.Plot.PlotFolderListItemViewModel
@Html.ActionLink(Model.PlotFolderMasterTitle, "Edit", "Plot", new { Model.PlotFolderId, Model.ProjectId }, null)
@if (!string.IsNullOrWhiteSpace(Model.TodoField) && Model.HasEditAccess)
{
<span title="@Model.TodoField">TODO</span>
}
@if (Model.TagNames.An... | mit | C# |
84206f1e9c9f6373135954c93c8645a91c4759da | Remove whitespace | appharbor/appharbor-cli | src/AppHarbor/AliasMatcher.cs | src/AppHarbor/AliasMatcher.cs | using System;
using System.Linq;
using System.Collections.Generic;
namespace AppHarbor
{
public class AliasMatcher : IAliasMatcher
{
private readonly IEnumerable<Type> _candidateTypes;
public AliasMatcher(IEnumerable<Type> candidateTypes)
{
if (candidateTypes.Any(x => !x.GetCustomAttributes(true).OfType<C... | using System;
using System.Linq;
using System.Collections.Generic;
namespace AppHarbor
{
public class AliasMatcher : IAliasMatcher
{
private readonly IEnumerable<Type> _candidateTypes;
public AliasMatcher(IEnumerable<Type> candidateTypes)
{
if (candidateTypes.Any(x => !x.GetCustomAttributes(true).OfType<C... | mit | C# |
e4d0e181e33b4928d681c5e19dc43e1bb22c4538 | Change namespace for helper extension method to Amazon.Lambda.TestUtilities to make it more discover able when writing tests. | thedevopsmachine/aws-lambda-dotnet,thedevopsmachine/aws-lambda-dotnet,thedevopsmachine/aws-lambda-dotnet,thedevopsmachine/aws-lambda-dotnet | Libraries/src/Amazon.Lambda.AspNetCoreServer/APIGatewayProxyFunctionExtensions.cs | Libraries/src/Amazon.Lambda.AspNetCoreServer/APIGatewayProxyFunctionExtensions.cs | using Amazon.Lambda.Core;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using Amazon.Lambda.APIGatewayEvents;
using Amazon.Lambda.AspNetCoreServer;
namespace Amazon.Lambda.TestUtilities
{
/// <summary>
/// Extension methods for APIGatewayPro... | using Amazon.Lambda.Core;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using Amazon.Lambda.APIGatewayEvents;
namespace Amazon.Lambda.AspNetCoreServer
{
/// <summary>
/// Helper extensions for APIGatewayProxyFunction
/// </summary>
p... | apache-2.0 | C# |
8efc082d1da64685f619a4ab497be61ca124e482 | Update typo in AutoIdentifierOptions | lunet-io/markdig | src/Markdig/Extensions/AutoIdentifiers/AutoIdentifierOptions.cs | src/Markdig/Extensions/AutoIdentifiers/AutoIdentifierOptions.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;
namespace Markdig.Extensions.AutoIdentifiers
{
/// <summary>
/// Options for the <see cref="AutoIdentifierExtensio... | // 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;
namespace Markdig.Extensions.AutoIdentifiers
{
/// <summary>
/// Options for the <see cref="AutoIdentifierExtensio... | bsd-2-clause | C# |
1cdb7c5ae619cbc716b11d5fc26f19903c2de734 | Expand and add comment for ShouldIgnore. | ErikSchierboom/roslyn,eriawan/roslyn,CyrusNajmabadi/roslyn,tmat/roslyn,bartdesmet/roslyn,AmadeusW/roslyn,AlekseyTs/roslyn,tannergooding/roslyn,shyamnamboodiripad/roslyn,AmadeusW/roslyn,mgoertz-msft/roslyn,bartdesmet/roslyn,CyrusNajmabadi/roslyn,eriawan/roslyn,AlekseyTs/roslyn,mgoertz-msft/roslyn,sharwell/roslyn,jasonma... | src/Analyzers/CSharp/Analyzers/NamingStyle/CSharpNamingStyleDiagnosticAnalyzer.cs | src/Analyzers/CSharp/Analyzers/NamingStyle/CSharpNamingStyleDiagnosticAnalyzer.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.Linq;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.... | // 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.Linq;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.... | mit | C# |
5e96a647c5281075aa6506e49eab44a0e8bc66ec | Create method for overload operator + and - | ivayloivanof/OOP.CSharp,ivayloivanof/OOP.CSharp | 06.OthreTypes/06.OtherTypes.Homework/OtherTypes/FractionCalculator/Class/Fraction.cs | 06.OthreTypes/06.OtherTypes.Homework/OtherTypes/FractionCalculator/Class/Fraction.cs | using System;
namespace FractionCalculator.Class
{
public struct Fraction
{
private long numerator;
private long denominator;
public Fraction(long numerator, long denominator) : this()
{
this.Numerator = numerator;
this.Denominator = denominator;
... | using System;
namespace FractionCalculator.Class
{
public struct Fraction
{
private long numerator;
private long denominator;
public Fraction(long numerator, long denominator) : this()
{
this.Numerator = numerator;
this.Denominator = denominator;
... | cc0-1.0 | C# |
6723e132efa4b88505214961c8c34074648cfedd | resolve data identity | 0xFireball/KQAnalytics3,0xFireball/KQAnalytics3,0xFireball/KQAnalytics3 | KQAnalytics3/src/KQAnalytics3/Services/Authentication/ClientAuthenticationService.cs | KQAnalytics3/src/KQAnalytics3/Services/Authentication/ClientAuthenticationService.cs | using System.Linq;
using System.Security.Claims;
using System.Security.Principal;
namespace KQAnalytics3.Services.Authentication
{
public class ClientAuthenticationService
{
public static ClaimsPrincipal ResolveClientIdentity(string apiKey)
{
// TODO!
if (KQRegistry.Ser... | using System.Security.Claims;
namespace KQAnalytics3.Services.Authentication
{
public class ClientAuthenticationService
{
public static ClaimsPrincipal ResolveClientIdentity(string apiKey)
{
// TODO!
return null;
}
}
} | agpl-3.0 | C# |
2bdcff56b610e5c4c9169b8c854110e3c400fcf4 | make new message for unblock | bitwarden/core,bitwarden/core,bitwarden/core,bitwarden/core | src/Core/Services/Implementations/AzureQueueBlockIpService.cs | src/Core/Services/Implementations/AzureQueueBlockIpService.cs | using System.Threading.Tasks;
using Microsoft.WindowsAzure.Storage;
using Microsoft.WindowsAzure.Storage.Queue;
using System;
namespace Bit.Core.Services
{
public class AzureQueueBlockIpService : IBlockIpService
{
private readonly CloudQueue _blockIpQueue;
private readonly CloudQueue _unblockI... | using System.Threading.Tasks;
using Microsoft.WindowsAzure.Storage;
using Microsoft.WindowsAzure.Storage.Queue;
using System;
namespace Bit.Core.Services
{
public class AzureQueueBlockIpService : IBlockIpService
{
private readonly CloudQueue _blockIpQueue;
private readonly CloudQueue _unblockI... | agpl-3.0 | C# |
9df2de79f2759b65516c646c4b4343782a8e4824 | Update AssemblyInfo.cs | WebApiContrib/WebApiContrib.Formatting.Razor,manesiotise/WebApiContrib.Formatting.Razor,WebApiContrib/WebApiContrib.Formatting.Razor | src/WebApiContrib.Formatting.Razor/Properties/AssemblyInfo.cs | src/WebApiContrib.Formatting.Razor/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("Web... | 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("Web... | mit | C# |
a8cdff056599dd6416d27eda513c9c4f7df167bb | Fix test data generator to return an assembly name not including the ".dll" | BenPhegan/NuGet.Extensions | NuGet.Extensions.Tests/ReferenceAnalysers/ProjectReferenceTestData.cs | NuGet.Extensions.Tests/ReferenceAnalysers/ProjectReferenceTestData.cs | using System;
using System.Collections.Generic;
using System.IO;
using Moq;
using NuGet.Extensions.MSBuild;
using NuGet.Extensions.Tests.Mocks;
namespace NuGet.Extensions.Tests.ReferenceAnalysers
{
public class ProjectReferenceTestData
{
public const string AssemblyFilenameInPackageRepository = "Assemb... | using System;
using System.Collections.Generic;
using System.IO;
using Moq;
using NuGet.Extensions.MSBuild;
using NuGet.Extensions.Tests.Mocks;
namespace NuGet.Extensions.Tests.ReferenceAnalysers
{
public class ProjectReferenceTestData
{
public const string AssemblyFilenameInPackageRepository = "Assemb... | mit | C# |
de36e1be13a41fb1ae62a9ef7d99e26406903ec8 | Refactor code. | LykkeCity/CompetitionPlatform,LykkeCity/CompetitionPlatform,LykkeCity/CompetitionPlatform | src/CompetitionPlatform/Views/Project/ParticipantsPartial.cshtml | src/CompetitionPlatform/Views/Project/ParticipantsPartial.cshtml | @model CompetitionPlatform.Models.ProjectViewModels.ProjectParticipantsPartialViewModel
<div>
<table class="table">
<thead>
<tr>
<th>USERNAME</th>
<th>REGISTRATION DATE</th>
<th>RESULT</th>
</tr>
</thead>
<tbody>
... | @model CompetitionPlatform.Models.ProjectViewModels.ProjectParticipantsPartialViewModel
<div>
<table class="table">
<thead>
<tr>
<th>USERNAME</th>
<th>REGISTRATION DATE</th>
<th>RESULT</th>
</tr>
</thead>
<tbody>
... | mit | C# |
ed60e11069429c1a3d7d20220dc7ca4d4458e990 | Implement a prefix incrementor using the new Node's child accessor. | EamonNerbonne/a-vs-an,EamonNerbonne/a-vs-an,EamonNerbonne/a-vs-an,EamonNerbonne/a-vs-an | A-vs-An/WikipediaAvsAnTrieExtractor/IncrementPrefixExtensions.cs | A-vs-An/WikipediaAvsAnTrieExtractor/IncrementPrefixExtensions.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using AvsAnLib.Internals;
namespace WikipediaAvsAnTrieExtractor {
public static class IncrementPrefixExtensions {
public static void IncrementPrefix(this MutableNode node, bool isAn, string word, int level) {
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using AvsAnLib.Internals;
namespace WikipediaAvsAnTrieExtractor {
public static class IncrementPrefixExtensions {
public static void IncrementPrefix(this MutableNode node, bool isAn, string word, int level) {
... | apache-2.0 | C# |
efa24d219119bbef51ac7cefafa615c8daad0a51 | change to use IF/ELSE | Flepper/flepper,Flepper/flepper | Flepper.QueryBuilder/Operators/Comparison/ComparisonOperators.cs | Flepper.QueryBuilder/Operators/Comparison/ComparisonOperators.cs | using System.Text;
using Flepper.QueryBuilder.Base;
using Flepper.QueryBuilder.Utils.Extensions;
namespace Flepper.QueryBuilder
{
internal class ComparisonOperators : BaseQueryBuilder, IComparisonOperators
{
public ComparisonOperators(StringBuilder command) : base(command)
{
}
... | using System.Text;
using Flepper.QueryBuilder.Base;
using Flepper.QueryBuilder.Utils.Extensions;
namespace Flepper.QueryBuilder
{
internal class ComparisonOperators : BaseQueryBuilder, IComparisonOperators
{
public ComparisonOperators(StringBuilder command) : base(command)
{
}
... | mit | C# |
e7eae5c4455e2a01b2ca100590e660e2b95983f6 | Update UnprotectingSimplyProtectedWorksheet.cs | maria-shahid-aspose/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,aspose-cells/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,asposecells/Aspose_Cells_NET,maria-sha... | Examples/CSharp/Worksheets/Security/Unprotect/UnprotectingSimplyProtectedWorksheet.cs | Examples/CSharp/Worksheets/Security/Unprotect/UnprotectingSimplyProtectedWorksheet.cs | using System.IO;
using Aspose.Cells;
namespace Aspose.Cells.Examples.Worksheets.Security.Unprotect
{
public class UnprotectingSimplyProtectedWorksheet
{
public static void Main(string[] args)
{
//Exstart:1
// The path to the documents directory.
string dataD... | using System.IO;
using Aspose.Cells;
namespace Aspose.Cells.Examples.Worksheets.Security.Unprotect
{
public class UnprotectingSimplyProtectedWorksheet
{
public static void Main(string[] args)
{
// The path to the documents directory.
string dataDir = Aspose.Cells.Exampl... | mit | C# |
9e11b9476d6fc5ea2a5d568e606a4b1fbc5c4827 | Fix summary description for ScriptFunction TimeAdd. | Erikvl87/Premotion-Mansion,devatwork/Premotion-Mansion,devatwork/Premotion-Mansion,devatwork/Premotion-Mansion,devatwork/Premotion-Mansion,Erikvl87/Premotion-Mansion,Erikvl87/Premotion-Mansion,Erikvl87/Premotion-Mansion | src/Premotion.Mansion.Core/ScriptFunctions/Date/TimeAdd.cs | src/Premotion.Mansion.Core/ScriptFunctions/Date/TimeAdd.cs | using System;
using Premotion.Mansion.Core.Scripting.ExpressionScript;
namespace Premotion.Mansion.Core.ScriptFunctions.Date
{
/// <summary>
/// Adds a number of hours, minutes or seconds to the date.
/// </summary>
[ScriptFunction("TimeAdd")]
public class TimeAdd : FunctionExpression
{
/// <summary>
/// </... | using System;
using Premotion.Mansion.Core.Scripting.ExpressionScript;
namespace Premotion.Mansion.Core.ScriptFunctions.Date
{
/// <summary>
/// Adds a number of days to the date.
/// </summary>
[ScriptFunction("TimeAdd")]
public class TimeAdd : FunctionExpression
{
/// <summary>
/// </summary>
/// <param... | mit | C# |
31de97a7bab2cf71100206b09bad4fc38941e9db | refactor tests | Pondidum/Stronk,Pondidum/Stronk | src/Stronk.Tests/ValueConverters/CsvValueConverterTests.cs | src/Stronk.Tests/ValueConverters/CsvValueConverterTests.cs | using System;
using System.Collections.Generic;
using Shouldly;
using Stronk.ValueConverters;
using Xunit;
namespace Stronk.Tests.ValueConverters
{
public class CsvValueConverterTests
{
private readonly CsvValueConverter _converter;
public CsvValueConverterTests()
{
_converter = new CsvValueConverter();
... | using System;
using System.Collections.Generic;
using Shouldly;
using Stronk.ValueConverters;
using Xunit;
namespace Stronk.Tests.ValueConverters
{
public class CsvValueConverterTests
{
private readonly CsvValueConverter _converter;
public CsvValueConverterTests()
{
_converter = new CsvValueConverter();
... | lgpl-2.1 | C# |
4ce0982d0a48219e5300cdfdf4567654ade6da07 | Fix ServiceBus initialization: System.Private.CoreLib: No parameterless constructor defined for this object. | Azure/azure-webjobs-sdk,Azure/azure-webjobs-sdk | src/Microsoft.Azure.WebJobs.ServiceBus/Config/ServiceBusExtensionConfig.cs | src/Microsoft.Azure.WebJobs.ServiceBus/Config/ServiceBusExtensionConfig.cs | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using System;
using Microsoft.Azure.WebJobs.Host;
using Microsoft.Azure.WebJobs.Host.Bindings;
using Microsoft.Azure.WebJobs.Host.Config;
using Microsoft.Azure.WebJobs... | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using System;
using Microsoft.Azure.WebJobs.Host;
using Microsoft.Azure.WebJobs.Host.Bindings;
using Microsoft.Azure.WebJobs.Host.Config;
using Microsoft.Azure.WebJobs... | mit | C# |
f52182b8dfadfe38d29c1d20ec402dcca3e91ceb | Remove FirstChanceExceptionEventArgs from BCL folder. The file has been moved into mscorlib folder | cmckinsey/coreclr,neurospeech/coreclr,sagood/coreclr,mmitche/coreclr,ruben-ayrapetyan/coreclr,ragmani/coreclr,dasMulli/coreclr,JonHanna/coreclr,gkhanna79/coreclr,kyulee1/coreclr,krytarowski/coreclr,ruben-ayrapetyan/coreclr,botaberg/coreclr,mskvortsov/coreclr,botaberg/coreclr,JosephTremoulet/coreclr,pgavlin/coreclr,pgav... | src/mscorlib/src/System/Runtime/ExceptionServices/ExceptionNotification.cs | src/mscorlib/src/System/Runtime/ExceptionServices/ExceptionNotification.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.
/*=============================================================================
**
** File: ExceptionNotification.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.
/*=============================================================================
**
** File: ExceptionNotification.cs... | mit | C# |
0a6db6596f6482c719b0cc0038d5306d1b121ad3 | Enable SA1133 by default | DotNetAnalyzers/StyleCopAnalyzers | StyleCop.Analyzers/StyleCop.Analyzers/ReadabilityRules/SA1133DoNotCombineAttributes.cs | StyleCop.Analyzers/StyleCop.Analyzers/ReadabilityRules/SA1133DoNotCombineAttributes.cs | // Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.
namespace StyleCop.Analyzers.ReadabilityRules
{
using System;
using System.Collections.Immutable;
using Microsoft.CodeAnalysis;... | // Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.
namespace StyleCop.Analyzers.ReadabilityRules
{
using System;
using System.Collections.Immutable;
using Microsoft.CodeAnalysis;... | mit | C# |
5803922b49e3a2a775a90b1dbd8ac3b3e5b7803d | fix Url rule provider to work on rooted web sites | hhland/Orchard,stormleoxia/Orchard,huoxudong125/Orchard,qt1/orchard4ibn,omidnasri/Orchard,neTp9c/Orchard,xiaobudian/Orchard,dmitry-urenev/extended-orchard-cms-v10.1,sebastienros/msc,Cphusion/Orchard,hannan-azam/Orchard,patricmutwiri/Orchard,omidnasri/Orchard,bigfont/orchard-continuous-integration-demo,yersans/Orchard,l... | src/Orchard.Web/Modules/Orchard.Widgets/RuleEngine/UrlRuleProvider.cs | src/Orchard.Web/Modules/Orchard.Widgets/RuleEngine/UrlRuleProvider.cs | using System;
using Orchard.Mvc;
using Orchard.UI.Widgets;
namespace Orchard.Widgets.RuleEngine {
public class UrlRuleProvider : IRuleProvider {
private readonly IHttpContextAccessor _httpContextAccessor;
public UrlRuleProvider(IHttpContextAccessor httpContextAccessor) {
_htt... | using System;
using Orchard.Mvc;
using Orchard.UI.Widgets;
namespace Orchard.Widgets.RuleEngine {
public class UrlRuleProvider : IRuleProvider {
private readonly IHttpContextAccessor _httpContextAccessor;
public UrlRuleProvider(IHttpContextAccessor httpContextAccessor) {
_htt... | bsd-3-clause | C# |
d1146af377d2470f5635f6b820057de8f7085416 | update DecodeEntityBase | JeffreySu/WxOpen,JeffreySu/WxOpen | src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/Entities/Watermark.cs | src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/Entities/Watermark.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Senparc.Weixin.Helpers;
namespace Senparc.Weixin.WxOpen.Entities
{
public class DecodeEntityBase
{
public Watermark watermark { get; set; }
}
public class Watermark
{
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Senparc.Weixin.WxOpen.Entities
{
public class DecodeEntityBase
{
public Watermark watermark { get; set; }
}
public class Watermark
{
public string appid { ... | apache-2.0 | C# |
8c4f327e758afcb76b42a347f117f062a6503043 | remove dead code | revaturelabs/revashare-svc-webapi | revashare-svc-webapi/revashare-svc-webapi.Tests/AdminTests.cs | revashare-svc-webapi/revashare-svc-webapi.Tests/AdminTests.cs | using Moq;
using NSubstitute;
using revashare_svc_webapi.Client.Controllers;
using revashare_svc_webapi.Logic;
using revashare_svc_webapi.Logic.AdminLogic;
using revashare_svc_webapi.Logic.Interfaces;
using revashare_svc_webapi.Logic.Models;
using revashare_svc_webapi.Logic.RevaShareServiceReference;
using revashare_s... | using Moq;
using NSubstitute;
using revashare_svc_webapi.Client.Controllers;
using revashare_svc_webapi.Logic;
using revashare_svc_webapi.Logic.AdminLogic;
using revashare_svc_webapi.Logic.Interfaces;
using revashare_svc_webapi.Logic.Models;
using revashare_svc_webapi.Logic.RevaShareServiceReference;
using revashare_s... | mit | C# |
98a55de146278cfb496508d15001638614c617ff | fix the total pages not assignment issues. | Arch/UnitOfWork | src/Microsoft.EntityFrameworkCore.UnitOfWork/PagedList/IQueryablePageListExtensions.cs | src/Microsoft.EntityFrameworkCore.UnitOfWork/PagedList/IQueryablePageListExtensions.cs | using System;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
namespace Microsoft.EntityFrameworkCore
{
public static class IQueryablePageListExtensions
{
/// <summary>
/// Converts the specified source to <see cref="IPagedList{T}"/> by the specified <paramref name="pa... | using System;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
namespace Microsoft.EntityFrameworkCore
{
public static class IQueryablePageListExtensions
{
/// <summary>
/// Converts the specified source to <see cref="IPagedList{T}"/> by the specified <paramref name="pa... | mit | C# |
43b01c5c7b251c010df213c6c2e186702041ec33 | Update NavigationPage Platform Specifics demo with pre-393 compatible color | Hitcents/Xamarin.Forms,Hitcents/Xamarin.Forms,Hitcents/Xamarin.Forms | Xamarin.Forms.Controls/GalleryPages/PlatformSpecificsGalleries/NavigationPageWindows.cs | Xamarin.Forms.Controls/GalleryPages/PlatformSpecificsGalleries/NavigationPageWindows.cs | using System.Windows.Input;
namespace Xamarin.Forms.Controls.GalleryPages.PlatformSpecificsGalleries
{
public class NavigationPageWindows : NavigationPage
{
public NavigationPageWindows(ICommand restore)
{
PushAsync(CreateRoot(restore));
WindowsPlatformSpecificsGalleryHelpers.AddToolBarItems(this);
Bar... | using System.Windows.Input;
namespace Xamarin.Forms.Controls.GalleryPages.PlatformSpecificsGalleries
{
public class NavigationPageWindows : NavigationPage
{
public NavigationPageWindows(ICommand restore)
{
PushAsync(CreateRoot(restore));
WindowsPlatformSpecificsGalleryHelpers.AddToolBarItems(this);
Bar... | mit | C# |
636c641585d6845071e61074727f1d0a7e78c435 | set ChessGame | Chess-Variants-Training/Chess-Variants-Training,Chess-Variants-Training/Chess-Variants-Training,Chess-Variants-Training/Chess-Variants-Training | src/ChessVariantsTraining/MemoryRepositories/Variant960/GameRepoForSocketHandlers.cs | src/ChessVariantsTraining/MemoryRepositories/Variant960/GameRepoForSocketHandlers.cs | using ChessDotNet;
using ChessVariantsTraining.DbRepositories.Variant960;
using ChessVariantsTraining.Models.Variant960;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace ChessVariantsTraining.MemoryRepositories.Variant960
{
public class GameRepoForSocketHa... | using ChessDotNet;
using ChessVariantsTraining.DbRepositories.Variant960;
using ChessVariantsTraining.Models.Variant960;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace ChessVariantsTraining.MemoryRepositories.Variant960
{
public class GameRepoForSocketHa... | agpl-3.0 | C# |
628da272f4148d3f47aba21e8beb5291eb34ae62 | remove redundant null accessor | OlegKleyman/AlphaDev,OlegKleyman/AlphaDev,OlegKleyman/AlphaDev | tests/integration/AlphaDev.Web.Tests.Integration/ConfiguredLightBddScopeAttribute.cs | tests/integration/AlphaDev.Web.Tests.Integration/ConfiguredLightBddScopeAttribute.cs | using System;
using AlphaDev.Web.Tests.Integration.Features;
using LightBDD.Core.Configuration;
using LightBDD.Framework.Notification;
using LightBDD.Framework.Notification.Configuration;
using LightBDD.XUnit2;
using OpenQA.Selenium;
namespace AlphaDev.Web.Tests.Integration
{
public class ConfiguredLightBddScopeA... | using System;
using AlphaDev.Web.Tests.Integration.Features;
using LightBDD.Core.Configuration;
using LightBDD.Framework.Notification;
using LightBDD.Framework.Notification.Configuration;
using LightBDD.XUnit2;
using OpenQA.Selenium;
namespace AlphaDev.Web.Tests.Integration
{
public class ConfiguredLightBddScopeA... | unlicense | C# |
a39247e3a107180a64e65810ff28dc181df7f24f | fix warnings, using obsolete method | Saduras/TerrainGeneration,Saduras/TerrainGeneration,Saduras/TerrainGeneration | Assets/TerrainGeneration/Scripts/Editor/TerrainGeneratorWindow.cs | Assets/TerrainGeneration/Scripts/Editor/TerrainGeneratorWindow.cs | using UnityEngine;
using UnityEditor;
using System.Collections;
public class TerrainGeneratorWindow : EditorWindow
{
TerrainGenerator m_generator;
TerrainTexturer m_texturer;
[MenuItem("Window/TerrainGenerator")]
static void Init()
{
GetWindow<TerrainGeneratorWindow>();
}
void OnGUI()
{
m_generator = (T... | using UnityEngine;
using UnityEditor;
using System.Collections;
public class TerrainGeneratorWindow : EditorWindow
{
TerrainGenerator m_generator;
TerrainTexturer m_texturer;
[MenuItem("Window/TerrainGenerator")]
static void Init()
{
GetWindow<TerrainGeneratorWindow>();
}
void OnGUI()
{
m_generator = (T... | mit | C# |
b25f1ee6d83fbfc79aeacc6aa7ac0f097b746e82 | add email sender not finally :one::six: | VanHakobyan/CRM_Projects_A,VanHakobyan/CRM_Projects_A | CRM.Project_A/Src/CRM.WebApp/Controllers/EmailSenderController.cs | CRM.Project_A/Src/CRM.WebApp/Controllers/EmailSenderController.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
namespace CRM.WebApp.Controllers
{
public class EmailSenderController : ApiController
{
public static void SendEmail(string emailaddress)//List<Contact> list)
{
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
namespace CRM.WebApp.Controllers
{
public class EmailSenderController : ApiController
{
}
}
| mit | C# |
c82742263b89acf6f598d8eda457c4e5072ef103 | Fix comments | zbrad/poshtools,erwindevreugd/poshtools,SpotLabsNET/poshtools,adamdriscoll/poshtools,YOTOV-LIMITED/poshtools,mgreenegit/poshtools,Microsoft/poshtools,daviwil/poshtools,KevinHorvatin/poshtools | PowershellTools.HostService/ServiceManagement/ServiceCommon.cs | PowershellTools.HostService/ServiceManagement/ServiceCommon.cs | using Microsoft.PowerShell;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Management.Automation;
using System.Management.Automation.Host;
using System.Management.Automation.Runspaces;
using System.Reflection;
using System.Text;
using System.Threading;
using... | using Microsoft.PowerShell;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Management.Automation;
using System.Management.Automation.Host;
using System.Management.Automation.Runspaces;
using System.Reflection;
using System.Text;
using System.Threading;
using... | apache-2.0 | C# |
5bf6470b239ef581d5ea5fbb2c4c80258886636e | fix SpriteDivider | RyotaMurohoshi/character_animator_creator | unity/Assets/Editor/CharacterAnimatorCreator/SpriteDivider.cs | unity/Assets/Editor/CharacterAnimatorCreator/SpriteDivider.cs | using UnityEditor;
using UnityEngine;
using System.Linq;
public static class SpriteDivider
{
public static void Execute(string texturePath, int horizontalCount, int verticalCount)
{
var importer = TextureImporter.GetAtPath(texturePath) as TextureImporter;
importer.textureType = TextureImporter... | using UnityEditor;
using UnityEngine;
using System.Linq;
public static class SpriteDivider
{
public static void Execute(string texturePath, int horizontalCount, int verticalCount)
{
var texture = AssetDatabase.LoadAssetAtPath(texturePath, typeof(Texture)) as Texture;
var pixelPerUnit = Mathf.M... | mit | C# |
ee9dc56dc6add0a60909ce796d9e5687878560e4 | Add assertion | runceel/ReactiveProperty,runceel/ReactiveProperty,runceel/ReactiveProperty | Test/ReactiveProperty.Tests/ReactivePropertyPerformanceTest.cs | Test/ReactiveProperty.Tests/ReactivePropertyPerformanceTest.cs | using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Reactive.Linq;
using Reactive.Bindings;
using Reactive.Bindings.Extensions;
using System.Collections.Generic;
using System.Diagnostics;
using System.Reactive.Subjects;
namespace ReactiveProperty.Tests
{
[TestClass]
public class Rea... | using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Reactive.Linq;
using Reactive.Bindings;
using Reactive.Bindings.Extensions;
using System.Collections.Generic;
using System.Diagnostics;
using System.Reactive.Subjects;
namespace ReactiveProperty.Tests
{
[TestClass]
public class Rea... | mit | C# |
b6750737d78bd7dc4fa7128c1268e4829a8ea0ae | Initialize `Name` to `null` | peppy/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,peppy/osu-framework,ppy/osu-framework | osu.Framework/HostConfig.cs | osu.Framework/HostConfig.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
namespace osu.Framework
{
/// <summary>
/// Various configuration properties for a <see cref="Host"/>.
/// </summary>
public class HostConfig
{
... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
namespace osu.Framework
{
/// <summary>
/// Various configuration properties for a <see cref="Host"/>.
/// </summary>
public class HostConfig
{
... | mit | C# |
e89b306be1c17c2083dda8672aeefd82d351bfb6 | Fix Asserts.ThrowsEmbeddinatorException to throw if no exception was thrown. (#198) | jonathanpeppers/Embeddinator-4000,jonathanpeppers/Embeddinator-4000,mono/Embeddinator-4000,mono/Embeddinator-4000,jonathanpeppers/Embeddinator-4000,mono/Embeddinator-4000,jonathanpeppers/Embeddinator-4000,mono/Embeddinator-4000,jonathanpeppers/Embeddinator-4000,mono/Embeddinator-4000,jonathanpeppers/Embeddinator-4000,m... | tests/objcgentest/Asserts.cs | tests/objcgentest/Asserts.cs | using System;
using NUnit.Framework;
using Embeddinator;
namespace DriverTest
{
public static class Asserts
{
public static void ThrowsEmbeddinatorException (int code, Action action)
{
try {
action ();
Assert.Fail ($"Expected EM{code} exception, but no exception was thrown.");
} catch (Embeddina... | using System;
using NUnit.Framework;
using Embeddinator;
namespace DriverTest
{
public static class Asserts
{
public static void ThrowsEmbeddinatorException (int code, Action action)
{
try {
action ();
} catch (EmbeddinatorException ee) {
Assert.That (ee.Error, "Error");
Assert.That (ee.Code... | mit | C# |
af29ab93b9980677bd03ea414262c327f85042f7 | Add missing semicolon | Hitcents/Xamarin.Forms,Hitcents/Xamarin.Forms,Hitcents/Xamarin.Forms | Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Bugzilla35736.cs | Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Bugzilla35736.cs | using Xamarin.Forms.CustomAttributes;
using Xamarin.Forms.Internals;
#if UITEST
using Xamarin.UITest;
using Xamarin.Forms.Core.UITests;
using NUnit.Framework;
#endif
namespace Xamarin.Forms.Controls.Issues
{
[Preserve(AllMembers = true)]
[Issue(IssueTracker.Bugzilla, 35736, "[iOS] Editor does not update Text value... | using Xamarin.Forms.CustomAttributes;
using Xamarin.Forms.Internals;
#if UITEST
using Xamarin.UITest;
using Xamarin.Forms.Core.UITests
using NUnit.Framework;
#endif
namespace Xamarin.Forms.Controls.Issues
{
[Preserve(AllMembers = true)]
[Issue(IssueTracker.Bugzilla, 35736, "[iOS] Editor does not update Text value ... | mit | C# |
d2cf37651186def9836c9f6105b8596c7f1a665e | Update FindCellsStringNumber.cs | asposecells/Aspose_Cells_NET,maria-shahid-aspose/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,aspose-cells/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,asposecells/Aspose_Cells_NET,maria-shahid-aspose/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,maria-sh... | Examples/CSharp/Data/Handling/Find/FindCellsStringNumber.cs | Examples/CSharp/Data/Handling/Find/FindCellsStringNumber.cs | using System.IO;
using Aspose.Cells;
using System;
namespace Aspose.Cells.Examples.Data.Handling.Find
{
public class FindCellsStringNumber
{
public static void Main(string[] args)
{
//ExStart:1
// The path to the documents directory.
string dataDir = Aspose.... | using System.IO;
using Aspose.Cells;
using System;
namespace Aspose.Cells.Examples.Data.Handling.Find
{
public class FindCellsStringNumber
{
public static void Main(string[] args)
{
// The path to the documents directory.
string dataDir = Aspose.Cells.Examples.Utils.Get... | mit | C# |
188e082a16f942e070027d2cee841a26ff08f38a | set current release number | cjhnim/TDD-Katas,cjhnim/TDD-Katas,garora/TDD-Katas | TDD-Katas-project/TDD-Katas-project/Properties/AssemblyInfo.cs | TDD-Katas-project/TDD-Katas-project/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("TD... | 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("TD... | mit | C# |
be57f1a546a7c8afabc1a132e6ffb25760bda12c | Refactor to 'BeSimpleOptionsPage' | ulrichb/Roflcopter,ulrichb/Roflcopter | Src/Roflcopter.Plugin/MismatchedFileNames/OptionsPages/MismatchedFileNamesOptionsPage.cs | Src/Roflcopter.Plugin/MismatchedFileNames/OptionsPages/MismatchedFileNamesOptionsPage.cs | #if RS20183
using JetBrains.Annotations;
using JetBrains.DataFlow;
#else
using JetBrains.Lifetimes;
#endif
using System.Diagnostics.CodeAnalysis;
using JetBrains.Application.Settings;
using JetBrains.Application.UI.Options;
using JetBrains.Application.UI.Options.OptionsDialog;
using JetBrains.IDE.UI.Extensions;
using J... | using System.Diagnostics.CodeAnalysis;
using JetBrains.Annotations;
using JetBrains.Application.UI.Options;
using JetBrains.Application.UI.Options.OptionsDialog;
using JetBrains.ReSharper.Feature.Services.Daemon.OptionPages;
using JetBrains.ReSharper.Feature.Services.Resources;
#if RS20183
using JetBrains.DataFlow;
#el... | mit | C# |
3e3d2723faa242c0d86e785e0582951d751570f9 | add ICallbackPublisher to DI. | dotnetcore/CAP,ouraspnet/cap,dotnetcore/CAP,dotnetcore/CAP | src/DotNetCore.CAP.SqlServer/CAP.SqlServerCapOptionsExtension.cs | src/DotNetCore.CAP.SqlServer/CAP.SqlServerCapOptionsExtension.cs | using System;
using DotNetCore.CAP.Processor;
using DotNetCore.CAP.SqlServer;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.DependencyInjection;
// ReSharper disable once CheckNamespace
namespace DotNetCore.CAP
{
internal class SqlServerCapOptionsExtension : ICapOptionsExtension
{
pr... | using System;
using DotNetCore.CAP.Processor;
using DotNetCore.CAP.SqlServer;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.DependencyInjection;
// ReSharper disable once CheckNamespace
namespace DotNetCore.CAP
{
internal class SqlServerCapOptionsExtension : ICapOptionsExtension
{
pr... | mit | C# |
c0e40a26f6a5a7c0a3cd5c57d754903dd5a920b3 | Add environment extensions | vostok/core | Vostok.Hosting.Core/IVostokHostingEnvironment_Extensions.cs | Vostok.Hosting.Core/IVostokHostingEnvironment_Extensions.cs | using System;
using Vostok.Airlock;
namespace Vostok.Hosting
{
public static class IVostokHostingEnvironment_Extensions
{
public static string GetLoggingRoutingKey(this IVostokHostingEnvironment hostingEnvironment)
{
return RoutingKey.TryCreate(hostingEnvironment?.Project, hostingE... | using Vostok.Airlock;
namespace Vostok.Hosting
{
public static class IVostokHostingEnvironment_Extensions
{
public static string GetLoggingRoutingKey(this IVostokHostingEnvironment hostingEnvironment)
{
return RoutingKey.TryCreate(hostingEnvironment?.Project, hostingEnvironment?.En... | mit | C# |
5cf5ab54cedb5decda5e7bf54efefea492d871f9 | test commit from VS | rivantsov/vita | 5.UnitTests/Vita.UnitTests.Basic/_Program.cs | 5.UnitTests/Vita.UnitTests.Basic/_Program.cs | using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Vita.Tools;
using Vita.UnitTests.Common;
namespace Vita.UnitTests.Basic {
// comment - just testing githug
class Program {
public static int Main(string[] args... | using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Vita.Tools;
using Vita.UnitTests.Common;
namespace Vita.UnitTests.Basic {
class Program {
public static int Main(string[] args) {
Console.WindowWidth = 120... | mit | C# |
25c6446711220426c9b6b79ed47030ee4d08733f | Fix unit test | DaveSenn/Extend | .Src/Extend.Testing/System.Type/Type.GetDeclaringAssembly.Test.cs | .Src/Extend.Testing/System.Type/Type.GetDeclaringAssembly.Test.cs | #region Usings
using System;
using FluentAssertions;
using Xunit;
#endregion
namespace Extend.Testing
{
public partial class TypeExTest
{
[Fact]
public void GetDeclaringAssemblyNullTest()
{
Type type = null;
// ReSharper disable once AssignNullToNotNullAt... | #region Usings
using System;
using FluentAssertions;
using Xunit;
#endregion
namespace Extend.Testing
{
public partial class TypeExTest
{
[Fact]
public void GetDeclaringAssemblyNullTest()
{
Type type = null;
// ReSharper disable once AssignNullToNotNullAt... | mit | C# |
3cd00355f1a9507353e4bf6d7c8cca425639f019 | Remove superfluous usings | terrajobst/xsddoc | Dev/ContentWriter/Source/XsdDocumentation.Build/GetFileVersion.cs | Dev/ContentWriter/Source/XsdDocumentation.Build/GetFileVersion.cs | using System;
using System.Diagnostics;
using Microsoft.Build.Framework;
using Microsoft.Build.Utilities;
namespace XsdDocumentation.Build
{
public sealed class GetFileVersion : Task
{
[Required]
public ITaskItem File { get; set; }
[Output]
public string Version { get; set; }
public over... | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Text;
using System.Text.RegularExpressions;
using System.Xml;
using Microsoft.Build.Framework;
using Microsoft.Build.Utilities;
namespace XsdDocumentation.Build
{
public sealed class GetFileVersion : ... | mit | C# |
53eccff651a1208fb9fa297e483420851dd11934 | Fix unknown 0x6D size logging | HelloKitty/Booma.Proxy | src/Booma.Proxy.Packets.Common/Message/Game/UnknownSubCommand6DCommand.cs | src/Booma.Proxy.Packets.Common/Message/Game/UnknownSubCommand6DCommand.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using FreecraftCore.Serializer;
namespace Booma.Proxy
{
/// <summary>
/// An unimplemented or unknown subcommand for the 0x6D packets.
/// </summary>
[WireDataContract]
public sealed class UnknownS... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using FreecraftCore.Serializer;
namespace Booma.Proxy
{
/// <summary>
/// An unimplemented or unknown subcommand for the 0x6D packets.
/// </summary>
[WireDataContract]
public sealed class UnknownS... | agpl-3.0 | C# |
6adb6731e6def6294c7aecd3bb94031de0c0e295 | Update LargeDataRowAttribute.cs | tamasflamich/effort | Main/Source/Effort.Shared/Internal/TypeGeneration/LargeDataRowAttribute.cs | Main/Source/Effort.Shared/Internal/TypeGeneration/LargeDataRowAttribute.cs | // --------------------------------------------------------------------------------------------
// <copyright file="LargeDataRowAttribute.cs" company="Effort Team">
// Copyright (C) Effort Team
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associ... | // --------------------------------------------------------------------------------------------
// <copyright file="LargeDataRowAttribute.cs" company="Effort Team">
// Copyright (C) Effort Team
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associ... | mit | C# |
0eb36de3e67a8ddf008e90eb13c2e59b82b6c7f1 | Add service contract name | Paymentsense/Dapper.SimpleSave | PS.Mothership.Core/PS.Mothership.Core.Common/Contracts/IEchoSignService.cs | PS.Mothership.Core/PS.Mothership.Core.Common/Contracts/IEchoSignService.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel;
using System.Text;
using System.Threading.Tasks;
namespace PS.Mothership.Core.Common.Contracts
{
[ServiceContract(Name = "EchoSignService")]
public interface IEchoSignCallbackService
{
[Operat... | using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel;
using System.Text;
using System.Threading.Tasks;
namespace PS.Mothership.Core.Common.Contracts
{
[ServiceContract]
public interface IEchoSignCallbackService
{
[OperationContract]
void... | mit | C# |
cfe0ee0769dde829ef7e6b79395c768871551430 | Add string representation to LinearWorkflow. | mcneel/RhinoCycles | LinearWorkflow.cs | LinearWorkflow.cs | /**
Copyright 2014-2016 Robert McNeel and Associates
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 agreed to in w... | /**
Copyright 2014-2016 Robert McNeel and Associates
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 agreed to in w... | apache-2.0 | C# |
da25c07956a9599982002f16008d1cf722a58fbe | Fix email sender to 'vote on' | Generic-Voting-Application/voting-application,stevenhillcox/voting-application,tpkelly/voting-application,JDawes-ScottLogic/voting-application,Generic-Voting-Application/voting-application,JDawes-ScottLogic/voting-application,stevenhillcox/voting-application,tpkelly/voting-application,Generic-Voting-Application/voting-... | VotingApplication/VotingApplication.Web/Api/Services/SendMailEmailSender.cs | VotingApplication/VotingApplication.Web/Api/Services/SendMailEmailSender.cs | using SendGrid;
using System.Net;
using System.Net.Mail;
using System.Threading.Tasks;
namespace VotingApplication.Web.Api.Services
{
public class SendMailEmailSender : IMailSender
{
private NetworkCredential credentials;
private string hostEmail;
public SendMailEmailSender(NetworkCre... | using Microsoft.AspNet.Identity;
using SendGrid;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Mail;
using System.Threading.Tasks;
using System.Web;
namespace VotingApplication.Web.Api.Services
{
public class SendMailEmailSender : IMailSender
{
p... | apache-2.0 | C# |
3edcfbff3490ce38395422285327bfe8719c81d0 | tweak method order | jacobpovar/MassTransit,phatboyg/MassTransit,jacobpovar/MassTransit,MassTransit/MassTransit,phatboyg/MassTransit,SanSYS/MassTransit,MassTransit/MassTransit,SanSYS/MassTransit | Samples/WebRequestReply/WebRequestReply.Core/RequestReplyController.cs | Samples/WebRequestReply/WebRequestReply.Core/RequestReplyController.cs | namespace WebRequestReply.Core
{
using System;
using MassTransit.ServiceBus;
public class RequestReplyController :
Consumes<ResponseMessage>.For<Guid>,
IDisposable
{
private readonly IServiceBus _serviceBus;
private readonly IRequestReplyView _view;
private AsyncController _asyncController;
... | namespace WebRequestReply.Core
{
using System;
using MassTransit.ServiceBus;
public class RequestReplyController :
Consumes<ResponseMessage>.For<Guid>,
IDisposable
{
private readonly IServiceBus _serviceBus;
private readonly IRequestReplyView _view;
private AsyncController _asyncController;
... | apache-2.0 | C# |
e0a3ef7a45a016828d8d15f1a10cdc0c4ac38f18 | Modify Logger to write out paramlist, sync writes to the Console. | SludgeVohaul/P2EApp | P2E.Logging/ConsoleLogger.cs | P2E.Logging/ConsoleLogger.cs | using System;
using System.Text;
using System.Threading;
using MediaBrowser.Model.Logging;
namespace P2E.Logging
{
public class ConsoleLogger : ILogger
{
private static readonly SemaphoreSlim SemSlim = new SemaphoreSlim(1, 1);
public void Info(string message, params object[] paramList)
... | using System;
using System.Text;
using MediaBrowser.Model.Logging;
namespace P2E.Logging
{
public class ConsoleLogger : ILogger
{
public void Info(string message, params object[] paramList)
{
Console.Out.WriteLine($"INFO: {message}", paramList);
}
public void Error... | bsd-2-clause | C# |
85453b8642164afb1d8a8f694d7d50149b72687d | Make FDK Bootstrapper public | SoftFx/FDK,SoftFx/FDK,SoftFx/FDK,SoftFx/FDK,SoftFx/FDK,SoftFx/FDK,SoftFx/FDK,SoftFx/FDK | FDK/SoftFX.Extended.Net/Core/Bootstrapper.cs | FDK/SoftFX.Extended.Net/Core/Bootstrapper.cs | using System;
using System.Reflection;
namespace SoftFX.Extended.Core
{
using ManagedLibrary = Library;
using Resources;
/// <summary>
/// FDK Bootstrapper
/// </summary>
public static class Bootstrapper
{
private static readonly object _locker = new object();
private stat... | using System;
using System.Reflection;
namespace SoftFX.Extended.Core
{
using ManagedLibrary = Library;
using Resources;
static class Bootstrapper
{
private static readonly object _locker = new object();
private static bool _initialized;
public static void Initialize()
... | mit | C# |
dcb41ad511ffc6cf76bdd7156ca086ba1aae03a0 | Add NamingPreferences to the SimplificationOptionProvider | genlu/roslyn,bartdesmet/roslyn,abock/roslyn,VSadov/roslyn,xoofx/roslyn,mattscheffer/roslyn,gafter/roslyn,lorcanmooney/roslyn,akrisiun/roslyn,KevinH-MS/roslyn,AlekseyTs/roslyn,tmeschter/roslyn,reaction1989/roslyn,jmarolf/roslyn,panopticoncentral/roslyn,MichalStrehovsky/roslyn,KevinH-MS/roslyn,TyOverby/roslyn,cston/rosly... | src/Workspaces/Core/Portable/Simplification/SimplificationOptionProvider.cs | src/Workspaces/Core/Portable/Simplification/SimplificationOptionProvider.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.Generic;
using System.Collections.Immutable;
using System.Composition;
using Microsoft.CodeAnalysis.Options;
using Microsoft.CodeAna... | // 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.Generic;
using System.Collections.Immutable;
using System.Composition;
using Microsoft.CodeAnalysis.Options;
using Microsoft.CodeAna... | mit | C# |
07952f53279bd453159888786ad52bd2e2087f4b | Boost priority of NavigateTo when running in OOP server. | tvand7093/roslyn,Giftednewt/roslyn,tmat/roslyn,KirillOsenkov/roslyn,yeaicc/roslyn,OmarTawfik/roslyn,jamesqo/roslyn,VSadov/roslyn,paulvanbrenk/roslyn,Hosch250/roslyn,OmarTawfik/roslyn,genlu/roslyn,DustinCampbell/roslyn,brettfo/roslyn,xasx/roslyn,pdelvo/roslyn,MichalStrehovsky/roslyn,abock/roslyn,robinsedlaczek/roslyn,Ma... | src/Workspaces/Remote/ServiceHub/Services/CodeAnalysisService_NavigateTo.cs | src/Workspaces/Remote/ServiceHub/Services/CodeAnalysisService_NavigateTo.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.Linq;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.NavigateTo;
namespace Microsoft.CodeAnalys... | // 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.Linq;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.NavigateTo;
namespace Microsoft.CodeAnalys... | apache-2.0 | C# |
fc224c53f4ee203ae3ad6b9f7d556c24b8e892f2 | Remove extra usings | peppy/osu,peppy/osu,NeoAdonis/osu,UselessToucan/osu,smoogipooo/osu,ppy/osu,ppy/osu,NeoAdonis/osu,peppy/osu,peppy/osu-new,UselessToucan/osu,smoogipoo/osu,smoogipoo/osu,ppy/osu,NeoAdonis/osu,smoogipoo/osu,UselessToucan/osu | osu.Game/Rulesets/Mods/ModRandom.cs | osu.Game/Rulesets/Mods/ModRandom.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.Bindables;
using osu.Framework.Graphics.Sprites;
using osu.Game.Configuration;
using osu.Game.Graphics;
namespace osu.Game.Rulesets.Mods
{
public... | // 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.Bindables;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.Sprites;
using osu.Framework.Graphics.U... | mit | C# |
02cc78c27fd37f338bbe484916dbcc97880ecc8c | Include include_global_state in Snapshot status API. Closes #3258. (#3276) | elastic/elasticsearch-net,elastic/elasticsearch-net | src/Nest/Modules/SnapshotAndRestore/Snapshot/SnapshotStatus/SnapshotStatusResponse.cs | src/Nest/Modules/SnapshotAndRestore/Snapshot/SnapshotStatus/SnapshotStatusResponse.cs | using System.Collections.Generic;
using Newtonsoft.Json;
namespace Nest
{
public interface ISnapshotStatusResponse : IResponse
{
[JsonProperty("snapshots")]
IReadOnlyCollection<SnapshotStatus> Snapshots { get; }
}
[JsonObject]
public class SnapshotStatusResponse : ResponseBase, ISnapshotStatusResponse
{
... | using System.Collections.Generic;
using Newtonsoft.Json;
namespace Nest
{
public interface ISnapshotStatusResponse : IResponse
{
[JsonProperty("snapshots")]
IReadOnlyCollection<SnapshotStatus> Snapshots { get; }
}
[JsonObject]
public class SnapshotStatusResponse : ResponseBase, ISnapshotStatusResponse
{
... | apache-2.0 | C# |
027b1dbfc404418171d482b7aa2b810ac3ba7508 | Update the Flex domain name to be 'flex-api' (#490) | twilio/twilio-csharp | src/Twilio/Rest/Domain.cs | src/Twilio/Rest/Domain.cs | /// This code was generated by
/// \ / _ _ _| _ _
/// | (_)\/(_)(_|\/| |(/_ v1.0.0
/// / /
using Twilio.Types;
namespace Twilio.Rest
{
public sealed class Domain : StringEnum
{
private Domain(string value) : base(value) {}
public Domain() {}
public static implicit... | /// This code was generated by
/// \ / _ _ _| _ _
/// | (_)\/(_)(_|\/| |(/_ v1.0.0
/// / /
using Twilio.Types;
namespace Twilio.Rest
{
public sealed class Domain : StringEnum
{
private Domain(string value) : base(value) {}
public Domain() {}
public static implicit... | mit | C# |
5411636bc1add5dfb90936bf7ccfdc833639c1d9 | Fix for net 2.0 | castleproject/castle-READONLY-SVN-dump,castleproject/Castle.Transactions,carcer/Castle.Components.Validator,castleproject/castle-READONLY-SVN-dump,codereflection/Castle.Components.Scheduler,castleproject/Castle.Transactions,castleproject/Castle.Transactions,castleproject/Castle.Facilities.Wcf-READONLY,castleproject/cas... | Tools/DynamicProxy/DynamicProxy/Builder/CodeBuilder/SimpleAST/MethodTokenExpression.cs | Tools/DynamicProxy/DynamicProxy/Builder/CodeBuilder/SimpleAST/MethodTokenExpression.cs | // Copyright 2004-2005 Castle Project - http://www.castleproject.org/
//
// 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
//
//... | // Copyright 2004-2005 Castle Project - http://www.castleproject.org/
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
//... | apache-2.0 | C# |
a12e2dfd88312a35714e61dfc31a5c4852deb3b8 | Add implicit operator constructor to PhoneNumber type | twilio/twilio-csharp | src/Twilio/Types/PhoneNumber.cs | src/Twilio/Types/PhoneNumber.cs | namespace Twilio.Types
{
/// <summary>
/// Phone number endpoint
/// </summary>
public class PhoneNumber : IEndpoint
{
private readonly string _number;
/// <summary>
/// Create a new PhoneNumber
/// </summary>
/// <param name="number">Phone number</param>
... | namespace Twilio.Types
{
/// <summary>
/// Phone number endpoint
/// </summary>
public class PhoneNumber : IEndpoint
{
private readonly string _number;
/// <summary>
/// Create a new PhoneNumber
/// </summary>
/// <param name="number">Phone number</param>
... | mit | C# |
6c9f8d594566719b76591eaa3ea5286b955f0b99 | Allow overriding execute method | dmgandini/RestSharp,SaltyDH/RestSharp,mattleibow/RestSharp,IsCoolEntertainment/unity-restsharp,mwereda/RestSharp,Haacked/RestSharp,dyh333/RestSharp,jmartin84/RestSharp,rucila/RestSharp,cnascimento/RestSharp,Haacked/RestSharp,mcintyre321/RestSharp-.NET-2.0-Fork,restsharp/RestSharp,felipegtx/RestSharp,who/RestSharp,dgree... | RestSharp/RestClient.Sync.cs | RestSharp/RestClient.Sync.cs | #if FRAMEWORK
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Text;
using RestSharp.Deserializers;
namespace RestSharp
{
public partial class RestClient
{
/// <summary>
/// Proxy to use for requests made by this client instance.
/// Passed on to underying Web... | #if FRAMEWORK
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Text;
using RestSharp.Deserializers;
namespace RestSharp
{
public partial class RestClient
{
/// <summary>
/// Proxy to use for requests made by this client instance.
/// Passed on to underying Web... | apache-2.0 | C# |
3c5ea718f11ceaa42422d8742bad3c255841fc45 | Fix bug in tweak | bitcoinstore/mining,bitcoinstore/mining,bitcoinstore/mining,bitcoinstore/mining,bitcoinstore/mining,martindale/scallion,shekkbuilder/scallion,martindale/scallion,shekkbuilder/scallion,shekkbuilder/scallion,shekkbuilder/scallion,shekkbuilder/scallion,shekkbuilder/scallion,martindale/scallion,martindale/scallion,martinda... | scallion/KernelGenerator.cs | scallion/KernelGenerator.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using System.Reflection;
namespace scallion
{
public class KernelGenerator
{
public static string GenerateKernel(ProgramParameters programParameters, int numberOfMasks, int numberOfHashesPerKey, uint[] Bitmask, ... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using System.Reflection;
namespace scallion
{
public class KernelGenerator
{
public static string GenerateKernel(ProgramParameters programParameters, int numberOfMasks, int numberOfHashesPerKey, uint[] Bitmask, ... | mit | C# |
fb8b58bd6b5ad4b3333505d1c25894a427a3b48d | Add enum value | alecgorge/RelistenApi,alecgorge/RelistenApi,RelistenNet/RelistenApi,RelistenNet/RelistenApi,RelistenNet/RelistenApi,RelistenNet/RelistenApi | RelistenApi/Models/Source.cs | RelistenApi/Models/Source.cs | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Reflection;
using System.Text;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
namespace Relisten.Api.Models
{
public enum FlacType
{
NoFlac,
Flac16Bit,
Flac24Bit,
NoPlayableFlac
}
public cla... | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Reflection;
using System.Text;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
namespace Relisten.Api.Models
{
public enum FlacType
{
NoFlac,
Flac16Bit,
Flac24Bit
}
public class SlimSource : Ba... | mit | C# |
84263f85795ba4a3ddb79f0c21e1f87b392830ea | add more properties for FamilyMember model | dhawalharsora/connectedcare-sdk,SnapMD/connectedcare-sdk | SnapMD.VirtualCare.ApiModels/FamilyMember.cs | SnapMD.VirtualCare.ApiModels/FamilyMember.cs | #region Copyright
// Copyright 2016 SnapMD, Inc.
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0
// Unless required by ap... | #region Copyright
// Copyright 2016 SnapMD, Inc.
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0
// Unless required by ap... | apache-2.0 | C# |
e64ccea43dea7ba278e5e7b1df0c9c94ba8f504d | Add code documentation | zvirja/AutoFixture,sergeyshushlyapin/AutoFixture,adamchester/AutoFixture,sbrockway/AutoFixture,adamchester/AutoFixture,sergeyshushlyapin/AutoFixture,AutoFixture/AutoFixture,dcastro/AutoFixture,sbrockway/AutoFixture,Pvlerick/AutoFixture,sean-gilliam/AutoFixture,dcastro/AutoFixture | Src/AutoFixture/LambdaExpressionGenerator.cs | Src/AutoFixture/LambdaExpressionGenerator.cs | namespace Ploeh.AutoFixture
{
using System;
using System.Linq;
using System.Linq.Expressions;
using Kernel;
/// <summary>
/// Creates new lambda expressions represented by the <see cref="Expression{TDelegate}"/> type.
/// </summary>
/// <remarks>
/// Specimens are typically either ... | namespace Ploeh.AutoFixture
{
using System;
using System.Linq;
using System.Linq.Expressions;
using Kernel;
public class LambdaExpressionGenerator : ISpecimenBuilder
{
public object Create(object request, ISpecimenContext context)
{
var requestType = request as Type... | mit | C# |
4f1896a72be201a105a6649ca30e82a10e1eafc9 | add new drakes passives | Foglio1024/Tera-custom-cooldowns,Foglio1024/Tera-custom-cooldowns | TCC.Core/Data/Databases/PassivityDatabase.cs | TCC.Core/Data/Databases/PassivityDatabase.cs | using System.Collections.Generic;
namespace TCC.Data.Databases
{
public static class PassivityDatabase
{
public static List<uint> Passivities = new List<uint>
{
6001, 6002, 6003, 6004, 6012, 6013, 6017, 6018
};
public static bool TryGetPassivitySkill(uint id, out S... | using System.Collections.Generic;
namespace TCC.Data.Databases
{
public static class PassivityDatabase
{
public static List<uint> Passivities = new List<uint>
{
6001, 6002, 6003, 6004, 6012, 6013
};
public static bool TryGetPassivitySkill(uint id, out Skill sk)
... | mit | C# |
8251362d6c0c5508095fcf10c308dd1b45a26a16 | rename parameter for readability | kreeben/resin,kreeben/resin | src/Sir.Search/Session/IndexDebugger.cs | src/Sir.Search/Session/IndexDebugger.cs | using System.Diagnostics;
using System.Linq;
namespace Sir.Search
{
public class IndexDebugger
{
private readonly Stopwatch _time;
private readonly int _sampleSize;
private int _batchNo;
private int _count;
public IndexDebugger(int sampleSize = 1000)
{
... | using System.Diagnostics;
using System.Linq;
namespace Sir.Search
{
public class IndexDebugger
{
private readonly Stopwatch _time;
private readonly int _batchSize;
private int _batchNo;
private int _count;
public IndexDebugger(int batchSize = 1000)
{
... | mit | C# |
f0d261bc494da9b62ad40c99538c66c866f33412 | Update tag button container markup | dsteinweg/TeacherPouch,dsteinweg/TeacherPouch,dsteinweg/TeacherPouch,dsteinweg/TeacherPouch | src/TeacherPouch/Views/Tag/Index.cshtml | src/TeacherPouch/Views/Tag/Index.cshtml | @model IEnumerable<Tag>
@{
ViewBag.Title = "Tag Index";
}
<h2>Tag Index</h2>
@if (User.Identity.IsAuthenticated)
{
<p>
<a asp-action="Create">Create new Tag</a>
</p>
}
<h3>@Model.Count() tags</h3>
<div>
@Html.Partial("_TagButtons", Model)
</div> | @model IEnumerable<Tag>
@{
ViewBag.Title = "Tag Index";
}
<h2>Tag Index</h2>
@if (User.Identity.IsAuthenticated)
{
<p>
<a asp-action="Create">Create new Tag</a>
</p>
}
<h3>@Model.Count() tags</h3>
<ul class="tag-buttons">
@Html.Partial("_TagButtons", Model)
</ul>
| mit | C# |
9577117759dd48525bbfac8523db6dd5f1114d27 | Fix bug in properties and event detection | terrajobst/platform-compat | src/Terrajobst.Pns.Scanner/PnsResult.cs | src/Terrajobst.Pns.Scanner/PnsResult.cs | using System;
namespace Terrajobst.Pns.Scanner
{
public struct PnsResult
{
public static readonly PnsResult DoesNotThrow = new PnsResult(-1);
private PnsResult(int level)
{
Level = level;
}
public static PnsResult ThrowsAt(int level)
{
... | using System;
namespace Terrajobst.Pns.Scanner
{
public struct PnsResult
{
public static readonly PnsResult DoesNotThrow = new PnsResult(-1);
private PnsResult(int level)
{
Level = level;
}
public static PnsResult ThrowsAt(int level)
{
... | mit | C# |
9bc636d7f9a1089dd2b45fdf924dc755f36438f2 | Update URLResources on Slicer client | SlicingDice/slicingdice-dot-net | Slicer/Utils/URLResources.cs | Slicer/Utils/URLResources.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Slicer.Utils
{
public static class URLResources
{
public static string Database { get { return "/database/"; } }
public static string Column { get { return "/column/"; ... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Slicer.Utils
{
public static class URLResources
{
public static string Database { get { return "/project/"; } }
public static string Column { get { return "/field/"; } ... | mit | C# |
1a35d6176f0ef295b0c5cd7f5a6f0776ddf9a88a | Update IFileInfo.cs | tiksn/TIKSN-Framework | TIKSN.Core/Data/IFileInfo.cs | TIKSN.Core/Data/IFileInfo.cs | using System;
namespace TIKSN.Data
{
public interface IFileInfo
{
string Path { get; }
}
public interface IFileInfo<TIdentity> : IFileInfo where TIdentity : IEquatable<TIdentity>
{
TIdentity ID { get; }
}
public interface IFileInfo<TIdentity, TMetadata> : IFileInfo<TIdent... | using System;
namespace TIKSN.Data
{
public interface IFileInfo
{
string Path { get; }
}
public interface IFileInfo<TIdentity> : IFileInfo where TIdentity : IEquatable<TIdentity>
{
TIdentity ID { get; }
}
public interface IFileInfo<TIdentity, TMetadata> : IFileInfo<TIdent... | mit | C# |
e5150d3714eb8280fa18db706fa623f25ecef7ac | Fix crowbar distance to work on adjacent tiles (#424) | 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,space-wizards/space-station-14-content,space-wizards/space-station-14,space-wizards/space-station-14-content | Content.Server/GameObjects/Components/Interactable/Tools/CrowbarComponent.cs | Content.Server/GameObjects/Components/Interactable/Tools/CrowbarComponent.cs | using System;
using Content.Server.GameObjects.EntitySystems;
using Content.Shared.Maps;
using Robust.Server.GameObjects.EntitySystems;
using Robust.Shared.GameObjects;
using Robust.Shared.Interfaces.GameObjects;
using Robust.Shared.Interfaces.Map;
using Robust.Shared.IoC;
using Robust.Shared.Map;
namespace Content.S... | using Content.Server.GameObjects.EntitySystems;
using Content.Shared.Maps;
using Robust.Server.GameObjects.EntitySystems;
using Robust.Shared.GameObjects;
using Robust.Shared.Interfaces.GameObjects;
using Robust.Shared.Interfaces.Map;
using Robust.Shared.IoC;
using Robust.Shared.Map;
namespace Content.Server.GameObje... | mit | C# |
ce4bc81426c7d264d498b4ceadc62b22db801ad1 | Update FullAuditedEntityOfTPrimaryKeyAndTUser.cs | chenkaibin/aspnetboilerplate,gentledepp/aspnetboilerplate,MetSystem/aspnetboilerplate,backendeveloper/aspnetboilerplate,daywrite/aspnetboilerplate,ryancyq/aspnetboilerplate,oceanho/aspnetboilerplate,s-takatsu/aspnetboilerplate,sagacite2/aspnetboilerplate,fengyeju/aspnetboilerplate,ShiningRush/aspnetboilerplate,AndHuang... | src/Abp/Domain/Entities/Auditing/FullAuditedEntityOfTPrimaryKeyAndTUser.cs | src/Abp/Domain/Entities/Auditing/FullAuditedEntityOfTPrimaryKeyAndTUser.cs | using System;
using System.ComponentModel.DataAnnotations.Schema;
namespace Abp.Domain.Entities.Auditing
{
/// <summary>
/// Implements <see cref="IFullAudited{TUser}"/> to be a base class for full-audited entities.
/// </summary>
/// <typeparam name="TPrimaryKey">Type of the primary key of the entity<... | using System;
using System.ComponentModel.DataAnnotations.Schema;
namespace Abp.Domain.Entities.Auditing
{
/// <summary>
/// Implements <see cref="IFullAudited{TUser}"/> to be a base class for full-audited entities.
/// </summary>
/// <typeparam name="TPrimaryKey">Type of the primary key of the entity<... | mit | C# |
9ee0a1f943e125d81c7be8f281c159d36eb2e17a | Abort test if test container exists. | modulexcite/lokad-cqrs | Framework/Lokad.Cqrs.Azure.Tests/Feature.TapeStorage/BlobTapeStorageTests.cs | Framework/Lokad.Cqrs.Azure.Tests/Feature.TapeStorage/BlobTapeStorageTests.cs | using System;
using Lokad.Cqrs.Properties;
using Microsoft.WindowsAzure;
using Microsoft.WindowsAzure.StorageClient;
using NUnit.Framework;
namespace Lokad.Cqrs.Feature.TapeStorage
{
[TestFixture]
public class BlobTapeStorageTests : TapeStorageTests
{
const string ContainerName = "blob-... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Lokad.Cqrs.Properties;
using Microsoft.WindowsAzure;
using Microsoft.WindowsAzure.StorageClient;
using NUnit.Framework;
namespace Lokad.Cqrs.Feature.TapeStorage
{
[TestFixture]
public class BlobTapeStorageT... | bsd-3-clause | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.