conversations
listlengths
2
3
source
stringclasses
1 value
stack
stringclasses
1 value
[ { "from": "system", "value": "Remove unused setters of pagination properties.\n" }, { "from": "human", "value": "namespace TraktApiSharp.Requests\n{\n internal struct TraktPaginationOptions\n {\n internal TraktPaginationOptions(int? page, int? limit)\n {\n Page = ...
c#
chosen
[ { "from": "system", "value": "Increase default timeout to 30 secs\n" }, { "from": "human", "value": "namespace Boxed.Templates.Test\n{\n using System;\n using System.Threading;\n\n public static class CancellationTokenFactory\n {\n public static CancellationToken GetCancellati...
c#
chosen
[ { "from": "system", "value": "Add stub object storage credentials" }, { "from": "human", "value": "using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Text;\nusing System.Threading.Tasks;\n\nnamespace CenturyLinkCloudSDK.IntegrationTests\n{\n public static clas...
c#
chosen
[ { "from": "system", "value": "Fix broken example notification after closing it and then changing options\n" }, { "from": "human", "value": "using System.Windows.Forms;\nusing TweetDuck.Plugins;\nusing TweetDuck.Resources;\n\nnamespace TweetDuck.Core.Notification.Example{\n sealed class FormN...
c#
chosen
[ { "from": "system", "value": "Change to use higher res score image\n" }, { "from": "human", "value": "using System;\r\nusing System.Collections.Generic;\r\nusing System.Linq;\r\nusing System.Text;\r\nusing System.Threading.Tasks;\r\nusing System.Windows;\r\nusing System.Windows.Controls;\r\nusi...
c#
chosen
[ { "from": "system", "value": "Allow `params` completion in lambdas\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 for more i...
c#
chosen
[ { "from": "system", "value": "Fix crash when editing query parameters and one has a null value\n\n" }, { "from": "human", "value": "using System.ComponentModel;\nusing System.Linq;\nusing System.Windows.Forms;\nusing SolarWinds.InformationService.Contract2;\n\nnamespace SwqlStudio\n{\n publi...
c#
chosen
[ { "from": "system", "value": "Set Tentacle Instance Name variable\n" }, { "from": "human", "value": "using System;\nusing Octostache;\n\nnamespace Calamari.Integration.Processes\n{\n public static class VariableDictionaryExtensions\n {\n public static void EnrichWithEnvironmentVaria...
c#
chosen
[ { "from": "system", "value": "Update help with correct name\n" }, { "from": "human", "value": "using System;\nusing System.Collections.Generic;\nusing System.IO;\nusing System.Linq;\nusing System.Text;\nusing System.Threading.Tasks;\nusing HtmlAgilityPack;\n\nnamespace JenkinsTitleUpdater\n{\n\...
c#
chosen
[ { "from": "system", "value": "Fix error in comment (should have been NavStateChanged)\n" }, { "from": "human", "value": "using System;\n\nnamespace CefSharp\n{\n /// <summary>\n /// Event arguments to the LoadCompleted event handler set up in IWebBrowser.\n /// </summary>\n public c...
c#
chosen
[ { "from": "system", "value": "Add function for configuring settings\n" }, { "from": "human", "value": "using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Text;\nusing System.Threading.Tasks;\nusing System.Windows;\nusing System.Windows.Controls;\nusing System.Win...
c#
chosen
[ { "from": "system", "value": "Update addin version to 0.5\n" }, { "from": "human", "value": "\nusing System;\nusing Mono.Addins;\nusing Mono.Addins.Description;\n\n[assembly:Addin (\"TypeScript\",\n\tNamespace = \"MonoDevelop\",\n\tVersion = \"0.4\",\n\tCategory = \"Web Development\")]\n\n[asse...
c#
chosen
[ { "from": "system", "value": "Add code to allow first-person character to control more like a traditional FPS.\n" }, { "from": "human", "value": "using System.Collections;\nusing System.Collections.Generic;\nusing UnityEngine;\n\npublic class CustomSimplePlayer : MonoBehaviour {\n public int...
c#
chosen
[ { "from": "system", "value": "Fix an animation bug with Endless Sandwiches\n" }, { "from": "human", "value": "using System.Collections.Generic;\nusing HarryPotterUnity.Cards.Generic;\nusing JetBrains.Annotations;\n\nnamespace HarryPotterUnity.Cards.Spells.Charms\n{\n [UsedImplicitly]\n pu...
c#
chosen
[ { "from": "system", "value": "Update the properties test with new-style accessor syntax\n" }, { "from": "human", "value": "using System;\n\npublic struct Vector2\n{\n public Vector2(double X, double Y)\n {\n this.x = X;\n this.Y = Y;\n }\n\n private double x;\n publi...
c#
chosen
[ { "from": "system", "value": "Fix inverted result from Into(ModelState)\n" }, { "from": "human", "value": "namespace Mios.Validation.Mvc {\r\n\tusing System.Collections.Generic;\r\n\tusing System.Web.Mvc;\r\n\r\n\tpublic static class ModelStateDictionaryExtensions {\r\n\t\tpublic static void Ad...
c#
chosen
[ { "from": "system", "value": "Add unit tests for simple single and multiple property resolution\n" }, { "from": "human", "value": "using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Threading.Tasks;\nusing Xunit;\n\nnamespace Pather.CSharp.UnitTests\n{\n // Th...
c#
chosen
[ { "from": "system", "value": "Add Type Forwarder for New Appender\n\nThis makes the new appender consistent with the other async ones.\n" }, { "from": "human", "value": "using System.Runtime.CompilerServices;\n\n[assembly:TypeForwardedTo(typeof(Gelf4Net.Layout.GelfLayout))]\n[assembly:TypeForwar...
c#
chosen
[ { "from": "system", "value": "Return even information in string for error reporting\n\n" }, { "from": "human", "value": "using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Text;\nusing System.Threading.Tasks;\n\nnamespace Substructio.Logging\n{\n public interf...
c#
chosen
[ { "from": "system", "value": "Fix actual contingent table structure\n" }, { "from": "human", "value": "@inherits DotNetNuke.Web.Mvc.Framework.DnnWebViewPage<ContingentViewModel>\r\n@using DotNetNuke.Web.Mvc.Helpers\r\n@using R7.University.EduProgramProfiles.ViewModels\r\n\r\n<td itemprop=\"eduC...
c#
chosen