conversations listlengths 2 3 | source stringclasses 1
value | stack stringclasses 1
value |
|---|---|---|
[
{
"from": "system",
"value": "Make NetID use 1000+ range\n"
},
{
"from": "human",
"value": "namespace Content.Shared.GameObjects\n{\n public static class ContentNetIDs\n {\n public const uint HANDS = 0;\n }\n}\n"
},
{
"from": "gpt",
"value": "namespace Content.Shared.... | c# | chosen |
[
{
"from": "system",
"value": "Revert \"LOG ALL THE ERRORS\"\n\nThis reverts commit 39809851fb4f05afe92ac8731c8ebc234ba3b644.\n"
},
{
"from": "human",
"value": "using RollbarSharp;\nusing System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Web;\nusing System.Web.Mvc;\n\n... | c# | chosen |
[
{
"from": "system",
"value": "Add extra test to ensure Account deserialization\n"
},
{
"from": "human",
"value": "using Machine.Specifications;\n\nnamespace Stripe.Tests\n{\n public class when_creating_a_charge_with_a_stripe_account\n {\n private static StripeAccount _stripeAccount;... | c# | chosen |
[
{
"from": "system",
"value": "Fix cognitive service key validation\n"
},
{
"from": "human",
"value": "using System.Collections.Generic;\nusing System.ComponentModel.Composition;\nusing System.Net;\nusing System.Net.Http;\nusing System.Threading.Tasks;\nusing Microsoft.Deployment.Common.ActionMo... | c# | chosen |
[
{
"from": "system",
"value": "Fix sorting of search bags\n"
},
{
"from": "human",
"value": "using Microsoft.AspNetCore.Mvc;\nusing Microsoft.Azure.Documents;\nusing System.Linq;\nusing System.Threading.Tasks;\nusing TheCollection.Business.Tea;\nusing TheCollection.Web.Constants;\nusing TheColle... | c# | chosen |
[
{
"from": "system",
"value": "Add link to explanatory comment\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;\nusing System.Collec... | c# | chosen |
[
{
"from": "system",
"value": "Add exception handler to main()\n"
},
{
"from": "human",
"value": "using CommandLineParser;\nusing Saucy.Actions;\nusing Saucy.Providers.GitHub;\n\nnamespace Saucy\n{\n public class Program\n {\n public static int Main(string[] args)\n {\n var... | c# | chosen |
[
{
"from": "system",
"value": "Add option to use current dir.\n"
},
{
"from": "human",
"value": "using System;\n\nnamespace Watts\n{\n internal class Program\n {\n private static int Main(string[] args)\n {\n if (args.Length != 1)\n {\n Co... | c# | chosen |
[
{
"from": "system",
"value": "Fix encoding of HTML in status\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Text;\nusing System.Threading.Tasks;\nusing Windows.UI.Xaml.Data;\nusing WinMasto.Tools.Extensions;\n\nnamespace Win... | c# | chosen |
[
{
"from": "system",
"value": "Use intermediate variables to improve readability.\n"
},
{
"from": "human",
"value": "namespace Bakery.Security\r\n{\r\n\tusing System;\r\n\tusing System.Text;\r\n\tusing Text;\r\n\r\n\tpublic class BasicAuthenticationPrinter\r\n\t\t: IBasicAuthenticationPrinter\r\... | c# | chosen |
[
{
"from": "system",
"value": "Revert \"Enabling startup error logging\"\n\nThis reverts commit cf2d991dde18740bf4d99058b5e8b717b7df68a4.\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections.Generic;\nusing System.IO;\nusing System.Linq;\nusing System.Threading.Tasks;\nusing... | c# | chosen |
[
{
"from": "system",
"value": "Use string interpolation in key error\n"
},
{
"from": "human",
"value": "/*\n** Project ShiftDrive\n** (C) Mika Molenkamp, 2016.\n*/\n\nusing System.Collections.Generic;\nusing Microsoft.Xna.Framework.Graphics;\nusing Microsoft.Xna.Framework.Audio;\n\nnamespace Shi... | c# | chosen |
[
{
"from": "system",
"value": "Update main window text to include nomod/modded star rating\n\n"
},
{
"from": "human",
"value": "using osu_StreamCompanion.Code.Core.DataTypes;\nusing osu_StreamCompanion.Code.Interfaces;\nusing osu_StreamCompanion.Code.Windows;\n\nnamespace osu_StreamCompanion.Cod... | c# | chosen |
[
{
"from": "system",
"value": "Fix D rank displaying as F\n"
},
{
"from": "human",
"value": "// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.\n// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE\n\nusing System.ComponentModel;\n\nnamespace osu.Gam... | c# | chosen |
[
{
"from": "system",
"value": "Add \"are\" to the command pattern"
},
{
"from": "human",
"value": "using System.Text.RegularExpressions;\nusing ChatExchangeDotNet;\n\nnamespace Hatman.Commands\n{\n class Should : ICommand\n {\n private readonly Regex ptn = new Regex(@\"(?i)^((sh|[cw... | c# | chosen |
[
{
"from": "system",
"value": "Remove template contents from the home/index view\n"
},
{
"from": "human",
"value": "@{\n ViewBag.Title = \"Home Page\";\n}\n\n<div class=\"jumbotron\">\n <h1>ASP.NET</h1>\n <p class=\"lead\">ASP.NET is a free web framework for building great Web sites and... | c# | chosen |
[
{
"from": "system",
"value": "Add custom representation of unrenderable unicode characters.\n"
},
{
"from": "human",
"value": "// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.\r\n// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE\r\n\r\nusing os... | c# | chosen |
[
{
"from": "system",
"value": "Fix avatars missing in private message channel tabs / local leaderboards\n\nRegressed in https://github.com/ppy/osu/pull/12204.\n\nAdding this back in a central location for now, as each of the remaining cases will\nneed a local solution.\n"
},
{
"from": "human",
"v... | c# | chosen |
[
{
"from": "system",
"value": "Add the nullable DateTime type\n"
},
{
"from": "human",
"value": "using System;\nusing Newtonsoft.Json.Linq;\n\nnamespace Chronological\n{\n public class DataType\n {\n public string TimeSeriesInsightsType { get; }\n\n internal DataType(string d... | c# | chosen |
[
{
"from": "system",
"value": "Simplify uri -> filename conversion\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections.Generic;\nusing System.IO;\nusing System.Linq;\nusing System.Text;\n\nnamespace Mono.Debugging.Client\n{\n\t[Serializable]\n\tpublic class SourceLink\n\t{\... | c# | chosen |
[
{
"from": "system",
"value": "Add support for new column name in fortis export\n"
},
{
"from": "human",
"value": "using CsvHelper.Configuration;\nusing MyAccounts.Business.AccountOperations.Contracts;\n\nnamespace MyAccounts.Business.AccountOperations.Fortis\n{\n public sealed class FortisOpe... | c# | chosen |
[
{
"from": "system",
"value": "Change Foreground Match Data \"Title Match Mode\" default value\n"
},
{
"from": "human",
"value": "using System.ComponentModel;\nusing Xceed.Wpf.Toolkit.PropertyGrid.Attributes;\n\nnamespace DesktopWidgets.Classes\n{\n [ExpandableObject]\n public class Foregr... | c# | chosen |
[
{
"from": "system",
"value": "Add serialize loop handling to prevent crashing for circular loops\n"
},
{
"from": "human",
"value": "// MvxJsonConverter.cs\n// (c) Copyright Cirrious Ltd. http://www.cirrious.com\n// MvvmCross is licensed using Microsoft Public License (Ms-PL)\n// Contributions an... | c# | chosen |
[
{
"from": "system",
"value": "Move the backgroundtask runner into Initialize method to follow same practise as SchedulerComponent\n"
},
{
"from": "human",
"value": "using Umbraco.Core;\nusing Umbraco.Core.Composing;\nusing Umbraco.Core.Logging;\nusing Umbraco.Web.Scheduling;\n\nnamespace Umbrac... | c# | chosen |
[
{
"from": "system",
"value": "Fix .NET 3.5 build error\n"
},
{
"from": "human",
"value": "using System;\nusing System.Reflection;\nusing Newtonsoft.Json;\n\nnamespace TrackableData.Json\n{\n public class TrackableContainerTrackerJsonConverter : JsonConverter\n {\n public override b... | c# | chosen |
[
{
"from": "system",
"value": "Fix api response success detection (sometimes body contains response, no +OK\n"
},
{
"from": "human",
"value": "// --------------------------------------------------------------------------------------------------------------------\n// <copyright file=\"ApiResponse... | c# | chosen |
[
{
"from": "system",
"value": "Use new style embed for vimeo links and made it https.\n"
},
{
"from": "human",
"value": "using System.Collections.Generic;\nusing System.Text.RegularExpressions;\nusing JabbR.ContentProviders.Core;\n\nnamespace JabbR.ContentProviders\n{\n public class VimeoCont... | c# | chosen |
[
{
"from": "system",
"value": "Hide in-game cursor manually in the testbrowser\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 osu.Framework.Testing;\n... | c# | chosen |
[
{
"from": "system",
"value": "Create list of used providers properly.\n"
},
{
"from": "human",
"value": "using Chalmers.ILL.Models;\nusing Examine;\nusing Newtonsoft.Json;\nusing System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Web;\nusing Chalmers.ILL.Extensions;\nu... | c# | chosen |
[
{
"from": "system",
"value": "Use var instead of full type name\n"
},
{
"from": "human",
"value": "using LiteNetLib.Utils;\nusing System.IO;\nusing System.Runtime.Serialization;\nusing System.Runtime.Serialization.Formatters.Binary;\nusing UnityEngine;\n\nnamespace LiteNetLibHighLevel\n{\n p... | c# | chosen |
[
{
"from": "system",
"value": "Add a confirm to revert while wrong operation.\n"
},
{
"from": "human",
"value": "@model IEnumerable<MMLibrarySystem.Models.BorrowRecord>\n\n@{\n ViewBag.Title = \"Borrowed Books\";\n}\n\n<table id=\"bookList\">\n <tr>\n <td>\n Book Number\n... | c# | chosen |
[
{
"from": "system",
"value": "Set MinimumInteritemSpacing and MinimumLineSpacing on flow layout\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections.Generic;\nusing System.Linq;\n\nusing MonoTouch.Foundation;\nusing MonoTouch.UIKit;\nusing System.Drawing;\n\nnamespace Simpl... | c# | chosen |
[
{
"from": "system",
"value": "Include header in named pipe test\n"
},
{
"from": "human",
"value": "using System.Threading;\nusing Xunit;\n\nnamespace RockLib.Messaging.NamedPipes.Tests\n{\n public class NamedPipesTests\n {\n [Fact]\n public void NamedPipeMessagesAreSentAndRec... | c# | chosen |
[
{
"from": "system",
"value": "Add SMS to list page\n"
},
{
"from": "human",
"value": "@model IEnumerable<alert_roster.web.Models.User>\n\n@{\n ViewBag.Title = \"View Subscriptions\";\n}\n\n<h2>@ViewBag.Title</h2>\n\n<p>\n @Html.ActionLink(\"Create New\", \"Subscribe\")\n</p>\n\n@if (TempD... | c# | chosen |
[
{
"from": "system",
"value": "Add unit test for at least one previously mistreated formula\n"
},
{
"from": "human",
"value": "using ClosedXML.Excel;\nusing NUnit.Framework;\nusing System;\nusing System.Data;\n\nnamespace ClosedXML_Tests.Excel\n{\n public class NumberFormatTests\n {\n ... | c# | chosen |
[
{
"from": "system",
"value": "Fix EarTrumpet.Web deps after - to . rename\n"
},
{
"from": "human",
"value": "using System.Xml.Serialization;\n\nnamespace EarTrumpet.Actions.DataModel.Serialization\n{\n public class AppRef\n {\n public static readonly string EveryAppId = \"EarTrumpe... | c# | chosen |
[
{
"from": "system",
"value": "Move assembly directive out of namespace\n"
},
{
"from": "human",
"value": "using System.Web.Routing;\nusing ConsolR.Hosting.Web;\nusing SignalR;\n\nnamespace ConsolR.Hosting\n{\n\t[assembly: WebActivator.PostApplicationStartMethod(typeof(ConsolR.Hosting.Bootstrapp... | c# | chosen |
[
{
"from": "system",
"value": "Fix paging next in service client level methods\n"
},
{
"from": "human",
"value": "@using System.Linq;\n@using AutoRest.Core.ClientModel\n@using AutoRest.Core.Utilities\n@using AutoRest.Java.Azure.TemplateModels\n@inherits AutoRest.Core.Template<AutoRest.Java.Azure... | c# | chosen |
[
{
"from": "system",
"value": "Add missing [Test] attribute on test method\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing FluentAssertions;\nusing Nerdle.AutoConfig.Strategy;\nusing NUnit.Framework;\n\nnamespace Nerdle.AutoConfig.Tes... | c# | chosen |
[
{
"from": "system",
"value": "Allow config file to passed in\n"
},
{
"from": "human",
"value": "using System.Dynamic;\r\nusing System.IO;\r\nusing System.Management.Automation;\r\nusing System.Reflection;\r\n\r\nnamespace ConfigPS\r\n{\r\n public class Global : DynamicObject\r\n {\r\n ... | c# | chosen |
[
{
"from": "system",
"value": "Update demo app with more comments\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Text;\nusing System.Threading.Tasks;\n\nnamespace RailPhase.Demo\n{\n class Program\n {\n static vo... | c# | chosen |
[
{
"from": "system",
"value": "Add check for possible null reference\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections.Generic;\n\nnamespace compiler.middleend.ir\n{\n\t//TODO: redisign this class and its supporting classes\n\tpublic class BasicBlock\n\t{\n public... | c# | chosen |
[
{
"from": "system",
"value": "Add possibility to add custom AudioObject prefab.\n"
},
{
"from": "human",
"value": "using System.Collections;\nusing System.Collections.Generic;\nusing UnityEngine;\n\n[System.Serializable]\npublic struct CategoryItem\n{\n public string name;\n public SoundI... | c# | chosen |
[
{
"from": "system",
"value": "Use default AudioObject prefab if none is assigned.\n"
},
{
"from": "human",
"value": "using System.Collections;\nusing System.Collections.Generic;\nusing UnityEngine;\n\n[System.Serializable]\npublic struct CategoryItem\n{\n public string name;\n public Soun... | c# | chosen |
[
{
"from": "system",
"value": "Update display text on the view model."
},
{
"from": "human",
"value": "using Microsoft.AspNetCore.Mvc.Rendering;\nusing System;\nusing System.Collections.Generic;\nusing System.ComponentModel.DataAnnotations;\nusing System.Linq;\nusing System.Threading.Tasks;\nusi... | c# | chosen |
[
{
"from": "system",
"value": "Set AddDate on server for new transactions"
},
{
"from": "human",
"value": "using Quibill.Web.Contexts;\nusing System;\nusing System.Collections.Generic;\nusing Quibill.Domain.Models;\nusing System.Data.Entity;\nusing System.Linq;\nusing System.Net;\nusing System.N... | c# | chosen |
[
{
"from": "system",
"value": "Use DeclaringType instead of ReflectedType to find interface implementations within the NodaTime assembly.\n(Not sure why the mapping code behaves differently in .NET to in Mono anyway, but...)\n"
},
{
"from": "human",
"value": "// Copyright 2014 The Noda Time Auth... | c# | chosen |
[
{
"from": "system",
"value": "Add code to start generating the methods.\n"
},
{
"from": "human",
"value": "// Copyright (c) Alex Ghiondea. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\nusing SmugMug.Shared.Descript... | c# | chosen |
[
{
"from": "system",
"value": "Change default to be once per month for a year\n"
},
{
"from": "human",
"value": "using System;\nusing System.ComponentModel.DataAnnotations;\n\nnamespace Cash_Flow_Projection.Models\n{\n public class RepeatingEntry\n {\n [DataType(DataType.Date)]\n ... | c# | chosen |
[
{
"from": "system",
"value": "Use camelCase and string enums with YAML serialization\n"
},
{
"from": "human",
"value": "using Halforbit.DataStores.FileStores.Serialization.Json.Implementation;\r\nusing Newtonsoft.Json.Linq;\r\nusing System.Dynamic;\r\nusing System.Text;\r\nusing System.Threadin... | c# | chosen |
[
{
"from": "system",
"value": "Add template for Visual Studio C++ resource files\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Text;\n\nnamespace Bumpy\n{\n internal sealed class Template\n {\n private static re... | c# | chosen |
[
{
"from": "system",
"value": "Add test for preserving empty paragraphs\n"
},
{
"from": "human",
"value": "using Xunit;\nusing System.IO;\nusing Xunit.Sdk;\n\nnamespace Mammoth.Tests {\n\tpublic class DocumentConverterTests {\n\t\t[Fact]\n\t\tpublic void DocxContainingOneParagraphIsConvertedToSi... | c# | chosen |
[
{
"from": "system",
"value": "Allow specifying a default localizer.\n"
},
{
"from": "human",
"value": "using System;\r\nusing System.Collections.Generic;\r\n\r\nnamespace Mios.Localization.Localizers {\r\n\tpublic class DictionaryLocalizer {\r\n\t\tprivate readonly IDictionary<string, string> s... | c# | chosen |
[
{
"from": "system",
"value": "Change directory watcher settings \"Max Size\" default\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections.Generic;\nusing System.ComponentModel;\nusing Xceed.Wpf.Toolkit.PropertyGrid.Attributes;\n\nnamespace DesktopWidgets.Classes\n{\n [E... | c# | chosen |
[
{
"from": "system",
"value": "Remove the outter try/catch in BuildRaygunClient\n"
},
{
"from": "human",
"value": "using System;\nusing System.Diagnostics;\n\nusing Mindscape.Raygun4Net;\nusing MarkerMetro.Unity.WinIntegration.Logging;\nusing MarkerMetro.Unity.WinIntegration;\n\nnamespace UnityP... | c# | chosen |
[
{
"from": "system",
"value": "Add TODO regarding use of styling in VM\n"
},
{
"from": "human",
"value": "namespace StarsReloaded.Client.ViewModel.Fragments\n{\n using System.Windows;\n\n using GalaSoft.MvvmLight.Command;\n\n using StarsReloaded.Client.ViewModel.Attributes;\n\n publi... | c# | chosen |
[
{
"from": "system",
"value": "Check receiver has at least email property\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections.Generic;\nusing System.Dynamic;\nusing System.Linq;\nusing System.Text;\nusing System.Threading.Tasks;\nusing Dragon.Mail.Interfaces;\n\nnamespace ... | c# | chosen |
[
{
"from": "system",
"value": "Add extra extension method for getting URI\n"
},
{
"from": "human",
"value": "using System;\n\nnamespace Glimpse.Web\n{\n public static class HttpRequestExtension\n {\n public static string Uri(this IHttpRequest request)\n { \n return... | c# | chosen |
[
{
"from": "system",
"value": "Handle Marquee start / stop via event\n"
},
{
"from": "human",
"value": "namespace AngleSharp.DOM.Html\n{\n using AngleSharp.Attributes;\n using System;\n\n /// <summary>\n /// Represents the HTML marquee element.\n /// </summary>\n [DomHistorical... | c# | chosen |
[
{
"from": "system",
"value": "Migrate preferences from older assembly versions at launch\n\nWithout this, any preferences set by a user will be reset to the default\nvalues every time the assembly version changes, for example upgrading\nthe tray app would cause it to forget user preferences\n"
},
{
... | c# | chosen |
[
{
"from": "system",
"value": "Remove pause at end (left in accidentally)\n"
},
{
"from": "human",
"value": "using System;\n\nnamespace UpVer\n{\n class Program\n {\n static void Main(string[] args)\n {\n try\n {\n var settings = new Setti... | c# | chosen |
[
{
"from": "system",
"value": "Add bootstrap and jquery using bower package management.\n"
},
{
"from": "human",
"value": "<!DOCTYPE html>\r\n\r\n<html>\r\n<head>\r\n <meta name=\"viewport\" content=\"width=device-width\" />\r\n <title>@ViewBag.Title</title>\r\n <link rel=\"stylesheet\"... | c# | chosen |
[
{
"from": "system",
"value": "Fix osu! slider ticks appearing too late\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#nullable disable\n\nusing osu.Game.... | c# | chosen |
[
{
"from": "system",
"value": "Set flag to enable package restore for future versions of nuget.\n"
},
{
"from": "human",
"value": "using System;\nusing System.Linq;\nusing System.Threading.Tasks;\nusing Kudu.Contracts.Tracing;\nusing Kudu.Core.Infrastructure;\n\nnamespace Kudu.Core.Deployment\n{... | c# | chosen |
[
{
"from": "system",
"value": "Add method to solver interface to tell it about functions it might\nsee in queries.\n\nAlso remove the dropConstaints() method for now. It probably isn't\na good idea to have it as it leaks information about the internal\nimplementation.\n"
},
{
"from": "human",
"va... | c# | chosen |
[
{
"from": "system",
"value": "Check if table exist before creating it in the install\n"
},
{
"from": "human",
"value": "using MultipleStartNodes.Models;\nusing MultipleStartNodes.Utilities;\nusing System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Text;\nusing System.T... | c# | chosen |
[
{
"from": "system",
"value": "Fix sample perf (Option 1)\n\nNo need to await just return Task"
},
{
"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.\... | c# | chosen |
[
{
"from": "system",
"value": "Correct way to wait for indexing\n"
},
{
"from": "human",
"value": "using System;\r\nusing System.Linq;\r\nusing MvcContrib.TestHelper;\r\nusing Snittlistan.Infrastructure.Indexes;\r\nusing Snittlistan.Models;\r\nusing Xunit;\r\n\r\nnamespace Snittlistan.Test\r\n{\... | c# | chosen |
[
{
"from": "system",
"value": "Add missing namespace and using statements."
},
{
"from": "human",
"value": "public class MikeKanakos : IAmACommunityMember\n {\n public string FirstName => \"Mike\";\n public string LastName => \"Kanakos\";\n public string ShortBioOrTagLine ... | c# | chosen |
[
{
"from": "system",
"value": "Add status to cat indices response\n\nCloses #1340\n"
},
{
"from": "human",
"value": "using Newtonsoft.Json;\n\nnamespace Nest\n{\n\t[JsonObject]\n\tpublic class CatIndicesRecord : ICatRecord\n\t{\n\t\t[JsonProperty(\"docs.count\")]\n\t\tpublic string DocsCount { g... | c# | chosen |
[
{
"from": "system",
"value": "Normalize all file headers to the expected Apache 2.0 license\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\n... | c# | chosen |
[
{
"from": "system",
"value": "Add lookup for spinner background colour\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\nnamespace osu.Game.Rulesets.Osu.Skinn... | c# | chosen |
[
{
"from": "system",
"value": "Add new method stub for generating routes\n"
},
{
"from": "human",
"value": "namespace RestfulRouting\n{\n\tpublic abstract class Mapper\n\t{\n\t}\n}\n"
},
{
"from": "gpt",
"value": "using System;\nusing System.Web.Routing;\n\nnamespace RestfulRouting\... | c# | chosen |
[
{
"from": "system",
"value": "Replace reference by using regex\n\nTo avoid path inconsistence between different Unity versions.\n"
},
{
"from": "human",
"value": "using SyntaxTree.VisualStudio.Unity.Bridge;\r\nusing UnityEditor;\r\n\r\n[InitializeOnLoad]\r\npublic class NCrunchAdapterForUnity\r... | c# | chosen |
[
{
"from": "system",
"value": "Remove tall grass metadata when dropping seed\n"
},
{
"from": "human",
"value": "using System;\nusing TrueCraft.API.Logic;\nusing TrueCraft.Core.Logic.Items;\nusing TrueCraft.API;\n\nnamespace TrueCraft.Core.Logic.Blocks\n{\n public class TallGrassBlock : BlockPr... | c# | chosen |
[
{
"from": "system",
"value": "Add other to the enum\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections.Generic;\nusing System.ComponentModel.DataAnnotations;\nusing System.Text;\n\nnamespace Anlab.Core.Domain\n{\n public class TestItem\n {\n [Key]\n p... | c# | chosen |
[
{
"from": "system",
"value": "Fix bug in which class members polluted the surrounding namespace.\n"
},
{
"from": "human",
"value": "using System.Collections.Generic;\nusing System.Linq;\nusing Parsley;\nusing Rook.Compiling.Types;\n\nnamespace Rook.Compiling.Syntax\n{\n public class Class : T... | c# | chosen |
[
{
"from": "system",
"value": "Test for Jame's Github mirror\n\ngit-svn-id: a161142445158cf41e00e2afdd70bb78aded5464@496 48f0ce17-cc52-0410-af8c-857c09b6549b\n"
},
{
"from": "human",
"value": "using System.Reflection;\r\nusing System.Security;\r\n\r\n[assembly: AssemblyVersion(\"0.1.0.0\")]\r\n[a... | c# | chosen |
[
{
"from": "system",
"value": "Access allwed for all addresses (by CORS)\n"
},
{
"from": "human",
"value": "namespace FsxWebApi.Services\n{\n using System.Web.Http.Cors;\n using Infrastructure;\n using Model;\n using System.Web.Http;\n\n [EnableCors(origins: \"http://localhost:267... | c# | chosen |
[
{
"from": "system",
"value": "Remove redundant login widget in page\n"
},
{
"from": "human",
"value": "@model OpenOrderFramework.Models.Order\n@{\n ViewBag.Title = \"P4MCheckout\";\n}\n<link rel=\"import\" href=\"/Scripts/widgets/p4m-checkout/p4m-checkout.html\">\n<link rel=\"import\" href=\... | c# | chosen |
[
{
"from": "system",
"value": "Add default value for frame in constructor\n"
},
{
"from": "human",
"value": "using Microsoft.Xna.Framework;\nusing Microsoft.Xna.Framework.Graphics;\n\nnamespace NutEngine\n{\n public class Sprite : Node, IDrawable\n {\n public Texture2D Atlas { get; ... | c# | chosen |
[
{
"from": "system",
"value": "Increment assembly version to 1.1.2\n"
},
{
"from": "human",
"value": "using System.Reflection;\nusing System.Resources;\nusing System.Runtime.CompilerServices;\nusing System.Runtime.InteropServices;\n\n// General Information about an assembly is controlled through... | c# | chosen |
[
{
"from": "system",
"value": "Add [KnownType(typeof(Dictionary<string,object>))] to allow for Object mapping to be passed over WCF channel\n"
},
{
"from": "human",
"value": "using System.Runtime.Serialization;\n\nnamespace CefSharp\n{\n\t[DataContract]\n\t[KnownType(typeof(object[]))]\n\tpublic... | c# | chosen |
[
{
"from": "system",
"value": "Add cast on return value if needed\n"
},
{
"from": "human",
"value": "using Swigged.LLVM;\nusing Mono.Cecil;\nusing Mono.Cecil.Cil;\nusing CSharpLLVM.Compilation;\nusing CSharpLLVM.Stack;\n\nnamespace CSharpLLVM.Generator.Instructions.FlowControl\n{\n [Instructi... | c# | chosen |
[
{
"from": "system",
"value": "Add connection to the Bitcoin network test\n"
},
{
"from": "human",
"value": "using MagicalCryptoWallet.KeyManagement;\nusing MagicalCryptoWallet.Services;\nusing NBitcoin;\nusing System;\nusing System.Collections.Generic;\nusing System.IO;\nusing System.Text;\nusi... | c# | chosen |
[
{
"from": "system",
"value": "Implement basic behaviour of favourite button\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 osu.Framework.Graphics.Spr... | c# | chosen |
[
{
"from": "system",
"value": "Build script now writes the package name and version into the AssemblyDescription attibute. This allows the package information to be seen in Visual Studio avoiding confusion with the assembly version that remains at the major.\n"
},
{
"from": "human",
"value": "us... | c# | chosen |
[
{
"from": "system",
"value": "Allow OptiPNG to fix some apparently broken PNGs\n"
},
{
"from": "human",
"value": "using System;\nusing System.ComponentModel;\nusing System.Diagnostics;\n\nnamespace WOptiPng\n{\n public static class OptiPngWrapper\n {\n public static bool OptiPngExi... | c# | chosen |
[
{
"from": "system",
"value": "Update tranportype with new additions for Mqtt/Ws and Mqtt/Tcp\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections.Generic;\nusing System.Text;\n\nnamespace Microsoft.Azure.Devices.Client\n{\n /// <summary>\n /// Transport types support... | c# | chosen |
[
{
"from": "system",
"value": "Support all daemon kinds except global analysis\n"
},
{
"from": "human",
"value": "using JetBrains.Annotations;\nusing JetBrains.ReSharper.Daemon.Stages.Dispatcher;\nusing JetBrains.ReSharper.Feature.Services.Daemon;\nusing JetBrains.ReSharper.Plugins.Unity.ProjectM... | c# | chosen |
[
{
"from": "system",
"value": "Add sitename to MSI specialization payload.\n\nWill be used by token service sidecar\n"
},
{
"from": "human",
"value": "// Copyright (c) .NET Foundation. All rights reserved.\n// Licensed under the MIT License. See License.txt in the project root for license inform... | c# | chosen |
[
{
"from": "system",
"value": "Verify that executing single argument command works as expected\n"
},
{
"from": "human",
"value": "namespace AppHarbor.Tests\n{\n\tpublic class CommandDispatcherTest\n\t{\n\t\tpublic class FooCommand : ICommand\n\t\t{\n\t\t\tpublic virtual void Execute(string[] arg... | c# | chosen |
[
{
"from": "system",
"value": "Build script now writes the package name and version into the AssemblyDescription attibute. This allows the package information to be seen in Visual Studio avoiding confusion with the assembly version that remains at the major.\n"
},
{
"from": "human",
"value": "us... | c# | chosen |
[
{
"from": "system",
"value": "Fix pos of main menu buttons\n"
},
{
"from": "human",
"value": "using UnityEngine;\nusing System.Collections;\n\npublic class mainMenuHandler : MonoBehaviour {\n\t\n//\tprivate Texture2D startButton;\n\t\n\tvoid OnGUI () {\n\n\t\tGUI.backgroundColor = Color.clear;\... | c# | chosen |
[
{
"from": "system",
"value": "Add DbContext null check to FieldInterceptor.cs\n\nIn some cases (outlined under \"caveat\" here, http://entityframework.codeplex.com/wikipage?title=Interception) EntityFramework interceptors may not have any DbContexts associated with them. The current code will cause a null ... | c# | chosen |
[
{
"from": "system",
"value": "Add file that was missed in rename\n"
},
{
"from": "human",
"value": "using Glimpse.Core.Extensibility;\n\nnamespace Glimpse.Core.Resource\n{\n /// <summary>\n /// The <see cref=\"IResource\"/> implementation responsible for providing the Glimpse JavaScript c... | c# | chosen |
[
{
"from": "system",
"value": "Add plugin bridge object to script variable list\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections.Generic;\n\nnamespace TweetDck.Plugins{\n [Flags]\n enum PluginEnvironment{\n None = 0,\n Browser = 1,\n Notificat... | c# | chosen |
[
{
"from": "system",
"value": "Fix create map not using MemberList property\n"
},
{
"from": "human",
"value": "using System;\nusing Abp.Collections.Extensions;\nusing AutoMapper;\n\nnamespace Abp.AutoMapper\n{\n public class AutoMapFromAttribute : AutoMapAttributeBase\n {\n public M... | c# | chosen |
[
{
"from": "system",
"value": "Fix for using Length before GetPosition.\n"
},
{
"from": "human",
"value": "using UnityEngine;\n\npublic abstract class Curve : ICurve {\n\tprotected abstract Vector3 GetPositionImpl(float u);\n\n\tprotected abstract float LengthImpl { get; }\n\n\tpublic static rea... | c# | chosen |
[
{
"from": "system",
"value": "web: Return NotFound on invalid team ID's\n"
},
{
"from": "human",
"value": "using System.Threading.Tasks;\nusing Microsoft.AspNetCore.Authorization;\nusing Microsoft.AspNetCore.Mvc;\nusing Microsoft.AspNetCore.Mvc.Filters;\nusing SupportManager.DAL;\n\nnamespace S... | c# | chosen |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.