conversations listlengths 2 3 | source stringclasses 1
value | stack stringclasses 1
value |
|---|---|---|
[
{
"from": "system",
"value": "Fix to allow plugin to start up disabled as default\n\n"
},
{
"from": "human",
"value": "using System.Collections.Generic;\nusing Wox.Plugin;\n\nnamespace Wox.Infrastructure.UserSettings\n{\n public class PluginsSettings : BaseModel\n {\n public string... | c# | chosen |
[
{
"from": "system",
"value": "Add OrderingDomainException when the order doesn't exist with id orderId\n"
},
{
"from": "human",
"value": "using Microsoft.EntityFrameworkCore;\nusing Microsoft.eShopOnContainers.Services.Ordering.Domain.AggregatesModel.OrderAggregate;\nusing Microsoft.eShopOnCont... | c# | chosen |
[
{
"from": "system",
"value": "Check if tree is mirror. Improved logics.\n"
},
{
"from": "human",
"value": "using System;\n\nclass Node {\n public Node(int val, Node left, Node right) {\n Value = val; Left = left; Right = right;\n }\n\n public int Value { get; private set; }\n ... | c# | chosen |
[
{
"from": "system",
"value": "Update test for possible sizes"
},
{
"from": "human",
"value": "namespace CSharpMath.Xaml.Tests.NuGet {\r\n using Avalonia;\r\n using SkiaSharp;\r\n using Forms;\r\n public class Program {\n static string File(string platform, [System.Runtime.CompilerService... | c# | chosen |
[
{
"from": "system",
"value": "Revert the hard coded name check for SBD incremental analyzer as unit test team has moved to IUnitTestingIncrementalAnalyzer\n"
},
{
"from": "human",
"value": "// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See L... | c# | chosen |
[
{
"from": "system",
"value": "Update Messages to correct location\n"
},
{
"from": "human",
"value": "//------------------------------------------------------------------------------\n// <auto-generated>\n// This code was generated by a tool.\n// Runtime Version:4.0.30319.42000\n//\n// ... | c# | chosen |
[
{
"from": "system",
"value": "Fix catch spinners not being allowed for conversion\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.Game.Rulesets.O... | c# | chosen |
[
{
"from": "system",
"value": "Disable unwanted lazy loading during query execution\n"
},
{
"from": "human",
"value": "namespace InfoCarrier.Core.Client.Query.Internal\n{\n using System;\n using Microsoft.EntityFrameworkCore.ChangeTracking.Internal;\n using Microsoft.EntityFrameworkCore... | c# | chosen |
[
{
"from": "system",
"value": "Issue_21: Apply SqliteForeignKeyIndexConvention right after the ForeignKeyIndexConvetion.\n"
},
{
"from": "human",
"value": "using System;\nusing System.Data.Entity;\nusing System.Data.Entity.ModelConfiguration.Conventions;\n\nnamespace SQLite.CodeFirst\n{\n publ... | c# | chosen |
[
{
"from": "system",
"value": "Fix incorrect project file type description\n"
},
{
"from": "human",
"value": "using JetBrains.Annotations;\nusing JetBrains.ProjectModel;\nusing JetBrains.ReSharper.Plugins.Unity.UnityEditorIntegration;\nusing JetBrains.ReSharper.Plugins.Yaml.ProjectModel;\n\n#null... | c# | chosen |
[
{
"from": "system",
"value": "Make CSP more specific for docs\n"
},
{
"from": "human",
"value": "@inject BTCPayServer.Security.ContentSecurityPolicies csp\n@{\n Layout = null;\n csp.Add(\"script-src\", \"https://cdn.jsdelivr.net\");\n csp.Add(\"worker-src\", \"blob:\");\n}\n<!DOCTYPE ht... | c# | chosen |
[
{
"from": "system",
"value": "Fix a typo in a view\n"
},
{
"from": "human",
"value": "using BroadbandSpeedStats.Database.Schema;\nusing FluentMigrator;\n\nnamespace BroadbandSpeedTests.Database.Migrations.Migrations\n{\n [Migration(20170228)]\n public class TodaysTestResultsView : Migrati... | c# | chosen |
[
{
"from": "system",
"value": "Use local bound copy for `HiddenIssueTypes`\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.Allocation;\nu... | c# | chosen |
[
{
"from": "system",
"value": "Revert \"Added method to perform validity check for effect parameters\"\n\nThis reverts commit 819b807fb9e789bc2e47f8463735b2c745ca0361.\n"
},
{
"from": "human",
"value": "namespace SoxSharp.Effects\n{\n public interface IBaseEffect\n {\n string Name { get; }\... | c# | chosen |
[
{
"from": "system",
"value": "Misc: Refactor plays/retries counting using osu events\n\n"
},
{
"from": "human",
"value": "using StreamCompanionTypes.DataTypes;\nusing StreamCompanionTypes.Enums;\nusing StreamCompanionTypes.Interfaces;\nusing StreamCompanionTypes.Interfaces.Sources;\n\nnamespace... | c# | chosen |
[
{
"from": "system",
"value": "Clear all transforms of catcher trail sprite before returned to pool\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... | c# | chosen |
[
{
"from": "system",
"value": "Remove test on argument null exception message\n"
},
{
"from": "human",
"value": "using System;\nusing FluentAssertions;\nusing Microsoft.Practices.Unity;\nusing Unity.Interception.Serilog.Tests.Support;\nusing Xunit;\n\nnamespace Unity.Interception.Serilog.Tests\n{... | c# | chosen |
[
{
"from": "system",
"value": "Add option to install command\n"
},
{
"from": "human",
"value": "namespace SIM.Client.Commands\n{\n using CommandLine;\n using JetBrains.Annotations;\n using SIM.Core.Commands;\n\n public class InstallCommandFacade : InstallCommand\n {\n [UsedImplicitly]\n ... | c# | chosen |
[
{
"from": "system",
"value": "Fix spelling mistake, 'collission' => 'collision'"
},
{
"from": "human",
"value": "using System;\n\nnamespace Marten.Services\n{\n public class ConcurrentUpdateException : Exception\n {\n public ConcurrentUpdateException(Exception innerException) : base... | c# | chosen |
[
{
"from": "system",
"value": "Add Nesting ServiceCollection Extension method overloads\n"
},
{
"from": "human",
"value": "using Microsoft.Extensions.DependencyInjection;\nusing System;\n\nnamespace THNETII.DependencyInjection.Nesting\n{\n public static class NestedServicesServiceCollectionEx... | c# | chosen |
[
{
"from": "system",
"value": "Add Int.To(Int) Method, which allow to generate a sequence between two numbers.\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Text;\n\nnamespace Ext.NET\n{\n class IntegerExtension\n {\n ... | c# | chosen |
[
{
"from": "system",
"value": "Copy Updates Other Copy elements of the Same Type on the Same Page When Saving\n"
},
{
"from": "human",
"value": "@model Portal.CMS.Entities.Entities.Copy.Copy\n@using Portal.CMS.Web.Areas.Admin.Helpers;\n@{\n Layout = \"\";\n\n var isAdmin = UserHelper.IsAdm... | c# | chosen |
[
{
"from": "system",
"value": "Fix output path for nuget package.\n"
},
{
"from": "human",
"value": "#tool \"nuget:?package=xunit.runner.console\"\n\nvar target = Argument(\"target\", \"Default\");\nvar outputDir = \"./bin\";\n\nTask(\"Default\")\n .IsDependentOn(\"Xunit\")\n .Does(() =>\n{\n})... | c# | chosen |
[
{
"from": "system",
"value": "Change extension method default parameters to use constants\n"
},
{
"from": "human",
"value": "using Serilog.Configuration;\nusing Serilog.Core;\nusing Serilog.Events;\nusing Serilog.Sinks.Graylog.Helpers;\nusing Serilog.Sinks.Graylog.Transport;\n\nnamespace Serilo... | c# | chosen |
[
{
"from": "system",
"value": "Optimize away empty string literals.\n"
},
{
"from": "human",
"value": "using Veil.Parser;\n\nnamespace Veil.Compiler\n{\n internal partial class VeilTemplateCompiler<T>\n {\n private void EmitWriteLiteral(SyntaxTreeNode.WriteLiteralNode node)\n ... | c# | chosen |
[
{
"from": "system",
"value": "Add ability to enter commands\n"
},
{
"from": "human",
"value": "using ArduinoWindowsRemoteControl.Helpers;\nusing ArduinoWindowsRemoteControl.Interfaces;\nusing System;\nusing System.Collections.Generic;\nusing System.ComponentModel;\nusing System.Data;\nusing Sys... | c# | chosen |
[
{
"from": "system",
"value": "Make one of two red tests green by implementing basic support for the Values-method with Id-Property.\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections.Generic;\nusing System.Collections.Immutable;\nusing System.Linq;\nusing System.Linq.Expr... | c# | chosen |
[
{
"from": "system",
"value": "Make it configurable if high or low throws.\n\nResolves #7\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Text;\nusing System.Threading.Tasks;\n\nnamespace IPOCS_Programmer.ObjectTypes\n{\n p... | c# | chosen |
[
{
"from": "system",
"value": "Fix status text not updating upon reset\n"
},
{
"from": "human",
"value": "using UnityEngine;\nusing UnityEngine.UI;\n\n/// <summary>\n/// Attach this to the status text game object\n/// </summary>\npublic class StatusText : MonoBehaviour\n{\n Text text;\n Gl... | c# | chosen |
[
{
"from": "system",
"value": "Fix null error on status text initialization\n"
},
{
"from": "human",
"value": "using UnityEngine;\nusing UnityEngine.UI;\n\n/// <summary>\n/// Attach this to the status text game object\n/// </summary>\npublic class StatusText : MonoBehaviour\n{\n Text text;\n ... | c# | chosen |
[
{
"from": "system",
"value": "Add service alert for app update notice\n"
},
{
"from": "human",
"value": "using System;\nusing System.Linq;\nusing System.Collections.Generic;\nusing System.Net.Http;\nusing System.Threading.Tasks;\nusing CorvallisBus.Core.Models;\nusing HtmlAgilityPack;\n\nnamesp... | c# | chosen |
[
{
"from": "system",
"value": "Fix NaN floating point comparison\n"
},
{
"from": "human",
"value": "using System;\nusing DesktopWidgets.Properties;\n\nnamespace DesktopWidgets.Helpers\n{\n public static class DoubleHelper\n {\n public static bool IsEqual(this double val1, double val... | c# | chosen |
[
{
"from": "system",
"value": "Tweak key format in analytics request\n"
},
{
"from": "human",
"value": "using System.Collections;\nusing System.Collections.Specialized;\nusing System.Text;\n\nnamespace TweetDuck.Core.Other.Analytics{\n sealed class AnalyticsReport : IEnumerable{\n priv... | c# | chosen |
[
{
"from": "system",
"value": "Update spectator/multiplayer endpoint in line with new deployment\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 os... | c# | chosen |
[
{
"from": "system",
"value": "Hide character fields header if no fields\n"
},
{
"from": "human",
"value": "@using JoinRpg.Web.Models\n@model CharacterDetailsViewModel\n\n<div>\n @Html.Partial(\"CharacterNavigation\", Model.Navigation)\n @* TODO: Жесточайше причесать эту страницу*@\n <d... | c# | chosen |
[
{
"from": "system",
"value": "Add CIV.Interfaces reference in Main\n"
},
{
"from": "human",
"value": "using static System.Console;\nusing CIV.Ccs;\n\nnamespace CIV\r\n{\r\n class Program\r\n {\r\n static void Main(string[] args)\r\n {\n \t\t\tvar text = System.IO.File.Read... | c# | chosen |
[
{
"from": "system",
"value": "Revert \"Revert \"registration of api controllers fixed\"\"\n\nThis reverts commit 5d659b38601b2620054b286c941a5d53f1da20ae.\n"
},
{
"from": "human",
"value": "using System.Web.Http;\nusing Autofac;\nusing Autofac.Integration.WebApi;\n\nnamespace ReSharperTnT\n{\n ... | c# | chosen |
[
{
"from": "system",
"value": "Add new fluent syntax: DayOfWeek.Monday.EveryWeek()\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Text;\nusing System.Threading.Tasks;\n\nnamespace RecurringDates\n{\n public static class Ex... | c# | chosen |
[
{
"from": "system",
"value": "Add missing dependencies to autofac module\n"
},
{
"from": "human",
"value": "using Arkivverket.Arkade.Core;\nusing Arkivverket.Arkade.Core.Noark5;\nusing Arkivverket.Arkade.Identify;\nusing Arkivverket.Arkade.Logging;\nusing Arkivverket.Arkade.Tests;\nusing Arkivve... | c# | chosen |
[
{
"from": "system",
"value": "Enable tracing for IAP code\n\nChange-Id: I34c2c3c3c5110b9b894a59a81910f02667aefe52\n"
},
{
"from": "human",
"value": "//\n// Copyright 2019 Google LLC\n//\n// Licensed to the Apache Software Foundation (ASF) under one\n// or more contributor license agreements. S... | c# | chosen |
[
{
"from": "system",
"value": "Fix social buttons not copying setting valus\n"
},
{
"from": "human",
"value": "using Blogifier.Core.Common;\nusing Blogifier.Core.Data.Domain;\nusing Blogifier.Core.Data.Interfaces;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Threading.Tas... | c# | chosen |
[
{
"from": "system",
"value": "[ecs] Fix issues related to open dialogs when a player disconnects\n"
},
{
"from": "human",
"value": "// SampSharp\n// Copyright 2022 Tim Potze\n// \n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compli... | c# | chosen |
[
{
"from": "system",
"value": "Add missing ARC runtime linker flag"
},
{
"from": "human",
"value": "using System;\nusing MonoTouch.ObjCRuntime;\n\n[assembly: LinkWith (\"PSPDFKit.a\", LinkTarget.ArmV7s | LinkTarget.ArmV7 | LinkTarget.Simulator, ForceLoad = true, IsCxx = true, Frameworks = \"Media... | c# | chosen |
[
{
"from": "system",
"value": "Debug mode only enabled for Debug Build configuration\n"
},
{
"from": "human",
"value": "using System.Reflection;\nusing Funq;\nusing ServiceStack.Common.Web;\nusing ServiceStack.ServiceHost;\nusing ServiceStack.Text;\nusing ServiceStack.WebHost.Endpoints;\nusing S... | c# | chosen |
[
{
"from": "system",
"value": "Fix screen capture durring test failure\n"
},
{
"from": "human",
"value": "using System;\nusing System.Drawing.Imaging;\nusing System.IO;\nusing OpenQA.Selenium;\n\nnamespace Selenium.WebDriver.Equip\n{\n public class TestCapture\n {\n private IWebDriv... | c# | chosen |
[
{
"from": "system",
"value": "Switch simple array diff to default until Efficient array diffing is implemented\n"
},
{
"from": "human",
"value": "namespace JsonDiffPatchDotNet\r\n{\r\n\tpublic sealed class Options\r\n\t{\r\n\t\tpublic Options()\r\n\t\t{\r\n\t\t\tArrayDiff = ArrayDiffMode.Effici... | c# | chosen |
[
{
"from": "system",
"value": "Add a hover effect to video player seek bar\n"
},
{
"from": "human",
"value": "using System.Drawing;\nusing System.Windows.Forms;\n\nnamespace TweetDuck.Video.Controls{\n sealed class SeekBar : ProgressBar{\n private readonly SolidBrush brush;\n\n ... | c# | chosen |
[
{
"from": "system",
"value": "Reset the mocks before disposing\n"
},
{
"from": "human",
"value": "using System;\nusing System.Diagnostics;\nusing NUnit.Framework;\nusing Rhino.Mocks;\n\nnamespace NServiceKit.Logging.Tests.Support\n{\n public class TestBase\n {\n private MockReposito... | c# | chosen |
[
{
"from": "system",
"value": "Replace SQLite path for MBTiles files with full path, so that doesn't throw an exception on UWP\n"
},
{
"from": "human",
"value": "using System.IO;\nusing BruTile.MbTiles;\nusing Mapsui.Layers;\nusing Mapsui.UI;\nusing SQLite;\n\nnamespace Mapsui.Samples.Common.Map... | c# | chosen |
[
{
"from": "system",
"value": "Fix smoke test to use common LocationName\n"
},
{
"from": "human",
"value": "// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtai... | c# | chosen |
[
{
"from": "system",
"value": "Enable auto-connection on pre-block bursting screen\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Text;\nusing System.Threading.Tasks;\nusing Common.Logging;\nusing GladNet;\n\nnamespace Booma.... | c# | chosen |
[
{
"from": "system",
"value": "Set MicrogameCollection dirty in editor update\n"
},
{
"from": "human",
"value": "using System.Collections;\nusing System.Collections.Generic;\nusing UnityEngine;\nusing UnityEditor;\n\n[CustomEditor(typeof(MicrogameCollection))]\npublic class MicrogameCollectionEd... | c# | chosen |
[
{
"from": "system",
"value": "Add a link on Credit card registrations that have not paid\n"
},
{
"from": "human",
"value": "@using Microsoft.Web.Mvc\n@model CRP.Controllers.ViewModels.PaymentConfirmationViewModel\n\n@{\n ViewBag.Title = \"Confirmation\";\n}\n\n<div class=\"boundary\">\n <... | c# | chosen |
[
{
"from": "system",
"value": "Update D2RS to handle new networking infrastructure.\n"
},
{
"from": "human",
"value": "namespace Reaper.SharpBattleNet.Framework.DiabloIIRealmServer.Details\n{\n using System;\n using System.Linq;\n using System.Text;\n using System.Collections;\n u... | c# | chosen |
[
{
"from": "system",
"value": "Add edit links to noitces admin\n"
},
{
"from": "human",
"value": "@model LETS.ViewModels.MemberNoticesViewModel\n\n<h1>@string.Format(\"{0}'s {1}\", @Model.Member.FirstLastName, T(\"notices\"))</h1>\n@if (Model.Notices.Count().Equals(0))\n{\n <p>@T(\"This membe... | c# | chosen |
[
{
"from": "system",
"value": "Add an endpoint for the view page"
},
{
"from": "human",
"value": "using System.IO;\r\nusing System.Web;\r\nusing System.Web.Mvc;\r\nusing System.Net.Mail;\r\n\r\nnamespace SmartCam.Controllers\r\n{\r\n public class SmartCamController : Controller\r\n {\r\n ... | c# | chosen |
[
{
"from": "system",
"value": "Fix IndexOutOfBounds exception on application closing\n\n* with empty files list when SelectedIndex = 0 SelectedFile = ?\n* now SelectedFile = null\n"
},
{
"from": "human",
"value": "using System.Collections.ObjectModel;\nusing System.ComponentModel;\nusing System.... | c# | chosen |
[
{
"from": "system",
"value": "Fix gestione codici chiamata in Trasferimento Chiamata\n"
},
{
"from": "human",
"value": "using MongoDB.Driver;\nusing MongoDB.Driver.Linq;\nusing Persistence.MongoDB;\nusing SO115App.Models.Servizi.Infrastruttura.GestioneTrasferimentiChiamate.CodiciChiamate;\nusin... | c# | chosen |
[
{
"from": "system",
"value": "Add difficulty calculator beatmap decoder fallback\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 o... | c# | chosen |
[
{
"from": "system",
"value": "Test data for last 3 tile types.\n"
},
{
"from": "human",
"value": "using System;\nusing HexWorld.Enums;\n\nnamespace HexWorld\n{\n public class Tile\n {\n public TileTypes Type { get; set; }\n public bool IsWater { get; set; }\n public s... | c# | chosen |
[
{
"from": "system",
"value": "Add broken test to testproj\n"
},
{
"from": "human",
"value": "namespace testproj\n{\n using System;\n\n using JetBrains.dotMemoryUnit;\n\n using NUnit.Framework;\n\n [TestFixture]\n public class UnitTest1\n {\n [Test]\n public void ... | c# | chosen |
[
{
"from": "system",
"value": "Fix the player score counter (IsFaking always returned true)\n"
},
{
"from": "human",
"value": "using UnityEngine;\nusing UnityEngine.Networking;\n\npublic class PlayerState : NetworkBehaviour {\n\n [SyncVar]\n string fakingTheory;\n\n [SyncVar]\n int s... | c# | chosen |
[
{
"from": "system",
"value": "Add conditions to background tasks\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Threading.Tasks;\nusing Windows.ApplicationModel.Background;\nusing Gitter.Services.Abstract;\n\nnamespace Gitte... | c# | chosen |
[
{
"from": "system",
"value": "Add option to mark exceptions as observed\n"
},
{
"from": "human",
"value": "using System;\n\nnamespace Mindscape.Raygun4Net\n{\n public class RaygunSettings\n {\n private static RaygunSettings settings;\n private const string DefaultApiEndPoint = \"https:/... | c# | chosen |
[
{
"from": "system",
"value": "Put in some debugging code for looking at what functions have been added to the rooted event handler.\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Text;\n\nnamespace MatterHackers.Agg.UI\n{\n ... | c# | chosen |
[
{
"from": "system",
"value": "Add in check for null pointers."
},
{
"from": "human",
"value": "using System;\r\nusing System.Collections.Generic;\r\nusing System.Linq;\r\nusing System.Text;\r\nusing System.Threading.Tasks;\r\n\r\nnamespace GrienerTest\r\n{\r\n\r\n\r\n public partial class Po... | c# | chosen |
[
{
"from": "system",
"value": "Add nick wolf contact info.\n"
},
{
"from": "human",
"value": "@{\n ViewBag.Title = \"Contact\";\n}\n<h2>@ViewBag.Title.</h2>\n<h3>@ViewBag.Message</h3>\n\n<address>\n One Microsoft Way<br />\n Redmond, WA 98052-6399<br />\n <abbr title=\"Phone\">P:</ab... | c# | chosen |
[
{
"from": "system",
"value": "Fix indentation when changing inside multiline block\n"
},
{
"from": "human",
"value": "using System;\nusing Mono.TextEditor;\nusing ICSharpCode.NRefactory;\n\nnamespace JustEnoughVi\n{\n public class ChangeInnerBlock : ChangeCommand\n {\n public Chang... | c# | chosen |
[
{
"from": "system",
"value": "Set AssemblyVersion number correctly to 0.3.2\n"
},
{
"from": "human",
"value": "using System.Reflection;\nusing System.Runtime.CompilerServices;\nusing System.Runtime.InteropServices;\n[assembly: AssemblyTitle(\"DynaShape\")]\n[assembly: AssemblyDescription(\"Open... | c# | chosen |
[
{
"from": "system",
"value": "Use portable ToCharArray overload yielding equivalent result\n"
},
{
"from": "human",
"value": "using System;\r\nusing System.IO;\r\nusing System.Text;\r\n\r\nnamespace EvilDICOM.Core.IO.Writing\r\n{\r\n public class DICOMBinaryWriter : IDisposable\r\n {\r\n ... | c# | chosen |
[
{
"from": "system",
"value": "Allow to run build even if git repo informations are not available\n"
},
{
"from": "human",
"value": "#tool \"nuget:?package=GitVersion.CommandLine\"\n#addin \"Cake.Yaml\"\n\npublic class ContextInfo\n{\n public string NugetVersion { get; set; }\n public strin... | c# | chosen |
[
{
"from": "system",
"value": "Add some code to dump known colors\n"
},
{
"from": "human",
"value": "using System;\r\nusing System.Linq;\r\nusing System.Windows;\r\nusing System.Windows.Controls;\r\nusing System.Windows.Media;\r\nusing System.Windows.Shapes;\r\n\r\nclass Program\r\n{\r\n [STAT... | c# | chosen |
[
{
"from": "system",
"value": "Revert \"Revert \"auswertung von tags gebessert\"\"\n\nThis reverts commit 59db5d111a7f8c11a188c031bc82bbfc114b70ce.\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Text;\nusing System.Threading.... | c# | chosen |
[
{
"from": "system",
"value": "Fix to ensure Delta start time is reset when storage is re-created\n"
},
{
"from": "human",
"value": "using System;\nusing System.Threading.Tasks;\nusing Eurofurence.App.Domain.Model.Abstractions;\nusing Eurofurence.App.Domain.Model.Sync;\nusing Eurofurence.App.Ser... | c# | chosen |
[
{
"from": "system",
"value": "Revert \"Added place to output products\"\n\nThis reverts commit a4d3db1b46a642857651273f1d717b12d91f182b.\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections.Generic;\nusing System.Globalization;\nusing System.Linq;\nusing System.Text;\nusin... | c# | chosen |
[
{
"from": "system",
"value": "Fix display of color code\n\nFixes #1546"
},
{
"from": "human",
"value": "using System;\nusing System.Globalization;\nusing System.Windows.Data;\nusing System.Windows.Media;\n\nnamespace MaterialDesignDemo.Converters\n{\n public class BrushToHexConverter : IValu... | c# | chosen |
[
{
"from": "system",
"value": "Add remark to doc comment\n"
},
{
"from": "human",
"value": "using System;\n\nnamespace RockLib.Messaging\n{\n /// <summary>\n /// Defines an interface for receiving messages. To start receiving messages,\n /// set the value of the <see cref=\"MessageHandl... | c# | chosen |
[
{
"from": "system",
"value": "Add city power and water variables.\n"
},
{
"from": "human",
"value": "using Citysim.Map;\n\nnamespace Citysim\n{\n public class City\n {\n /// <summary>\n /// Amount of cash available.\n /// </summary>\n public int cash = 10000; /... | c# | chosen |
[
{
"from": "system",
"value": "Remove whitespace in informational text\n"
},
{
"from": "human",
"value": "// Copyright 2018 Maintainers of NUKE.\n// Distributed under the MIT License.\n// https://github.com/nuke-build/nuke/blob/master/LICENSE\n\nusing System;\nusing System.Linq;\nusing System.Ref... | c# | chosen |
[
{
"from": "system",
"value": "Rename Tenant to Domain in the web api template\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Threading.Tasks;\n\nnamespace Company.WebApplication1\n{\n public class AzureAdB2COptions\n {... | c# | chosen |
[
{
"from": "system",
"value": "Fix classification test to use object type.\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.Linq;\nus... | c# | chosen |
[
{
"from": "system",
"value": "Add code to remove all old settings\n"
},
{
"from": "human",
"value": "namespace Mappy\r\n{\r\n using System;\r\n using System.Windows.Forms;\r\n using UI.Forms;\r\n\r\n public static class Program\r\n {\r\n /// <summary>\r\n /// The ma... | c# | chosen |
[
{
"from": "system",
"value": "Fix flush unclaer data bugs.\n"
},
{
"from": "human",
"value": "using System.Collections.Generic;\nusing DotNetCore.CAP.Models;\n\nnamespace DotNetCore.CAP\n{\n public abstract class CapTransactionBase : ICapTransaction\n {\n private readonly IDispatc... | c# | chosen |
[
{
"from": "system",
"value": "Fix one remaining case of incorrect audio testing\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;\n\nn... | c# | chosen |
[
{
"from": "system",
"value": "Make the jumbotron inside a container.\n"
},
{
"from": "human",
"value": "\n<div id=\"my-jumbotron\" class=\"jumbotron\">\n <div class=\"container\">\n <h1>Welcome!</h1>\n <p>We are Sweet Water Revolver. This is our website. Please look around and ... | c# | chosen |
[
{
"from": "system",
"value": "Fix Error With Skill Test\n"
},
{
"from": "human",
"value": "using UnityEngine;\nusing System.Collections;\n\npublic class test : Skill\n{\n private float duration = 10f;\n private float expiration;\n bool active;\n Player player;\n\n private int bon... | c# | chosen |
[
{
"from": "system",
"value": "Add edge case unit tests\n"
},
{
"from": "human",
"value": "using Xunit;\n\nnamespace Pioneer.Pagination.Tests\n{\n /// <summary>\n /// Clamp Tests\n /// </summary>\n public class ClampTests\n {\n private readonly PaginatedMetaService _sut = n... | c# | chosen |
[
{
"from": "system",
"value": "Enable https redirection and authorization for non-dev envs only\n"
},
{
"from": "human",
"value": "using TruckRouter.Models;\n\nvar builder = WebApplication.CreateBuilder(args);\n\n// Add services to the container.\nbuilder.Services.AddControllers(); // Learn more... | c# | chosen |
[
{
"from": "system",
"value": "Add test for authorization requirement in TraktUserCustomListUpdateRequest\n"
},
{
"from": "human",
"value": "namespace TraktApiSharp.Tests.Experimental.Requests.Users.OAuth\n{\n using FluentAssertions;\n using Microsoft.VisualStudio.TestTools.UnitTesting;\n ... | c# | chosen |
[
{
"from": "system",
"value": "Add original constructor signature as there is Inception code which looks for it\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Text;\nusing System.Threading.Tasks;\n\nnamespace Umbraco.Inceptio... | c# | chosen |
[
{
"from": "system",
"value": "Revert \"Revert \"Added \"final door count\" comment at return value.\"\"\n\nThis reverts commit 4ed080e822168a87a0140fb8f0f28132bc0b6d96.\n"
},
{
"from": "human",
"value": "using System.Linq;\n\nnamespace HundredDoors\n{\n\tpublic static class HundredDoors\n\t{\n\... | c# | chosen |
[
{
"from": "system",
"value": "Fix log command and return log lines\n"
},
{
"from": "human",
"value": "using Cake.Core;\nusing Cake.Core.Annotations;\nusing System;\n\nnamespace Cake.Docker\n{\n partial class DockerAliases\n {\n /// <summary>\n /// Logs <paramref name=\"conta... | c# | chosen |
[
{
"from": "system",
"value": "Make DropdDownNavigationWorks more reliable and use new test methods.\n"
},
{
"from": "human",
"value": "using System;\nusing Microsoft.VisualStudio.TestTools.UnitTesting;\nusing Bonobo.Git.Server.Controllers;\nusing Bonobo.Git.Server.Test.Integration.Web;\nusing B... | c# | chosen |
[
{
"from": "system",
"value": "Rework exception asserts to improve failure messages.\n"
},
{
"from": "human",
"value": "using System;\nusing System.Linq;\nusing System.Linq.Expressions;\nusing FluentAssertions;\n\nnamespace PSql.Tests\n{\n using static ScriptExecutor;\n\n internal static cl... | c# | chosen |
[
{
"from": "system",
"value": "Fix build when targeting .NET Framework 3.5 as Func only supports covariance on .NET Framework 4.0 and higher."
},
{
"from": "human",
"value": "using Microsoft.VisualStudio.TestTools.UnitTesting;\r\nusing Renci.SshNet.Security.Cryptography;\r\nusing Renci.SshNet.Te... | c# | chosen |
[
{
"from": "system",
"value": "Fix a warning about a cref in an XML doc comment.\n\n\"ToString\" by itself cannot be resolved to a symbol. We really meant \"object.ToString\". (changeset 1255357)\n"
},
{
"from": "human",
"value": "// Copyright (c) Microsoft Open Technologies, Inc. All Rights Re... | c# | chosen |
[
{
"from": "system",
"value": "Change get method and add the new getter\n"
},
{
"from": "human",
"value": "using System.Collections.Generic;\nusing System.Threading.Tasks;\nusing Smooth.IoC.Dapper.Repository.UnitOfWork.Data;\n\nnamespace Smooth.IoC.Dapper.Repository.UnitOfWork.Repo\n{\n publi... | c# | chosen |
[
{
"from": "system",
"value": "Revert \"Exclude the first word\"\n\nThis reverts commit c5f9cf87bd3a18e4acf130a001f84b249598acc4.\n"
},
{
"from": "human",
"value": "using System;\nusing System.Diagnostics;\nusing System.Linq;\n\nnamespace mountain_thoughts\n{\n public class Program\n {\n ... | c# | chosen |
[
{
"from": "system",
"value": "Fix not to use expression-bodied constructors (cont.)\n"
},
{
"from": "human",
"value": "//-----------------------------------------------------------------------\n// <copyright file=\"AllScoreData.cs\" company=\"None\">\n// Copyright (c) IIHOSHI Yoshinori.\n// Lic... | c# | chosen |
[
{
"from": "system",
"value": "Handle the TwoHour time interval for strategies - was defaulting to 15\n"
},
{
"from": "human",
"value": "namespace MultiMiner.Win.Extensions\n{\n static class TimeIntervalExtensions\n {\n public static int ToMinutes(this MultiMiner.Win.ApplicationConf... | c# | chosen |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.