conversations listlengths 2 3 | source stringclasses 1
value | stack stringclasses 1
value |
|---|---|---|
[
{
"from": "system",
"value": "Use Generic monospace font family for DOCX\n"
},
{
"from": "human",
"value": "#region\r\n\r\nusing System;\r\nusing System.Drawing;\r\nusing Novacode;\r\nusing Tabster.Data;\r\nusing Tabster.Data.Processing;\r\n\r\n#endregion\r\n\r\nnamespace WordDoc\r\n{\r\n pu... | c# | chosen |
[
{
"from": "system",
"value": "Add time measurement in Main, fix output\n"
},
{
"from": "human",
"value": "using System;\nusing CIV.Formats;\nusing static System.Console;\n\nnamespace CIV\r\n{\n\n\t[Flags]\n\tenum ExitCodes : int\n\t{\n\t\tSuccess = 0,\n\t\tFileNotFound = 1,\n ParsingFail... | c# | chosen |
[
{
"from": "system",
"value": "Remove publicly exposed Vertices property\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections.Generic;\n\nnamespace Graph\n{\n /// <summary>\n /// Represents a graph.\n /// </summary>\n /// <typeparam name=\"V\">The vertex type.</... | c# | chosen |
[
{
"from": "system",
"value": "Add Google Analytics tracking for changing results mode\n"
},
{
"from": "human",
"value": "@using CkanDotNet.Api.Model\n@using CkanDotNet.Web.Models\n@using CkanDotNet.Web.Models.Helpers\n@using System.Collections.Specialized\n@model PackageSearchResultsModel\n\n@{... | c# | chosen |
[
{
"from": "system",
"value": "Fix to alarm not triggering correctly\n\n"
},
{
"from": "human",
"value": "namespace Raccoon.Components {\r\n public class Alarm : Component {\r\n public Alarm(uint interval, System.Action action) {\r\n NextActivationTimer = Interval = interval... | c# | chosen |
[
{
"from": "system",
"value": "Revert \"Added incoming_webhook to Access Token Response\"\n\nThis reverts commit c7606ad7fc541bab1eff431628e5b58fbac7181c.\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Text;\nusing System.Thr... | c# | chosen |
[
{
"from": "system",
"value": "Fix Error entity not contain RawJson\n"
},
{
"from": "human",
"value": "using System;\nusing Mastodot.Entities;\nusing Mastodot.Exceptions;\nusing Newtonsoft.Json;\nusing Newtonsoft.Json.Linq;\n\nnamespace Mastodot.Utils.JsonConverters\n{\n internal class ErrorT... | c# | chosen |
[
{
"from": "system",
"value": "Add a test for IterateAsync\n"
},
{
"from": "human",
"value": "// Copyright (c) Microsoft. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\nusing System.Collections.Generic;\nusing System... | c# | chosen |
[
{
"from": "system",
"value": "Add better test coverage of `SettingsPanel`\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 NUnit.Framework;\nusing osu... | c# | chosen |
[
{
"from": "system",
"value": "Update interface for ignored request policy\n"
},
{
"from": "human",
"value": "using System;\n\nnamespace Glimpse.Agent.Web\n{\n public class IIgnoredRequestPolicy\n {\n\n }\n}"
},
{
"from": "gpt",
"value": "using System;\n\nnamespace Glimpse.... | c# | chosen |
[
{
"from": "system",
"value": "Allow tile size to be changed from 8x8 using Clear-Tileset --tile-size.\n"
},
{
"from": "human",
"value": "using LibPixelPet;\nusing System;\n\nnamespace PixelPet.CLI.Commands {\n\tinternal class ClearTilesetCmd : CliCommand {\n\t\tpublic ClearTilesetCmd()\n\t\t\t:... | c# | chosen |
[
{
"from": "system",
"value": "Test case for calling try read with null values\n"
},
{
"from": "human",
"value": "using System;\nusing Microsoft.BizTalk.Message.Interop;\nusing Microsoft.VisualStudio.TestTools.UnitTesting;\nusing Winterdom.BizTalk.PipelineTesting;\n\nnamespace BizTalkComponents.... | c# | chosen |
[
{
"from": "system",
"value": "SA1128: Put constructor initializers on their own line\n"
},
{
"from": "human",
"value": "// <copyright file=\"TJException.cs\" company=\"Autonomic Systems, Quamotion\">\r\n// Copyright (c) Autonomic Systems. All rights reserved.\r\n// Copyright (c) Quamotion. All ... | c# | chosen |
[
{
"from": "system",
"value": "Make sure the model isn't lost when navigating to/from the contact picker\n"
},
{
"from": "human",
"value": "using MobileKidsIdApp.Services;\nusing System.Threading.Tasks;\nusing System.Windows.Input;\nusing Xamarin.Forms;\nusing MobileKidsIdApp.Models;\n\nnamespac... | c# | chosen |
[
{
"from": "system",
"value": "Update copyright year in template\n\nThe year of first publication was removed as per #69 it's not necessary.\n\nCloses #69.\n"
},
{
"from": "human",
"value": "<!DOCTYPE html>\n<html>\n <head>\n <title>@ViewData[\"Title\"]</title>\n <link rel=\"icon... | c# | chosen |
[
{
"from": "system",
"value": "Remove ignore attribute from now fixed test scene\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 NU... | c# | chosen |
[
{
"from": "system",
"value": "Fix create BitmapDecoder with async file stream.\n\n[BitmapDecoder.Create does not handle FileStream with FileOptions.Asynchronous · Issue #4355 · dotnet/wpf](https://github.com/dotnet/wpf/issues/4355 )\n"
},
{
"from": "human",
"value": "using System;\nusing System... | c# | chosen |
[
{
"from": "system",
"value": "Add formatToSqlParams param to GetOrCreateUserQuery\n"
},
{
"from": "human",
"value": "\nusing System.Linq;\nusing ITCO.SboAddon.Framework.Helpers;\nusing SAPbobsCOM;\n\nnamespace ITCO.SboAddon.Framework.Extensions\n{\n public static class UserQueryExtensions\n ... | c# | chosen |
[
{
"from": "system",
"value": "Ribbon: Remove extra loadImage callback until we discuss it"
},
{
"from": "human",
"value": "using System.Runtime.InteropServices;\nusing System.Windows.Forms;\nusing ExcelDna.Integration.CustomUI;\n\nnamespace Ribbon\n{\n [ComVisible(true)]\n public class Ri... | c# | chosen |
[
{
"from": "system",
"value": "Test Refactor, consolidate Evaluate Add tests\n"
},
{
"from": "human",
"value": "namespace ClojSharp.Core.Tests\r\n{\r\n using System;\r\n using System.Collections.Generic;\r\n using System.Linq;\r\n using System.Text;\r\n using ClojSharp.Core.Compil... | c# | chosen |
[
{
"from": "system",
"value": "Fix: Reset live tokens value when it can not be saved\n\naka. clear token values after finishing play/exiting results screen\n"
},
{
"from": "human",
"value": "using System;\nusing System.Diagnostics;\nusing StreamCompanionTypes.DataTypes;\nusing StreamCompanionType... | c# | chosen |
[
{
"from": "system",
"value": "Enable overriding of settings via command line arguments in the formats:\n/SettingName=value\n/SettingName:value\n"
},
{
"from": "human",
"value": "// Copyright 2007-2010 The Apache Software Foundation.\r\n// \r\n// Licensed under the Apache License, Version 2.0 (th... | c# | chosen |
[
{
"from": "system",
"value": "Put performance test into separate method in console.\n"
},
{
"from": "human",
"value": "using System;\r\nusing System.Collections.Generic;\r\nusing Arango.Client;\r\nusing Arango.fastJSON;\r\n\r\nnamespace Arango.ConsoleTests\r\n{\r\n class Program\r\n {\r\n... | c# | chosen |
[
{
"from": "system",
"value": "[main.wp] Fix \"rate app\" button in the about page.\n"
},
{
"from": "human",
"value": "// Copyright (c) PocketCampus.Org 2014-15\r\n// See LICENSE file for more details\r\n// File author: Solal Pirelli\r\n\r\nusing System;\r\nusing Windows.ApplicationModel;\r\nusi... | c# | chosen |
[
{
"from": "system",
"value": "Make the SUTA edit text form bigger\n"
},
{
"from": "human",
"value": "@model BatteryCommander.Web.Commands.UpdateSUTARequest\r\n\r\n@using (Html.BeginForm(\"Edit\", \"SUTA\", new { Model.Id }, FormMethod.Post, true, new { @class = \"form-horizontal\", role = \"for... | c# | chosen |
[
{
"from": "system",
"value": "Add tag for Scene logs; Code alignment;\n"
},
{
"from": "human",
"value": "using UnityEngine;\nusing System.Collections;\n\nnamespace UDBase.Components.Log {\n\tpublic class LogTags {\n\t\tpublic const int Common = 1;\n\t\tpublic const int UI = 2;\n\n\t\tstring... | c# | chosen |
[
{
"from": "system",
"value": "Fix of LocalChecker sometimes loopback could be already part of dictionary throwing exception on duplicate add.\n"
},
{
"from": "human",
"value": "using System.Collections.Generic;\nusing System.Linq;\nusing System.Net;\nusing System.Net.Sockets;\n\nnamespace Nowin\... | c# | chosen |
[
{
"from": "system",
"value": "Change logger type for NLog error messages to be based on exception if possible\n"
},
{
"from": "human",
"value": "using System;\r\nusing System.Collections.Generic;\r\nusing System.Diagnostics;\r\nusing FubuCore;\r\nusing FubuCore.Descriptions;\r\nusing FubuCore.L... | c# | chosen |
[
{
"from": "system",
"value": "Add warmup attribute to test runner factory\n"
},
{
"from": "human",
"value": "namespace Moya.Runner.Factories\n{\n using System;\n using System.Collections.Generic;\n using Attributes;\n using Exceptions;\n using Extensions;\n using Moya.Utility;... | c# | chosen |
[
{
"from": "system",
"value": "Fix title of match song select\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;\nusing osu.Game.Online.Multipla... | c# | chosen |
[
{
"from": "system",
"value": "Use correct lookup type to ensure username based lookups always prefer username\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.\... | c# | chosen |
[
{
"from": "system",
"value": "Replace two xml comment instances of 'OmitOnRecursionGuard' with 'RecursionGuard'\n\nThe use of OmitOnRecursionGuard class seems to have been replaced with the combined use of RecursionGuard and OmitOnRecursionHandler. The class level xml comments for the OmitOnRecursionBehavio... | c# | chosen |
[
{
"from": "system",
"value": "Rename some classes to better match the service API.\n"
},
{
"from": "human",
"value": "using System;\nusing System.Threading.Tasks;\nnamespace DanTup.DartAnalysis\n{\n\tclass VersionRequest : Request<Response<VersionResponse>>\n\t{\n\t\tpublic string method = \"se... | c# | chosen |
[
{
"from": "system",
"value": "Fix unit test for 2 pages initial data\n"
},
{
"from": "human",
"value": "using Microsoft.VisualStudio.TestTools.UnitTesting;\nusing System;\nusing System.IO;\nusing System.Linq;\nusing System.Threading.Tasks;\nusing System.Collections;\nusing System.Collections.Ge... | c# | chosen |
[
{
"from": "system",
"value": "Add a non-generic object cache\n"
},
{
"from": "human",
"value": "// Copyright (c) Microsoft. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\nusing System;\nusing System.Threading.Tasks;... | c# | chosen |
[
{
"from": "system",
"value": "Add Mouse Look Tracking to player character\n\n"
},
{
"from": "human",
"value": "using System.Collections;\nusing System.Collections.Generic;\nusing UnityEngine;\n\npublic class PlayerMovement : MonoBehaviour {\n\n public float movementSpeed = 1.0f;\n\n\t// Use ... | c# | chosen |
[
{
"from": "system",
"value": "[skip ci] Use property instead of member\n"
},
{
"from": "human",
"value": "using System.Collections.Generic;\nusing System.Linq;\nusing System.Threading;\nusing System.Threading.Tasks;\nusing WalletWasabi.Backend.Models;\nusing WalletWasabi.Interfaces;\n\nnamespac... | c# | chosen |
[
{
"from": "system",
"value": "Fix number format for locales that don't use . as decimal mark\n"
},
{
"from": "human",
"value": "namespace Adaptive.ReactiveTrader.Client.UI.SpotTiles\n{\n public static class PriceFormatter\n {\n public static FormattedPrice GetFormattedPrice(decimal... | c# | chosen |
[
{
"from": "system",
"value": "Make taskbar jump list show last part of path (folder name)\n"
},
{
"from": "human",
"value": "using System.Windows;\nusing System.Windows.Shell;\nusing GitMind.ApplicationHandling.SettingsHandling;\n\n\nnamespace GitMind.Common\n{\n\tpublic class JumpListService\n... | c# | chosen |
[
{
"from": "system",
"value": "Use the .Data propertry as opposed to GetData in this PartialView\n"
},
{
"from": "human",
"value": "@inherits UmbracoViewPage<BlockListModel>\n@using ContentModels = Umbraco.Web.PublishedModels;\n@using Umbraco.Core.Models.Blocks\n@{\n if (Model?.Layout == null... | c# | chosen |
[
{
"from": "system",
"value": "Fix date in date pickuper\n"
},
{
"from": "human",
"value": "@model InfinysBreakfastOrders.Web.InputModels.Orders.OrderInputModel\n@{\n ViewBag.Title = \"Post New Order\";\n}\n\n<h1>@ViewBag.Title</h1>\n\n@using (Html.BeginForm(\"NewOrder\", \"Orders\", FormMeth... | c# | chosen |
[
{
"from": "system",
"value": "Fix whitespace in team player stats view.\n"
},
{
"from": "human",
"value": "@model WuzlStats.ViewModels.Player.TeamPlayerStats\n\n<div class=\"panel panel-default\">\n <div class=\"panel-heading\">Teams</div>\n <div class=\"panel-body\">\n\n <div clas... | c# | chosen |
[
{
"from": "system",
"value": "Make a tag V15.8.0 2017-05-22\n"
},
{
"from": "human",
"value": "using System.Web;\nusing Newtonsoft.Json;\nusing System;\n\nnamespace TropoCSharp.Tropo\n{\n /// <summary>\n /// A utility class to render a Tropo object as JSON.\n /// </summary>\n public... | c# | chosen |
[
{
"from": "system",
"value": "Fix remaining game host regressions\n\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.Platform;\n\nnamesp... | c# | chosen |
[
{
"from": "system",
"value": "Switch to the Build<AppFunc> extension method - nicer syntax\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections.Generic;\nusing System.Threading.Tasks;\nusing System.Windows;\nusing Microsoft.Owin.Builder;\nusing Owin;\n\nnamespace CefSharp.... | c# | chosen |
[
{
"from": "system",
"value": "Update error categories to match libgit2\n"
},
{
"from": "human",
"value": "namespace LibGit2Sharp.Core\n{\n internal enum GitErrorCategory\n {\n Unknown = -1,\n NoMemory,\n Os,\n Invalid,\n Reference,\n Zlib,\n ... | c# | chosen |
[
{
"from": "system",
"value": "Add tests for FY handling\n"
},
{
"from": "human",
"value": "using BatteryCommander.Web.Models;\nusing System;\nusing System.Collections.Generic;\nusing Xunit;\n\nnamespace BatteryCommander.Tests\n{\n public class FiscalYearTests\n {\n [Fact]\n\n ... | c# | chosen |
[
{
"from": "system",
"value": "Add \"Nominations\" and \"Updated\" sorting criteria in beatmap listing\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#nulla... | c# | chosen |
[
{
"from": "system",
"value": "Hide TabControl's dropdown's header when no items are inside the dropdown.\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-framework/master/... | c# | chosen |
[
{
"from": "system",
"value": "Add \"counter\" keyword for key overlay setting\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.Allocatio... | c# | chosen |
[
{
"from": "system",
"value": "Allow combining lifetime scope tags\n\nAutofac's lifetimeScope registration methods such as `InstancePerRequest` and `InstancePerMatchingLifetimeScope` take a `params object[] lifetimeScopeTags` at the end allowing easy combining of allowed scopes. I've added this parameter to ... | c# | chosen |
[
{
"from": "system",
"value": "Add ctor to pipe the http factory\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections.Generic;\n\nnamespace website_performance.Entities\n{\n public class Robots\n {\n private readonly List<Uri> _sitemaps = new List<Uri>();\n\n ... | c# | chosen |
[
{
"from": "system",
"value": "Change the FROM address to redleg.app\n"
},
{
"from": "human",
"value": "using Microsoft.Extensions.Options;\nusing SendGrid.Helpers.Mail;\nusing System.Threading.Tasks;\n\nnamespace BatteryCommander.Web.Services\n{\n public interface IEmailService\n {\n ... | c# | chosen |
[
{
"from": "system",
"value": "Update existing documentation for season ids.\n"
},
{
"from": "human",
"value": "namespace TraktApiSharp.Objects.Get.Shows.Seasons\n{\n using Newtonsoft.Json;\n\n /// <summary>\n /// A collection of ids for various web services for a Trakt season.\n ///... | c# | chosen |
[
{
"from": "system",
"value": "Set the the game width and height to the console window size or to a maximum value.\n"
},
{
"from": "human",
"value": "using SnakeApp.Models;\nusing System;\n\nnamespace SnakeApp.Controllers\n{\n\tpublic class GameController\n\t{\n\t\tpublic void StartNewGame()\n\t... | c# | chosen |
[
{
"from": "system",
"value": "Fix an endless feedback loop"
},
{
"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\nnamespace osu.Game.Screens.Select\n{\n public ... | c# | chosen |
[
{
"from": "system",
"value": "Fix no build option in dotnet test task"
},
{
"from": "human",
"value": "// Copyright (c) .NET Foundation and contributors. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\nnamespace Micro... | c# | chosen |
[
{
"from": "system",
"value": "Reduce default access token expiration timespan\n\n20 minutes by default\n"
},
{
"from": "human",
"value": "// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information.\n\nusing System;\nusing M... | c# | chosen |
[
{
"from": "system",
"value": "Use correct order of equality assertion for better error message (xUnit analyzer)\n"
},
{
"from": "human",
"value": "using System;\r\nusing System.Collections.Generic;\r\nusing System.Linq;\r\nusing AvsAnLib.Internals;\r\nusing WikipediaAvsAnTrieExtractor;\r\nusing... | c# | chosen |
[
{
"from": "system",
"value": "Remove unused ClickMacro controller method\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\nnamespace EndlessClient.HUD\n{\n ... | c# | chosen |
[
{
"from": "system",
"value": "Fix misnamed LOWFONT enumeration to LOWERFONT\n"
},
{
"from": "human",
"value": "namespace Grobid.NET\r\n{\r\n public enum FontSizeStatus\r\n {\r\n HIGHERFONT,\r\n SAMEFONTSIZE,\r\n LOWFONT,\r\n }\r\n}"
},
{
"from": "gpt",
... | c# | chosen |
[
{
"from": "system",
"value": "Make the default BrstmTrackType Standard\n"
},
{
"from": "human",
"value": "using DspAdpcm.Adpcm.Formats.Internal;\nusing DspAdpcm.Adpcm.Formats.Structures;\n\nnamespace DspAdpcm.Adpcm.Formats.Configuration\n{\n /// <summary>\n /// Contains the options used t... | c# | chosen |
[
{
"from": "system",
"value": "Support server messages in the Image widget\n"
},
{
"from": "human",
"value": "using MonoHaven.UI.Widgets;\n\nnamespace MonoHaven.UI.Remote\n{\n\tpublic class ServerImage : ServerWidget\n\t{\n\t\tpublic static ServerWidget Create(ushort id, ServerWidget parent, obj... | c# | chosen |
[
{
"from": "system",
"value": "Reduce allocations while maintaining read-only-ness\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;\nusing Syste... | c# | chosen |
[
{
"from": "system",
"value": "Fix sync context Run always returns true when it ran something.\n\nThis should fix a possible edgecase where some of the scheduled items\naren't being run due to being added at the very last minute.\n"
},
{
"from": "human",
"value": "using System;\nusing System.Col... | c# | chosen |
[
{
"from": "system",
"value": "Make GameObject.SetEnabled extension method more generic\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Text;\nusing UnityEngine;\n\nnamespace Assets.Scripts\n{\n public static class GameObje... | c# | chosen |
[
{
"from": "system",
"value": "Fix for help blowing up if a module or command lacks a summary\n"
},
{
"from": "human",
"value": "using System.Linq;\nusing System.Text;\nusing System.Threading.Tasks;\nusing Discord;\nusing Discord.Commands;\n\nnamespace Modix.Modules\n{\n [Name(\"Info\"), Summ... | c# | chosen |
[
{
"from": "system",
"value": "Allow properties to be nullable to support V12 databases\n"
},
{
"from": "human",
"value": "using System;\nusing System.Xml.Linq;\n\nnamespace Linq2Azure.SqlDatabases\n{\n public class Database\n {\n internal Database(XElement xml, DatabaseServer datab... | c# | chosen |
[
{
"from": "system",
"value": "Add textarea, keyboard listener and timer.\n"
},
{
"from": "human",
"value": "@{\n ViewBag.Title = \"Typing Classifier\";\n}\n\n<div class=\"jumbotron\">\n This will be our awesome typing classifier\n</div>\n\n<div class=\"row\">\n Typing classifier goes h... | c# | chosen |
[
{
"from": "system",
"value": "Sort snippets in descending order\n"
},
{
"from": "human",
"value": "using System;\nusing System.Linq;\nusing System.Web.Mvc;\nusing Hangfire.Highlighter.Jobs;\nusing Hangfire.Highlighter.Models;\n\nnamespace Hangfire.Highlighter.Controllers\n{\n public class Ho... | c# | chosen |
[
{
"from": "system",
"value": "Make pie chart div wider\n\nPrevents clipping on narrow screens"
},
{
"from": "human",
"value": "@using System.Threading.Tasks\n<header>\n\n <div class=\"https_chart col-md-offset-1 col-md-3\" data-width=\"250\"></div>\n\n <div class=\"description col-md-7\">... | c# | chosen |
[
{
"from": "system",
"value": "Move generating mock data to separate function.\n"
},
{
"from": "human",
"value": "using ProjectCDA.Model;\nusing ProjectCDA.Model.Constants;\nusing System.Collections.Generic;\nusing System.Collections.ObjectModel;\n\nnamespace ProjectCDA.DAL\n{\n public class ... | c# | chosen |
[
{
"from": "system",
"value": "Fix the temp enum change\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 information.\... | c# | chosen |
[
{
"from": "system",
"value": "Use readonly properties instead of public fields\n"
},
{
"from": "human",
"value": "using System;\n\nnamespace Avalonia.Media.Fonts\n{\n public readonly struct FontKey : IEquatable<FontKey>\n {\n public readonly string FamilyName;\n public readon... | c# | chosen |
[
{
"from": "system",
"value": "Fix null reference exception when creating a project.\n"
},
{
"from": "human",
"value": "using System;\n\nnamespace ZBuildLights.Core.Models\n{\n public class EditProject\n {\n public Guid? ProjectId { get; set; }\n public string Name { get; set... | c# | chosen |
[
{
"from": "system",
"value": "Clarify xmldoc regarding return value\n\nCo-authored-by: Bartłomiej Dach <809709723693c4e7ecc6f5379a3099c830279741@gmail.com>"
},
{
"from": "human",
"value": "// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.\n// See the LICENCE file in ... | c# | chosen |
[
{
"from": "system",
"value": "Add tests for user name\n\n"
},
{
"from": "human",
"value": "using NUnit.Framework;\nusing ZobShop.Models;\n\nnamespace ZobShop.Tests.Models.UserTests\n{\n [TestFixture]\n public class PropertyTests\n {\n [TestCase(\"street\")]\n [TestCase(\"... | c# | chosen |
[
{
"from": "system",
"value": "Add nv optimus enabler for core tester\n"
},
{
"from": "human",
"value": "using SharpDX.Windows;\nusing System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Threading.Tasks;\nusing System.Windows.Forms;\n\nnamespace CoreTest\n{\n static c... | c# | chosen |
[
{
"from": "system",
"value": "Fix serialization failure due to missing set\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.Online.Realtim... | c# | chosen |
[
{
"from": "system",
"value": "Fix so that dotnet test command can be used\n"
},
{
"from": "human",
"value": "using System.IO;\nusing Microsoft.Extensions.Configuration;\nusing System.Linq;\n\nnamespace MyNatsClient.IntegrationTests\n{\n public static class TestSettings\n {\n public... | c# | chosen |
[
{
"from": "system",
"value": "Set the ID of a submenu.\n"
},
{
"from": "human",
"value": "#if DESKTOP\nusing System;\n\nnamespace Eto.Forms\n{\n\tpublic partial interface IActionItem\n\t{\n\t\tMenuItem Generate(Generator generator);\n\t}\n\t\n\tpublic abstract partial class ActionItemBase\n\t{\n... | c# | chosen |
[
{
"from": "system",
"value": "Create server side API for single multiple answer question\n"
},
{
"from": "human",
"value": "using Microsoft.AspNetCore.Mvc;\nusing Promact.Trappist.DomainModel.Models.Question;\nusing Promact.Trappist.Repository.Questions;\nusing System;\n\nnamespace Promact.Trap... | c# | chosen |
[
{
"from": "system",
"value": "Correct casing of file names\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 information.\n\nnamespace Microsoft.Azure.WebJobs.Script.Descr... | c# | chosen |
[
{
"from": "system",
"value": "Remove cyclical Dispose method causing error.\n"
},
{
"from": "human",
"value": "using System.Threading.Tasks;\nusing Microsoft.ServiceFabric.Data;\n\nnamespace ServiceFabric.Mocks\n{ \n /// <summary>\n /// A sequence of operations performed as a single logi... | c# | chosen |
[
{
"from": "system",
"value": "Add some seed data for quals\n"
},
{
"from": "human",
"value": "namespace BatteryCommander.Common.Migrations\n{\n using System.Data.Entity.Migrations;\n\n internal sealed class Configuration : DbMigrationsConfiguration<BatteryCommander.Common.DataContext>\n ... | c# | chosen |
[
{
"from": "system",
"value": "Update S.Diag.Contracts tests to verify behavior for DEBUG and !DEBUG\n\nSystem.Diagnostics.Contracts is implemented in mscorlib. In versions\nof mscorlib compiled with the DEBUG property, the Contract.Assert\nmethods are active. In versions of mscorlib compiled without the\n... | c# | chosen |
[
{
"from": "system",
"value": "Fix removal of installation directory from PATH on uninstall\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections.Generic;\nusing System.Linq;\n\nnamespace SyncTool.Cli.Installation\n{\n public class PathVariableInstallerStep : IInstallerSt... | c# | chosen |
[
{
"from": "system",
"value": "Use layout file next to data file\n"
},
{
"from": "human",
"value": "using System.Collections.Generic;\nusing System.IO;\nusing Dependinator.ModelViewing.Private.DataHandling.Dtos;\nusing Dependinator.ModelViewing.Private.DataHandling.Private.Parsing;\n\n\nnamespac... | c# | chosen |
[
{
"from": "system",
"value": "Add overlay layer to enumeration type\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.Beatmaps.Legacy\n{\n ... | c# | chosen |
[
{
"from": "system",
"value": "Switch service registration over to using new RequestProfile provider\n"
},
{
"from": "human",
"value": "using Glimpse.Agent;\nusing Microsoft.Framework.ConfigurationModel;\nusing Microsoft.Framework.DependencyInjection;\nusing System;\nusing System.Collections.Gen... | c# | chosen |
[
{
"from": "system",
"value": "Fix the build some more\n"
},
{
"from": "human",
"value": "using System.Reflection;\n\nnamespace Loyc.Compatibility\n{\n\t#if NetStandard20 || DotNet45\n\n\t/// <summary>Defines ITuple in .NET Standard 2.0. System.Runtime.CompilerServices.ITuple\n\t/// was added to ... | c# | chosen |
[
{
"from": "system",
"value": "FIX Logger object on Powershell engine\n"
},
{
"from": "human",
"value": "using System.Collections.Generic;\nusing System.Management.Automation.Runspaces;\n\nusing Aggregator.Core.Interfaces;\nusing Aggregator.Core.Monitoring;\n\nnamespace Aggregator.Core\n{\n /... | c# | chosen |
[
{
"from": "system",
"value": "Clarify comment in sample app"
},
{
"from": "human",
"value": "using System;\nusing System.IO;\nusing System.Text;\nusing DelimitedDataParser;\n\nnamespace WindowsEncoding\n{\n internal class Program\n {\n private static void Main()\n {\n ... | c# | chosen |
[
{
"from": "system",
"value": "Test 'long'-based 'enum' types, too\n"
},
{
"from": "human",
"value": "using System;\n\npublic enum Colors\n{\n Red = 1,\n Alpha,\n Green = 13,\n Blue\n}\n\npublic static class Program\n{\n public static void Main(string[] Args)\n {\n Consol... | c# | chosen |
[
{
"from": "system",
"value": "Fix du mauvais nom de classe\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections.Generic;\nusing System.Data;\nusing System.Linq;\nusing System.Text;\nusing System.Threading.Tasks;\n\nnamespace Nutritia\n{\n public class MySqlPlatService :... | c# | chosen |
[
{
"from": "system",
"value": "Refactor BlockChain to have an internal list\n"
},
{
"from": "human",
"value": "namespace BlockchainSharp.Core\r\n{\r\n using System;\r\n using System.Collections.Generic;\r\n using System.Linq;\r\n using System.Text;\r\n\r\n public class BlockChain\... | c# | chosen |
[
{
"from": "system",
"value": "Load FMK credentials from serialized file.\n"
},
{
"from": "human",
"value": "using Assets.Scripts.Data.Interfaces;\nusing System.Collections.Generic;\nusing Assets.Scripts.Data.Model.Objects;\nusing Assets.Scripts.Data.Model.Telemetrics;\nusing Assets.Scripts.Data... | c# | chosen |
[
{
"from": "system",
"value": "Remove unnecessary `public` prefix in interface specification\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.Framew... | c# | chosen |
[
{
"from": "system",
"value": "Revert \"YoumuSlash: Better camera looping algorithm\"\n\nThis reverts commit 87a4e5ecac344e0cbc225790a6d5a4fd5210a7fb.\n"
},
{
"from": "human",
"value": "using System.Collections;\nusing System.Collections.Generic;\nusing UnityEngine;\n\npublic class YoumuSlash3DE... | c# | chosen |
[
{
"from": "system",
"value": "Improve performance of keycode translations\n"
},
{
"from": "human",
"value": "using SierraLib.Translation;\nusing System;\nusing System.Collections.Generic;\nusing System.Diagnostics;\nusing System.Globalization;\nusing System.IO;\nusing System.Linq;\nusing System... | c# | chosen |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.