conversations listlengths 2 3 | source stringclasses 1
value | stack stringclasses 1
value |
|---|---|---|
[
{
"from": "system",
"value": "Fix to ajax restoration of the cart.\n"
},
{
"from": "human",
"value": "@{\r\n if (Layout.IsCartPage != true) {\r\n Script.Require(\"jQuery\");\r\n Script.Include(\"shoppingcart.js\", \"shoppingcart.min.js\");\r\n <div class=\"shopping-cart-... | c# | chosen |
[
{
"from": "system",
"value": "Change levy run date to 24th\n"
},
{
"from": "human",
"value": "using System.Threading.Tasks;\nusing Microsoft.Azure.WebJobs;\nusing Microsoft.Extensions.Logging;\nusing NServiceBus;\nusing SFA.DAS.EmployerFinance.Messages.Commands;\n\nnamespace SFA.DAS.EmployerFin... | c# | chosen |
[
{
"from": "system",
"value": "Remove Application Insights modules and initializers\n\nRemove all of the Application Insights ITelemetryInitializer and ITelemetryModule implementations.\n"
},
{
"from": "human",
"value": "// Copyright (c) Martin Costello, 2017. All rights reserved.\n// Licensed un... | c# | chosen |
[
{
"from": "system",
"value": "Remove auto-generated warning from handwritten file\n"
},
{
"from": "human",
"value": "// -------------------------------------------------------------------------\n// Managed wrapper for QSize\n// Generated from qt-gui.xml on 07/24/2011 11:57:03\n//\n// This fil... | c# | chosen |
[
{
"from": "system",
"value": "Change the names to be in line with the problem at hand.\n"
},
{
"from": "human",
"value": "using Ninject;\nusing NUnit.Framework;\nusing System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Text;\nusing System.Threading.Tasks;\n\nnamespace ... | c# | chosen |
[
{
"from": "system",
"value": "Set up references for event command unit tests\n"
},
{
"from": "human",
"value": "using System;\nusing Microsoft.VisualStudio.TestTools.UnitTesting;\n\nnamespace Sogeti.Capstone.CQS.Integration.Tests\n{\n [TestClass]\n public class EventCommands\n {\n ... | c# | chosen |
[
{
"from": "system",
"value": "Update state to be used after redirect\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections.Generic;\nusing System.Configuration;\nusing System.Globalization;\nusing System.Linq;\nusing System.Net;\nusing System.Text;\nusing System.Web;\n\nnam... | c# | chosen |
[
{
"from": "system",
"value": "Add Rank to returned scores\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 Nether.... | c# | chosen |
[
{
"from": "system",
"value": "Add correct JSON serialization for enum type\n"
},
{
"from": "human",
"value": "using Newtonsoft.Json;\nusing System;\nusing System.Collections.Generic;\nusing System.Text;\n\nnamespace Alexa.NET.Management.Api\n{\n public class CustomApiEndpoint\n {\n ... | c# | chosen |
[
{
"from": "system",
"value": "Update Stripe test API key from their docs\n"
},
{
"from": "human",
"value": "using System;\nusing System.Linq;\n\nnamespace Stripe.Tests\n{\n\tstatic class Constants\n\t{\n\t\tpublic const string ApiKey = @\"8GSx9IL9MA0iJ3zcitnGCHonrXWiuhMf\";\n\t}\n}\n"
},
{
... | c# | chosen |
[
{
"from": "system",
"value": "Migrate from ASP.NET Core 2.0 to 2.1\n\nChanges to take advantage of the new code-based idioms that are recommended in ASP.NET Core 2.1"
},
{
"from": "human",
"value": "using System;\nusing System.Collections.Generic;\nusing System.IO;\nusing System.Linq;\nusing Sy... | c# | chosen |
[
{
"from": "system",
"value": "Remove laziness from edges' GetHashCode method\n\nWorks faster on large graphs and memory footprint is lower.\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections.Generic;\nusing System.Diagnostics;\n\nnamespace Basics.Structures.Graphs\n{\n ... | c# | chosen |
[
{
"from": "system",
"value": "Add simple method to read back in a Post from disk\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections.Generic;\nusing System.IO;\nusing System.Linq;\nusing System.Threading.Tasks;\nusing System.Xml;\nusing System.Xml.Linq;\n\nnamespace BlogT... | c# | chosen |
[
{
"from": "system",
"value": "Add identifying tag to MassTransit health checks.\n"
},
{
"from": "human",
"value": "namespace MassTransit\n{\n using AspNetCoreIntegration;\n using AspNetCoreIntegration.HealthChecks;\n using Microsoft.Extensions.DependencyInjection;\n using Microsoft.E... | c# | chosen |
[
{
"from": "system",
"value": "Reduce shake transform count by one for more aesthetic behaviour\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 osu.F... | c# | chosen |
[
{
"from": "system",
"value": "Remove call to Application.Current.Dispatcher.CheckAccess() - seems there's a null point happening on a rare instance when Application.Current.Dispatcher is null\nRely on parent calling code to execute on the correct thread (which it was already executing on the UI Thread)\n"
... | c# | chosen |
[
{
"from": "system",
"value": "Comment for validation error rendering\n"
},
{
"from": "human",
"value": "@inherits Umbraco.Web.Mvc.UmbracoViewPage<FormEditor.Fields.IFieldWithValidation>\n@if (Model.Invalid)\n{\n <div class=\"text-danger validation-error\">\n @Model.ErrorMessage\n </div>\n}\... | c# | chosen |
[
{
"from": "system",
"value": "Remove return xml comments, not valid anymore\n"
},
{
"from": "human",
"value": "// Copyright © 2010-2015 The CefSharp Authors. All rights reserved.\n//\n// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.\n\nnamespa... | c# | chosen |
[
{
"from": "system",
"value": "Fix content root for non-windows xunit tests with no app domains\n"
},
{
"from": "human",
"value": "// Copyright (c) .NET Foundation. All rights reserved.\n// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information... | c# | chosen |
[
{
"from": "system",
"value": "fix: Change obsolete signature for method Error\n"
},
{
"from": "human",
"value": "using System;\nusing System.Threading;\nusing NLog;\nusing NLogConfig = NLog.Config;\n\nnamespace BrowserLog.NLog.Demo\n{\n class Program\n {\n static void Main(string[]... | c# | chosen |
[
{
"from": "system",
"value": "Change List data type to IEnumerable\n"
},
{
"from": "human",
"value": "using System;\nusing System.ComponentModel.DataAnnotations;\nusing System.Collections.Generic;\nusing System.ComponentModel.DataAnnotations.Schema;\n\nnamespace food_tracker.DAL {\n public c... | c# | chosen |
[
{
"from": "system",
"value": "Add escaping to query string parsing\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections.Specialized;\nusing System.Text.RegularExpressions;\n\nnamespace Winston.Net\n{\n static class Extensions\n {\n public static NameValueColle... | c# | chosen |
[
{
"from": "system",
"value": "Handle cases where a namespace declaration isn't found in the ancestors of a type declaration\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 ... | c# | chosen |
[
{
"from": "system",
"value": "Enable underscore in middle of long name.\n"
},
{
"from": "human",
"value": "using System;\nusing System.Text.RegularExpressions;\n\nnamespace clipr.Core\n{\n internal static class ArgumentValidation\n {\n public static bool IsAllowedShortName(char c)\... | c# | chosen |
[
{
"from": "system",
"value": "Fix editor legacy beatmap skins not receiving transformer\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.Skinn... | c# | chosen |
[
{
"from": "system",
"value": "Add the new managers to the root context.\n"
},
{
"from": "human",
"value": "using UnityEngine;\nusing System.Collections;\nusing strange.extensions.context.impl;\nusing strange.extensions.context.api;\n\npublic class RootContext : MVCSContext, IRootContext\n{\n\n ... | c# | chosen |
[
{
"from": "system",
"value": "Set anti-forgery token unique claim type\n"
},
{
"from": "human",
"value": "using System;\nusing System.Web.Mvc;\nusing System.Web.Routing;\n\nnamespace SimplestMvc5Auth\n{\n public class Global : System.Web.HttpApplication\n {\n private static void Re... | c# | chosen |
[
{
"from": "system",
"value": "Use 'long' datatype for IDs in sample applications to avoid warnings.\n"
},
{
"from": "human",
"value": "// Copyright (c) on/off it-solutions gmbh. All rights reserved.\n// Licensed under the MIT license. See license.txt file in the project root for license informa... | c# | chosen |
[
{
"from": "system",
"value": "Make hft-server runtime options not based on HFTArgsDirect\n"
},
{
"from": "human",
"value": "using System;\n\nnamespace HappyFunTimes\n{\n public class HFTRuntimeOptions : HFTArgsDirect\n {\n public HFTRuntimeOptions(string prefix) : base(prefix)\n ... | c# | chosen |
[
{
"from": "system",
"value": "Remove superfluous construction of ReadOnlySpan<byte> from byte[ ]. An implicit cast is available in this context, so the same method overload is in fact called, and the implementation of the implicit cast performs the same construction for us.\n"
},
{
"from": "human",
... | c# | chosen |
[
{
"from": "system",
"value": "Remove the obsolete UseTypedRouting method\n\nRemove the obsolete UseTypedRouting method. Issue #22"
},
{
"from": "human",
"value": "namespace Microsoft.AspNetCore.Builder\n{\n using Routing;\n using System;\n\n public static class RouteBuilderExtensions\n... | c# | chosen |
[
{
"from": "system",
"value": "Rephrase the Skipped sample to use runtime skips rather than declarative skips, demonstrating how runtime skips are superior: we have case-by-case skippability, implicit skips by conditionally avoiding executing a case, and the ability to avoid instantiating a test class if it ... | c# | chosen |
[
{
"from": "system",
"value": "Order the files and dirs\n"
},
{
"from": "human",
"value": "using DeveImageOptimizer.State.StoringProcessedDirectories;\nusing System;\nusing System.Collections.Generic;\nusing System.IO;\nusing System.Linq;\nusing System.Text;\n\nnamespace DeveImageOptimizer.Helpe... | c# | chosen |
[
{
"from": "system",
"value": "Fix failing test for abstract get-set indexer\n\nbut to be honest I have no idea what other use cases this might break.\n"
},
{
"from": "human",
"value": "using System;\nusing System.CodeDom;\nusing Mono.Cecil;\n\nnamespace PublicApiGenerator\n{\n public static c... | c# | chosen |
[
{
"from": "system",
"value": "Remove a test that tests Dictionary\n\nThis test is coupled to Dictionary<>'s error message. We don't need this.\n"
},
{
"from": "human",
"value": "// Copyright (c) .NET Foundation. All rights reserved.\n// Licensed under the Apache License, Version 2.0. See License... | c# | chosen |
[
{
"from": "system",
"value": "Update 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": "Use correct queue name in length commands\n"
},
{
"from": "human",
"value": "using System;\nusing CommandLine;\n\nnamespace InEngine.Core.Queue.Commands\n{\n public class Length : AbstractCommand\n {\n public override void Run()\n {\n ... | c# | chosen |
[
{
"from": "system",
"value": "Use chevron down for drop downs.\n"
},
{
"from": "human",
"value": "@{\n // odd formatting in this file is to cause more attractive results in the output.\n var items = Enumerable.Cast<dynamic>((System.Collections.IEnumerable)Model);\n}\n@{\n if (!HasText(... | c# | chosen |
[
{
"from": "system",
"value": "Rewrite existing test scene somewhat\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.Framewo... | c# | chosen |
[
{
"from": "system",
"value": "Enable test parallelization on local.\n"
},
{
"from": "human",
"value": "using Xunit;\n\n// This is a work-around for #11.\n// https://github.com/CXuesong/WikiClientLibrary/issues/11\n// We are using Bot Password on CI, which may naturally evade the issue.\n#if !EN... | c# | chosen |
[
{
"from": "system",
"value": "Remove expiration date of DesignScript\n"
},
{
"from": "human",
"value": "using System;\r\nnamespace ProtoCore.Utils\r\n{\r\n public class Validity\r\n {\r\n public static void Assert(bool cond)\r\n {\r\n if (!cond)\r\n ... | c# | chosen |
[
{
"from": "system",
"value": "Add HttpCode convenience property to exception\n"
},
{
"from": "human",
"value": "using System;\nusing System.Dynamic;\nusing System.IO;\nusing System.Net;\nusing Newtonsoft.Json;\n\nnamespace Rackspace.CloudOffice\n{\n public class ApiException : Exception\n ... | c# | chosen |
[
{
"from": "system",
"value": "Modify the MeidoHook interface to allow communicating to the plugins they need to stop.\nThat way they can release whatever resources they're holding or stop threads/timers to have running seperate from the main\nthread.\nThis will make it possible to have MeidoBot stop the ent... | c# | chosen |
[
{
"from": "system",
"value": "Make method virtual so clients can decorate behavior.\n"
},
{
"from": "human",
"value": "using System;\nusing System.Linq;\nusing System.Web.Http;\nusing System.Web.Http.Controllers;\nusing System.Web.Http.Description;\n\nnamespace AspNet.WebApi.HtmlMicrodataFormat... | c# | chosen |
[
{
"from": "system",
"value": "Test directory creation access by creating a directory (not a file)\n\nARKADE-545"
},
{
"from": "human",
"value": "using System.IO;\nusing Arkivverket.Arkade.Core.Base;\nusing Arkivverket.Arkade.GUI.Properties;\n\nnamespace Arkivverket.Arkade.GUI.Util\n{\n public... | c# | chosen |
[
{
"from": "system",
"value": "Check for parent controller on same object too, not just parents\n"
},
{
"from": "human",
"value": "using Pear.InteractionEngine.Utils;\nusing System;\nusing UnityEditor;\nusing UnityEngine;\n\nnamespace Pear.InteractionEngine.Controllers {\n\t[CustomEditor(typeof(... | c# | chosen |
[
{
"from": "system",
"value": "Remove correct page on back button press\n"
},
{
"from": "human",
"value": "using System;\nusing System.Linq;\nusing Android.Content;\nusing Android.OS;\nusing Rg.Plugins.Popup.Droid.Impl;\nusing Rg.Plugins.Popup.Droid.Renderers;\nusing Rg.Plugins.Popup.Services;\n... | c# | chosen |
[
{
"from": "system",
"value": "Set window controls to right color\n"
},
{
"from": "human",
"value": "using System.ComponentModel;\nusing System.Runtime.CompilerServices;\nusing Windows.UI.Xaml;\nusing Windows.UI.Xaml.Controls;\n\n// The User Control item template is documented at https://go.micr... | c# | chosen |
[
{
"from": "system",
"value": "Fix typo and remove usings\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Text;\nusing System.Threading.Tasks;\n\nnamespace Espera.Core\n{\n /// <summary>\n /// This class contains the use... | c# | chosen |
[
{
"from": "system",
"value": "Adjust the name of the property that the data for a response goes into\n"
},
{
"from": "human",
"value": "using System.Collections.Generic;\nusing Glimpse.Core2.Extensibility;\nusing Glimpse.Core2.Framework;\n\nnamespace Glimpse.Core2.SerializationConverter\n{\n ... | c# | chosen |
[
{
"from": "system",
"value": "Mark IsCustomer and IsSupplier fields as readonly\n"
},
{
"from": "human",
"value": "using System;\n\nnamespace XeroApi.Model\n{\n public class Contact : ModelBase\n {\n [ItemId]\n public Guid ContactID { get; set; }\n \n [ItemNumb... | c# | chosen |
[
{
"from": "system",
"value": "Use hash set to assert should fire\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections.Generic;\nusing System.Linq;\n\nnamespace Codestellation.Pulsar.Cron\n{\n public class CronCalendar\n {\n private readonly List<DateTime> _day... | c# | chosen |
[
{
"from": "system",
"value": "Fix test issue with ContactOwners test.\n"
},
{
"from": "human",
"value": "using NuGetGallery.FunctionTests.Helpers;\nusing System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Text;\nusing System.Threading.Tasks;\n\nnamespace NuGetGallery.F... | c# | chosen |
[
{
"from": "system",
"value": "Tweak version behavior a bit\n"
},
{
"from": "human",
"value": "using System;\nusing System.Threading;\nusing System.Reflection;\nusing System.Diagnostics;\n\nusing NLog;\n\nnamespace Bifrost\n{\n public class Utilities\n {\n private static Logger Log ... | c# | chosen |
[
{
"from": "system",
"value": "Move helper to workspace layer\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": "Introduce helper methods to make test clearer\n"
},
{
"from": "human",
"value": "using System;\nusing CanoePoloLeagueOrganiser;\nusing System.Collections.Generic;\nusing System.Linq;\nusing Xunit;\n\nnamespace CanoePoloLeagueOrganiserTests\n{\n public class Ruby... | c# | chosen |
[
{
"from": "system",
"value": "Remove high performance GC 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 System.Runtime;\nusing osu.Framework.... | c# | chosen |
[
{
"from": "system",
"value": "Revert \"added BsPager HtmlHelper with settings\"\n\nThis reverts commit 7465085ea96c90827ae5087ff1771c059a85193a.\n"
},
{
"from": "human",
"value": "using System;\nusing System.Linq.Expressions;\nusing System.Web.Mvc;\nusing BForms.Grid;\nusing BForms.Models;\n\nn... | c# | chosen |
[
{
"from": "system",
"value": "Update to avoid now internal API\n"
},
{
"from": "human",
"value": "// Copyright 2006 Alp Toker <alp@atoker.com>\n// This software is made available under the MIT License\n// See COPYING for details\n\nusing System;\nusing NDesk.DBus;\nusing org.freedesktop.DBus;\n\... | c# | chosen |
[
{
"from": "system",
"value": "Add utility to determine if the active tab is provisional\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 Sy... | c# | chosen |
[
{
"from": "system",
"value": "Use Debugger.IsAttached instead of IsDevelopment to control developer mode\n"
},
{
"from": "human",
"value": "namespace Microsoft.AspNetCore.Hosting\n{\n using Microsoft.ApplicationInsights.AspNetCore.Extensions;\n using Microsoft.Extensions.Configuration;\n ... | c# | chosen |
[
{
"from": "system",
"value": "Enhance version number to `v1.1.1' after inclusion of Fabio's patch.\n"
},
{
"from": "human",
"value": "using System;\n\nnamespace it.unifi.dsi.stlab.networkreasoner.gas.system.terranova\n{\n\tpublic class VersioningInfo\n\t{\n\t\t/// <summary>\n\t\t/// Gets the ver... | c# | chosen |
[
{
"from": "system",
"value": "Add PropertyName to relationship to bring in line with attribute\n"
},
{
"from": "human",
"value": "namespace Saule\n{\n /// <summary>\n /// Represents a related resource (to-one or to-many).\n /// </summary>\n public abstract class ResourceRelationship... | c# | chosen |
[
{
"from": "system",
"value": "[CON-1426] Apply stlye classes to the rejectec status tag\n"
},
{
"from": "human",
"value": "@model SFA.DAS.EmployerAccounts.Web.ViewModels.VacancyViewModel\n\n<section class=\"dashboard-section\">\n <h2 class=\"section-heading heading-large\">\n Your app... | c# | chosen |
[
{
"from": "system",
"value": "Adjust health increase for drum roll tick to match new max result\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.G... | c# | chosen |
[
{
"from": "system",
"value": "Use Gray instead of FromHex for grays\n\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;\r\nusing OpenTK;... | c# | chosen |
[
{
"from": "system",
"value": "Add start log to commands\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Text;\nusing System.Threading.Tasks;\nusing Autofac;\nusing GeoChallenger.Commands.Commands;\nusing GeoChallenger.Command... | c# | chosen |
[
{
"from": "system",
"value": "Add `current_period_*` filters when listing Invoices\n"
},
{
"from": "human",
"value": "namespace Stripe\n{\n using Newtonsoft.Json;\n\n public class SubscriptionListOptions : ListOptionsWithCreated\n {\n /// <summary>\n /// The billing mode o... | c# | chosen |
[
{
"from": "system",
"value": "Remove whitespace (leave the newline)."
},
{
"from": "human",
"value": "using System.Collections.Generic;\nusing System.Linq;\nusing Swashbuckle.AspNetCore.Swagger;\nusing Swashbuckle.AspNetCore.SwaggerGen;\nusing Abp.Authorization;\n\nnamespace AbpCompanyName.AbpPr... | c# | chosen |
[
{
"from": "system",
"value": "Fix manual KMS snippet (LocationName breaking change is expected)\n"
},
{
"from": "human",
"value": "// Copyright 2018 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 L... | c# | chosen |
[
{
"from": "system",
"value": "Package updates is now fully implemented\n"
},
{
"from": "human",
"value": "using System.Collections.Generic;\n\nnamespace Glimpse.Core.Framework\n{\n public class GlimpseMetadata\n {\n public GlimpseMetadata()\n {\n Plugins = new Dict... | c# | chosen |
[
{
"from": "system",
"value": "Undo change of this file.\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\nnamespace Microsoft.CodeAnalysis.Editor\... | c# | chosen |
[
{
"from": "system",
"value": "Set default for bindable in object initializer\n\nFixes the CI failure.\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 ... | c# | chosen |
[
{
"from": "system",
"value": "Fix crash in UWP design mode\n"
},
{
"from": "human",
"value": "using System;\nusing System.ComponentModel;\nusing Windows.ApplicationModel;\n\n#if WINDOWS_UWP\n\nnamespace Xamarin.Forms.Platform.UWP\n#else\n\nnamespace Xamarin.Forms.Platform.WinRT\n#endif\n{\n\tpu... | c# | chosen |
[
{
"from": "system",
"value": "Allow parameters for get authorization uri\n\nAs per 2.2. Resource Owner Authorization: \"Servers MAY specify\nadditional parameters.\"\nAdded an overload to GetAuthorizationUri to allow arbitrary query params\nto be specified.\n"
},
{
"from": "human",
"value": "u... | c# | chosen |
[
{
"from": "system",
"value": "Add the most basic score calculation for catch\n\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 osu.Game.Rulese... | c# | chosen |
[
{
"from": "system",
"value": "Fix broken ASP.NET Core integration.\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections.Generic;\nusing System.Threading;\nusing System.Threading.Tasks;\nusing Microsoft.Extensions.Hosting;\nusing MQTTnet.Adapter;\nusing MQTTnet.Diagnostics;... | c# | chosen |
[
{
"from": "system",
"value": "Move the download link to the top\n\nThis has the desired side effect that the mail display is not initially scrolled to the bottom, but to the top instead\n"
},
{
"from": "human",
"value": "@model PickupMailViewer.Models.MailModel\n\n<div>\n <div>From: @Model.F... | c# | chosen |
[
{
"from": "system",
"value": "Divide Functions of mixing and setting instructions\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Text;\nusing System.Threading.Tasks;\nusing System.Collections;\n\nnamespace War\n{\n class ... | c# | chosen |
[
{
"from": "system",
"value": "Fix index out of range error\n"
},
{
"from": "human",
"value": "using Discord.Commands;\nusing System;\nusing System.Collections.Generic;\nusing System.Threading.Tasks;\n\nnamespace portalbot.Commands\n{\n public class AskModule : ModuleBase\n {\n priv... | c# | chosen |
[
{
"from": "system",
"value": "Change to when the cleardown is invoked\n\nChange so that the levy data is cleared after each scenario to avoid\nhaving problems with using the same scheme number in scenarios\n"
},
{
"from": "human",
"value": "using Moq;\nusing SFA.DAS.EAS.TestCommon.DbCleanup;\nu... | c# | chosen |
[
{
"from": "system",
"value": "Leverage 'GuardIsNotNullOrWhiteSpace' method instead of 'GuardIsNotNull'\n"
},
{
"from": "human",
"value": "using System.Collections.Generic;\nusing System.Linq;\nusing Spk.Common.Helpers.Guard;\n\nnamespace Spk.Common.Helpers.Service\n{\n public class ServiceRes... | c# | chosen |
[
{
"from": "system",
"value": "Put the wrong header in this file\n"
},
{
"from": "human",
"value": "//------------------------------------------------------------------------------\n// <copyright \n// file=\"Generator.cs\" \n// company=\"Schley Andrew Kutz\">\n// Copyright (c) Schley Andrew Ku... | c# | chosen |
[
{
"from": "system",
"value": "Add t=0 display to notes.\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 OpenTK.Graphics;\r\nusing osu.Framewor... | c# | chosen |
[
{
"from": "system",
"value": "Fix temp files from beatmap listing imports not being cleaned up\n\nAs reported in #12718, it turns out that temporary files from beatmap\nset downloads performed via the beatmap listing overlay could remain in\nthe user's filesystem even after the download has concluded.\n\nTh... | c# | chosen |
[
{
"from": "system",
"value": "Tweak delete cloned build chain routine.\n\nChange to delete leafs first (so it will be easier to restart\ndelete from root of something fails in the middle)\n\nAlso collect all build config ids to separate list before deletion,\nto make it easier to inspect and debug what is a... | c# | chosen |
[
{
"from": "system",
"value": "Rewrite this to be shorter & consistent\n"
},
{
"from": "human",
"value": "using System;\nusing System.Web;\n\nnamespace Stampsy.ImageSource\n{\n public class AssetDescription : IDescription\n {\n public enum AssetImageKind\n {\n Thumb... | c# | chosen |
[
{
"from": "system",
"value": "Change UseCsla extension method from HostBuilder to IHostBuilder for:\n!NET40 and !NET45, as its not available for those.\n"
},
{
"from": "human",
"value": "//-----------------------------------------------------------------------\n// <copyright file=\"WebConfigura... | c# | chosen |
[
{
"from": "system",
"value": "[Covalence] Add missing interface for FindPlayerById\n"
},
{
"from": "human",
"value": "using System.Collections.Generic;\n\nnamespace Oxide.Core.Libraries.Covalence\n{\n /// <summary>\n /// Represents a generic player manager\n /// </summary>\n public ... | c# | chosen |
[
{
"from": "system",
"value": "Add some extra options to the agent broker interface\n"
},
{
"from": "human",
"value": "using System;\nusing System.Threading.Tasks;\n\nnamespace Glimpse.Agent\n{\n public interface IAgentBroker\n {\n IObservable<MessageListenerOptions> Listen<T>();\n\... | c# | chosen |
[
{
"from": "system",
"value": "Add some more message types\n"
},
{
"from": "human",
"value": "namespace Curse.NET.SocketModel\n{\n\tpublic enum RequestType\n\t{\n\t\tLogin = -2101997347,\n\t}\n\n\tpublic enum ResponseType\n\t{\n\t\tUserActivityChange = 1260535191,\n\t\tChannelReference = -695526... | c# | chosen |
[
{
"from": "system",
"value": "Remove semi-colon as it is being rendered in the UI\n"
},
{
"from": "human",
"value": "@using SFA.DAS.EmployerAccounts.Web.Extensions\n\n<script type=\"text/javascript\">\n window.zESettings = {\n webWidget: {\n contactForm: {\n ... | c# | chosen |
[
{
"from": "system",
"value": "Add test for authorization requirement in TraktUserApproveFollowerRequest\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": "Reduce the default button down duration to 150 ms.\n"
},
{
"from": "human",
"value": "using System.Threading.Tasks;\nusing TTMouseclickSimulator.Core.Environment;\n\nnamespace TTMouseclickSimulator.Core.ToontownRewritten.Actions\n{\n public class MouseHelpers\n ... | c# | chosen |
[
{
"from": "system",
"value": "Fix YuukaWater drop creating errors on contact\n"
},
{
"from": "human",
"value": "\n\nusing System.Collections;\nusing System.Collections.Generic;\nusing UnityEngine;\nusing NitorInc.Utility;\n\nnamespace NitorInc.YuukaWater {\n\n public class YuukaWaterWaterdro... | c# | chosen |
[
{
"from": "system",
"value": "Adjust locations where to look for wwwroot.\n"
},
{
"from": "human",
"value": "using System.IO;\nusing Microsoft.AspNetCore.Hosting;\nusing NLog;\n\nnamespace HelloWorldApp\n{\n public class Program\n {\n // Entry point for the application.\n pub... | c# | chosen |
[
{
"from": "system",
"value": "Update mapping config with service profile.\n"
},
{
"from": "human",
"value": "using AutoMapper;\nusing Baskerville.App.App_Start;\nusing System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Web;\nusing System.Web.Http;\nusing System.Web.Mvc... | c# | chosen |
[
{
"from": "system",
"value": "Use Expression-bodied members and never execeeds its capacity\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections.Generic;\n\npublic class CircularBuffer<T>\n{\n private readonly Queue<T> _buffer;\n private readonly int _capacity;\n ... | c# | chosen |
[
{
"from": "system",
"value": "Index processor to store result, not enumerable, on definition\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Text;\nusing System.Reflection;\nusing MongoDB.Bson.Serialization;\nusing MongoFrame... | c# | chosen |
[
{
"from": "system",
"value": "Use enum for scope type\n"
},
{
"from": "human",
"value": "using System;\nusing Platform.Validation;\nusing Shaolinq;\n\nnamespace IdentityServer3.Shaolinq.DataModel\n{\n\t[DataAccessObject(Name = \"Scope\")]\n\tpublic abstract class DbScope : DataAccessObject<Guid>... | c# | chosen |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.