conversations listlengths 2 3 | source stringclasses 1
value | stack stringclasses 1
value |
|---|---|---|
[
{
"from": "system",
"value": "Increase default timeout time to one minute\n"
},
{
"from": "human",
"value": "namespace Boxed.Templates.Test\n{\n using System;\n using System.Threading;\n\n public static class CancellationTokenFactory\n {\n public static CancellationToken GetCa... | c# | chosen |
[
{
"from": "system",
"value": "Set adminModeTriggerer back to 180 seconds\n"
},
{
"from": "human",
"value": "using UnityEngine;\nusing System.Collections;\nusing System.Collections.Generic;\n\npublic class AdminModeTriggerer : MonoBehaviour {\n private const float WAIT_TIME = 10f;\n public ... | c# | chosen |
[
{
"from": "system",
"value": "Save ip after recording, check ip on index, version 1.0\n"
},
{
"from": "human",
"value": "<div class=\"span7\">\r\n <div id=\"button\" class=\"tile quadro triple-vertical bg-lightPink bg-active-lightBlue\" style=\"padding:10px; text-align: center;\">\r\n ... | c# | chosen |
[
{
"from": "system",
"value": "Fix new object was added into collection instead of the one we made just above.\n"
},
{
"from": "human",
"value": "using System.Collections.ObjectModel;\nusing System.ComponentModel;\n\nnamespace ProjectCDA.Data\n{\n public class DataSource : INotifyPropertyChan... | c# | chosen |
[
{
"from": "system",
"value": "Enable suggestions for types in reference assemblies by default\n\nSee #20255\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 info... | c# | chosen |
[
{
"from": "system",
"value": "Add autofocus to AccessCode entry so invalid entry will force focus onto the input field\n"
},
{
"from": "human",
"value": "@model SFA.DAS.EmployerUsers.Web.Models.AccessCodeViewModel\n\n<h1 class=\"heading-large\">Register</h1>\n\n@if (!Model.Valid)\n{\n <div c... | c# | chosen |
[
{
"from": "system",
"value": "Use CloudFlare CF-Connecting-IP to access user ip address\n"
},
{
"from": "human",
"value": "using Infra.Authentications;\nusing System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Web;\nusing System.Net;\nusing System.Security.Claims;\nusi... | c# | chosen |
[
{
"from": "system",
"value": "Add extension method for StatefulModel.MultipleDisposable.\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Threading.Tasks;\n\nnamespace MetroTrilithon.Lifetime\n{\n\tpublic static class Disposab... | c# | chosen |
[
{
"from": "system",
"value": "Add check if a file supports animations\n\nRight now it only checks for gifs, this method could include a check a png is an apng\n"
},
{
"from": "human",
"value": "using System.Globalization;\n\nnamespace Agens.Stickers\n{\n public static class StickerEditorUtil... | c# | chosen |
[
{
"from": "system",
"value": "Fix catch block in Main\n"
},
{
"from": "human",
"value": "using System;\nusing System.Diagnostics;\nusing CIV.Formats;\nusing static System.Console;\n\nnamespace CIV\r\n{\n\n\t[Flags]\n\tenum ExitCodes : int\n\t{\n\t\tSuccess = 0,\n\t\tFileNotFound = 1,\n P... | c# | chosen |
[
{
"from": "system",
"value": "Use `×` for close button\n\nI'm not sure about the encoding that was used; the X character renders strange. At http://twitter.github.com/bootstrap/components.html#alerts `×` is used for the close character, maybe we should too?"
},
{
"from": "human",
"va... | c# | chosen |
[
{
"from": "system",
"value": "Work on copy periodic wizard"
},
{
"from": "human",
"value": "using System;\r\nusing System.Collections.Generic;\r\nusing System.ComponentModel;\r\nusing System.Data;\r\nusing System.Drawing;\r\nusing System.Linq;\r\nusing System.Text;\r\nusing System.Threading.Tas... | c# | chosen |
[
{
"from": "system",
"value": "Add hold note tail judgement.\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\nnamespace osu.Game.Rulesets.Mania.Judgeme... | c# | chosen |
[
{
"from": "system",
"value": "Fix two properties to be string as expected on PaymentMethodDetails\n"
},
{
"from": "human",
"value": "namespace Stripe\n{\n using Newtonsoft.Json;\n using Stripe.Infrastructure;\n\n public class ChargePaymentMethodDetailsCardPresentReceipt : StripeEntity\n... | c# | chosen |
[
{
"from": "system",
"value": "Document nullability of seasonal backgrounds\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.API.Reques... | c# | chosen |
[
{
"from": "system",
"value": "Revert assembly info change in uwp project\n"
},
{
"from": "human",
"value": ""
},
{
"from": "gpt",
"value": "using System.Reflection;\nusing System.Runtime.CompilerServices;\nusing System.Runtime.InteropServices;\n\n[assembly: AssemblyTitle(\"ValueCon... | c# | chosen |
[
{
"from": "system",
"value": "Implement realtime match song select\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.Screens.Select;\n\nnamespa... | c# | chosen |
[
{
"from": "system",
"value": "Change max supported version constants\n"
},
{
"from": "human",
"value": "namespace Pdelvo.Minecraft.Protocol.Helper\n{\n /// <summary>\n /// \n /// </summary>\n /// <remarks></remarks>\n public static class ProtocolInformation\n {\n /// <s... | c# | chosen |
[
{
"from": "system",
"value": "Fix issue where Security Scheme responses are not parsed correctly.\n"
},
{
"from": "human",
"value": "using System.Collections.Generic;\nusing Raml.Parser.Expressions;\n\nnamespace Raml.Parser.Builders\n{\n\tpublic class SecuritySchemeDescriptorBuilder\n\t{\r\n ... | c# | chosen |
[
{
"from": "system",
"value": "Use 'nameof' when throwing ArgumentOutOfRangeException\n"
},
{
"from": "human",
"value": "using System;\nusing UnityEngine;\nusing UnityEngine.Assertions;\n\nnamespace Alensia.Core.Common\n{\n public enum Axis\n {\n X,\n Y,\n Z,\n ... | c# | chosen |
[
{
"from": "system",
"value": "Fix BGP Multipath withdraw decoding\n"
},
{
"from": "human",
"value": "using BmpListener.MiscUtil.Conversion;\nusing System;\nusing System.Collections.Generic;\nusing System.Linq;\n\nnamespace BmpListener.Bgp\n{\n public class PathAttributeMPUnreachNLRI : PathAt... | c# | chosen |
[
{
"from": "system",
"value": "Replace Theory with multiple Fact tests\n\nRefs #194\n"
},
{
"from": "human",
"value": "using Xunit;\n\npublic class AcronymTest\n{\n [Fact]\n public void Empty_string_abbreviated_to_empty_string()\n {\n Assert.Equal(string.Empty, Acronym.Abbreviate(... | c# | chosen |
[
{
"from": "system",
"value": "Fix parent child index type\n"
},
{
"from": "human",
"value": "using System;\n\nnamespace Foundatio.Repositories.Elasticsearch.Configuration {\n public interface IChildIndexType : IIndexType {\n string ParentPath { get; }\n }\n\n public interface IC... | c# | chosen |
[
{
"from": "system",
"value": "Disable .sav tests for now\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections.Generic;\nusing System.IO;\nusing OpenSage.Data;\nusing OpenSage.Data.Sav;\nusing OpenSage.Mods.Generals;\nusing Veldrid;\nusing Xunit;\n\nnamespace OpenSage.Tests... | c# | chosen |
[
{
"from": "system",
"value": "Change IMapper visibility from private to protected\n\nIn order to simply the extension of the AutoMapperObjectMapper, this proposal want to promote the IMapper attribute to protected.\r\nThis allows to extend the IObjectMapper without realizing a new version of Abp.\r\n\r\nSee... | c# | chosen |
[
{
"from": "system",
"value": "Change log timestamps to utc for better performance\n"
},
{
"from": "human",
"value": "/*\r\n Copyright (c) 2017 Marcin Szeniak (https://github.com/Klocman/)\r\n Apache License Version 2.0\r\n*/\r\n\r\nusing System;\r\nusing System.Diagnostics;\r\nusing System... | c# | chosen |
[
{
"from": "system",
"value": "Test broker listens on all IPs\n"
},
{
"from": "human",
"value": "using System;\nusing WampSharp.Binding;\nusing WampSharp.Fleck;\nusing WampSharp.V2;\nusing WampSharp.V2.MetaApi;\n\nnamespace Adaptive.ReactiveTrader.MessageBroker\n{\n public class MessageBroker ... | c# | chosen |
[
{
"from": "system",
"value": "Reorder to have video settings next to renderer\n\nCo-authored-by: Salman Ahmed <a7afa2b28823372a757eb860a4c7da8b68c3cb44@gmail.com>"
},
{
"from": "human",
"value": "// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.\n// See the LICENCE ... | c# | chosen |
[
{
"from": "system",
"value": "Add a touch more detail to the unsupported skin component exception\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 Syst... | c# | chosen |
[
{
"from": "system",
"value": "Use same namespace for serializers\n"
},
{
"from": "human",
"value": "using ArcGIS.ServiceModel.Operation;\nusing System;\nusing System.Collections.Generic;\n\nnamespace ArcGIS.ServiceModel.Serializers.ServiceStackV3\n{\n public class ServiceStackSerializer : IS... | c# | chosen |
[
{
"from": "system",
"value": "Change Subsystem Init to Start() instead of StartOnServer(), otherwise Cross-matrices might not work correctly due to somethings not being initialized yet.\n"
},
{
"from": "human",
"value": "using System.Collections.Generic;\nusing System.Linq;\nusing UnityEngine;\... | c# | chosen |
[
{
"from": "system",
"value": "Fix method name in OnDisconnectAsync\n"
},
{
"from": "human",
"value": "using Microsoft.AspNetCore.Authorization;\nusing Microsoft.AspNetCore.SignalR;\nusing System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Threading.Tasks;\n\nnamespace ... | c# | chosen |
[
{
"from": "system",
"value": "Hide F rank from beatmap overlay\n"
},
{
"from": "human",
"value": "// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.\n// See the LICENCE file in the repository root for full licence text.\n\n#nullable disable\n\nusing System.Collection... | c# | chosen |
[
{
"from": "system",
"value": "Use predefined default size for embedded windows\n"
},
{
"from": "human",
"value": "// Copyright (c) The Perspex Project. All rights reserved.\n// Licensed under the MIT license. See licence.md file in the project root for full license information.\n\nusing System... | c# | chosen |
[
{
"from": "system",
"value": "Add the return date, and change the long time string to short date string.\n"
},
{
"from": "human",
"value": "@model IEnumerable<MMLibrarySystem.Models.BorrowRecord>\n\n@{\n ViewBag.Title = \"Borrowed Books\";\n}\n\n<table id=\"bookList\">\n <tr>\n <td... | c# | chosen |
[
{
"from": "system",
"value": "Change clock widgets \"Font Size\" default value\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections.Generic;\nusing System.ComponentModel;\n\nnamespace DesktopWidgets.WidgetBase.Settings\n{\n public class WidgetClockSettingsBase : WidgetS... | c# | chosen |
[
{
"from": "system",
"value": "Remove DisableTestParallelization on CI due to the same reason.\n"
},
{
"from": "human",
"value": "using Xunit;\n\n// This is a work-around for #11.\n// https://github.com/CXuesong/WikiClientLibrary/issues/11\n[assembly:CollectionBehavior(DisableTestParallelization... | c# | chosen |
[
{
"from": "system",
"value": "Modify DepartmentService to use new CrudService\n"
},
{
"from": "human",
"value": "using System;\nusing System.Threading.Tasks;\nusing AutoMapper;\nusing Diploms.Core;\nusing Diploms.Dto;\nusing Diploms.Dto.Departments;\n\nnamespace Diploms.Services.Departments\n{\n... | c# | chosen |
[
{
"from": "system",
"value": "Allow redirect to returnUrl from login part\n"
},
{
"from": "human",
"value": "using System.Web.Mvc;\r\nusing System.Web.Security;\r\nusing N2.Templates.Mvc.Models.Parts;\r\nusing N2.Templates.Mvc.Models;\r\nusing N2.Web;\r\n\r\nnamespace N2.Templates.Mvc.Controller... | c# | chosen |
[
{
"from": "system",
"value": "Kill projectiles after 2 seconds\n"
},
{
"from": "human",
"value": "using UnityEngine;\nusing System.Collections;\n\npublic class Projectile : MonoBehaviour\n{\n\n public float damage = 10;\n public float speed = 30;\n public Vector3 direction;\n\n // U... | c# | chosen |
[
{
"from": "system",
"value": "Support watching of arbitrary connections\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;\n//using GLib;\n//using Gtk;\nusing NDesk... | c# | chosen |
[
{
"from": "system",
"value": "Paste in some more CEF docs.\n"
},
{
"from": "human",
"value": "// Copyright © 2010-2014 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\nnamespace CefSharp\n{\n ... | c# | chosen |
[
{
"from": "system",
"value": "Add a null check to FlatProgressBar.brush\n"
},
{
"from": "human",
"value": "namespace TweetDick.Core.Controls {\n partial class FlatProgressBar {\n /// <summary> \n /// Required designer variable.\n /// </summary>\n private System.Co... | c# | chosen |
[
{
"from": "system",
"value": "Update library version to 1.3.6\n"
},
{
"from": "human",
"value": "using System.Reflection;\nusing System.Runtime.InteropServices;\n\n// General Information about an assembly is controlled through the following \n// set of attributes. Change these attribute values ... | c# | chosen |
[
{
"from": "system",
"value": "Fix HitCircleLongCombo test stacking off-screen\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 NUnit.Framework;\nusin... | c# | chosen |
[
{
"from": "system",
"value": "Add support for command line arguments to configuration\n"
},
{
"from": "human",
"value": "using System;\nusing System.Text.RegularExpressions;\n\nnamespace KillrVideo.Host.Config\n{\n /// <summary>\n /// Gets configuration values from environment variables.\... | c# | chosen |
[
{
"from": "system",
"value": "Remove unnecessary point type check\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Text;\nusing System.Threading.Tasks;\n\nnamespace Harlow\n{\n public class VectorPoint : VectorFeature\n ... | c# | chosen |
[
{
"from": "system",
"value": "Increment assembly version for new Nuget build.\n"
},
{
"from": "human",
"value": "using System.Reflection;\nusing System.Runtime.InteropServices;\n\n// General Information about an assembly is controlled through the following\n// set of attributes. Change these at... | c# | chosen |
[
{
"from": "system",
"value": "Make explicit marker font semi-bold\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;\nusing osu... | c# | chosen |
[
{
"from": "system",
"value": "Use new array indexing syntax\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections.Generic;\nusing System.IO;\nusing System.Net;\n\nnamespace PlaylistGrabber\n{\n public class Downloader\n {\n public string State { get; private se... | c# | chosen |
[
{
"from": "system",
"value": "Revert \"Quarantine all ProjectTemplate tests until dotnet new lock issue is resolved.\"\n\nThis reverts commit 9a5d3c7640de12d8f7ecba53e9e49433a4d47588.\n"
},
{
"from": "human",
"value": "// Copyright (c) .NET Foundation. All rights reserved.\n// Licensed under the... | c# | chosen |
[
{
"from": "system",
"value": "Fix regression due to starting in Part view without printer selection\n"
},
{
"from": "human",
"value": "using System.Threading;\nusing System.Threading.Tasks;\nusing MatterHackers.Agg.UI;\nusing NUnit.Framework;\n\nnamespace MatterHackers.MatterControl.Tests.Autom... | c# | chosen |
[
{
"from": "system",
"value": "Fix bug where factory name hadn't been udpated\n"
},
{
"from": "human",
"value": "using Glimpse.Agent.Connection.Stream.Connection;\nusing System;\nusing System.Threading.Tasks;\n\nnamespace Glimpse.Agent\n{\n public class WebSocketChannelSender : IChannelSender... | c# | chosen |
[
{
"from": "system",
"value": "Fix name of help file\n\nLinux filenames are case sensitive.\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Text;\nusing System.Windows.Forms;\nusing Palaso.IO;\n\nnamespace Bloom\n{\n\tpublic c... | c# | chosen |
[
{
"from": "system",
"value": "Fix tiny droplet scale factor\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;\n\nnamespace os... | c# | chosen |
[
{
"from": "system",
"value": "Tidy up Start() function comment\n"
},
{
"from": "human",
"value": "using UnityEngine;\nusing System.Collections;\n\nnamespace Fungus\n{\n\t// Defines a camera view point.\n\t// The position and rotation are specified using the game object's transform, so this class... | c# | chosen |
[
{
"from": "system",
"value": "Check if argument in projection provider attribute is a valid type\n"
},
{
"from": "human",
"value": "using System;\n\nnamespace EnjoyCQRS.Attributes\n{\n [AttributeUsage(AttributeTargets.Class, AllowMultiple = true)]\n public class ProjectionProviderAttribut... | c# | chosen |
[
{
"from": "system",
"value": "Remove changes done to unrelated unit test\n"
},
{
"from": "human",
"value": "using Baseline;\nusing Marten.Schema;\nusing Marten.Services;\nusing Marten.Testing.Documents;\nusing Shouldly;\nusing Xunit;\n\nnamespace Marten.Testing\n{\n public class duplicate_fi... | c# | chosen |
[
{
"from": "system",
"value": "Fix more race conditions between tests\n"
},
{
"from": "human",
"value": "using System;\nusing GitHub.Api;\nusing GitHub.Primitives;\nusing GitHub.Services;\nusing GitHub.VisualStudio;\nusing NSubstitute;\nusing Xunit;\n\npublic class SimpleApiClientFactoryTests\n{... | c# | chosen |
[
{
"from": "system",
"value": "Replace default script methods with Update & FixedUpdate methods\n"
},
{
"from": "human",
"value": "using System.Collections;\nusing System.Collections.Generic;\nusing UnityEngine;\n\npublic class PlayerController : MonoBehaviour {\n\n\t// Use this for initializati... | c# | chosen |
[
{
"from": "system",
"value": "Set default result count of a recipe to 1\n"
},
{
"from": "human",
"value": "using FactorioModBuilder.Models.Base;\nusing System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Text;\nusing System.Threading.Tasks;\n\nnamespace FactorioModBuild... | c# | chosen |
[
{
"from": "system",
"value": "Update Assembly properties to version 2.0\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 values specific to yo... | c# | chosen |
[
{
"from": "system",
"value": "Add test trace output to webforms page\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Web;\nusing System.Web.UI;\nusing System.Web.UI.WebControls;\n\nnamespace WingtipToys\n{\n public partial... | c# | chosen |
[
{
"from": "system",
"value": "Update version from 1.0.0.1 to 2.0.0.0\n"
},
{
"from": "human",
"value": "using System.Reflection;\nusing System.Runtime.CompilerServices;\nusing System.Runtime.InteropServices;\n\n// General Information about an assembly is controlled through the following \n// se... | c# | chosen |
[
{
"from": "system",
"value": "Fix a bug in array extension\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Text;\n\nnamespace System\n{\n public static class ArrayExtension\n {\n public static int IndexOf<T>(this... | c# | chosen |
[
{
"from": "system",
"value": "Simplify usage of the solver"
},
{
"from": "human",
"value": "using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Text;\nusing System.Threading.Tasks;\n\nnamespace SketchSolve\n{\n public class Parameter\n {\n public doub... | c# | chosen |
[
{
"from": "system",
"value": "Put in placeholders instead of a real username and password.\n"
},
{
"from": "human",
"value": "using System.Xml;\nusing PropertyFeedSampleApp.PropertyFeed;\n\nnamespace PropertyFeedSampleApp\n{\n class Program\n {\n static void Main(string[] args)\n ... | c# | chosen |
[
{
"from": "system",
"value": "Add error handling for auth response\n"
},
{
"from": "human",
"value": "using System.Collections.Specialized;\nusing System.Web;\nusing Microsoft.IdentityModel.Protocols;\n\nnamespace Owin.Security.Keycloak.Models\n{\n internal class AuthorizationResponse : Oidc... | c# | chosen |
[
{
"from": "system",
"value": "Hide .sln file from project tree\n"
},
{
"from": "human",
"value": "using System;\nusing System.IO;\nusing System.Linq;\nusing Microsoft.VisualStudio.ProjectSystem.FileSystemMirroring.IO;\n\nnamespace Microsoft.VisualStudio.R.Package.ProjectSystem\n{\n\tinternal sea... | c# | chosen |
[
{
"from": "system",
"value": "Fix infinite loop when retrying a failing build number\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 string AssemblyVe... | c# | chosen |
[
{
"from": "system",
"value": "Fix improper container configuration for service locator\n"
},
{
"from": "human",
"value": "namespace OctoHook\n{\n\tusing Autofac;\n\tusing Autofac.Extras.CommonServiceLocator;\n\tusing Autofac.Integration.WebApi;\n\tusing Microsoft.Practices.ServiceLocation;\n\tu... | c# | chosen |
[
{
"from": "system",
"value": "Verify exception message when application is not configured\n"
},
{
"from": "human",
"value": "using System.IO;\nusing System.Text;\nusing Moq;\nusing Xunit;\n\nnamespace AppHarbor.Tests\n{\n\tpublic class ApplicationConfigurationTest\n\t{\n\t\tpublic static string... | c# | chosen |
[
{
"from": "system",
"value": "Update default API connection address\n"
},
{
"from": "human",
"value": "using System;\nusing JetBrains.Annotations;\n\nnamespace PatchKit.Api\n{\n /// <summary>\n /// <see cref=\"ApiConnection\" /> settings.\n /// </summary>\n [Serializable]\n publi... | c# | chosen |
[
{
"from": "system",
"value": "Add ability to set loggerFactory for the ExceptionHandlerMiddleware\n"
},
{
"from": "human",
"value": "using System;\nusing Microsoft.AspNetCore.Builder;\n\nnamespace GlobalExceptionHandler.WebApi\n{\n public static class WebApiExceptionHandlingExtensions\n {... | c# | chosen |
[
{
"from": "system",
"value": "Test for conversion to dynamic objects again\n"
},
{
"from": "human",
"value": "namespace AngleSharp.Scripting.CSharp.Tests\n{\n using NUnit.Framework;\n using System;\n using System.Threading.Tasks;\n\n [TestFixture]\n public class ConversionTests\n... | c# | chosen |
[
{
"from": "system",
"value": "Fix bugs in windows phone forms renderer\n"
},
{
"from": "human",
"value": "using System;\nusing Xamarin.Forms;\nusing ZXing.Net.Mobile.Forms;\nusing System.ComponentModel;\nusing System.Reflection;\nusing Xamarin.Forms.Platform.WinPhone;\nusing ZXing.Net.Mobile.Fo... | c# | chosen |
[
{
"from": "system",
"value": "Set position in MemoryStream to 0, to ensure it can be read from later.\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections.Generic;\nusing System.IO;\nusing System.Linq;\nusing System.Text;\nusing System.Threading.Tasks;\n\nnamespace OfficeD... | c# | chosen |
[
{
"from": "system",
"value": "Remove cert-test action to help diagnose issues in azure\n"
},
{
"from": "human",
"value": "using System;\r\nusing System.Security.Cryptography.X509Certificates;\r\nusing System.Text;\r\nusing System.Web.Mvc;\r\nusing Microsoft.Azure;\r\nusing SFA.DAS.EmployerUsers... | c# | chosen |
[
{
"from": "system",
"value": "Add seed methods with test data\n"
},
{
"from": "human",
"value": "namespace App.Data.Migrations\n{\n using System.Data.Entity.Migrations;\n\n public sealed class Configuration : DbMigrationsConfiguration<AppDbContext>\n {\n public Configuration()\n ... | c# | chosen |
[
{
"from": "system",
"value": "Create 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": "Fix launch fleet command validator\n"
},
{
"from": "human",
"value": "using System;\nusing Conreign.Contracts.Gameplay.Data;\nusing Conreign.Core;\nusing FluentValidation;\n\nnamespace Conreign.Server.Gameplay.Validators\n{\n internal class LaunchFleetValidator ... | c# | chosen |
[
{
"from": "system",
"value": "Revert \"make Doors list private, add getter\"\n\nThis reverts commit 9992d623e88b818474e937037ef43e1610a3204c.\n"
},
{
"from": "human",
"value": "using System.Collections.Generic;\nusing UnityEngine;\n\npublic class RoomDetails : MonoBehaviour {\n public int Ho... | c# | chosen |
[
{
"from": "system",
"value": "Add back missing OnHelpInvoked implementation which was removed\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Threading.Tasks;\n\nusing EntryPoint;\nusing EntryPointTests.Helpers;\n\nnamespace ... | c# | chosen |
[
{
"from": "system",
"value": "[CON-1436] Change link to point to recruit dashboard\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 apprenti... | c# | chosen |
[
{
"from": "system",
"value": "Create hangfire sql objects extension method for ef core migration builder\n"
},
{
"from": "human",
"value": "using Bit.Data.Implementations;\nusing System;\n\nnamespace Microsoft.EntityFrameworkCore.Migrations\n{\n public static class MigrationBuilderExtensions... | c# | chosen |
[
{
"from": "system",
"value": "Update file version to 3.0.0.0\n"
},
{
"from": "human",
"value": "using System;\nnamespace Xamarin.Forms.GoogleMaps.Internals\n{\n internal class ProductInformation\n {\n public const string Author = \"amay077\";\n public const string Name = \"X... | c# | chosen |
[
{
"from": "system",
"value": "Store Tetris DS player name as string.\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Web;\nusing GamestatsBase;\n\nnamespace Sample.tetrisds\n{\n /// <summary>\n /// Summary description f... | c# | chosen |
[
{
"from": "system",
"value": "Configure await false to remove deadlocks"
},
{
"from": "human",
"value": "using Microsoft.Azure.AppService.ApiApps.Service;\nusing Newtonsoft.Json.Linq;\nusing System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Threading.Tasks;\n\nnamespa... | c# | chosen |
[
{
"from": "system",
"value": "Write to log instead of console\n"
},
{
"from": "human",
"value": "using System;\r\nusing EvilDICOM.Core.Enums;\r\n\r\nnamespace EvilDICOM.Core.IO.Data\r\n{\r\n public class DataRestriction\r\n {\r\n public static string EnforceLengthRestriction(uint l... | c# | chosen |
[
{
"from": "system",
"value": "Update Problems: 3 - 5\n"
},
{
"from": "human",
"value": "namespace StudentsTask\n{\n using System;\n using System.Collections.Generic;\n using System.Linq;\n\n public class Student\n {\n public const int MinAgeOfStudent = 6;\n\n privat... | c# | chosen |
[
{
"from": "system",
"value": "Update to support EF container isolation issue\n"
},
{
"from": "human",
"value": "using System.Diagnostics;\nusing Glimpse.Agent;\nusing Glimpse.Agent.Configuration;\nusing Glimpse.Initialization;\nusing Microsoft.Extensions.DependencyInjection;\n\nnamespace Glimps... | c# | chosen |
[
{
"from": "system",
"value": "Make sure we always add our nop_api scope in order for the token to have access to the resources. Also make sure we always add offline_access scope as it is required by the IdentityServer.\nThis way even if empty scope is passed i.e if using Postman the scope is empty, we still... | c# | chosen |
[
{
"from": "system",
"value": "Add support for followpoint skinning\n\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 OpenTK;\nusing OpenTK.Graphics;... | c# | chosen |
[
{
"from": "system",
"value": "Add utility method for removing invalid filename characters\n"
},
{
"from": "human",
"value": "namespace CertiPay.Common\n{\n using System;\n using System.Linq;\n using System.Reflection;\n using System.Transactions;\n\n public static class Utilities... | c# | chosen |
[
{
"from": "system",
"value": "Fix consistent updating of layout fields if both sides have a significant, but blank value (e.g. certain core db items)\n"
},
{
"from": "human",
"value": "using System;\nusing System.Xml;\nusing System.Xml.Linq;\nusing Rainbow.Model;\n\nnamespace Rainbow.Diff.Field... | c# | chosen |
[
{
"from": "system",
"value": "Fix up the VB side\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 Microsoft.CodeAnalysis;\nusing Microsoft.... | c# | chosen |
[
{
"from": "system",
"value": "Fix for test from last commit.\n"
},
{
"from": "human",
"value": "using Microsoft.VisualStudio.TestTools.UnitTesting;\nusing NJsonSchema.CodeGeneration.Tests.Models;\nusing NJsonSchema.CodeGeneration.TypeScript;\nusing NJsonSchema.Generation;\nusing System;\nusing ... | c# | chosen |
[
{
"from": "system",
"value": "Remove `CommentMarkdownTextFlowContainer` and rather use base-class `OsuMarkdownTextFlowContainer`\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 f... | c# | chosen |
[
{
"from": "system",
"value": "Set new manage Guid when ballots are created\n"
},
{
"from": "human",
"value": "using System.Data.Entity;\nusing System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Net;\nusing System.Net.Http;\nusing System.Web;\nusing VotingApplication.Da... | c# | chosen |
[
{
"from": "system",
"value": "Update the sample application to retrieve the current time via SNTP\n\nThis is necessary since Twitter OAuth requests require a valid timestamp.\n"
},
{
"from": "human",
"value": "using System;\nusing Microsoft.SPOT;\nusing MicroTweet;\nusing System.Net;\nusing Syst... | c# | chosen |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.