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 |
|---|---|---|---|---|---|---|---|---|
8ab1af4f9319895c1b231f29576fe6ba0c5befbc | Test async fire & forget | davidebbo-test/MvcFireAndForgetIssue,davidebbo-test/MvcFireAndForgetIssue | WebApplicationFireAndForget/Controllers/HomeController.cs | WebApplicationFireAndForget/Controllers/HomeController.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Web;
using System.Web.Mvc;
namespace WebApplicationFireAndForget.Controllers
{
public class HomeController : Controller
{
public async Task<ActionResult> Index()
{
await Ta... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace WebApplicationFireAndForget.Controllers
{
public class HomeController : Controller
{
public ActionResult Index()
{
return View();
}
public ActionRes... | apache-2.0 | C# |
8b8d8f11cf93ae32345e81a52224029f055f1c43 | check instance.GetType() rather than type param for interfaces | Pondidum/Ledger,Pondidum/Ledger | Ledger/AggregateStore.cs | Ledger/AggregateStore.cs | using System;
using System.Linq;
using Ledger.Infrastructure;
namespace Ledger
{
public class AggregateStore<TKey>
{
private readonly IEventStore _eventStore;
public int DefaultSnapshotInterval { get; set; }
public AggregateStore(IEventStore eventStore)
{
_eventStore = eventStore;
DefaultSnapshotInte... | using System;
using System.Linq;
using Ledger.Infrastructure;
namespace Ledger
{
public class AggregateStore<TKey>
{
private readonly IEventStore _eventStore;
public int DefaultSnapshotInterval { get; set; }
public AggregateStore(IEventStore eventStore)
{
_eventStore = eventStore;
DefaultSnapshotInte... | lgpl-2.1 | C# |
cd1f8706c4f5ddcce5453457e60fde272c5b5d8a | Tidy up some variables | smoogipooo/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,ppy/osu-framework,ZLima12/osu-framework,ZLima12/osu-framework,ppy/osu-framework,peppy/osu-framework,peppy/osu-framework,ppy/osu-framework | osu.Framework/Input/Handlers/Tablet/TabletDriver.cs | osu.Framework/Input/Handlers/Tablet/TabletDriver.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.
#if NET5_0
using System.Collections.Generic;
using System.IO;
using System.Linq;
using Newtonsoft.Json;
using OpenTabletDriver;
using OpenTabletDriver.Plugin;
using OpenT... | // 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.
#if NET5_0
using System.Collections.Generic;
using System.IO;
using System.Linq;
using Newtonsoft.Json;
using OpenTabletDriver;
using OpenTabletDriver.Plugin;
using OpenT... | mit | C# |
49cbaecf4c8f046c5f4058878ac0e4f41206a7dd | Update licence header | NeoAdonis/osu,smoogipooo/osu,EVAST9919/osu,peppy/osu,EVAST9919/osu,NeoAdonis/osu,naoey/osu,naoey/osu,2yangk23/osu,peppy/osu,ZLima12/osu,smoogipoo/osu,ppy/osu,DrabWeb/osu,ppy/osu,UselessToucan/osu,peppy/osu-new,smoogipoo/osu,ZLima12/osu,NeoAdonis/osu,peppy/osu,smoogipoo/osu,ppy/osu,naoey/osu,DrabWeb/osu,DrabWeb/osu,john... | osu.Game/Screens/Select/BeatmapClearScoresDialog.cs | osu.Game/Screens/Select/BeatmapClearScoresDialog.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Allocation;
using osu.Game.Beatmaps;
using osu.Game.Graphics;
using osu.Game.Overlays.Dialog;
using osu.Game.Scoring;
using System;
using System.Linq... | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using osu.Framework.Allocation;
using osu.Game.Beatmaps;
using osu.Game.Graphics;
using osu.Game.Overlays.Dialog;
using osu.Game.Scoring;
using System;
using System.Lin... | mit | C# |
c577377bf043a0aafd05dffaedf4cd64a1a9b5a1 | Repair error by changing endpoint address. | mrwizard82d1/learning_wcf,mrwizard82d1/learning_wcf | labs/ch1/HelloIndigo/Host.Specs/RunServiceHostSteps.cs | labs/ch1/HelloIndigo/Host.Specs/RunServiceHostSteps.cs |
using System;
using System.Diagnostics;
using System.ServiceModel;
using NUnit.Framework;
using TechTalk.SpecFlow;
namespace Host.Specs
{
/// <summary>
/// An **copy** of the interface specifying the contract for this service.
/// </summary>
[ServiceContract(
Namespace = "http://www.thatindig... |
using System;
using System.Diagnostics;
using System.ServiceModel;
using NUnit.Framework;
using TechTalk.SpecFlow;
namespace Host.Specs
{
/// <summary>
/// An **copy** of the interface specifying the contract for this service.
/// </summary>
[ServiceContract(
Namespace = "http://www.thatindig... | epl-1.0 | C# |
a907c8c5445a1c32c0ecbd226fccdefa6dad9afd | Bump the version. | darrencauthon/csharp-sparkpost,kirilsi/csharp-sparkpost,SparkPost/csharp-sparkpost,darrencauthon/csharp-sparkpost,kirilsi/csharp-sparkpost | src/SparkPost/Properties/AssemblyInfo.cs | src/SparkPost/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("Sp... | 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("Sp... | apache-2.0 | C# |
fb6ca776ece951f50ab8b6df529614c6f344b1e9 | Update assembly info | DSaunders/ModelMatcher.Assertions | src/ModelMatcher.Assertions/Properties/AssemblyInfo.cs | src/ModelMatcher.Assertions/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("ModelMatcher.Assertions")]
[assembly: Ass... | 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("Mo... | mit | C# |
06619ba5d99118c17cdb2430bac6260589348a42 | Add Equals and GetHashCode to PipeToken | CodefoundryDE/LegacyWrapper,CodefoundryDE/LegacyWrapper | LegacyWrapper.Common/Token/PipeToken.cs | LegacyWrapper.Common/Token/PipeToken.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using PommaLabs.Thrower;
namespace LegacyWrapper.Common.Token
{
public class PipeToken
{
public string Token { get; }
public PipeToken(string token)
{
Raise.... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using PommaLabs.Thrower;
namespace LegacyWrapper.Common.Token
{
public class PipeToken
{
public string Token { get; }
public PipeToken(string token)
{
Raise.... | mit | C# |
7811c4f5790a07c2f108fe536f10673dd50767f1 | Fix MAL profile regex name | hey-red/Markdown | MarkdownSharp/Extensions/Mal/Profile.cs | MarkdownSharp/Extensions/Mal/Profile.cs | /**
* This file is part of the MarkdownSharp package
* For the full copyright and license information,
* view the LICENSE file that was distributed with this source code.
*/
using System;
using System.Text.RegularExpressions;
namespace MarkdownSharp.Extensions.Mal
{
/// <summary>
/// Create short link f... | /**
* This file is part of the MarkdownSharp package
* For the full copyright and license information,
* view the LICENSE file that was distributed with this source code.
*/
using System;
using System.Text.RegularExpressions;
namespace MarkdownSharp.Extensions.Mal
{
/// <summary>
/// Create short link f... | mit | C# |
2c40c3a56d174de10c8b2a5fa0fc59e51a41b4f6 | Fix SubscriptionCollection | Whiteknight/Acquaintance,Whiteknight/Acquaintance | Acquaintance/SubscriptionCollection.cs | Acquaintance/SubscriptionCollection.cs | using System;
using System.Collections.Generic;
namespace Acquaintance
{
public sealed class SubscriptionCollection : ISubscribable, IRequestListenable, IDisposable
{
private readonly IMessageBus _messageBus;
private readonly List<IDisposable> _subscriptions;
public SubscriptionCollec... | using System;
using System.Collections.Generic;
namespace Acquaintance
{
public sealed class SubscriptionCollection : ISubscribable, IDisposable
{
private readonly IMessageBus _messageBus;
private readonly List<IDisposable> _subscriptions;
public SubscriptionCollection(IMessageBus mes... | apache-2.0 | C# |
c67072d7d67dda7431b1ee0426bcc591fb1f0ab1 | Update OpenTsdbSubmissionException.cs | dejanfajfar/openTSDB.net | openTSDB.net/Exceptions/OpenTsdbSubmissionException.cs | openTSDB.net/Exceptions/OpenTsdbSubmissionException.cs | using System;
namespace OpenTsdbNet.Exceptions
{
public class OpenTsdbSubmissionException : Exception
{
public OpenTsdbSubmissionException(int httpStatus, string responseMessage, Uri openTsdbUri)
: base($"[{httpStatus}] : {responseMessage} @ {openTsdbUri}")
{
HttpS... | using System;
namespace OpenTsdbNet.Exceptions
{
/// <summary>
/// Thrown when a data point submission to the openTSDB server fails
/// </summary>
public class OpenTsdbSubmissionException : Exception
{
public OpenTsdbSubmissionException(int httpStatus, string responseMessage, Uri ... | apache-2.0 | C# |
565b8906b08971e7021803252282f37e5ca9bbd6 | Add progress and project name in statusbar. | zhaoboqiang/sln2cmake,zhaoboqiang/sln2cmake | sln2cmake/SolutionConverter.cs | sln2cmake/SolutionConverter.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using EnvDTE;
using EnvDTE80;
using Microsoft.VisualStudio;
using Microsoft.VisualStudio.Shell.Interop;
namespace Sln2CMake
{
internal class SolutionConverter
{
static public void Run(IS... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using EnvDTE;
using EnvDTE80;
using Microsoft.VisualStudio;
using Microsoft.VisualStudio.Shell.Interop;
namespace Sln2CMake
{
internal class SolutionConverter
{
static public void Run(IS... | mit | C# |
9ec24457a9f394f374fa8649a90cd540b101adae | Clean up code and message. | xamarin/WebSharp,xamarin/WebSharp,xamarin/WebSharp,xamarin/WebSharp,xamarin/WebSharp,xamarin/WebSharp | docs/tutorials/printtopdf/src/PdfRenderer/PdfRenderer.cs | docs/tutorials/printtopdf/src/PdfRenderer/PdfRenderer.cs | using System;
using System.Threading.Tasks;
using WebSharpJs.NodeJS;
using WebSharpJs.Electron;
using WebSharpJs.Script;
using WebSharpJs.DOM;
//namespace PdfRenderer
//{
public class Startup
{
static WebSharpJs.NodeJS.Console console;
/// <summary>
/// Default entry into managed cod... | using System;
using System.Threading.Tasks;
using WebSharpJs.NodeJS;
using WebSharpJs.Electron;
using WebSharpJs.Script;
using WebSharpJs.DOM;
//namespace PdfRenderer
//{
public class Startup
{
static WebSharpJs.NodeJS.Console console;
/// <summary>
/// Default entry into managed cod... | mit | C# |
e2c043737dbe4c95f8273488cfdac437474072fd | Reword xmldoc to specify intended usage | smoogipooo/osu,ppy/osu,ppy/osu,NeoAdonis/osu,NeoAdonis/osu,smoogipoo/osu,peppy/osu,UselessToucan/osu,smoogipoo/osu,UselessToucan/osu,UselessToucan/osu,peppy/osu,peppy/osu,NeoAdonis/osu,smoogipoo/osu,ppy/osu,peppy/osu-new | osu.Game/Screens/IOsuScreen.cs | osu.Game/Screens/IOsuScreen.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.Screens;
using osu.Game.Beatmaps;
using osu.Game.Overlays;
using osu.Game.Rulesets;
namespace osu.Game.Screens
{
p... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Bindables;
using osu.Framework.Screens;
using osu.Game.Beatmaps;
using osu.Game.Overlays;
using osu.Game.Rulesets;
namespace osu.Game.Screens
{
p... | mit | C# |
a83a5b2ddb553e48471cf87fec0a8f782f643822 | Add commit for auth order | drasticactions/TwitchBot2002 | TwitchBot2002/Program.cs | TwitchBot2002/Program.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TwitchLib;
using TwitchLib.Models.Client;
using System.Speech.Synthesis;
namespace TwitchBot2002
{
class Program
{
static SpeechSynthesizer synth;
static void Main(string... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TwitchLib;
using TwitchLib.Models.Client;
using System.Speech.Synthesis;
namespace TwitchBot2002
{
class Program
{
static SpeechSynthesizer synth;
static void Main(string... | mit | C# |
fee61c56e76782a77b1e8fb2c03c01b0a9bba4be | Fix foldout | appetizermonster/Unity3D-ActionEngine | Assets/ActionEngine/AEScript/Editor/AEScriptDataDrawer.cs | Assets/ActionEngine/AEScript/Editor/AEScriptDataDrawer.cs | using System;
using System.Collections;
using UnityEditor;
using UnityEngine;
namespace ActionEngine {
[CustomPropertyDrawer(typeof(AEScriptData))]
public sealed class AEScriptDataDrawer : PropertyDrawer {
private const int TEXT_HEIGHT = 18;
public override void OnGUI (Rect position, SerializedProperty proper... | using System;
using System.Collections;
using UnityEditor;
using UnityEngine;
namespace ActionEngine {
[CustomPropertyDrawer(typeof(AEScriptData))]
public class AEScriptDataDrawer : PropertyDrawer {
private const int TEXT_HEIGHT = 18;
public override void OnGUI (Rect position, SerializedProperty property, GUI... | mit | C# |
e9179930d70c6c53c1ff87a8cd033c1c8950ec4a | Add parser error message in SerializedConstant. | Washi1337/AsmResolver,Washi1337/AsmResolver,Washi1337/AsmResolver,Washi1337/AsmResolver | src/AsmResolver.DotNet/Serialized/SerializedConstant.cs | src/AsmResolver.DotNet/Serialized/SerializedConstant.cs | using System;
using AsmResolver.DotNet.Signatures;
using AsmResolver.PE.DotNet.Metadata.Blob;
using AsmResolver.PE.DotNet.Metadata.Tables;
using AsmResolver.PE.DotNet.Metadata.Tables.Rows;
namespace AsmResolver.DotNet.Serialized
{
/// <summary>
/// Represents a lazily initialized implementation of <see cref="C... | using System;
using AsmResolver.DotNet.Signatures;
using AsmResolver.PE.DotNet.Metadata.Blob;
using AsmResolver.PE.DotNet.Metadata.Tables;
using AsmResolver.PE.DotNet.Metadata.Tables.Rows;
namespace AsmResolver.DotNet.Serialized
{
/// <summary>
/// Represents a lazily initialized implementation of <see cref="C... | mit | C# |
4abf3ee8ce22fca445fb89df288f13da1bf4b704 | Make the constructor public for usage in user custom widgets | mminns/xwt,iainx/xwt,hamekoz/xwt,antmicro/xwt,lytico/xwt,mono/xwt,residuum/xwt,sevoku/xwt,directhex/xwt,TheBrainTech/xwt,mminns/xwt,akrisiun/xwt,cra0zy/xwt,steffenWi/xwt,hwthomas/xwt | Xwt/Xwt/WidgetSpacing.cs | Xwt/Xwt/WidgetSpacing.cs | //
// WidgetSpacing.cs
//
// Author:
// Lluis Sanchez <lluis@xamarin.com>
//
// Copyright (c) 2012 Xamarin Inc
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restric... | //
// WidgetSpacing.cs
//
// Author:
// Lluis Sanchez <lluis@xamarin.com>
//
// Copyright (c) 2012 Xamarin Inc
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restric... | mit | C# |
0e80182e45ffabc7891a74f41cf9f4828db02ca1 | Use Span to drop byte[1] allocations (dotnet/coreclr#15680) | ViktorHofer/corefx,wtgodbe/corefx,ViktorHofer/corefx,ericstj/corefx,ravimeda/corefx,wtgodbe/corefx,ptoonen/corefx,BrennanConroy/corefx,ravimeda/corefx,ViktorHofer/corefx,zhenlan/corefx,Ermiar/corefx,mmitche/corefx,Ermiar/corefx,mmitche/corefx,ravimeda/corefx,zhenlan/corefx,Ermiar/corefx,BrennanConroy/corefx,ViktorHofer... | src/Common/src/CoreLib/System/IO/PinnedBufferMemoryStream.cs | src/Common/src/CoreLib/System/IO/PinnedBufferMemoryStream.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.
/*============================================================
**
**
**
**
**
** Purpose: Pins a byte[], exposing ... | // 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.
/*============================================================
**
**
**
**
**
** Purpose: Pins a byte[], exposing ... | mit | C# |
386c245e8b30692145d2a0d0259f2a45c15764af | fix parameter spelling | elastic/elasticsearch-net,elastic/elasticsearch-net | src/Nest/XPack/MachineLearning/Job/Config/DataDescription.cs | src/Nest/XPack/MachineLearning/Job/Config/DataDescription.cs | using System;
using System.Linq.Expressions;
using Newtonsoft.Json;
namespace Nest
{
/// <summary>
/// Defines the format of the input data when you send data to the machine learning job.
/// Note that when configure a datafeed, these properties are automatically set.
/// </summary>
[JsonConverter(typeof(ReadAsTy... | using System;
using System.Linq.Expressions;
using Newtonsoft.Json;
namespace Nest
{
/// <summary>
/// Defines the format of the input data when you send data to the machine learning job.
/// Note that when configure a datafeed, these properties are automatically set.
/// </summary>
[JsonConverter(typeof(ReadAsTy... | apache-2.0 | C# |
04a41908bd990228686dab67543f49931d8bb7a1 | Comment tweak to kick the CI build again. | PowerShell/PowerShellEditorServices | src/PowerShellEditorServices/Debugging/CommandBreakpointDetails.cs | src/PowerShellEditorServices/Debugging/CommandBreakpointDetails.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.Management.Automation;
using Microsoft.PowerShell.EditorServices.Utility;
namespace Microsoft.PowerShell.EditorServices
{
/// <su... | //
// 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.Management.Automation;
using Microsoft.PowerShell.EditorServices.Utility;
namespace Microsoft.PowerShell.EditorServices
{
/// <su... | mit | C# |
27755015c09bad91e9a708af57a9b32d3a6b5c50 | Fix using | binore/linterhub-cli,repometric/linterhub-cli,binore/linterhub-cli,repometric/linterhub-cli,repometric/linterhub-cli,binore/linterhub-cli | src/Metrics.Integrations.Linters/Linters/eslint/Lint.cs | src/Metrics.Integrations.Linters/Linters/eslint/Lint.cs | namespace Metrics.Integrations.Linters.eslint
{
using System.IO;
using System.Collections.Generic;
using System.Linq;
using Extensions;
public class Lint : Linter
{
public override ILinterResult Parse(Stream stream)
{
return new LintResult
{
... | using System.Runtime.InteropServices.ComTypes;
using Metrics.Integrations.Linters.csslint;
namespace Metrics.Integrations.Linters.eslint
{
using System.IO;
using System.Collections.Generic;
using System.Linq;
using Extensions;
public class Lint : Linter
{
public override ILinterResul... | mit | C# |
fa8d0bdac22ee6bbb6fe2860cb7294ab2f98bf6e | Remove stale export | karthiknadig/RTVS,karthiknadig/RTVS,MikhailArkhipov/RTVS,karthiknadig/RTVS,AlexanderSher/RTVS,AlexanderSher/RTVS,karthiknadig/RTVS,karthiknadig/RTVS,MikhailArkhipov/RTVS,karthiknadig/RTVS,AlexanderSher/RTVS,AlexanderSher/RTVS,AlexanderSher/RTVS,AlexanderSher/RTVS,AlexanderSher/RTVS,MikhailArkhipov/RTVS,MikhailArkhipov/... | src/Package/Impl/Sql/Commands/AddDbConnectionCommand.cs | src/Package/Impl/Sql/Commands/AddDbConnectionCommand.cs | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using Microsoft.VisualStudio.R.Package.Commands;
using Microsoft.VisualStudio.R.Package.ProjectSystem;
using Microsoft.VisualStudio.R.Package.ProjectSystem.Configura... | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using Microsoft.VisualStudio.R.Package.Commands;
using Microsoft.VisualStudio.R.Package.ProjectSystem;
using Microsoft.VisualStudio.R.Package.ProjectSystem.Configura... | mit | C# |
e57acb358a60f06ec721eca34853c84870777776 | Include logos as changed/added files in release note | red-gate/Library,red-gate/Library | tools/ReleaseNotesGenerator/ReleaseNotesGenerator.csx | tools/ReleaseNotesGenerator/ReleaseNotesGenerator.csx | var octokit = Require<OctokitPack>();
var client = octokit.Create("Octopus.Library.ReleaseNotesGenerator");
var owner = Env.ScriptArgs[0];
var repo = Env.ScriptArgs[1];
var milestone = Env.ScriptArgs[2];
var state = Env.ScriptArgs[3] != null ? (ItemStateFilter)Enum.Parse(typeof(ItemStateFilter), Env.ScriptArgs[3]) : I... | var octokit = Require<OctokitPack>();
var client = octokit.Create("Octopus.Library.ReleaseNotesGenerator");
var owner = Env.ScriptArgs[0];
var repo = Env.ScriptArgs[1];
var milestone = Env.ScriptArgs[2];
var state = Env.ScriptArgs[3] != null ? (ItemStateFilter)Enum.Parse(typeof(ItemStateFilter), Env.ScriptArgs[3]) : I... | apache-2.0 | C# |
b0eb5db9cb3e8abdcf7f304c8b9ec1d36e090826 | Edit page description | BluewireTechnologies/cassette,andrewdavey/cassette,honestegg/cassette,damiensawyer/cassette,honestegg/cassette,andrewdavey/cassette,andrewdavey/cassette,BluewireTechnologies/cassette,honestegg/cassette,damiensawyer/cassette,damiensawyer/cassette | src/Website/Views/Documentation/Configuration_AddFile.cshtml | src/Website/Views/Documentation/Configuration_AddFile.cshtml | @{
ViewBag.Title = "Cassette | Add File";
ViewBag.Description = "How to create a bundle from a single file.";
}
<h1>Add File</h1>
<p>A bundle can be added using a single file, for example, a .less with additional <span class="code-type">@import</span> statements. Each file set can then be a Casset... | @{
ViewBag.Title = "Cassette | Add File";
ViewBag.Description = "How to add bundles a single file.";
}
<h1>Add File</h1>
<p>A bundle can be added using a single file, for example, a .less with additional <span class="code-type">@import</span> statements. Each file set can then be a Cassette bundle... | mit | C# |
4083803253bc2e28b8c1eb8120fd9a03326839a5 | Update Alexa.NET/Response/Directive/VoicePlayerSpeakDirective.cs | stoiveyp/alexa-skills-dotnet,timheuer/alexa-skills-dotnet | Alexa.NET/Response/Directive/VoicePlayerSpeakDirective.cs | Alexa.NET/Response/Directive/VoicePlayerSpeakDirective.cs | using System;
using System.Collections.Generic;
using System.Text;
using Newtonsoft.Json;
namespace Alexa.NET.Response.Directive
{
public class VoicePlayerSpeakDirective : IProgressiveResponseDirective
{
internal VoicePlayerSpeakDirective()
{
}
public VoicePlayerSpeakDirective... | using System;
using System.Collections.Generic;
using System.Text;
using Newtonsoft.Json;
namespace Alexa.NET.Response.Directive
{
public class VoicePlayerSpeakDirective : IProgressiveResponseDirective
{
public VoicePlayerSpeakDirective()
{
}
public VoicePlayerSpeakDirective(S... | mit | C# |
7a8d542478dd3fb1aa7f8bdc1fe3c33bac611602 | change pin | JuergenGutsch/dnc-iot-rpi-demos,JuergenGutsch/dnc-iot-rpi-demos,JuergenGutsch/dnc-iot-rpi-demos | ReadSensors/src/ReadSensors/Controllers/GpioController.cs | ReadSensors/src/ReadSensors/Controllers/GpioController.cs | using Microsoft.AspNet.Mvc;
using Raspberry.IO.GeneralPurpose;
using Raspberry.IO.GeneralPurpose.Behaviors;
// For more information on enabling MVC for empty projects, visit http://go.microsoft.com/fwlink/?LinkID=397860
namespace ReadSensors.Controllers
{
public class GpioController : Controller
{
//... | using Microsoft.AspNet.Mvc;
using Raspberry.IO.GeneralPurpose;
using Raspberry.IO.GeneralPurpose.Behaviors;
// For more information on enabling MVC for empty projects, visit http://go.microsoft.com/fwlink/?LinkID=397860
namespace ReadSensors.Controllers
{
public class GpioController : Controller
{
//... | mit | C# |
0dac376d10b7414febbbd06937ba0342f9d74d9d | Fix using statements | lou1306/CIV,lou1306/CIV | CIV.Formats/Caal.cs | CIV.Formats/Caal.cs | using System.Linq;
using System.IO;
using System.Collections.Generic;
using CIV.Ccs;
using CIV.Hml;
using Newtonsoft.Json.Linq;
namespace CIV.Formats
{
public class Caal
{
public string Extension => "caal";
public string Name { get; set; }
public IDictionary<string, Ccs... | using System;
using System.Linq;
using System.IO;
using System.Collections.Generic;
using CIV.Ccs;
using CIV.Hml;
using Newtonsoft.Json.Linq;
namespace CIV.Formats
{
public class Caal
{
public string Extension => "caal";
public string Name { get; set; }
public IDictio... | mit | C# |
8cf35ded622930cf18cffee8d744b1402488acb3 | Add missing method | NinetailLabs/Cake.VersionReader | Cake.VersionReader/Cake.VersionReader/VersionReaderAliases.cs | Cake.VersionReader/Cake.VersionReader/VersionReaderAliases.cs | using System.Reflection;
using Cake.Core;
using Cake.Core.Annotations;
using Cake.Core.IO;
namespace Cake.VersionReader
{
/// <summary>
/// Version Reader Aliases
/// </summary>
[CakeAliasCategory("Version Reader")]
public static class VersionReaderAliases
{
/// <summary>
/// G... | using System.Reflection;
using Cake.Core;
using Cake.Core.Annotations;
using Cake.Core.IO;
namespace Cake.VersionReader
{
/// <summary>
/// Version Reader Aliases
/// </summary>
[CakeAliasCategory("Version Reader")]
public static class VersionReaderAliases
{
/// <summary>
/// G... | mit | C# |
8e133e47d80c62d6321b7c030c8b6f33f8e7710c | Add loading of .pll in NdapiModule.Open | felipebz/ndapi | Ndapi/NdapiModule.cs | Ndapi/NdapiModule.cs | using System.IO;
using Ndapi.Core.Handles;
namespace Ndapi
{
public abstract class NdapiModule : NdapiObject
{
internal NdapiModule()
{
}
internal NdapiModule(ObjectSafeHandle handle) : base(handle)
{
}
public static NdapiModule Open(string filename)
... | using System.IO;
using Ndapi.Core.Handles;
namespace Ndapi
{
public abstract class NdapiModule : NdapiObject
{
internal NdapiModule()
{
}
internal NdapiModule(ObjectSafeHandle handle) : base(handle)
{
}
public static NdapiModule Open(string filename)
... | mit | C# |
7316b1eb18f3f2ff8b2f7d53f9b37586cecbde1b | Add the setting to skip Azure metrics for WASB in SharkNodeBase. Which solves the exception I always got when closing the connection. | mooso/BlueCoffee,mooso/BlueCoffee,mooso/BlueCoffee,mooso/BlueCoffee | Libraries/Microsoft.Experimental.Azure.Spark/SharkNodeBase.cs | Libraries/Microsoft.Experimental.Azure.Spark/SharkNodeBase.cs | using Microsoft.Experimental.Azure.JavaPlatform;
using Microsoft.Experimental.Azure.Spark;
using Microsoft.WindowsAzure.ServiceRuntime;
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Text;
using System.Threa... | using Microsoft.Experimental.Azure.JavaPlatform;
using Microsoft.Experimental.Azure.Spark;
using Microsoft.WindowsAzure.ServiceRuntime;
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Text;
using System.Threa... | mit | C# |
47390435ad51c85eec564e961f4f90bfc9159245 | fix yaml tests | aloneguid/config | src/Config.Net.Tests/Stores/YamlFileConfigStoreTest.cs | src/Config.Net.Tests/Stores/YamlFileConfigStoreTest.cs | using Config.Net.Stores;
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using Xunit;
namespace Config.Net.Tests.Stores
{
public class YamlFileConfigStoreTest : AbstractTestFixture
{
private YamlFileConfigStore _yaml;
public YamlFileConfigStoreTest()
{
... | using Config.Net.Stores;
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using Xunit;
namespace Config.Net.Tests.Stores
{
public class YamlFileConfigStoreTest : AbstractTestFixture
{
private YamlFileConfigStore _yaml;
public YamlFileConfigStoreTest()
{
... | mit | C# |
f052cdaa985fe2f33588816f9c7479f681d63fa1 | update version file. | Aaron-Liu/enode,tangxuehua/enode | src/Extensions/ENode.EQueue/Properties/AssemblyInfo.cs | src/Extensions/ENode.EQueue/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("EN... | 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("EN... | mit | C# |
8701377ef91cb119c858820ef12d33ed59140eed | Remove NotImplementedException from CreateTable() | lecaillon/foundation | src/Foundation/Migrations/Builders/MigrationBuilder.cs | src/Foundation/Migrations/Builders/MigrationBuilder.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Foundation.Metadata;
using Foundation.Migrations.Operations;
using Foundation.Utilities;
namespace Foundation.Migrations.Builders
{
public class MigrationBuilder
{
public virtual List<MigrationOperat... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Foundation.Metadata;
using Foundation.Migrations.Operations;
using Foundation.Utilities;
namespace Foundation.Migrations.Builders
{
public class MigrationBuilder
{
public virtual List<MigrationOperat... | mit | C# |
2acf4ee2ab65634bc05fabe5ad5e1e71181b8ea5 | Add TracingConfig to catch error | nandotech/NancyAzureFileUpload | src/NancyAzureFileUpload/Helpers/CustomBootstrapper.cs | src/NancyAzureFileUpload/Helpers/CustomBootstrapper.cs | using Microsoft.Extensions.Configuration;
using Nancy;
using Nancy.TinyIoc;
using NancyAzureFileUpload.Services;
namespace NancyAzureFileUpload.Helpers
{
public class CustomBootstrapper : DefaultNancyBootstrapper
{
public IConfigurationRoot Configuration;
public CustomBootstrapper()
{
... | using Microsoft.Extensions.Configuration;
using Nancy;
using Nancy.TinyIoc;
using NancyAzureFileUpload.Services;
namespace NancyAzureFileUpload.Helpers
{
public class CustomBootstrapper : DefaultNancyBootstrapper
{
public IConfigurationRoot Configuration;
public CustomBootstrapper()
{
... | mit | C# |
4554236012c4dc19767f2f0efd56a00adf8184d2 | Update ActionCollection.cs | XamlBehaviors/XamlBehaviors,wieslawsoltes/AvaloniaBehaviors,wieslawsoltes/AvaloniaBehaviors,XamlBehaviors/XamlBehaviors | src/Avalonia.Xaml.Interactivity/ActionCollection.cs | src/Avalonia.Xaml.Interactivity/ActionCollection.cs | // Copyright (c) Wiesław Šoltés. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Collections.Specialized;
using Avalonia.Collections;
namespace Avalonia.Xaml.Interactivity
{
/// <summary>
/// Represents a co... | // Copyright (c) Wiesław Šoltés. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Collections.Specialized;
using Avalonia.Collections;
namespace Avalonia.Xaml.Interactivity
{
/// <summary>
/// Represents a co... | mit | C# |
c91ab16eecbedefefad6817e74e21c99b5c236b9 | add resolvebyname attribute to labels target property. | jkoritzinsky/Avalonia,wieslawsoltes/Perspex,AvaloniaUI/Avalonia,wieslawsoltes/Perspex,SuperJMN/Avalonia,SuperJMN/Avalonia,jkoritzinsky/Avalonia,SuperJMN/Avalonia,jkoritzinsky/Avalonia,jkoritzinsky/Perspex,jkoritzinsky/Avalonia,SuperJMN/Avalonia,SuperJMN/Avalonia,jkoritzinsky/Avalonia,jkoritzinsky/Avalonia,AvaloniaUI/Av... | src/Avalonia.Controls/Label.cs | src/Avalonia.Controls/Label.cs | using System;
using System.Collections.Generic;
using System.Runtime.CompilerServices;
using System.Text;
using Avalonia.Controls.Primitives;
using Avalonia.Controls.Templates;
using Avalonia.Data;
using Avalonia.Input;
using Avalonia.Interactivity;
namespace Avalonia.Controls
{
/// <summary>
/// Label contro... | using System;
using System.Collections.Generic;
using System.Runtime.CompilerServices;
using System.Text;
using Avalonia.Controls.Primitives;
using Avalonia.Controls.Templates;
using Avalonia.Data;
using Avalonia.Input;
using Avalonia.Interactivity;
namespace Avalonia.Controls
{
/// <summary>
/// Label contro... | mit | C# |
a552e69e1b8c94bc6ca0150810425e3807171e06 | use command parameter to specify test name | Simply360/tSQLt.NET | TsqltNet/SqlTestExecutor.cs | TsqltNet/SqlTestExecutor.cs | using System.Data;
using System.Data.SqlClient;
namespace TsqltNet
{
public class SqlTestExecutor : ISqlTestExecutor
{
public void RunTest(SqlConnection sqlConnection, string testName)
{
using (var sqlCommand = CreateCommand(testName, sqlConnection))
{
i... | using System.Data;
using System.Data.SqlClient;
namespace TsqltNet
{
public class SqlTestExecutor : ISqlTestExecutor
{
public void RunTest(SqlConnection sqlConnection, string testName)
{
var sql = GetTestExecutionCommandSql(testName);
using (var sqlCommand = new SqlCom... | mit | C# |
6ca33d54f645977ccfe00407a92ea4107fb796c6 | Update LoginForm.cs | redeqn/RedConn | RedConn/LoginForm.cs | RedConn/LoginForm.cs | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
namespace RedConn
{
public partial class LoginForm : Form
{
public LoginForm()
{
InitializeComponent();
I... | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
namespace RedConn
{
public partial class LoginForm : Form
{
public LoginForm()
{
InitializeComponent();
I... | mit | C# |
f15684995b3bb0ca1e9929988c26c128379a50ba | add the hyphenated words instead of replacing. | sciolist/Lucene.Net.Analysis.Hyphenation | Lucene.Net.Analysis.Hyphenation/HyphenationTokenFilter.cs | Lucene.Net.Analysis.Hyphenation/HyphenationTokenFilter.cs | using System.Collections.Generic;
using Lucene.Net.Analysis.Tokenattributes;
namespace Lucene.Net.Analysis.Hyphenation
{
public class HyphenationTokenFilter : TokenFilter
{
private readonly Hyphenator _hyphenator;
private readonly TermAttribute _termAtt;
private readonly TypeAttribute ... | using System.Collections.Generic;
using Lucene.Net.Analysis.Tokenattributes;
namespace Lucene.Net.Analysis.Hyphenation
{
public class HyphenationTokenFilter : TokenFilter
{
private readonly Hyphenator _hyphenator;
private readonly TermAttribute _termAtt;
private readonly TypeAttribute ... | mit | C# |
c7abc6eea9deb4ab4656b520fec29012f1bf1d5c | update assembly info | jobeland/GeneticAlgorithm | NeuralNetwork.GeneticAlgorithm/Properties/AssemblyInfo.cs | NeuralNetwork.GeneticAlgorithm/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("Ne... | 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("Ne... | mit | C# |
ba379bb1b9892397da40ac3430a5b415744d9062 | Update version number | eylvisaker/AgateLib | src/Properties/AssemblyInfo.cs | src/Properties/AssemblyInfo.cs | using System;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Resources;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated ... | using System;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Resources;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated ... | mit | C# |
e47d234416dd9734c317a1f5170b3bac0babeecc | Revert "Revert "LoginTest is completed"" | oleksandrp1/SeleniumTasks | SeleniumTasksProject1.1/SeleniumTasksProject1.1/Chrome.cs | SeleniumTasksProject1.1/SeleniumTasksProject1.1/Chrome.cs | using System;
using System.Text;
using System.Collections.Generic;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using OpenQA.Selenium;
using OpenQA.Selenium.Chrome;
using OpenQA.Selenium.Support.UI;
using NUnit.Framework;
namespace SeleniumTasksProject1._1
{
[TestFixture]
public class Chrome
{
... | using System;
using System.Text;
using System.Collections.Generic;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using OpenQA.Selenium;
using OpenQA.Selenium.Chrome;
using OpenQA.Selenium.Support.UI;
using NUnit.Framework;
namespace SeleniumTasksProject1._1
{
[TestFixture]
public class Chrome
{
... | apache-2.0 | C# |
8c5b95e8c7b19dc6773749da3a6d1554191d6aa3 | Modify to adapt to on/off change of adaptive brightness | emoacht/Monitorian | Source/Monitorian.Core/Models/Monitor/WmiMonitorItem.cs | Source/Monitorian.Core/Models/Monitor/WmiMonitorItem.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Monitorian.Core.Helper;
namespace Monitorian.Core.Models.Monitor
{
/// <summary>
/// Physical monitor managed by WMI (internal monitor)
/// </summary>
internal class WmiMonitorIt... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Monitorian.Core.Helper;
namespace Monitorian.Core.Models.Monitor
{
/// <summary>
/// Physical monitor managed by WMI (internal monitor)
/// </summary>
internal class WmiMonitorIt... | mit | C# |
1ae628e338b65fa1e93d5a9a1da8c5b4ad88c4c6 | Set S-Bahns to true by default | earalov/Skylines-VehicleConverter | VehicleConverter/Options.cs | VehicleConverter/Options.cs | using System.Xml.Serialization;
using VehicleConverter.OptionsFramework.Attibutes;
namespace VehicleConverter
{
[Options("TrainConverter-Options")]
public class Options
{
private const string MOM = "Trains to metro - Require Metro Overhaul Mod (MOM)";
private const string SNOWFALL = "Train... | using System.Xml.Serialization;
using VehicleConverter.OptionsFramework.Attibutes;
namespace VehicleConverter
{
[Options("TrainConverter-Options")]
public class Options
{
private const string MOM = "Trains to metro - Require Metro Overhaul Mod (MOM)";
private const string SNOWFALL = "Train... | mit | C# |
e770090530ada5527f0ae2dacc1cfb171b981695 | Package sin CS Banner. | jmirancid/TropicalNet.Topppro,jmirancid/TropicalNet.Topppro,jmirancid/TropicalNet.Topppro | Topppro.WebSite/Areas/Humanist/Views/Packs/Index.cshtml | Topppro.WebSite/Areas/Humanist/Views/Packs/Index.cshtml | @using Framework.MVC.Extensions
@using Topppro.WebSite.Areas.Humanist.Resources
@using Topppro.WebSite.Areas.Humanist.Extensions
@model IEnumerable<Topppro.Entities.Assn_CategorySerie>
@section Styles {
<link rel="Stylesheet" type="text/css" href="@Url.Content("~/Areas/Humanist/Content/Styles/m-icons.min.... | @using Framework.MVC.Extensions
@using Topppro.WebSite.Areas.Humanist.Resources
@using Topppro.WebSite.Areas.Humanist.Extensions
@model IEnumerable<Topppro.Entities.Assn_CategorySerie>
@section Styles {
<link rel="Stylesheet" type="text/css" href="@Url.Content("~/Areas/Humanist/Content/Styles/m-icons.min.... | mit | C# |
593e8659ee1a6d8cfe5635f89d85c4be39b3797e | Add missing call to base class | grokys/Perspex,grokys/Perspex,AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,SuperJMN/Avalonia,SuperJMN/Avalonia,AvaloniaUI/Avalonia,SuperJMN/Avalonia,SuperJMN/Avalonia,SuperJMN/Avalonia,AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,SuperJMN/Avalonia,AvaloniaUI/Avalonia,SuperJMN/Avalonia,AvaloniaUI/Avalonia | src/Avalonia.ReactiveUI/ReactiveUserControl.cs | src/Avalonia.ReactiveUI/ReactiveUserControl.cs | using System;
using System.Reactive.Disposables;
using System.Reactive.Linq;
using Avalonia;
using Avalonia.VisualTree;
using Avalonia.Controls;
using ReactiveUI;
namespace Avalonia.ReactiveUI
{
/// <summary>
/// A ReactiveUI <see cref="UserControl"/> that implements the <see cref="IViewFor{TViewModel}"/> inte... | using System;
using System.Reactive.Disposables;
using System.Reactive.Linq;
using Avalonia;
using Avalonia.VisualTree;
using Avalonia.Controls;
using ReactiveUI;
namespace Avalonia.ReactiveUI
{
/// <summary>
/// A ReactiveUI <see cref="UserControl"/> that implements the <see cref="IViewFor{TViewModel}"/> inte... | mit | C# |
c0f7a83f6f3d4aaab9ce0d4d9ee2ae9674d238de | Fix featured stream item width | smoogipoo/osu,EVAST9919/osu,ppy/osu,smoogipoo/osu,peppy/osu,2yangk23/osu,smoogipoo/osu,NeoAdonis/osu,NeoAdonis/osu,UselessToucan/osu,UselessToucan/osu,NeoAdonis/osu,smoogipooo/osu,ppy/osu,peppy/osu-new,peppy/osu,EVAST9919/osu,ppy/osu,2yangk23/osu,peppy/osu,UselessToucan/osu | osu.Game/Overlays/Changelog/ChangelogUpdateStreamItem.cs | osu.Game/Overlays/Changelog/ChangelogUpdateStreamItem.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 Humanizer;
using osu.Game.Online.API.Requests.Responses;
using osuTK.Graphics;
namespace osu.Game.Overlays.Changelog
{
public class ChangelogUpdateStreamItem ... | // 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 Humanizer;
using osu.Game.Online.API.Requests.Responses;
using osuTK.Graphics;
namespace osu.Game.Overlays.Changelog
{
public class ChangelogUpdateStreamItem ... | mit | C# |
f03720cc61b27aa481dc40e7f9afb1bc77425340 | Document IDocument | lambdacasserole/sulfide | Sulfide/IDocument.cs | Sulfide/IDocument.cs | using WeifenLuo.WinFormsUI.Docking;
namespace Sulfide
{
/// <summary>
/// Represents a document that can be opened in the editor.
/// </summary>
public interface IDocument
{
/// <summary>
/// Gets the save strategy for the document.
/// </summary>
ISaveStrategy Save... | using WeifenLuo.WinFormsUI.Docking;
namespace Sulfide
{
/// <summary>
/// Represents a document that can be opened in the editor.
/// </summary>
public interface IDocument
{
ISaveStrategy SaveStrategy { get; }
IClipboardStrategy ClipboardStrategy { get; }
IPrintingStrateg... | mit | C# |
e5d50e4946f8b29a0713fb1a49e45e69869a0437 | Fix class name typo | MikhailArkhipov/RTVS,AlexanderSher/RTVS,karthiknadig/RTVS,karthiknadig/RTVS,karthiknadig/RTVS,karthiknadig/RTVS,MikhailArkhipov/RTVS,MikhailArkhipov/RTVS,AlexanderSher/RTVS,AlexanderSher/RTVS,karthiknadig/RTVS,AlexanderSher/RTVS,AlexanderSher/RTVS,MikhailArkhipov/RTVS,karthiknadig/RTVS,MikhailArkhipov/RTVS,AlexanderShe... | src/R/Editor/Application.Test/Documentation/SelectionTest.cs | src/R/Editor/Application.Test/Documentation/SelectionTest.cs | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using System.Diagnostics.CodeAnalysis;
using FluentAssertions;
using Microsoft.R.Components.ContentTypes;
using Microsoft.R.Editor.Application.Test.TestShell;
using ... | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using System.Diagnostics.CodeAnalysis;
using FluentAssertions;
using Microsoft.R.Components.ContentTypes;
using Microsoft.R.Editor.Application.Test.TestShell;
using ... | mit | C# |
05c35dd3ba74327f371b59f946f8e4a97e69ca28 | Add missing access modifier | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore | src/Microsoft.AspNet.Mvc.Razor/RazorPageOfT.cs | src/Microsoft.AspNet.Mvc.Razor/RazorPageOfT.cs | // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Linq.Expressions;
using Microsoft.AspNet.Mvc.ModelBinding;
using Microsoft.AspNet.Mvc.Rendering;
using Micro... | // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Linq.Expressions;
using Microsoft.AspNet.Mvc.ModelBinding;
using Microsoft.AspNet.Mvc.Rendering;
using Micro... | apache-2.0 | C# |
c1a4bc6876cf40cf993bb96a01f367f398d89432 | Fix UI bugs with time. | betrakiss/Tramline-5,betrakiss/Tramline-5 | src/TramlineFive/TramlineFive/ViewModels/ArrivalViewModel.cs | src/TramlineFive/TramlineFive/ViewModels/ArrivalViewModel.cs | using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TramlineFive.Common;
using TramlineFive.Common.Models;
using TramlineFive.Views.Dialogs;
namespace TramlineFive.ViewModels
{
public class ArrivalViewModel... | using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TramlineFive.Common;
using TramlineFive.Common.Models;
using TramlineFive.Views.Dialogs;
namespace TramlineFive.ViewModels
{
public class ArrivalViewModel... | apache-2.0 | C# |
ddd97fed20f5e2f939b58900b061712a7d237662 | Fix for an empty AllowedContentTypes in the DocumentSetTemplate element. | OfficeDev/PnP-Sites-Core,OfficeDev/PnP-Sites-Core,OfficeDev/PnP-Sites-Core | Core/OfficeDevPnP.Core/Framework/Provisioning/Providers/Xml/Resolvers/V201705/DocumentSetTemplateAllowedContentTypesFromModelToSchemaTypeResolver.cs | Core/OfficeDevPnP.Core/Framework/Provisioning/Providers/Xml/Resolvers/V201705/DocumentSetTemplateAllowedContentTypesFromModelToSchemaTypeResolver.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml;
using System.Xml.Linq;
namespace OfficeDevPnP.Core.Framework.Provisioning.Providers.Xml.Resolvers
{
internal class DocumentSetTemplateAllowedContentTypesFromModelToSchemaTypeResolv... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml;
using System.Xml.Linq;
namespace OfficeDevPnP.Core.Framework.Provisioning.Providers.Xml.Resolvers
{
internal class DocumentSetTemplateAllowedContentTypesFromModelToSchemaTypeResolv... | mit | C# |
69705ef22dff3eb1b08450d1e17c222afbe3807a | Introduce subject and subscribe | citizenmatt/ndc-london-2013 | rx/rx/Program.cs | rx/rx/Program.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Text;
using System.Threading.Tasks;
namespace rx
{
class Program
{
static void Main(string[] args)
{
var subject = new Subject<string>();
using (subject.Subscribe(result =>... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Text;
using System.Threading.Tasks;
namespace rx
{
class Program
{
static void Main(string[] args)
{
var wc = new WebClient();
var task = wc.DownloadStringTaskAsync("http:/... | mit | C# |
1ca93bf07fb9a2e5e412b011506f167dc0c03342 | update version | ceee/PocketSharp | PocketSharp/Properties/AssemblyInfo.cs | PocketSharp/Properties/AssemblyInfo.cs | using System.Reflection;
// 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("PocketSharp")]
[assembly: AssemblyDescription("PocketSharp is a .NET class libra... | using System.Reflection;
// 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("PocketSharp")]
[assembly: AssemblyDescription("PocketSharp is a .NET class libra... | mit | C# |
42a9de501adba635a46bdf15ce29b43ed6925cc2 | Fix for some css not working on the server | iliantrifonov/Team-Guava,iliantrifonov/Team-Guava | ExamSystem.Backend/ExamSystem.Backend.Web/App_Start/BundleConfig.cs | ExamSystem.Backend/ExamSystem.Backend.Web/App_Start/BundleConfig.cs | using System.Web;
using System.Web.Optimization;
namespace ExamSystem.Backend.Web
{
public class BundleConfig
{
// For more information on bundling, visit http://go.microsoft.com/fwlink/?LinkId=301862
public static void RegisterBundles(BundleCollection bundles)
{
bundles.Ad... | using System.Web;
using System.Web.Optimization;
namespace ExamSystem.Backend.Web
{
public class BundleConfig
{
// For more information on bundling, visit http://go.microsoft.com/fwlink/?LinkId=301862
public static void RegisterBundles(BundleCollection bundles)
{
bundles.Ad... | mit | C# |
f17e0d9de16eb1fb6af79e9e769634a58dcbc3a9 | Add period exposed to excel | cetusfinance/qwack,cetusfinance/qwack,cetusfinance/qwack,cetusfinance/qwack | src/Qwack.Excel/Dates/BusinessDateFunctions.cs | src/Qwack.Excel/Dates/BusinessDateFunctions.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using ExcelDna.Integration;
using Qwack.Dates;
using Qwack.Excel.Services;
namespace Qwack.Excel.Dates
{
public static class BusinessDateFunctions
{
[ExcelFunction(Description = "Checks if the given date is... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using ExcelDna.Integration;
using Qwack.Dates;
using Qwack.Excel.Services;
namespace Qwack.Excel.Dates
{
public static class BusinessDateFunctions
{
[ExcelFunction(Description = "Checks if the given date is... | mit | C# |
e08aafbd652641542921078a38be2f97e88cae5d | Fix RegisterUserModelValidator | senioroman4uk/PathFinder | PathFinder.Security.WebApi/Validation/RegisterUserModelValidator.cs | PathFinder.Security.WebApi/Validation/RegisterUserModelValidator.cs | using FluentValidation;
using PathFinder.Security.WebApi.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace PathFinder.Security.WebApi.Validation
{
public class RegisterUserModelValidator : AbstractValidator<RegisterUserModel>
... | using FluentValidation;
using PathFinder.Security.WebApi.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace PathFinder.Security.WebApi.Validation
{
public class RegisterUserModelValidator : AbstractValidator<RegisterUserModel>
... | mit | C# |
f1696eae922d812ad41337d1e79ffa431530f78d | Use IEnumable instead of List | 2yangk23/osu,naoey/osu,ppy/osu,smoogipoo/osu,UselessToucan/osu,peppy/osu-new,naoey/osu,smoogipoo/osu,smoogipooo/osu,UselessToucan/osu,ppy/osu,peppy/osu,peppy/osu,johnneijzen/osu,UselessToucan/osu,NeoAdonis/osu,DrabWeb/osu,johnneijzen/osu,smoogipoo/osu,2yangk23/osu,DrabWeb/osu,EVAST9919/osu,ZLima12/osu,EVAST9919/osu,nao... | osu.Game/Online/API/Requests/GetChannelMessagesRequest.cs | osu.Game/Online/API/Requests/GetChannelMessagesRequest.cs | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System.Collections.Generic;
using System.Linq;
using osu.Framework.IO.Network;
using osu.Game.Online.Chat;
namespace osu.Game.Online.API.Requests
{
... | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System.Collections.Generic;
using System.Linq;
using osu.Framework.IO.Network;
using osu.Game.Online.Chat;
namespace osu.Game.Online.API.Requests
{
... | mit | C# |
c387c7ee383ed07c180693882d89ca6ac310da4d | Include max port | serilog/serilog-sinks-loggly | src/Serilog.Sinks.Loggly/Sinks/Loggly/LogglyConfigAdapter.cs | src/Serilog.Sinks.Loggly/Sinks/Loggly/LogglyConfigAdapter.cs | using System;
using Loggly.Config;
namespace Serilog.Sinks.Loggly
{
class LogglyConfigAdapter
{
public void ConfigureLogglyClient(LogglyConfiguration logglyConfiguration)
{
var config = LogglyConfig.Instance;
if (!string.IsNullOrWhiteSpace(logglyConfiguration.Applicati... | using System;
using Loggly.Config;
namespace Serilog.Sinks.Loggly
{
class LogglyConfigAdapter
{
public void ConfigureLogglyClient(LogglyConfiguration logglyConfiguration)
{
var config = LogglyConfig.Instance;
if (!string.IsNullOrWhiteSpace(logglyConfiguration.Applicati... | apache-2.0 | C# |
543ed8a0874451e39732830a55b1a1db9cfcaa7e | Add support for updating a coupon's name | stripe/stripe-dotnet,richardlawley/stripe.net | src/Stripe.net/Services/Coupons/StripeCouponUpdateOptions.cs | src/Stripe.net/Services/Coupons/StripeCouponUpdateOptions.cs | using System.Collections.Generic;
using Newtonsoft.Json;
namespace Stripe
{
public class StripeCouponUpdateOptions : StripeBaseOptions, ISupportMetadata
{
[JsonProperty("metadata")]
public Dictionary<string, string> Metadata { get; set; }
[JsonProperty("name")]
public string N... | using System.Collections.Generic;
using Newtonsoft.Json;
namespace Stripe
{
public class StripeCouponUpdateOptions : StripeBaseOptions, ISupportMetadata
{
[JsonProperty("metadata")]
public Dictionary<string, string> Metadata { get; set; }
}
}
| apache-2.0 | C# |
22aac6aaebf04189788f60b61f69a2ecde15cafc | Make EmptyReadOnlyCollection.Instance readonly. | nbarbettini/corefx,zhenlan/corefx,krk/corefx,Priya91/corefx-1,krk/corefx,alphonsekurian/corefx,Chrisboh/corefx,billwert/corefx,lggomez/corefx,alexperovich/corefx,iamjasonp/corefx,Ermiar/corefx,yizhang82/corefx,krk/corefx,cartermp/corefx,Petermarcu/corefx,nbarbettini/corefx,lggomez/corefx,twsouthwick/corefx,gkhanna79/co... | src/Common/src/System/Dynamic/Utils/EmptyReadOnlyCollection.cs | src/Common/src/System/Dynamic/Utils/EmptyReadOnlyCollection.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.ObjectModel;
using System.Runtime.CompilerServices;
namespace System.Dynamic.Utils
{
i... | // 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.Diagnostics.Contracts;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using Sy... | mit | C# |
0384dab600b9b0cc1226d929bed1095e6f22ac22 | Add support for `OutOfBandAmount` on `CreditNote` creation | stripe/stripe-dotnet | src/Stripe.net/Services/CreditNotes/CreditNoteCreateOptions.cs | src/Stripe.net/Services/CreditNotes/CreditNoteCreateOptions.cs | namespace Stripe
{
using System.Collections.Generic;
using Newtonsoft.Json;
public class CreditNoteCreateOptions : BaseOptions, IHasMetadata
{
/// <summary>
/// Credit note amount.
/// </summary>
[JsonProperty("amount")]
public long? Amount { get; set; }
... | namespace Stripe
{
using System.Collections.Generic;
using Newtonsoft.Json;
public class CreditNoteCreateOptions : BaseOptions, IHasMetadata
{
/// <summary>
/// Credit note amount.
/// </summary>
[JsonProperty("amount")]
public long? Amount { get; set; }
... | apache-2.0 | C# |
4571ae5635d1ae20b44683d8221515a8492b577b | add comment | bitzhuwei/CSharpGL,bitzhuwei/CSharpGL,bitzhuwei/CSharpGL | CSharpGL/Scene/SceneNodes/RenderUnits/IBufferSource.cs | CSharpGL/Scene/SceneNodes/RenderUnits/IBufferSource.cs | using System.Collections.Generic;
namespace CSharpGL
{
/// <summary>
/// Data for CPU(model) -> Data for GPU(opengl buffer)
/// <para>从模型的数据格式转换为<see cref="GLBuffer"/></para>,
/// <see cref="GLBuffer"/>则可用于控制GPU的渲染操作。
/// </summary>
public interface IBufferSource
{
/// <summary>
... | using System.Collections.Generic;
namespace CSharpGL
{
/// <summary>
/// Data for CPU(model) -> Data for GPU(opengl buffer)
/// <para>从模型的数据格式转换为<see cref="GLBuffer"/></para>,
/// <see cref="GLBuffer"/>则可用于控制GPU的渲染操作。
/// </summary>
public interface IBufferSource
{
/// <summary>
... | mit | C# |
4103d8872be1ec6652a20e081ec477fb53727ee6 | update ilogger aware | CatLib/Framework,yb199478/catlib | CatLib.VS/CatLib/API/Debugger/Internal/ILoggerAware.cs | CatLib.VS/CatLib/API/Debugger/Internal/ILoggerAware.cs | /*
* This file is part of the CatLib package.
*
* (c) Yu Bin <support@catlib.io>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* Document: http://catlib.io/
*/
namespace CatLib.API.Debugger
{
/// <summary>
/// 记录器实例接口
... | /*
* This file is part of the CatLib package.
*
* (c) Yu Bin <support@catlib.io>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* Document: http://catlib.io/
*/
namespace CatLib.API.Debugger
{
/// <summary>
/// 设定记录器实例接... | unknown | C# |
51cc2cb3e4fbeddf8d998837e67ee8bd50d5204c | Unify Apache License headers in .Net code (Part #2) | jwang98052/reef,dongjoon-hyun/reef,dougmsft/reef,singlis/reef,singlis/reef,dongjoon-hyun/reef,jwang98052/incubator-reef,tcNickolas/reef,tcNickolas/incubator-reef,jsjason/incubator-reef,jsjason/incubator-reef,jwang98052/reef,apache/incubator-reef,dkm2110/Microsoft-cisl,jsjason/incubator-reef,nachocano/incubator-reef,daf... | lang/cs/Org.Apache.REEF.Wake.Tests/Properties/AssemblyInfo.cs | lang/cs/Org.Apache.REEF.Wake.Tests/Properties/AssemblyInfo.cs | // Licensed to the Apache Software Foundation (ASF) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you ma... | /**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); yo... | apache-2.0 | C# |
fbfe4e40ec98661e34a71e49fd1963bb1cd27113 | Add Shader as a shortcut type | intentor/shortcuter | src/Assets/Plugins/Editor/Shortcuter/Util/TypeUtils.cs | src/Assets/Plugins/Editor/Shortcuter/Util/TypeUtils.cs | using UnityEngine;
using UnityEditor.Animations;
using UnityEngine.Audio;
using System;
using System.Collections.Generic;
using System.Reflection;
namespace Intentor.Shortcuter.Util {
/// <summary>
/// Utility class for types.
/// </summary>
public static class TypeUtils {
/// <summary>
/// Gets all available ... | using UnityEngine;
using UnityEditor.Animations;
using UnityEngine.Audio;
using System;
using System.Collections.Generic;
using System.Reflection;
namespace Intentor.Shortcuter.Util {
/// <summary>
/// Utility class for types.
/// </summary>
public static class TypeUtils {
/// <summary>
/// Gets all available ... | mit | C# |
947f3bed84e4b9af2c75d57911714d06c0741cc6 | Use UpdateSourceTrigger.PropertyChanged for password controls | EdonGashi/WpfMaterialForms | src/MaterialForms/Controls/PasswordTextControl.xaml.cs | src/MaterialForms/Controls/PasswordTextControl.xaml.cs | using System;
using System.Runtime.InteropServices;
using System.Security;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
namespace MaterialForms.Controls
{
/// <summary>
/// Interaction logic for SingleLineTextControl.xaml
/// </summary>
public partial class PasswordT... | using System;
using System.Runtime.InteropServices;
using System.Security;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
namespace MaterialForms.Controls
{
/// <summary>
/// Interaction logic for SingleLineTextControl.xaml
/// </summary>
public partial class PasswordT... | mit | C# |
931183031795a23655d14cc4353aae53665fd3c7 | Fix for GetClientIpAddress in OWIN-hosting | andyshao/WebAPIContrib,yonglehou/WebAPIContrib,modulexcite/WebAPIContrib,WebApiContrib/WebAPIContrib,yonglehou/WebAPIContrib,andyshao/WebAPIContrib,TerraVenil/WebAPIContrib,modulexcite/WebAPIContrib,TerraVenil/WebAPIContrib,WebApiContrib/WebAPIContrib | src/WebApiContrib/Http/HttpRequestMessageExtensions.cs | src/WebApiContrib/Http/HttpRequestMessageExtensions.cs | using System;
using System.Net.Http;
namespace WebApiContrib.Http
{
public static class HttpRequestMessageExtensions
{
private const string HttpContext = "MS_HttpContext";
private const string RemoteEndpointMessage = "System.ServiceModel.Channels.RemoteEndpointMessageProperty";
private ... | using System;
using System.Net.Http;
namespace WebApiContrib.Http
{
public static class HttpRequestMessageExtensions
{
private const string HttpContext = "MS_HttpContext";
private const string RemoteEndpointMessage = "System.ServiceModel.Channels.RemoteEndpointMessageProperty";
public ... | mit | C# |
16001f42c3bb0aade68c2a3e3750305070aefe8d | Add a better message if the SimpleAssetService doesn't have an asset | KirillOsenkov/roslyn,nguerrera/roslyn,eriawan/roslyn,heejaechang/roslyn,wvdd007/roslyn,dotnet/roslyn,jmarolf/roslyn,AlekseyTs/roslyn,shyamnamboodiripad/roslyn,AmadeusW/roslyn,weltkante/roslyn,eriawan/roslyn,physhi/roslyn,panopticoncentral/roslyn,panopticoncentral/roslyn,davkean/roslyn,tannergooding/roslyn,physhi/roslyn... | src/Workspaces/Remote/Core/Shared/SimpleAssetSource.cs | src/Workspaces/Remote/Core/Shared/SimpleAssetSource.cs | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.... | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.... | mit | C# |
80af203e9646fadc18c4cefade5373457292bc90 | Update UrlTemplates.cs | RapidScada/scada,RapidScada/scada,RapidScada/scada,RapidScada/scada | ScadaWeb/ScadaWeb/ScadaWebCommon/Shell/UrlTemplates.cs | ScadaWeb/ScadaWeb/ScadaWebCommon/Shell/UrlTemplates.cs | /*
* Copyright 2018 Mikhail Shiryaev
*
* 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 a... | /*
* Copyright 2018 Mikhail Shiryaev
*
* 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 a... | apache-2.0 | C# |
fe29b093365bdff0309893bd3a1db13c4fd2bb9c | Make a whitespace change to test the TeamCity upgrade. | ekyoung/contact-repository,ekyoung/contact-repository | Source/Web/Models/RelationshipModel.cs | Source/Web/Models/RelationshipModel.cs | using System.Runtime.Serialization;
namespace Web.Models
{
[DataContract]
public class RelationshipModel
{
[DataMember]
public string Name { get; set; }
}
} | using System.Runtime.Serialization;
namespace Web.Models
{
[DataContract]
public class RelationshipModel
{
[DataMember]
public string Name { get; set; }
}
} | mit | C# |
8ac4a4e73595dfd0dd8dba52f9d740683862580a | Fix unit test | holthe/AsyncAnalyzers,holthe/AsyncAnalyzers | AsyncAnalyzers.Test/AsyncMethodConfigureAwaitAnalyzerTests.cs | AsyncAnalyzers.Test/AsyncMethodConfigureAwaitAnalyzerTests.cs | using System.IO;
using AsyncAnalyzers.ConfigureAwait;
using AsyncAnalyzers.Test.Helpers;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CodeFixes;
using Microsoft.CodeAnalysis.Diagnostics;
using Xunit;
namespace AsyncAnalyzers.Test
{
public class AsyncMethodConfigureAwaitAnalyzerTests : TestBase
{... | using System.IO;
using AsyncAnalyzers.ConfigureAwait;
using AsyncAnalyzers.Test.Helpers;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CodeFixes;
using Microsoft.CodeAnalysis.Diagnostics;
using Xunit;
namespace AsyncAnalyzers.Test
{
public class AsyncMethodConfigureAwaitAnalyzerTests : TestBase
{... | mit | C# |
192bb73ac86d110db5ce309398d5ca41f7e0de5f | fix binary reader | lovewitty/Titanium,amitla/Titanium | Titanium.HTTPProxyServer/Utility/CustomBinaryReader.cs | Titanium.HTTPProxyServer/Utility/CustomBinaryReader.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using System.Diagnostics;
namespace Titanium.HTTPProxyServer
{
public class CustomBinaryReader : BinaryReader
{
public CustomBinaryReader(Stream stream, Encoding encoding)
: base(strea... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using System.Diagnostics;
namespace Titanium.HTTPProxyServer
{
public class CustomBinaryReader : BinaryReader
{
public CustomBinaryReader(Stream stream, Encoding encoding)
: bas... | mit | C# |
471c44334a322f2b8de8f0bca69decc6c3cc4e6a | Increase toleranceSeconds in SafeWait_PollingInterval_GreaterThanTimeout test | atata-framework/atata-webdriverextras,atata-framework/atata-webdriverextras | src/Atata.WebDriverExtras.Tests/SafeWaitTests.cs | src/Atata.WebDriverExtras.Tests/SafeWaitTests.cs | using System;
using System.Threading;
using NUnit.Framework;
namespace Atata.WebDriverExtras.Tests
{
[TestFixture]
[Parallelizable(ParallelScope.None)]
public class SafeWaitTests
{
private SafeWait<object> wait;
[SetUp]
public void SetUp()
{
wait = new Safe... | using System;
using System.Threading;
using NUnit.Framework;
namespace Atata.WebDriverExtras.Tests
{
[TestFixture]
[Parallelizable(ParallelScope.None)]
public class SafeWaitTests
{
private SafeWait<object> wait;
[SetUp]
public void SetUp()
{
wait = new Safe... | apache-2.0 | C# |
caf0e3899910bf058e441b3dfdb8071f0f005033 | remove unused code | csMACnz/SeaOrDew | src/csMACnz.SeaOrDew/HandlerNotFoundException.cs | src/csMACnz.SeaOrDew/HandlerNotFoundException.cs | using System;
namespace csMACnz.SeaOrDew
{
public class HandlerNotFoundException : Exception
{
public HandlerNotFoundException(Type expectedType, string message)
: base(message)
{
ExpectedType = expectedType;
}
public Type ExpectedType { get; }
... | using System;
namespace csMACnz.SeaOrDew
{
public class HandlerNotFoundException : Exception
{
public HandlerNotFoundException(Type expectedType, string message)
: base(message)
{
ExpectedType = expectedType;
}
public HandlerNotFoundException(Type expect... | mit | C# |
1ffc5fe9fa65bade16f592137b2b776fd0d9ccb6 | Fix Symbolic duplication bug (I think). It seems to be a bug in Boogie that IdentifierExprs can be cloned twice | symbooglix/symbooglix,symbooglix/symbooglix,symbooglix/symbooglix | symbooglix/symbooglix/Expr/NonSymbolicDuplicator.cs | symbooglix/symbooglix/Expr/NonSymbolicDuplicator.cs | using System;
using Microsoft.Boogie;
using System.Diagnostics;
namespace symbooglix
{
/// <summary>
/// This duplicates Expr accept the identifier expr attached to symbolics
/// </summary>
public class NonSymbolicDuplicator : Duplicator
{
public NonSymbolicDuplicator()
{
}
... | using System;
using Microsoft.Boogie;
using System.Diagnostics;
namespace symbooglix
{
/// <summary>
/// This duplicates Expr accept the identifier expr attached to symbolics
/// </summary>
public class NonSymbolicDuplicator : Duplicator
{
public NonSymbolicDuplicator()
{
}
... | bsd-2-clause | C# |
cab048b1ab518ef9ddfa968cfec760b211253771 | Update ExceptionlessTraceTelemeter.cs | tiksn/TIKSN-Framework | TIKSN.Core/Analytics/Telemetry/ExceptionlessTraceTelemeter.cs | TIKSN.Core/Analytics/Telemetry/ExceptionlessTraceTelemeter.cs | using System;
using System.Diagnostics;
using System.Threading.Tasks;
using Exceptionless;
namespace TIKSN.Analytics.Telemetry
{
public class ExceptionlessTraceTelemeter : ExceptionlessTelemeterBase, ITraceTelemeter
{
public async Task TrackTrace(string message)
{
try
{... | using Exceptionless;
using System;
using System.Diagnostics;
using System.Threading.Tasks;
namespace TIKSN.Analytics.Telemetry
{
public class ExceptionlessTraceTelemeter : ExceptionlessTelemeterBase, ITraceTelemeter
{
public async Task TrackTrace(string message)
{
try
{... | mit | C# |
28ef4229462ef09bb1eb4abe967e569e91c5c362 | fix build error | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi.Tests/UnitTests/BitcoinCore/NodeBuildingTests.cs | WalletWasabi.Tests/UnitTests/BitcoinCore/NodeBuildingTests.cs | using NBitcoin;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using WalletWasabi.BitcoinCore;
using WalletWasabi.Tests.Helpers;
using Xunit;
namespace WalletWasabi.Tests.UnitTests.BitcoinCore
{
public class NodeBuildingTests
{
[Fact]
publ... | using NBitcoin;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using WalletWasabi.BitcoinCore;
using WalletWasabi.Tests.Helpers;
using Xunit;
namespace WalletWasabi.Tests.UnitTests.BitcoinCore
{
public class NodeBuildingTests
{
[Fact]
publ... | mit | C# |
2da9b3575efb8ca19054d38272a6af6d12737981 | Replace assembly file version by informational version | Romanets/RestImageResize,Romanets/RestImageResize,Romanets/RestImageResize,Romanets/RestImageResize,Romanets/RestImageResize | RestImageResize.EpiServer/Properties/AssemblyInfo.cs | RestImageResize.EpiServer/Properties/AssemblyInfo.cs | using System.Reflection;
// General info about the product
[assembly: AssemblyTitle("RestImageResize.EPiServer")]
[assembly: AssemblyProduct("RestImageResize")]
[assembly: AssemblyDescription("Includes required dependences and source code for easily start to use RestImageResize package in EPiServer CMS site.")]
[asse... | using System.Reflection;
// General info about the product
[assembly: AssemblyTitle("RestImageResize.EPiServer")]
[assembly: AssemblyProduct("RestImageResize")]
[assembly: AssemblyDescription("Includes required dependences and source code for easily start to use RestImageResize package in EPiServer CMS site.")]
[asse... | mit | C# |
f5b2fa21187acc5f6efa79bd2ef949d40c65b920 | Add unit test | fredatgithub/UsefulFunctions | UnitTestUsefullFunctions/UnitTestStringExtensions.cs | UnitTestUsefullFunctions/UnitTestStringExtensions.cs | /*
The MIT License(MIT)
Copyright(c) 2015 Freddy Juhel
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, pub... | /*
The MIT License(MIT)
Copyright(c) 2015 Freddy Juhel
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, pub... | mit | C# |
1baec2802a6ee205f4e4c1593abbcf00404eff34 | Update EditRangesWorksheet.cs | aspose-cells/Aspose.Cells-for-.NET,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,maria-shahid-aspose/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,aspose-cells/As... | Examples/CSharp/Worksheets/Security/EditRangesWorksheet.cs | Examples/CSharp/Worksheets/Security/EditRangesWorksheet.cs | using System.IO;
using Aspose.Cells;
namespace Aspose.Cells.Examples.Worksheets.Security
{
public class EditRangesWorksheet
{
public static void Main(string[] args)
{
//ExStart:1
// The path to the documents directory.
string dataDir = Aspose.Cells.Examples.... | using System.IO;
using Aspose.Cells;
namespace Aspose.Cells.Examples.Worksheets.Security
{
public class EditRangesWorksheet
{
public static void Main(string[] args)
{
// The path to the documents directory.
string dataDir = Aspose.Cells.Examples.Utils.GetDataDir(System.... | mit | C# |
e4ff024cf5ba71b1e0ec66ba8aada005318a00ff | Build filters only for P2WPKH scripts | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | MagicalCryptoWallet/ClientSideFilter/BlockFilterBuilder.cs | MagicalCryptoWallet/ClientSideFilter/BlockFilterBuilder.cs | using System.Collections.Generic;
using NBitcoin;
namespace MagicalCryptoWallet.Backend
{
public class BlockFilterBuilder
{
private const int P = 20;
private static readonly PayToWitPubKeyHashTemplate P2wpkh = PayToWitPubKeyHashTemplate.Instance;
public GolombRiceFilter Build(Block block)
{
var key = bl... | using System.Collections.Generic;
using NBitcoin;
namespace MagicalCryptoWallet.Backend
{
public class BlockFilterBuilder
{
private const int P = 20;
public GolombRiceFilter Build(Block block)
{
var key = block.GetHash().ToBytes();
var buffer = new List<byte[]>();
buffer.Add(key);
foreach (var ... | mit | C# |
a1874c3f6a1c60a372b9f7e2041ba07e47dae5d4 | 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.Framewo... | 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.Framework.IntegrationTests.Data.Mongo;
namespace TIKSN.Framework.IntegrationTests
{
public ... | mit | C# |
eea1d4451ccbfca879370b07b1f845a0044658e2 | Fix broken auth when POSTing/PUTing data | Seronam/crunchdotnet | src/Crunch.DotNet/Authorization/OAuthTokensExtensions.cs | src/Crunch.DotNet/Authorization/OAuthTokensExtensions.cs | using OAuth;
namespace Crunch.DotNet.Authorization
{
public static class OAuthTokensExtensions
{
public static string GetAuthorisationHeader(this OAuthTokens tokens, string url, string restMethod, string realm = null)
{
var oauthClient = new OAuthRequest
{
... | using OAuth;
namespace Crunch.DotNet.Authorization
{
public static class OAuthTokensExtensions
{
public static string GetAuthorisationHeader(this OAuthTokens tokens, string url, string restMethod, string realm = null)
{
var oauthClient = OAuthRequest.ForProtectedResource(restMethod,... | mit | C# |
92a3baed4c0f19da4218407a2fddcb3fc235e329 | Reformat for long lines | brentstineman/nether,vflorusso/nether,oliviak/nether,ankodu/nether,ankodu/nether,stuartleeks/nether,brentstineman/nether,stuartleeks/nether,ankodu/nether,stuartleeks/nether,ankodu/nether,brentstineman/nether,navalev/nether,navalev/nether,navalev/nether,vflorusso/nether,vflorusso/nether,brentstineman/nether,navalev/neth... | src/Nether.Data.MongoDB/PlayerManagement/MongoDbGroup.cs | src/Nether.Data.MongoDB/PlayerManagement/MongoDbGroup.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 MongoDB.Bson;
using MongoDB.Bson.Serialization.Attributes;
using Nether.Data.PlayerManagement;
namespace Nether.... | // 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 MongoDB.Bson;
using MongoDB.Bson.Serialization.Attributes;
using Nether.Data.PlayerManagement;
namespace Nether.... | mit | C# |
6df0069d4cd560ff6c406701f63a03c21d352700 | Revert "add default no-param constructor for ShipStationItemWeight" | agileharbor/shipStationAccess | src/ShipStationAccess/V2/Models/ShipStationItemWeight.cs | src/ShipStationAccess/V2/Models/ShipStationItemWeight.cs | using System.Runtime.Serialization;
namespace ShipStationAccess.V2.Models
{
[ DataContract ]
public sealed class ShipStationItemWeight
{
[ DataMember( Name = "value" ) ]
public decimal Value{ get; set; }
[ DataMember( Name = "units" ) ]
public string Units{ get; set; }
public ShipStationItem... | using System.Runtime.Serialization;
namespace ShipStationAccess.V2.Models
{
[ DataContract ]
public sealed class ShipStationItemWeight
{
[ DataMember( Name = "value" ) ]
public decimal Value{ get; set; }
[ DataMember( Name = "units" ) ]
public string Units{ get; set; }
public ShipStationIt... | bsd-3-clause | C# |
4966b6cc3d85117ab7fb0cdcbf1134be552f9a1d | Update WebApplicationFactoryClientOptions.cs (#40963) | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore | src/Mvc/Mvc.Testing/src/WebApplicationFactoryClientOptions.cs | src/Mvc/Mvc.Testing/src/WebApplicationFactoryClientOptions.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.Linq;
using System.Net.Http;
using Microsoft.AspNetCore.Mvc.Testing.Handlers;
namespace Microsoft.AspNetCore.Mvc.Testing;
/// <summary>
/// The default options to use... | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System.Linq;
using System.Net.Http;
using Microsoft.AspNetCore.Mvc.Testing.Handlers;
namespace Microsoft.AspNetCore.Mvc.Testing;
/// <summary>
/// The default options to use... | apache-2.0 | C# |
19ab973bb99bdcfc0cb0ff25bc64fcf0875d417d | Add second layer to test scene | peppy/osu,peppy/osu,peppy/osu-new,smoogipoo/osu,smoogipoo/osu,NeoAdonis/osu,UselessToucan/osu,NeoAdonis/osu,ppy/osu,ppy/osu,UselessToucan/osu,NeoAdonis/osu,peppy/osu,UselessToucan/osu,smoogipoo/osu,ppy/osu,smoogipooo/osu | osu.Game.Tests/Visual/UserInterface/TestSceneHueAnimation.cs | osu.Game.Tests/Visual/UserInterface/TestSceneHueAnimation.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using NUnit.Framework;
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Textures;
using osu.Game.Graphics;
using osu.Game.Graphi... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using NUnit.Framework;
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Textures;
using osu.Game.Graphics.Sprites;
namespace os... | mit | C# |
18bfcd7b222d9e13d9b6c07fdd20fed2aa30d8d0 | add hover colour to OsuMarkdownLinkText | peppy/osu,smoogipooo/osu,NeoAdonis/osu,smoogipoo/osu,ppy/osu,ppy/osu,smoogipoo/osu,UselessToucan/osu,UselessToucan/osu,NeoAdonis/osu,peppy/osu-new,peppy/osu,NeoAdonis/osu,smoogipoo/osu,UselessToucan/osu,ppy/osu,peppy/osu | osu.Game/Graphics/Containers/Markdown/OsuMarkdownLinkText.cs | osu.Game/Graphics/Containers/Markdown/OsuMarkdownLinkText.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 Markdig.Syntax.Inlines;
using osu.Framework.Allocation;
using osu.Framework.Graphics.Containers.Markdown;
using osu.Framework.Graphics.Sprites;
using osu.Framework.... | // 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 Markdig.Syntax.Inlines;
using osu.Framework.Allocation;
using osu.Framework.Graphics.Containers.Markdown;
using osu.Framework.Graphics.Sprites;
using osu.Game.Overl... | mit | C# |
7192d1d1b67b0461ff91a4280a7a981786dc63ca | resolve CA1062 warning | collinbarrett/FilterLists,collinbarrett/FilterLists,collinbarrett/FilterLists,collinbarrett/FilterLists,collinbarrett/FilterLists | server/src/FilterLists.Data/Seed/Extensions/SeedExtension.cs | server/src/FilterLists.Data/Seed/Extensions/SeedExtension.cs | using System.Collections.Generic;
using System.IO;
using System.Text.Json;
using Ardalis.GuardClauses;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
namespace FilterLists.Data.Seed.Extensions
{
public static class SeedExtension
{
public static void HasDataJsonFile<TEntity>(this EntityTypeBuil... | using System.Collections.Generic;
using System.IO;
using System.Text.Json;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
namespace FilterLists.Data.Seed.Extensions
{
public static class SeedExtension
{
public static void HasDataJsonFile<TEntity>(this EntityTypeBuilder entityTypeBuilder)
... | mit | C# |
3d1b3b4cc43a40e39a78b9418aa99b0e68e166e3 | Add AutomaticDownload option | Unity-Technologies/debugger-libs,Unity-Technologies/debugger-libs,mono/debugger-libs,mono/debugger-libs | Mono.Debugging/Mono.Debugging.Client/DebuggerSessionOptions.cs | Mono.Debugging/Mono.Debugging.Client/DebuggerSessionOptions.cs | //
// DebuggerSessionOptions.cs
//
// Author:
// Lluis Sanchez Gual <lluis@novell.com>
//
// Copyright (c) 2009 Novell, Inc (http://www.novell.com)
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to de... | //
// DebuggerSessionOptions.cs
//
// Author:
// Lluis Sanchez Gual <lluis@novell.com>
//
// Copyright (c) 2009 Novell, Inc (http://www.novell.com)
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to de... | mit | C# |
ddc7fa6ac06cb7c3cbcd678801120c2ae28dd03d | update FadeVolume function | punker76/simple-music-player | SimpleMusicPlayer/SimpleMusicPlayer/Core/Player/ChannelInfo.cs | SimpleMusicPlayer/SimpleMusicPlayer/Core/Player/ChannelInfo.cs | using System;
using FMOD;
using SimpleMusicPlayer.Core.Interfaces;
using SimpleMusicPlayer.FMODStudio;
namespace SimpleMusicPlayer.Core.Player
{
internal class ChannelInfo
{
public FMOD.Channel Channel { get; set; }
public IMediaFile File { get; set; }
public bool FadeVolume(float star... | using System;
using FMOD;
using SimpleMusicPlayer.Core.Interfaces;
using SimpleMusicPlayer.FMODStudio;
namespace SimpleMusicPlayer.Core.Player
{
internal class ChannelInfo
{
public FMOD.Channel Channel { get; set; }
public IMediaFile File { get; set; }
public bool FadeVolume(float star... | mit | C# |
76387f350346b560243f6108718f9c19f9d09182 | support refresh tokens | mika-f/Sagitta | Source/PixivNet.Tests/Clients/Auth/AuthenticationClientTest.cs | Source/PixivNet.Tests/Clients/Auth/AuthenticationClientTest.cs | using System.Threading.Tasks;
using Xunit;
namespace Pixiv.Tests.Clients.Auth
{
public class AuthenticationClientTest : PixivTestAPiClient
{
[Fact]
public async Task Login_ShouldExtendsIsNullObject()
{
await ShouldExtendsIsNullObject(w => w.Authentication.LoginAsync("**", ... | using System.Threading.Tasks;
using Xunit;
namespace Pixiv.Tests.Clients.Auth
{
public class AuthenticationClientTest : PixivTestAPiClient
{
[Fact]
public async Task Login_ShouldExtendsIsNullObject()
{
await ShouldExtendsIsNullObject(w => w.Authentication.LoginAsync("**", ... | mit | C# |
52c55af4149d9b781cd0793823e0f56fcc897dad | implement GET and POST in controller implement bad request for PUT and DELETE | MCeddy/IoT-core | IoT-Core/Controllers/ValuesController.cs | IoT-Core/Controllers/ValuesController.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using IoT_Core.Models;
namespace IoT_Core.Controllers
{
[Route("api/[controller]")]
public class ValuesController : Controller
{
private SensorValueContext _dbContext;
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
namespace IoT_Core.Controllers
{
[Route("api/[controller]")]
public class ValuesController : Controller
{
// GET api/values
[HttpGet]
public IEnumerable<... | mit | C# |
c5250527c7e29f639c68e4fa30b84eb743ef6ad3 | Implement implicit operators | sakapon/Samples-2017 | MathSample/DecimalConsole/RealDecimal.cs | MathSample/DecimalConsole/RealDecimal.cs | using System;
using System.Collections.Generic;
using System.Linq;
namespace DecimalConsole
{
public struct RealDecimal
{
public static RealDecimal Zero { get; } = default(RealDecimal);
public URealDecimal AbsoluteValue { get; }
public bool? IsPositive { get; }
p... | using System;
using System.Collections.Generic;
using System.Linq;
namespace DecimalConsole
{
public struct RealDecimal
{
public static RealDecimal Zero { get; } = default(RealDecimal);
public URealDecimal AbsoluteValue { get; }
public bool? IsPositive { get; }
p... | mit | C# |
5f47351b6fcbead8b6ab9d1b26dda31d4ff61343 | Delete some unused code | wvdd007/roslyn,panopticoncentral/roslyn,tannergooding/roslyn,bartdesmet/roslyn,mgoertz-msft/roslyn,tannergooding/roslyn,CyrusNajmabadi/roslyn,mavasani/roslyn,aelij/roslyn,CyrusNajmabadi/roslyn,physhi/roslyn,AlekseyTs/roslyn,shyamnamboodiripad/roslyn,AmadeusW/roslyn,AlekseyTs/roslyn,tannergooding/roslyn,jmarolf/roslyn,g... | src/Features/Core/Portable/RQName/Nodes/RQTypeOrNamespace.cs | src/Features/Core/Portable/RQName/Nodes/RQTypeOrNamespace.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using Microsoft.CodeAnal... | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using Microsoft.CodeAnal... | mit | C# |
416c51491f726c39d0ac59aff7871f3d28fc43a9 | update Interceptor | caoxk/OrchardEF,nicholaspei/OrchardNoCMS,caoxk/OrchardEF,jango2015/OrchardNoCMS,caoxk/OrchardEF,luchaoshuai/OrchardNoCMS,caoxk/OrchardEF,vebin/OrchardNoCMS,MetSystem/OrchardNoCMS | src/Orchard.Web/Modules/Orchard.Car/AOP/SimpleInterceptor.cs | src/Orchard.Web/Modules/Orchard.Car/AOP/SimpleInterceptor.cs | using Castle.Core.Interceptor;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace Orchard.Car.AOP
{
public class SimpleInterceptor : IInterceptor
{
public void Intercept(IInvocation invocation)
{
if (invocation.Method.Name == "CreateCar")... | using Castle.Core.Interceptor;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace Orchard.Car.AOP
{
public class SimpleInterceptor : IInterceptor
{
public void Intercept(IInvocation invocation)
{
if (invocation.Method.Name == "CreateCar")... | bsd-3-clause | C# |
49436e0aaaff5dd045ca71fe37d944a5c7266329 | add equality check unit test | ceee/PocketSharp | PocketSharp.Tests/MiscTests.cs | PocketSharp.Tests/MiscTests.cs | using PocketSharp.Models;
using System.Collections.Generic;
using System.Threading.Tasks;
using Xunit;
using System.Linq;
namespace PocketSharp.Tests
{
public class MiscTests : TestsBase
{
private int Incrementor = 0;
public MiscTests()
: base()
{
client.PreRequest = method => Incrementor... | using PocketSharp.Models;
using System.Collections.Generic;
using System.Threading.Tasks;
using Xunit;
using System.Linq;
namespace PocketSharp.Tests
{
public class MiscTests : TestsBase
{
private int Incrementor = 0;
public MiscTests()
: base()
{
client.PreRequest = method => Incrementor... | mit | C# |
defbbe9663ea430c8a48faaade360504e05a5b3a | Allow Descriptons on classes, fix syntax | mirhagk/PowerCommandParser | PowerCommandParser/HelpText.cs | PowerCommandParser/HelpText.cs | using System;
using System.Collections.Generic;
using System.Diagnostics.Contracts;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
namespace PowerCommandParser
{
[AttributeUsage(AttributeTargets.Property | AttributeTargets.Class, AllowMultip... | using System;
using System.Collections.Generic;
using System.Diagnostics.Contracts;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
namespace PowerCommandParser
{
[AttributeUsage(AttributeTargets.Property, AllowMultiple = true)]
public c... | mit | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.