conversations
listlengths
2
3
source
stringclasses
1 value
stack
stringclasses
1 value
[ { "from": "system", "value": "Split WCF functionality out of Autofac.Extras.Multitenant into a separate\nassembly/package, Autofac.Extras.Multitenant.Wcf. Both packages are versioned\n3.1.0.\n" }, { "from": "human", "value": "//-------------------------------------------------------------------...
c#
chosen
[ { "from": "system", "value": "Add drone to the right og 10x\n" }, { "from": "human", "value": "using UnityEngine;\nusing System.Collections;\nusing System.Collections.Generic;\nusing UnityEngine.UI;\n\n\npublic class Team : MonoBehaviour {\n\t\n\t//public List<Drone> team = new List<Drone>();\n...
c#
chosen
[ { "from": "system", "value": "Add some new map code\n" }, { "from": "human", "value": "using UnityEngine;\nusing System.Collections;\n\nnamespace ecorealms.map {\n\tpublic class MapPresenter : MonoBehaviour {\n\n\t\tprivate int sizeX;\n\t\tprivate int sizeY;\n\n\t\tprivate GameObject rootObject...
c#
chosen
[ { "from": "system", "value": "Remove obsolete chain to base ctor\n\nThe bootstraper is having this as single instance anyway,\nso as long as the bootstraper is reused, it is ok.\n" }, { "from": "human", "value": "using MyCouch.Extensions;\nusing Newtonsoft.Json.Serialization;\n\nnamespace MyCou...
c#
chosen
[ { "from": "system", "value": "Update IActionViewMessage message to remove verb\n" }, { "from": "human", "value": "using System.Collections.Generic;\n\nnamespace Glimpse.Agent.AspNet.Mvc.Messages\n{\n public interface IActionViewFoundMessage\n {\n string ActionId { get; set; }\n\n ...
c#
chosen
[ { "from": "system", "value": "Improve readability of previous implementation.\n\nCo-authored-by: Dean Herbert <1db828bcd41de75377dce59825af73ae7fca5651@ppy.sh>" }, { "from": "human", "value": "// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.\n// See the LICENCE file...
c#
chosen
[ { "from": "system", "value": "Fix console color staying red after unrecognized game error.\n" }, { "from": "human", "value": "using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Text;\n\nnamespace TextPet.Commands {\n\t/// <summary>\n\t/// A command line interface...
c#
chosen
[ { "from": "system", "value": "Add an extra catch to handle incorrect paths\n" }, { "from": "human", "value": "using System;\nusing System.IO;\nusing System.Xml;\nusing System.Xml.Linq;\n\n\nnamespace IvionSoft\n{\n public abstract class XmlConfig\n {\n public XElement Config { get; ...
c#
chosen
[ { "from": "system", "value": "Add comment to execution options class\n" }, { "from": "human", "value": "using System;\n\nnamespace Microsoft.PowerShell.EditorServices.Services.PowerShell.Execution\n{\n public enum ExecutionPriority\n {\n Normal,\n Next,\n }\n\n public ...
c#
chosen
[ { "from": "system", "value": "Tweak eval due email for thru and last update dates\n" }, { "from": "human", "value": "@model IEnumerable<BatteryCommander.Web.Models.Evaluation>\n\n<h1>Past Due and Upcoming Evaluations</h1>\n\n<table border=\"1\">\n <thead>\n <tr>\n <th>Ratee<...
c#
chosen
[ { "from": "system", "value": "Correct broken test - wrong exception\n" }, { "from": "human", "value": "using MVVM.HTML.Core.V8JavascriptObject;\nusing System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Text;\nusing System.Threading.Tasks;\n\nusing MVVM.HTML.Core.Infra;...
c#
chosen
[ { "from": "system", "value": "Trim search strings in deskapp.\n" }, { "from": "human", "value": "using Chalmers.ILL.Members;\nusing Chalmers.ILL.Models.Page;\nusing Chalmers.ILL.OrderItems;\nusing System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Net;\nusing System.Ne...
c#
chosen
[ { "from": "system", "value": "Include Förlorad and Förlorad? in disk page.\n" }, { "from": "human", "value": "using Chalmers.ILL.Members;\nusing Chalmers.ILL.Models.Page;\nusing Chalmers.ILL.OrderItems;\nusing System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Net;\nus...
c#
chosen
[ { "from": "system", "value": "Initialize TextInfo's m_textInfoName in stubbed out globalization\n\nSome System.Runtime.Extensions tests are failing due to IsAsciiCasingSameAsInvariant trying to use a null m_textInfoName.\n" }, { "from": "human", "value": "// Copyright (c) Microsoft. All rights r...
c#
chosen
[ { "from": "system", "value": "Fix handling empty values collection\n" }, { "from": "human", "value": "using System.Collections.Generic;\nusing System.Linq;\nusing System.Xml;\nusing System.Xml.Linq;\nusing VanillaTransformer.Core.Utility;\n\nnamespace VanillaTransformer.Core.ValuesProviders\n{\n...
c#
chosen
[ { "from": "system", "value": "Remove currently not used signal r documentation\n" }, { "from": "human", "value": "namespace NuGet.Lucene.Web.Extension.Controllers\n{\n #region Usings\n\n using AspNet.WebApi.HtmlMicrodataFormatter;\n\n using NuGet.Lucene.Web.DataServices;\n using NuG...
c#
chosen
[ { "from": "system", "value": "Fix screen breadcrumb control updating on click\n" }, { "from": "human", "value": "// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.\n// See the LICENCE file in the repository root for full licence text.\n\nusing System.Linq;\nusing osu...
c#
chosen
[ { "from": "system", "value": "Rearrange values in numeric order.\n" }, { "from": "human", "value": "using System;\n\nnamespace MySql.Data.MySqlClient\n{\n\tpublic enum MySqlDbType\n\t{\n\t\tDecimal,\n\t\tByte,\n\t\tInt16,\n\t\tInt24 = 9,\n\t\tInt32 = 3,\n\t\tInt64 = 8,\n\t\tFloat = 4,\n\t\tDoubl...
c#
chosen
[ { "from": "system", "value": "Remove unintended use of Selectors for interception\n" }, { "from": "human", "value": "using System;\nusing System.Linq;\nusing System.Reflection;\nusing Abp.Dependency;\nusing Castle.Core;\n\nnamespace Abp.EntityHistory\n{\n internal static class EntityHistoryI...
c#
chosen
[ { "from": "system", "value": "Remove votes when changing poll type\n" }, { "from": "human", "value": "using System;\nusing System.Linq;\nusing System.Net;\nusing System.Web.Http;\nusing VotingApplication.Data.Context;\nusing VotingApplication.Data.Model;\nusing VotingApplication.Web.Api.Models....
c#
chosen
[ { "from": "system", "value": "Clean up type scanner and remove lazy initialization of assembly types\n" }, { "from": "human", "value": "using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Threading;\n\nnamespace Conventional\n{\n public class TypeScanner : IType...
c#
chosen
[ { "from": "system", "value": "Fix navigation to Overview after deleting LocalClient.\n" }, { "from": "human", "value": "using Neptuo.Observables.Commands;\r\nusing System;\r\nusing System.Collections.Generic;\r\nusing System.Linq;\r\nusing System.Text;\r\nusing System.Threading.Tasks;\r\nusing ...
c#
chosen
[ { "from": "system", "value": "Use MainAsync instead of Main\n" }, { "from": "human", "value": "namespace Sandbox\n{\n public class Program\n {\n public static void Main()\n {\n }\n }\n}" }, { "from": "gpt", "value": "using System.Threading.Tasks;\n\nna...
c#
chosen
[ { "from": "system", "value": "Add method to add paragraph to section\n" }, { "from": "human", "value": "using System.Collections.Generic;\nusing System.Runtime.CompilerServices;\n\nnamespace SharpLayout\n{\n public class Section\n {\n public PageSettings PageSettings { get; }\n ...
c#
chosen
[ { "from": "system", "value": "Make sure to assign concatted value to variable\n" }, { "from": "human", "value": "using System.Collections.Generic;\nusing System.IO;\nusing System.Linq;\nusing ICSharpCode.SharpZipLib.Tar;\n\nnamespace AppHarbor\n{\n\tpublic static class CompressionExtensions\n\t...
c#
chosen
[ { "from": "system", "value": "Remove startup delay from project template.\n" }, { "from": "human", "value": "using Windows.UI.Xaml;\nusing System.Threading.Tasks;\nusing TraktApiSharp.Example.UWP.Services.SettingsServices;\nusing Windows.ApplicationModel.Activation;\nusing Template10.Controls;\n...
c#
chosen
[ { "from": "system", "value": "Add skipCertVerify back to options\n" }, { "from": "human", "value": "using CommandLine;\nusing CommandLine.Text;\n\nnamespace Builder\n{\n public enum OptionBool\n {\n False,\n True\n }\n\n public class Options\n {\n [Option(\"b...
c#
chosen
[ { "from": "system", "value": "Update change user, don't update if same val.\n" }, { "from": "human", "value": "using System;\nusing System.Collections.Generic;\nusing System.IO;\nusing UnityEngine;\n\npublic class ProfileKeys {\n public static string login_count = \"login_count\";\n}\n\npubli...
c#
chosen
[ { "from": "system", "value": "Use Array.Empty instead of list.\n\nCo-authored-by: jp2masa <9fbaf4cd1a94d3d15b2d6800c6bfb955d5b2dc3c@users.noreply.github.com>" }, { "from": "human", "value": "using System;\nusing System.Collections.Generic;\nusing Avalonia.Native.Interop;\nusing Avalonia.Platform...
c#
chosen
[ { "from": "system", "value": "Update test utility class for new ILibrary interface.\n" }, { "from": "human", "value": "using System.IO;\nusing CppSharp.Generators;\n\nnamespace CppSharp.Utils\n{\n public abstract class LibraryTest : ILibrary\n {\n readonly string name;\n rea...
c#
chosen
[ { "from": "system", "value": "Add action to \"Read more\" button\n" }, { "from": "human", "value": "\n@using SpaceBlog.Models;\n @model IEnumerable<Article>\n @{\n ViewBag.Title = \"Index\";\n }\n\n <h2>Index</h2>\n <table class=\"table\">\n <tr>\n <th> T...
c#
chosen
[ { "from": "system", "value": "Set compatibility version to 2.2 in simple API test project\n" }, { "from": "human", "value": "using Microsoft.AspNetCore.Builder;\nusing Microsoft.AspNetCore.Hosting;\nusing Microsoft.Extensions.DependencyInjection;\nusing ExplicitlyImpl.AspNetCore.Mvc.FluentActio...
c#
chosen
[ { "from": "system", "value": "Remove refs to \"ShowPager\" that isn't relevant any more\n" }, { "from": "human", "value": "@model PagedMemberListViewModel\n@using GiveCRM.Web.Models.Members\n@using PagedList.Mvc\n@{\n Layout = null;\n}\n\n<script src=\"@Url.Content(\"~/Scripts/ViewScripts/Me...
c#
chosen
[ { "from": "system", "value": "Improve granularity of component description\n" }, { "from": "human", "value": "using System;\nusing Chromium;\nusing Chromium.WebBrowser;\nusing Neutronium.Core;\nusing Neutronium.WebBrowserEngine.ChromiumFx.EngineBinding;\nusing Neutronium.WebBrowserEngine.Chromi...
c#
chosen
[ { "from": "system", "value": "Add - Aggiunta la registrazione nella composition root della ricerca della richiesta di assistenza\n" }, { "from": "human", "value": "using Microsoft.Extensions.Configuration;\nusing Persistence.MongoDB;\nusing SimpleInjector;\nusing SO115App.API.Models.Servizi.Inf...
c#
chosen
[ { "from": "system", "value": ":electric_plug: Switch Conduit to use rift.lol\n" }, { "from": "human", "value": "using System;\r\nusing System.IO;\r\n\r\nnamespace Conduit\r\n{\r\n class Program\r\n {\r\n public static string APP_NAME = \"Mimic Conduit\";\r\n public static st...
c#
chosen
[ { "from": "system", "value": "Add filter property to most watched movies request.\n" }, { "from": "human", "value": "namespace TraktApiSharp.Requests.WithoutOAuth.Movies.Common\n{\n using Base.Get;\n using Enums;\n using Objects.Basic;\n using Objects.Get.Movies.Common;\n using S...
c#
chosen
[ { "from": "system", "value": "Enable shutdown and set reset period.\n" }, { "from": "human", "value": "using Topshelf;\nusing Topshelf.HostConfigurators;\n\nnamespace Cogito.Components.Server\n{\n\n public static class Program\n {\n\n /// <summary>\n /// Main application ent...
c#
chosen
[ { "from": "system", "value": "Create the log file if it doesn't already exist\n" }, { "from": "human", "value": "using System;\nusing System.Collections.Generic;\nusing System.IO;\nusing System.Linq;\nusing System.Text;\nusing System.Threading.Tasks;\n\nnamespace UKParliData.BPTweets\n{\n pu...
c#
chosen
[ { "from": "system", "value": "Use using() for Ninject kernel.\n" }, { "from": "human", "value": "using System;\nusing System.Linq;\nusing CommandLine;\nusing Ninject;\nusing P2E.ExtensionMethods;\nusing P2E.Interfaces.AppLogic;\nusing P2E.Interfaces.CommandLine;\n\nnamespace P2EApp\n{\n inte...
c#
chosen
[ { "from": "system", "value": "Fix threading issue on initialisation\n\nWhen using DbLocalizationProvider the display channels would occasionaly\ncause exceptions on start by trying to add duplicate keys (assume this\nis due to trying to initialise display channels in parallel during start\nup which in turn ...
c#
chosen
[ { "from": "system", "value": "Add missing RotateZ helper function.\n" }, { "from": "human", "value": "using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Numerics;\nusing System.Text;\nusing System.Threading.Tasks;\n\nnamespace ModGL.Numerics\n{\n public static...
c#
chosen
[ { "from": "system", "value": "Add help text when incorrect args passed in\n" }, { "from": "human", "value": "namespace Sitecore.Courier.Runner\n{\n using Sitecore.Update;\n using Sitecore.Update.Engine;\n using System;\n\n /// <summary>\n /// Defines the program class.\n /// <...
c#
chosen
[ { "from": "system", "value": "Apply a ReadTimeout/WriteTimeout to serialport stream\n" }, { "from": "human", "value": "using System;\nusing System.IO.Ports;\nusing MYCroes.ATCommands;\nusing MYCroes.ATCommands.Forwarding;\n\nnamespace SupportManager.Control\n{\n public class ATHelper : IDispo...
c#
chosen
[ { "from": "system", "value": "Test that a non thrown exception produces a report\n" }, { "from": "human", "value": "using Bugsnag.Payload;\nusing Xunit;\n\nnamespace Bugsnag.Tests\n{\n public class ReportTests\n {\n [Fact]\n public void BasicTest()\n {\n System.Exception exceptio...
c#
chosen
[ { "from": "system", "value": "Fix CppCodegen build break and hook up CppCodegen to TFS build\n\nThis project builds quickly and building it avoids unpleasant surprises coming through the mirror.\n\n[tfs-changeset: 1658774]\n" }, { "from": "human", "value": "// Licensed to the .NET Foundation un...
c#
chosen
[ { "from": "system", "value": "Fix huge oops in test scene (we actually want ConfigureAwait(true) here)\n" }, { "from": "human", "value": "// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.\n// See the LICENCE file in the repository root for full licence text.\n\nusing...
c#
chosen
[ { "from": "system", "value": "Add extension method with environment string\n" }, { "from": "human", "value": "//\n// Copyright 2017 the original author or authors.\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with t...
c#
chosen
[ { "from": "system", "value": "Add support for ctm model format\n" }, { "from": "human", "value": "// // //------------------------------------------------------------------------------------------------- \n// // // <copyright file=\"ModelFormats.cs\" company=\"Microsoft Corporation\">\n// // //...
c#
chosen
[ { "from": "system", "value": "Use informational attribute for version\n" }, { "from": "human", "value": "using System;\nusing System.Deployment.Application;\nusing System.Globalization;\nusing System.Windows;\nusing System.Windows.Documents;\nusing StringResources = PackageExplorer.Resources.Re...
c#
chosen
[ { "from": "system", "value": "Test 1st commit from explorer to GitHub." }, { "from": "human", "value": "using System;\r\nusing System.Collections.Generic;\r\nusing System.ComponentModel;\r\nusing System.Data;\r\nusing System.Drawing;\r\nusing System.Linq;\r\nusing System.Text;\r\nusing System.W...
c#
chosen
[ { "from": "system", "value": "Enforce an exception when the ETL has failed\n" }, { "from": "human", "value": "using System;\r\nusing System.Collections.Generic;\r\nusing System.Linq;\r\nusing Microsoft.SqlServer.Dts.Runtime;\r\n\r\nnamespace NBi.Core.Etl.IntegrationService\r\n{\r\n abstract ...
c#
chosen
[ { "from": "system", "value": "Allow passing fields to next/previous page filters\n" }, { "from": "human", "value": "using ShopifySharp.Filters;\nusing ShopifySharp.Infrastructure;\nusing System.Collections.Generic;\nusing System.Linq;\n\nnamespace ShopifySharp.Lists\n{\n public class ListResu...
c#
chosen
[ { "from": "system", "value": "Fix Dialoguer using a deprecated Unity feature\n" }, { "from": "human", "value": "using UnityEngine;\nusing UnityEditor;\nusing System.Collections;\n\nusing DialoguerEditor;\n\npublic class DialogueEditorAssetModificationProcessor : UnityEditor.AssetModificationProc...
c#
chosen
[ { "from": "system", "value": "Add simulate call to robot\n" }, { "from": "human", "value": "using System.Collections;\r\nusing System.Collections.Generic;\r\nusing UnityEngine;\r\n\r\nnamespace Halodi.Physics.Interfaces\r\n{\r\n public abstract class IPhysicsEngine : MonoBehaviour\r\n {\r...
c#
chosen
[ { "from": "system", "value": "Use the new extension method\n" }, { "from": "human", "value": "using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Web;\nusing System.Web.UI;\nusing System.Web.UI.WebControls;\n\nnamespace Bugsnag.Sample.AspNet35\n{\n public partial ...
c#
chosen
[ { "from": "system", "value": "Add missing property, needed in web\n" }, { "from": "human", "value": "using System.Collections.Generic;\nusing System.Runtime.Serialization;\nusing PS.Mothership.Core.Common.Template.Gen;\n\nnamespace PS.Mothership.Core.Common.Dto.Application\n{\n [DataContract...
c#
chosen
[ { "from": "system", "value": "Update linux HD serial number to pull a real value\n" }, { "from": "human", "value": "// Original Work Copyright (c) Ethan Moffat 2014-2016\n// This file is subject to the GPL v2 License\n// For additional details, see the LICENSE file\n\nusing AutomaticTypeMapper;...
c#
chosen
[ { "from": "system", "value": "Set geoip webservice to port 4000\n" }, { "from": "human", "value": "using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Threading.Tasks;\nusing Microsoft.AspNetCore.Mvc;\nusing Microsoft.AspNetCore.Hosting;\nusing Newtonsoft.Json;\nu...
c#
chosen
[ { "from": "system", "value": "Add vector scaling method to vector3\n" }, { "from": "human", "value": "namespace DynamixelServo.Quadruped\n{\n public struct Vector3\n {\n public readonly float X;\n public readonly float Y;\n public readonly float Z;\n\n public V...
c#
chosen
[ { "from": "system", "value": "Define unused instance of Table\n" }, { "from": "human", "value": "using System;\nusing Table;\n\npublic class Hangman {\n public static void Main(string[] args) {\n Console.WriteLine(\"Hello, World!\");\n Console.WriteLine(\"You entered the following {0} com...
c#
chosen
[ { "from": "system", "value": "Add EagerStaticConstructorOrder.ReflectionExecution, fix the typo EagerStaticConstructorOrder.TypeLoaderEnvirnoment -> TypeLoaderEnvironment\n\n[tfs-changeset: 1550385]\n" }, { "from": "human", "value": "// Copyright (c) Microsoft. All rights reserved.\n// Licensed...
c#
chosen
[ { "from": "system", "value": "Add support for obsolete collection initializers.\n" }, { "from": "human", "value": "// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.\n\nusing System.Col...
c#
chosen
[ { "from": "system", "value": "Add more default usings to new scripts.\n" }, { "from": "human", "value": "using OpenTK;\nusing OpenTK.Graphics;\nusing StorybrewCommon.Scripting;\nusing StorybrewCommon.Storyboarding;\nusing StorybrewCommon.Storyboarding.Util;\nusing StorybrewCommon.Mapset;\nusing...
c#
chosen
[ { "from": "system", "value": "Fix for changes to default fileversion (00000).\n" }, { "from": "human", "value": "using System.Diagnostics;\nusing Cuemon.Extensions.Xunit;\nusing Xunit;\nusing Xunit.Abstractions;\n\nnamespace Cuemon.Extensions.Diagnostics\n{\n public class FileVersionInfoExte...
c#
chosen
[ { "from": "system", "value": "Add property to use to determine the queue name to be used, and applied QueueName attribute to the property\n" }, { "from": "human", "value": "using System;\nusing System.Threading.Tasks;\nusing MediatR;\nusing SFA.DAS.EmployerApprenticeshipsService.Application.Mes...
c#
chosen
[ { "from": "system", "value": "Add a link to \"about trac\" on the trac version number at the end\n\n\ngit-svn-id: f68c6b3b1dcd5d00a2560c384475aaef3bc99487@883 af82e41b-90c4-0310-8c96-b1721e28e2e2\n" }, { "from": "human", "value": "<script type=\"text/javascript\">searchHighlight()</script>\n\n<?...
c#
chosen
[ { "from": "system", "value": "Add a link to \"about trac\" on the trac version number at the end\n" }, { "from": "human", "value": "<script type=\"text/javascript\">searchHighlight()</script>\n\n<?cs if:len(links.alternate) ?>\n<div id=\"altlinks\">\n <h3>Download in other formats:</h3>\n <ul><?...
c#
chosen
[ { "from": "system", "value": "Add new payment sources (e.g. paynow etc)\n" }, { "from": "human", "value": "using System.Runtime.Serialization;\n\nnamespace Omise.Models\n{\n public enum OffsiteTypes\n {\n [EnumMember(Value = null)]\n None,\n [EnumMember(Value = \"inte...
c#
chosen
[ { "from": "system", "value": "Remove unnecessary check and throw (already throws)\n" }, { "from": "human", "value": "/*\r\n* Programmed by Umut Celenli umut@celenli.com\r\n*/\r\n\r\nusing System;\r\nusing System.Collections.Generic;\r\nusing System.IO;\r\nusing System.Linq;\r\n\r\nnamespace Mim...
c#
chosen
[ { "from": "system", "value": "Fix null-ref exception when doing get request\n" }, { "from": "human", "value": "// Licensed to the .NET Foundation under one or more agreements.\n// The .NET Foundation licenses this file to you under the MIT license.\n// See the LICENSE file in the project root f...
c#
chosen
[ { "from": "system", "value": "Fix uri templates in episode requests.\n" }, { "from": "human", "value": "namespace TraktApiSharp.Requests.WithoutOAuth.Shows.Episodes\n{\n using Enums;\n using Objects.Basic;\n using Objects.Get.Shows.Episodes;\n using System.Collections.Generic;\n\n ...
c#
chosen
[ { "from": "system", "value": "Rename local variable for accuracy.\n" }, { "from": "human", "value": "using System;\nusing System.Diagnostics;\n\nnamespace Fixie.Behaviors\n{\n public class ExecuteCases : InstanceBehavior\n {\n public void Execute(Fixture fixture)\n {\n ...
c#
chosen
[ { "from": "system", "value": "Test that the initial nonce is set.\n" }, { "from": "human", "value": "using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Text;\nusing System.Threading.Tasks;\nusing NUnit.Framework;\n\nnamespace CertManager.Test.AcmeTests\n{\n [T...
c#
chosen
[ { "from": "system", "value": "Change verb from get to post\n" }, { "from": "human", "value": "using System;\nusing DrClockwork.Domain.Logic;\nusing DrClockwork.Domain.Models;\nusing DrClockwork.Nancy.ViewModels;\nusing Microsoft.AspNet.SignalR;\nusing Nancy;\nusing Nancy.ModelBinding;\nusing Na...
c#
chosen
[ { "from": "system", "value": "Use ConditionalFact to not run tests on xplat\n" }, { "from": "human", "value": "// Copyright (c) .NET Foundation. All rights reserved.\n// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.\n\nusing System....
c#
chosen
[ { "from": "system", "value": "Fix incorrect alive criteria causing clicking future objects to be too greedy\n" }, { "from": "human", "value": "// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.\n// See the LICENCE file in the repository root for full licence text.\n\n...
c#
chosen
[ { "from": "system", "value": "Fix server not starting on correct URL\n" }, { "from": "human", "value": "using System;\r\nusing System.Collections.Generic;\r\nusing System.IO;\r\nusing System.Linq;\r\nusing System.Threading.Tasks;\r\nusing Microsoft.AspNetCore;\r\nusing Microsoft.AspNetCore.Host...
c#
chosen
[ { "from": "system", "value": "Test for petapoco to stay internal\n" }, { "from": "human", "value": "using System;\nusing System.Linq;\nusing FluentAssertions;\nusing NSaga;\nusing Xunit;\n\nnamespace Tests\n{\n public class NamespaceTests\n {\n [Fact]\n public void NSaga_Con...
c#
chosen
[ { "from": "system", "value": "Add base method for testing conversion in other direction\n" }, { "from": "human", "value": "// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.\n// See the LICENCE file in the repository root for full licence text.\n\nusing System;\nusin...
c#
chosen
[ { "from": "system", "value": "Update field name change that got missed\n" }, { "from": "human", "value": "using System.Collections.Generic;\nusing System.Linq;\n\nnamespace Glimpse.Web\n{\n public class FixedRequestAuthorizerProvider : IRequestAuthorizerProvider\n {\n public FixedR...
c#
chosen
[ { "from": "system", "value": "Remove IClientPublisher service as it doesn't exist before\n" }, { "from": "human", "value": "using Glimpse.Agent;\nusing Microsoft.Framework.DependencyInjection;\nusing Glimpse.Server.Web;\nusing Microsoft.Framework.OptionsModel;\n\nnamespace Glimpse\n{\n publi...
c#
chosen
[ { "from": "system", "value": "[TorrentEditor] Add more tests to ensure secure properties are kept secure\n" }, { "from": "human", "value": "using System;\n\nusing NUnit.Framework;\nusing MonoTorrent.BEncoding;\n\nnamespace MonoTorrent.Common\n{\n [TestFixture]\n public class TorrentEditorT...
c#
chosen
[ { "from": "system", "value": "Set default route to Registration Index\n" }, { "from": "human", "value": "using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Web;\nusing System.Web.Mvc;\nusing System.Web.Routing;\n\nnamespace GoldenTicket\n{\n public class Route...
c#
chosen
[ { "from": "system", "value": "Add - Aggiunto controller adibito alla gestione dei dati del Personale\n" }, { "from": "human", "value": "using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Threading.Tasks;\nusing Microsoft.AspNetCore.Http;\nusing Microsoft.AspNetCo...
c#
chosen
[ { "from": "system", "value": "Fix ordering of license header.\n" }, { "from": "human", "value": "using System.Collections.Generic;\r\nusing osu.Framework.Input;\r\n// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.\r\n// Licensed under the MIT Licence - https://raw.githubusercontent.com/p...
c#
chosen
[ { "from": "system", "value": "Change The Detail of the ajax Search\n" }, { "from": "human", "value": "using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Web;\nusing System.Web.Mvc;\nusing MMLibrarySystem.Models;\n\nnamespace MMLibrarySystem.Controllers\n{\n pu...
c#
chosen
[ { "from": "system", "value": "Change from displaying an error to redirecting back home\n" }, { "from": "human", "value": "using RTS.MIDI;\nusing System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Web;\nusing System.Web.UI;\nusing System.Web.UI.WebControls;\n\nnamespace...
c#
chosen
[ { "from": "system", "value": "Set base path to current directory if ContentRootPath is null on hosting environment. This path is where AI would look for appsettings.json file for ikey, endpoint etc.\n" }, { "from": "human", "value": "namespace Microsoft.AspNetCore.Hosting\n{\n using System.D...
c#
chosen
[ { "from": "system", "value": "Add general JWK to JWK (RSA) conversion\n" }, { "from": "human", "value": "using System;\nusing System.Security.Cryptography;\n\nnamespace THNETII.Security.JOSE\n{\n public static class JsonWebRsaExtensions\n {\n public static JsonRsaWebKey ExportJsonW...
c#
chosen
[ { "from": "system", "value": "Handle multiple addresses in the To field\n" }, { "from": "human", "value": "using PickupMailViewer.Helpers;\nusing System;\nusing System.Collections.Generic;\nusing System.IO;\nusing System.Linq;\nusing System.Web;\n\nnamespace PickupMailViewer.Models\n{\n publ...
c#
chosen
[ { "from": "system", "value": "Replace by other icon (temporary)\n" }, { "from": "human", "value": "using System.ComponentModel.Composition;\nusing Microsoft.VisualStudio.ProjectSystem;\n\nnamespace Cosmos.VS.ProjectSystem\n{\n [Export(typeof(IProjectTreePropertiesProvider))]\n [AppliesTo(...
c#
chosen
[ { "from": "system", "value": "Change structure of engine class\n" }, { "from": "human", "value": "using System;\n\nnamespace Leaf\n{\n /// <summary>\n /// Handles serialization and meta-data of nodes in a container.\n /// </summary>\n public abstract class Engine\n {\n ///...
c#
chosen
[ { "from": "system", "value": "Add HOTP key URI implementation\n" }, { "from": "human", "value": "namespace Albireo.Otp\n{\n using System;\n using System.Diagnostics.Contracts;\n\n public static class Hotp\n {\n public static int GetCode(string secret, long counter, int digits...
c#
chosen
[ { "from": "system", "value": "Use full type name to allow multiple toggles with same name but different namespace.\n" }, { "from": "human", "value": "using System;\nusing System.Collections.Generic;\nusing System.Linq;\n\nnamespace SimpleToggle\n{\n public class Toggle\n {\n public ...
c#
chosen
[ { "from": "system", "value": "Mark class [Serializable] to address warning\n\nAddresses warning CA2237: https://docs.microsoft.com/en-us/visualstudio/code-quality/ca2237-mark-iserializable-types-with-serializableattribute" }, { "from": "human", "value": "using System;\n\nnamespace LiteDB.Shell\...
c#
chosen
[ { "from": "system", "value": "Disable echo effect on double click copy\n\n" }, { "from": "human", "value": "using System.Windows.Controls;\nusing System.Windows.Input;\nusing System.Windows.Media.Animation;\n\nnamespace clipman.Views\n{\n /// <summary>\n /// Interaction logic for ClipList...
c#
chosen
[ { "from": "system", "value": "Apply transaction in same thread\n" }, { "from": "human", "value": "using System;\nusing System.Threading.Tasks;\n\nnamespace Marcello.Transactions\n{\n internal class Transaction\n {\n Marcello Session { get; set; }\n\n internal bool Running { ...
c#
chosen
[ { "from": "system", "value": "Change Pad-Tileset behavior to be similar to Pad-Palettes.\n" }, { "from": "human", "value": "using LibPixelPet;\nusing System;\n\nnamespace PixelPet.CLI.Commands {\n\tinternal class PadTilesetCmd : CliCommand {\n\t\tpublic PadTilesetCmd()\n\t\t\t: base(\"Pad-Tiles...
c#
chosen
[ { "from": "system", "value": "Add an option to provide a template name\n" }, { "from": "human", "value": "using CommandLine;\nusing System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Text;\nusing System.Threading.Tasks;\n\nnamespace IdunnSql.Console\n{\n [Verb(\"gen...
c#
chosen