conversations listlengths 2 3 | source stringclasses 1
value | stack stringclasses 1
value |
|---|---|---|
[
{
"from": "system",
"value": "Use CurrentLocation.ProviderPath to get actual file system path\n"
},
{
"from": "human",
"value": "using System.Management.Automation;\r\n\r\nnamespace PoshGit2\r\n{\r\n class PSCurrentWorkingDirectory : ICurrentWorkingDirectory\r\n {\r\n private Sessi... | c# | chosen |
[
{
"from": "system",
"value": "Fix test type name to match file.\n"
},
{
"from": "human",
"value": "namespace SqlStreamStore\n{\n using System;\n using System.Threading.Tasks;\n using Shouldly;\n using SqlStreamStore.Streams;\n using Xunit;\n\n public class messageTests\n {\... | c# | chosen |
[
{
"from": "system",
"value": "Test to have json overall anser\n"
},
{
"from": "human",
"value": "using System;\nusing Nancy;\n\nnamespace MicroServicesHelloWorld{\n\n\npublic class CurrentDateTimeModule: NancyModule\n{\n public CurrentDateTimeModule()\n {\n Get(\"/\", _ => DateTime.... | c# | chosen |
[
{
"from": "system",
"value": "Fix typo in the CbxBundle refactoring causing the bytecode to not get copied to exported projects.\n"
},
{
"from": "human",
"value": "using System.Collections.Generic;\r\n\r\nnamespace Wax\r\n{\r\n public class CbxBundleView : JsonBasedObject\r\n {\r\n ... | c# | chosen |
[
{
"from": "system",
"value": "Add Custom Error Page and Routing\n"
},
{
"from": "human",
"value": "using System.Web.Mvc;\nusing System.Web.Optimization;\nusing System.Web.Routing;\n\nnamespace Portal.CMS.Web\n{\n public class MvcApplication : System.Web.HttpApplication\n {\n protec... | c# | chosen |
[
{
"from": "system",
"value": "Remove whitespace to test how well Subversion works via GitHub.\n"
},
{
"from": "human",
"value": "using System.Reflection;\nusing System.Runtime.CompilerServices;\n\n// Information about this assembly is defined by the following attributes. \n// Change them to the ... | c# | chosen |
[
{
"from": "system",
"value": "Throw better exception for invalid interfaces\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 fo... | c# | chosen |
[
{
"from": "system",
"value": "Switch back to GTK2 for now\n\nFixes #238\n\nRef https://github.com/mono/xwt/issues/591\n"
},
{
"from": "human",
"value": "using System;\nusing Xwt;\nusing System.Threading;\nusing System.Net;\nusing TrueCraft.Core;\n\nnamespace TrueCraft.Launcher\n{\n class Pro... | c# | chosen |
[
{
"from": "system",
"value": "Add label to the node colour key explaining what it is\n"
},
{
"from": "human",
"value": "using Gtk;\nusing SlimeSimulation.Controller.WindowComponentController;\n\nnamespace SlimeSimulation.View.WindowComponent\n{\n public class NodeHighlightKey\n {\n ... | c# | chosen |
[
{
"from": "system",
"value": "Add shipment for physical goods"
},
{
"from": "human",
"value": "using System;\nusing System.Collections.Generic;\n\nnamespace conekta\n{\n\tpublic class Details\n\t{\n\t\tpublic string name { get; set; }\n\t\tpublic string phone { get; set; }\n\t\tpublic string em... | c# | chosen |
[
{
"from": "system",
"value": "Replace precision check with absolute equality assert\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 Sys... | c# | chosen |
[
{
"from": "system",
"value": "Fix incorrect return type for spotlight request\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.Collections.Gene... | c# | chosen |
[
{
"from": "system",
"value": "Throw exception if BMP version != 3\n"
},
{
"from": "human",
"value": "using System;\nusing System.Linq;\nusing BmpListener;\nusing BmpListener.Extensions;\n\nnamespace BmpListener.Bmp\n{\n public class BmpHeader\n {\n public BmpHeader(byte[] data)\n ... | c# | chosen |
[
{
"from": "system",
"value": "Fix issues on first run, which takes a little longer to start up\n"
},
{
"from": "human",
"value": "using System;\r\nusing System.Net.Http;\r\nusing System.Threading;\r\nusing PactNet.Core;\r\n\r\nnamespace PactNet.Mocks.MockHttpService.Host\r\n{\r\n internal cla... | c# | chosen |
[
{
"from": "system",
"value": "Add argument checking on commit\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections.Generic;\nusing System.Threading;\n\nnamespace CollabEdit.VersionControl\n{\n\n public class RepositoryBranch<TValue, TMeta>\n {\n private object... | c# | chosen |
[
{
"from": "system",
"value": "Add form for setting balance in one step\n\nFixes #7\n"
},
{
"from": "human",
"value": "@model Cash_Flow_Projection.Models.Dashboard\n\n@{\n ViewData[\"Title\"] = \"Home Page\";\n}\n\n<table class=\"table table-striped\">\n @foreach (var entry in Model.Entrie... | c# | chosen |
[
{
"from": "system",
"value": "Move variable to inner scope where it's used\n"
},
{
"from": "human",
"value": "using UnityEngine;\nusing System;\nusing System.Collections;\n\npublic class MapifyLevelPopulator {\n private MapifyMapIterator mapIterator;\n private MapifyTileRepository tileReposit... | c# | chosen |
[
{
"from": "system",
"value": "Correct typo (just caught my eye, no biggie).\n\n[skip ci]\n"
},
{
"from": "human",
"value": "using System.Globalization;\n\nnamespace Our.Umbraco.Ditto.Tests.Models\n{\n using System.ComponentModel;\n\n using Our.Umbraco.Ditto.Tests.TypeConverters;\n usin... | c# | chosen |
[
{
"from": "system",
"value": "Add retry when invoking the lazy to build TagDictionary\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections.Generic;\nusing System.IO;\nusing FifteenBelow.Deployment.Update;\n\nnamespace Ensconce\n{\n internal static class TextRendering\n ... | c# | chosen |
[
{
"from": "system",
"value": "Change Pick 'position' property to int as it represents position in team\n"
},
{
"from": "human",
"value": "using Newtonsoft.Json;\n\nnamespace FplClient.Data\n{\n public class FplPick\n {\n [JsonProperty(\"element\")]\n public int PlayerId { ge... | c# | chosen |
[
{
"from": "system",
"value": "Add line breaks to ease filtering by individual game\n"
},
{
"from": "human",
"value": "using System;\nusing System.IO;\nusing System.Linq;\nusing Xunit.Abstractions;\n\nnamespace OpenSage.Data.Tests\n{\n internal static class InstalledFilesTestData\n {\n ... | c# | chosen |
[
{
"from": "system",
"value": "Add integration tests for MalUserNotFoundException being thrown.\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Text;\nusing NUnit.Framework;\nusing MalApi;\n\nnamespace MalApi.IntegrationTests\... | c# | chosen |
[
{
"from": "system",
"value": "Improve the efficiency of puzzle 12\n\nImprove the efficiency of puzzle 12 by not re-computing the triangle\nnumber sum continuously.\n"
},
{
"from": "human",
"value": "// Copyright (c) Martin Costello, 2015. All rights reserved.\n// Licensed under the Apache 2.0 l... | c# | chosen |
[
{
"from": "system",
"value": "Make RemoteService a Duplex Service\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.ServiceModel;\nusing System.Text;\nusing System.Threading.Tasks;\n\nnamespace SPAD.neXt.Interfaces.ServiceContr... | c# | chosen |
[
{
"from": "system",
"value": "Update StreamWriter tests\n+ Explicitly iterate IEnumerable method\n"
},
{
"from": "human",
"value": "namespace Host.UnitTests.Serialization\n{\n using System;\n using System.Collections;\n using System.Collections.Generic;\n using System.Linq;\n usi... | c# | chosen |
[
{
"from": "system",
"value": "Add \"HDR=YES\" in connection string, but other error is thrown\n"
},
{
"from": "human",
"value": "using Dapper;\nusing SeleniumDesignPatternsDemo.Models;\nusing System;\nusing System.Collections.Generic;\nusing System.Configuration;\nusing System.Data.OleDb;\nusin... | c# | chosen |
[
{
"from": "system",
"value": "Add more information to failed Hooks\n\nNow reports the target method not being patched\nproperly.\n"
},
{
"from": "human",
"value": "using System;\nusing Mono.Cecil;\nusing Mono.Cecil.Inject;\nusing Pathfinder.Attribute;\nusing Pathfinder.Util;\n\nnamespace Pathfi... | c# | chosen |
[
{
"from": "system",
"value": "Fix json serialization when the destination type is equal to the value type (fixes net40 for boolean conversions)\n"
},
{
"from": "human",
"value": "using System;\nusing Newtonsoft.Json;\nusing System.Reflection;\nusing System.Collections.Generic;\nusing System.Com... | c# | chosen |
[
{
"from": "system",
"value": "Change assembly watcher after notification changes\n\nFixed Mono not building after #39986 was merged due to a constant that got renamed."
},
{
"from": "human",
"value": "using Godot;\nusing GodotTools.Internals;\nusing static GodotTools.Internals.Globals;\n\nnamesp... | c# | chosen |
[
{
"from": "system",
"value": "Change test to map with allign with initial design and documentation\n"
},
{
"from": "human",
"value": "using NBi.Core.Query;\nusing NUnit.Framework;\nusing System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Text;\nusing System.Threading.T... | c# | chosen |
[
{
"from": "system",
"value": "Revert \"sandbox demo of shutdown cancel.\"\n\nThis reverts commit 851baa6537859ea6df8d774911003c97aa1e1bf8.\n"
},
{
"from": "human",
"value": "using Avalonia;\nusing Avalonia.Controls.ApplicationLifetimes;\nusing Avalonia.Markup.Xaml;\n\nnamespace Sandbox\n{\n p... | c# | chosen |
[
{
"from": "system",
"value": "SLIDESNET-42483: Fix external fonts loading example (use folders to seek fonts)\n"
},
{
"from": "human",
"value": "using System;\nusing Aspose.Slides.Export;\nusing Aspose.Slides.Charts;\nusing Aspose.Slides;\n\n/*\nThis project uses Automatic Package Restore featu... | c# | chosen |
[
{
"from": "system",
"value": "Add new employment fields for change employer (Portable)\n\n"
},
{
"from": "human",
"value": "using System;\nusing SFA.DAS.CommitmentsV2.Types;\n\nnamespace SFA.DAS.CommitmentsV2.Api.Types.Requests\n{\n public class CreateChangeOfPartyRequestRequest : SaveDataReq... | c# | chosen |
[
{
"from": "system",
"value": "Change the UpdateManager's version to 2.0.1\n"
},
{
"from": "human",
"value": "using System;\n\nnamespace UpdateManager\n{\n public class UpdateManagerUpdateable : IUpdateable\n {\n private UpdateManagerUpdateable() { }\n\n private static Update... | c# | chosen |
[
{
"from": "system",
"value": "Fix typo in test message.\n"
},
{
"from": "human",
"value": "using System;\nusing System.Xml;\nusing Arkivverket.Arkade.Core;\n\nnamespace Arkivverket.Arkade.Tests.Noark5\n{\n public class NumberOfArchives : BaseTest\n {\n public const string AnalysisKe... | c# | chosen |
[
{
"from": "system",
"value": "Update CreatedOn or MmodifiedOn properties of tracked entities when saving changes.\n"
},
{
"from": "human",
"value": "using LanguageSchoolApp.Data.Model;\r\nusing Microsoft.AspNet.Identity.EntityFramework;\r\nusing System;\r\nusing System.Collections.Generic;\r\nu... | c# | chosen |
[
{
"from": "system",
"value": "Revert \"Removed Guid from iOS project\"\n\nThis reverts commit 30b8de6d6e18973a53d7284010d4b65ba3a1adb4.\n"
},
{
"from": "human",
"value": "using System.Reflection;\nusing System.Runtime.CompilerServices;\nusing System.Runtime.InteropServices;\n\n// General Inform... | c# | chosen |
[
{
"from": "system",
"value": "Remove + cleanup warnings. Refactor pass.\n"
},
{
"from": "human",
"value": "using System;\r\nusing System.Collections.Generic;\r\nusing System.IO;\r\nusing UnityEngine;\r\n\r\nnamespace Engine {\r\n\r\n public class BaseEngine : BaseEngineObject {\r\n\r\n ... | c# | chosen |
[
{
"from": "system",
"value": "Remove unnecessary call to Trim\n"
},
{
"from": "human",
"value": "using System;\nusing System.Linq;\nusing AutoMapper;\n\nnamespace PicklesDoc.Pickles.ObjectModel\n{\n public class KeywordResolver : ITypeConverter<string, Keyword>\n {\n private readonl... | c# | chosen |
[
{
"from": "system",
"value": "Remove the 'IgnoreHidden' parameter from ITorrentFileSource\n\nThis property makes on sense to be on the interface as it's\nimplementation specific as to whether or not it applies. All the\ninterfaces should care about is providing a name for the torrent and a\nlist of files wh... | c# | chosen |
[
{
"from": "system",
"value": "Update server side API for single multiple answer question\n"
},
{
"from": "human",
"value": "using System.Collections.Generic;\nusing Promact.Trappist.DomainModel.Models.Question;\nusing System.Linq;\nusing Promact.Trappist.DomainModel.DbContext;\n\nnamespace Prom... | c# | chosen |
[
{
"from": "system",
"value": "Make TabControl test label more clear\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 System.Diagnostics;\r\nusi... | c# | chosen |
[
{
"from": "system",
"value": "Add artificial wait to fix tests\n"
},
{
"from": "human",
"value": "using System;\nusing System.Net.Http;\nusing System.Threading.Tasks;\nusing GlobalExceptionHandler.Tests.WebApi.Fixtures;\nusing Microsoft.AspNetCore.Builder;\nusing Microsoft.AspNetCore.Hosting;\nu... | c# | chosen |
[
{
"from": "system",
"value": "Increase logging to Verbose for examples\n"
},
{
"from": "human",
"value": "using System;\nusing System.Linq;\n\nnamespace CefSharp.Example\n{\n public static class CefExample\n {\n public const string DefaultUrl = \"custom://cefsharp/home\";\n\n ... | c# | chosen |
[
{
"from": "system",
"value": "Rewrite markup for password reminder form\n"
},
{
"from": "human",
"value": "@model ForgotPasswordViewModel\r\n@{\r\n ViewData[\"Title\"] = \"Forgot your password?\";\r\n}\r\n\r\n<h2>@ViewData[\"Title\"].</h2>\r\n<p>\r\n For more information on how to enable r... | c# | chosen |
[
{
"from": "system",
"value": "Add a and x ions\n"
},
{
"from": "human",
"value": "using System.Collections.Generic;\n\nnamespace EngineLayer\n{\n static class ProductTypeToTerminusType\n {\n public static TerminusType IdentifyTerminusType(List<ProductType> lp)\n {\n ... | c# | chosen |
[
{
"from": "system",
"value": "Add another test for unrecognized characters.\n"
},
{
"from": "human",
"value": "using Microsoft.VisualStudio.TestTools.UnitTesting;\nusing System;\nusing System.Collections.Generic;\nusing System.Text;\nusing VasysRomanNumeralsKata;\n\nnamespace VasysRomanNumerals... | c# | chosen |
[
{
"from": "system",
"value": "Add comma between HttpMethod and Path\n"
},
{
"from": "human",
"value": "namespace AspNetCore.RouteAnalyzer\n{\n public class RouteInformation\n {\n public string HttpMethod { get; set; } = \"GET\";\n public string Area { get; set; } = \"\";\n ... | c# | chosen |
[
{
"from": "system",
"value": "Remove unneeded setting of SqlParameter.Offset\n"
},
{
"from": "human",
"value": "namespace NServiceBus\n{\n using System;\n using System.Data.Common;\n using System.Data.SqlClient;\n\n public abstract partial class SqlDialect\n {\n /// <summar... | c# | chosen |
[
{
"from": "system",
"value": "Add [Authorize] to ExecuteCommand action\n"
},
{
"from": "human",
"value": "using System;\r\nusing System.Collections.Generic;\r\nusing System.Linq;\r\nusing System.Web;\r\nusing System.Web.Mvc;\r\nusing WhitelistExecuter.Lib;\r\nusing WhitelistExecuter.Web.Models;... | c# | chosen |
[
{
"from": "system",
"value": "Fix for a crash that can occur while exporting from the level editor\n- falling back to the global scene manager if we can't find a scene manager attached to the dom node tree\n"
},
{
"from": "human",
"value": "// Copyright 2015 XLGAMES Inc.\n//\n// Distributed und... | c# | chosen |
[
{
"from": "system",
"value": "Add integration tests for links and forms\n\n[Skip CI]\n"
},
{
"from": "human",
"value": "using NUnit.Framework;\nusing System.IO;\n\nnamespace CertiPay.PDF.Tests\n{\n public class PDFServiceTests\n {\n [Test]\n public void ShouldGenerateMultiPa... | c# | chosen |
[
{
"from": "system",
"value": "Use NonGeneric entry point for MessagePack-CSharp serializer\n"
},
{
"from": "human",
"value": "using System.IO;\nusing MessagePack;\nusing MessagePack.Resolvers;\n\nnamespace Obvs.Serialization.MessagePack\n{\n public class MessagePackCSharpMessageSerializer : ... | c# | chosen |
[
{
"from": "system",
"value": "Fix legacy decoder using wrong configuration\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.Game.Beatmaps.Format... | c# | chosen |
[
{
"from": "system",
"value": "Convert EncryptedString to String explicitly\n"
},
{
"from": "human",
"value": "using System;\nusing System.IO;\nusing LastPass;\n\nnamespace Example\n{\n class Program\n {\n static void Main(string[] args)\n {\n // Read LastPass crede... | c# | chosen |
[
{
"from": "system",
"value": "Change starting search from 1 billion because none before\n"
},
{
"from": "human",
"value": "using System;\nusing FonctionsUtiles.Fred.Csharp;\n\n\nnamespace ConsoleAppPrimesByHundred\n{\n internal class Program\n {\n private static void Main()\n {\n A... | c# | chosen |
[
{
"from": "system",
"value": "Fix event action \"Select Widget\" cancel still applying\n"
},
{
"from": "human",
"value": "using System.Windows;\nusing DesktopWidgets.Actions;\nusing DesktopWidgets.Classes;\nusing DesktopWidgets.Events;\nusing DesktopWidgets.Helpers;\n\nnamespace DesktopWidgets.... | c# | chosen |
[
{
"from": "system",
"value": "Change the SendReceiveAsync() implementation to support commands that do not have responses\n"
},
{
"from": "human",
"value": "using PluginContracts;\nusing System;\nusing System.Threading.Tasks;\nusing System.Net;\nusing System.Net.Sockets;\nusing System.Text;\nus... | c# | chosen |
[
{
"from": "system",
"value": "Edit accounts of 'all' page.\n\n"
},
{
"from": "human",
"value": "@Html.Partial(\"_AccountTypeLinks\")\n\n<h2>All Accounts</h2>\n\n<table id=\"accountsTable\" class=\"table table-bordered table-hover\">\n <thead>\n <tr>\n <th>Name</th>\n <th>Type</th>... | c# | chosen |
[
{
"from": "system",
"value": "Fix toolbox expand being interrupted by gaps between groups\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;... | c# | chosen |
[
{
"from": "system",
"value": "Add support for `type` when listing Products\n"
},
{
"from": "human",
"value": "namespace Stripe\n{\n using Newtonsoft.Json;\n\n public class ProductListOptions : ListOptionsWithCreated\n {\n [JsonProperty(\"active\")]\n public bool? Active { ... | c# | chosen |
[
{
"from": "system",
"value": "Add content type for downloads\n"
},
{
"from": "human",
"value": "using System.IO;\nusing System.Net.Http;\nusing System.Net.Http.Headers;\nusing System.Threading;\nusing System.Threading.Tasks;\nusing System.Web.Http;\n\nnamespace DSCPullServerWeb.Helpers\n{\n ... | c# | chosen |
[
{
"from": "system",
"value": "Add sanity check to dissalow invalid file paths\n"
},
{
"from": "human",
"value": "// Copyright (c) 2007-2016 ppy Pty Ltd <contact@ppy.sh>.\r\n// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE\r\n\r\nusing System... | c# | chosen |
[
{
"from": "system",
"value": "Make hyperdash testcase easier to win again\n\n"
},
{
"from": "human",
"value": "using NUnit.Framework;\r\nusing osu.Game.Beatmaps;\r\nusing osu.Game.Rulesets.Catch.Objects;\r\n\r\nnamespace osu.Game.Rulesets.Catch.Tests\r\n{\r\n [TestFixture]\r\n [Ignore(\"g... | c# | chosen |
[
{
"from": "system",
"value": "Fix slight error in documentation\n"
},
{
"from": "human",
"value": "using System;\nusing System.Linq;\nusing System.Reflection;\n\nnamespace AssemblyVersionFromGit\n{\n public static class AssemblyVersionReader\n {\n /// <summary>\n /// Formats... | c# | chosen |
[
{
"from": "system",
"value": "Create a database initializer with a url for the github project\n"
},
{
"from": "human",
"value": "using System.Data.Entity;\nusing MyPersonalShortner.Lib.Domain.Url;\n\nnamespace MyPersonalShortner.Lib.Infrastructure.EntityFramework\n{\n public class EFContext ... | c# | chosen |
[
{
"from": "system",
"value": "Add Email test for ReadState.\n"
},
{
"from": "human",
"value": "using OttoMail.Models;\r\nusing System;\r\nusing System.Collections.Generic;\r\nusing System.Linq;\r\nusing System.Threading.Tasks;\r\nusing Xunit;\r\n\r\nnamespace OttoMail.Tests\r\n{\r\n public c... | c# | chosen |
[
{
"from": "system",
"value": "Test data whitespace fixes (from tabs to spaces)"
},
{
"from": "human",
"value": "namespace dotless.Test.Specs.Functions\r\n{\r\n using NUnit.Framework;\n\r\n public class ExtractFixture : SpecFixtureBase\r\n {\r\n [Test]\r\n public void Test... | c# | chosen |
[
{
"from": "system",
"value": "Refactor context to not use vars\n"
},
{
"from": "human",
"value": "namespace ClojSharp.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 using ClojSharp.Core.Language;\r\n\r\n publ... | c# | chosen |
[
{
"from": "system",
"value": "Use Trace instead of Console\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Text;\nusing System.Threading.Tasks;\n\nnamespace SamSeifert.Utilities\n{\n public static class Logger\n {\n ... | c# | chosen |
[
{
"from": "system",
"value": "Fix issue when WebException with ProtocolError status has empty response\n\n"
},
{
"from": "human",
"value": "using System;\nusing System.Net;\n\nnamespace PatchKit.Api\n{\n public class WrapHttpWebRequest : IHttpWebRequest\n {\n private readonly HttpW... | c# | chosen |
[
{
"from": "system",
"value": "Prepare add IsValid for book borrow record\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.ComponentModel.DataAnnotations;\nusing System.ComponentModel.DataAnnotations.Schema;\n\nnamespace hihapi... | c# | chosen |
[
{
"from": "system",
"value": "Make the event steam static again\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Threading.Tasks;\n\nnamespace EventSourcingTodo.Domain\n{\n public interface ITodoListRepository\n {\n ... | c# | chosen |
[
{
"from": "system",
"value": "Refactor default GetElapsed to use static readonly instance\n"
},
{
"from": "human",
"value": "//-----------------------------------------------------------------------\n// <copyright file=\"LoopingScheduler.cs\" company=\"Brian Rogers\">\n// Copyright (c) Brian Ro... | c# | chosen |
[
{
"from": "system",
"value": "fix(spelling): Fix spelling in error message\n"
},
{
"from": "human",
"value": "namespace DarkSky.Services\n{\n using System;\n using System.Threading.Tasks;\n using Newtonsoft.Json;\n\n /// <summary>\n /// Interface to use for handling JSON seri... | c# | chosen |
[
{
"from": "system",
"value": "Use \".\" instead of \":\" in env var key.\n"
},
{
"from": "human",
"value": "namespace EventStore.Persistence.AcceptanceTests\n{\n using System;\n using System.Data;\n using System.Data.Common;\n using System.Diagnostics;\n using SqlPersistence;\n\n ... | c# | chosen |
[
{
"from": "system",
"value": "Add missing .dtd file contents.\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 informa... | c# | chosen |
[
{
"from": "system",
"value": "Add default values to options\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections;\nusing System.Collections.Generic;\n\nnamespace Okanshi.Observers {\n public class InfluxDbObserverOptions {\n public string DatabaseName { get; }\n\... | c# | chosen |
[
{
"from": "system",
"value": "Update the ViewModel we return as JSON to the Upgrade Installer Step - Has logic for checking latest logic (Needs bullet proof testing & discussion most likely)\n"
},
{
"from": "human",
"value": "using Umbraco.Web.Install.Models;\n\nnamespace Umbraco.Web.Install.Ins... | c# | chosen |
[
{
"from": "system",
"value": "Add calibrate command to the factory to be able to be parsed\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections.Generic;\nusing Admo.classes.lib.commands;\nusing NLog;\nusing Newtonsoft.Json;\n\nnamespace Admo.classes.lib\n{\n class Comma... | c# | chosen |
[
{
"from": "system",
"value": "Allow DI for LoginOverlay to resolve to null in non-graphical environments (fix tests)\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... | c# | chosen |
[
{
"from": "system",
"value": "Add missing namespace from service registration\n"
},
{
"from": "human",
"value": "using Glimpse.Server;\nusing Microsoft.Framework.ConfigurationModel;\nusing Microsoft.Framework.DependencyInjection;\nusing System.Collections.Generic;\n\nnamespace Glimpse\n{\n p... | c# | chosen |
[
{
"from": "system",
"value": "Fix indentation; add braces around single-line if.\n"
},
{
"from": "human",
"value": "namespace Nancy.Demo.Authentication.Basic\r\n{\r\n using Nancy.Authentication.Basic;\r\n using Nancy.Security;\r\n\r\n\tpublic class UserValidator : IUserValidator\r\n\t{\r\... | c# | chosen |
[
{
"from": "system",
"value": "Use temporary redirect to swagger\n"
},
{
"from": "human",
"value": "namespace ApiTemplate.Controllers\n{\n using ApiTemplate.Constants;\n using Microsoft.AspNetCore.Mvc;\n\n [Route(\"\")]\n [ApiExplorerSettings(IgnoreApi = true)]\n public class HomeC... | c# | chosen |
[
{
"from": "system",
"value": "Make codefixer for explicit interface polymorph analyzer\n"
},
{
"from": "human",
"value": "using System;\nusing System.Composition;\nusing System.Collections.Generic;\nusing System.Collections.Immutable;\nusing System.Linq;\nusing System.Threading;\nusing System.T... | c# | chosen |
[
{
"from": "system",
"value": "Increase assembly version to 1.0.\n"
},
{
"from": "human",
"value": "// Copyright\n// ----------------------------------------------------------------------------------------------------------\n// <copyright file=\"AssemblyInfo.cs\" company=\"https://github.com/sa... | c# | chosen |
[
{
"from": "system",
"value": "Change StartJobsAsync to work on the generic host\n"
},
{
"from": "human",
"value": "using System.Threading.Tasks;\nusing Microsoft.AspNetCore.Hosting;\nusing Microsoft.Extensions.DependencyInjection;\n\nnamespace MR.AspNetCore.Jobs\n{\n\tpublic static class JobsWe... | c# | chosen |
[
{
"from": "system",
"value": "Set the access token properly in the OAuth form\n"
},
{
"from": "human",
"value": "using LiveSplit.Options;\nusing System;\nusing System.Windows.Forms;\n\nnamespace LiveSplit.Web.Share\n{\n public partial class SpeedrunComOAuthForm : Form, ISpeedrunComAuthentica... | c# | chosen |
[
{
"from": "system",
"value": "Add new properties to message schema\n"
},
{
"from": "human",
"value": "using System.Collections;\nusing System.Collections.Generic;\n\nnamespace Mindscape.Raygun4Net.Messages\n{\n public class RaygunMessageDetails\n {\n public string MachineName { get; set; }\... | c# | chosen |
[
{
"from": "system",
"value": "Use AutoFixture to populate test objects\n"
},
{
"from": "human",
"value": "using System.IO;\nusing AppHarbor.Commands;\nusing Moq;\nusing Xunit;\n\nnamespace AppHarbor.Tests.Commands\n{\n\tpublic class LogoutAuthCommandTest\n\t{\n\t\t[Fact]\n\t\tpublic void Should... | c# | chosen |
[
{
"from": "system",
"value": "Add default format (json) in web api config\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Web.Http;\n\nnamespace TokenAuthentification\n{\n public static class WebApiConfig\n {\n p... | c# | chosen |
[
{
"from": "system",
"value": "Remove plants from tundra biome\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Text;\nusing TrueCraft.Core.TerrainGen.Noise;\nusing TrueCraft.Core.Logic.Blocks;\nusing TrueCraft.API.World;\nusin... | c# | chosen |
[
{
"from": "system",
"value": "Disable provider filtering for Alexa\n\nDisable filtering of external authentication schemes to investigate #36.\n"
},
{
"from": "human",
"value": "@inject Microsoft.AspNetCore.Identity.SignInManager<LondonTravelUser> SignInManager\n@{\n var providers = SignInMa... | c# | chosen |
[
{
"from": "system",
"value": "Refactor - rename test methods\n"
},
{
"from": "human",
"value": "using NUnit.Framework;\r\n\r\nnamespace IntUITive.Selenium.Tests\r\n{\r\n [TestFixture]\r\n public class IntuitivelyFindByIdTests : BaseIntuitivelyTests\r\n {\r\n [Test]\r\n pub... | c# | chosen |
[
{
"from": "system",
"value": "Fix default JSON response charset\n"
},
{
"from": "human",
"value": "namespace Nancy.Json\r\n{\r\n using System.Collections.Generic;\r\n using Converters;\r\n\r\n /// <summary>\r\n /// Json serializer settings\r\n /// </summary>\r\n public static c... | c# | chosen |
[
{
"from": "system",
"value": "Fix variables not being used inside target string\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.Online.Chat;... | c# | chosen |
[
{
"from": "system",
"value": "Document fail-fast approach for exception bag property add after results collected\n"
},
{
"from": "human",
"value": "namespace Serilog.Exceptions.Core\n{\n using System;\n using System.Collections.Generic;\n using Serilog.Exceptions.Filters;\n\n interna... | c# | chosen |
[
{
"from": "system",
"value": "Fix crash in Serializer on MessageCommand.End or empty getter\n\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections.Generic;\nusing System.Text;\n\nnamespace kh.kh2.Messages\n{\n public partial class MsgSerializer\n {\n public st... | c# | chosen |
[
{
"from": "system",
"value": "Add comment and add masking back.\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/LICENCE\r\n\r\nusing System;\r\n\r\nnames... | c# | chosen |
[
{
"from": "system",
"value": "Handle the exception when parsing the arguments\n"
},
{
"from": "human",
"value": "using System;\r\nusing System.Collections.Generic;\r\nusing System.Linq;\r\nusing System.Threading;\r\nusing System.Windows.Forms;\r\n\r\nnamespace KeepOn\r\n{\r\n static class Pr... | c# | chosen |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.