conversations listlengths 2 3 | source stringclasses 1
value | stack stringclasses 1
value |
|---|---|---|
[
{
"from": "system",
"value": "Make pagination list result enumerable.\n"
},
{
"from": "human",
"value": "namespace TraktApiSharp.Objects.Basic\n{\n using System.Collections.Generic;\n\n /// <summary>\n /// Represents results of requests supporting pagination.<para />\n /// Contains ... | c# | chosen |
[
{
"from": "system",
"value": "Add view for news details route\n"
},
{
"from": "human",
"value": "@model PhotoLife.ViewModels.News.NewsDetailsViewModel\n\n@{\n ViewBag.Title = \"NewsDetails\";\n Layout = \"~/Views/Shared/_Layout.cshtml\";\n}\n\n<h2>NewsDetails</h2>\n\n<div>\n <h4>NewsDe... | c# | chosen |
[
{
"from": "system",
"value": "Increase timeout from 20s to 2 minutes.\n\nWe are seeing timeouts in APP on some slower machines. We may want to make this configurable in the future.\n"
},
{
"from": "human",
"value": "using System;\r\nusing System.Diagnostics;\r\nusing System.Threading;\r\n\r\nna... | c# | chosen |
[
{
"from": "system",
"value": "Add RegisterTypeForNavigation to IKernel and NinjectModule\n\nAdd extensions for RegisterTypeForNavigation to IKernel and Ninjectmodule, similar to the method available on Container for Unity/MEF.\n"
},
{
"from": "human",
"value": "using System;\nusing Ninject;\nu... | c# | chosen |
[
{
"from": "system",
"value": "Change calling convention of ImGuiInputTextCallback"
},
{
"from": "human",
"value": "namespace ImGuiNET\n{\n public unsafe delegate int ImGuiInputTextCallback(ImGuiInputTextCallbackData* data);\n}\n"
},
{
"from": "gpt",
"value": "using System.Runtime... | c# | chosen |
[
{
"from": "system",
"value": "Update test RP to include client id in change email / password links\n"
},
{
"from": "human",
"value": "<!DOCTYPE html>\r\n<html>\r\n<head>\r\n <meta charset=\"utf-8\" />\r\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\r\n <t... | c# | chosen |
[
{
"from": "system",
"value": "Make XNAControls internals visible to XNAControls.Test\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 f... | c# | chosen |
[
{
"from": "system",
"value": "Fix double Ergo auth request header problem\n"
},
{
"from": "human",
"value": "using System.Text;\n\nnamespace Miningcore.Blockchain.Ergo;\n\npublic partial class ErgoClient\n{\n public Dictionary<string, string> RequestHeaders { get; } = new();\n\n private Ta... | c# | chosen |
[
{
"from": "system",
"value": "Make property attributes public in IR\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.\n\nusing System;\nusing ... | c# | chosen |
[
{
"from": "system",
"value": "Update dotnet tests for 3.1.302.\n"
},
{
"from": "human",
"value": "using OmniSharp.Services;\nusing TestUtility;\nusing Xunit;\nusing Xunit.Abstractions;\n\nnamespace OmniSharp.Tests\n{\n public class DotNetCliServiceFacts : AbstractTestFixture\n {\n ... | c# | chosen |
[
{
"from": "system",
"value": "Fix typo in XML doc"
},
{
"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.\n\nusing System.Collections.Generic;\n\nnames... | c# | chosen |
[
{
"from": "system",
"value": "Add open folder button to open currently selected tournament\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.Framewo... | c# | chosen |
[
{
"from": "system",
"value": "Throw an exception if a popover is attempted to be shown without a parent `PopoverContainer`\n\nThe intention is to help framework consumers to understand how this\ncomponent should be used, if they happen to be attempting to misuse it\n(rather than silently failing).\n"
},
... | c# | chosen |
[
{
"from": "system",
"value": "Change 3M performance test to 5M\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections.Generic;\nusing System.Linq;\n\nnamespace Silverpop.Core.Performance\n{\n internal class Program\n {\n private static void Main(string[] args)\n... | c# | chosen |
[
{
"from": "system",
"value": "Add a space between \"Test\" and \"Email\" in the UI.\n"
},
{
"from": "human",
"value": "using BTCPayServer.Services.Mails;\nusing Microsoft.AspNetCore.Mvc.Rendering;\nusing System;\nusing System.Collections.Generic;\nusing System.ComponentModel.DataAnnotations;\nu... | c# | chosen |
[
{
"from": "system",
"value": "Load images in the test folder\n"
},
{
"from": "human",
"value": "using System;\r\nusing System.IO;\r\nusing System.Linq;\r\nusing NUnit.Framework;\r\n\r\nnamespace photo.exif.unit.test\r\n{\r\n [TestFixture(\"Images/Canon PowerShot SX500 IS.JPG\")]\r\n [Test... | c# | chosen |
[
{
"from": "system",
"value": "Call base Handle if Decoratee not handled\n"
},
{
"from": "human",
"value": "namespace Miruken.Callback\n{\n using System;\n\n public abstract class HandlerDecorator : Handler, IDecorator\n {\n protected HandlerDecorator(IHandler decoratee)\n ... | c# | chosen |
[
{
"from": "system",
"value": "Change slack error message text.\n"
},
{
"from": "human",
"value": "using System;\nusing AzureStorage.Queue;\nusing Common.Log;\nusing CompetitionPlatform.Models;\nusing Microsoft.AspNetCore.Mvc;\nusing Microsoft.AspNetCore.Mvc.Filters;\n\nnamespace CompetitionPlat... | c# | chosen |
[
{
"from": "system",
"value": "Revert \"Refactor the menu's max height to be a property\"\n\nThis reverts commit 9cb9ef5c\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 lic... | c# | chosen |
[
{
"from": "system",
"value": "Fix cannot load firebase analytics type.\n"
},
{
"from": "human",
"value": "using System;\nusing System.Reflection;\n\nnamespace EE.Internal {\n internal class FirebaseAnalyticsImpl : IFirebaseAnalyticsImpl {\n private readonly MethodInfo _methodSetCurrent... | c# | chosen |
[
{
"from": "system",
"value": "Add sqlite migrate on startup\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections.Generic;\nusing System.IO;\nusing System.Linq;\nusing System.Threading.Tasks;\nusing Microsoft.AspNetCore.Hosting;\nusing Microsoft.AspNetCore.Builder;\n\nnames... | c# | chosen |
[
{
"from": "system",
"value": "Set correct min and max values\n"
},
{
"from": "human",
"value": "using System.Collections.Generic;\n\nnamespace WalletWasabi.Fluent.ViewModels\n{\n\tpublic class TestLineChartViewModel\n\t{\n\t\tpublic double XAxisCurrentValue { get; set; } = 36;\n\n\t\tpublic doub... | c# | chosen |
[
{
"from": "system",
"value": "Use ConcurrentDictionary instead of Dictionary to allow lock-free async access\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections.Generic;\nusing System.Text;\n\nnamespace StatoBot.Analytics\n{\n\tpublic class Statistics : Dictionary<string, ... | c# | chosen |
[
{
"from": "system",
"value": "Revert \"Fix The GlowWindow in the taskmanager\"\n\nThis reverts commit 637febe9b632c3de7d13ee50460151f69e378857.\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Text;\nusing System.Windows;\nusi... | c# | chosen |
[
{
"from": "system",
"value": "Correct compile error in tests\n"
},
{
"from": "human",
"value": "\nnamespace NakedObjects.Web.UnitTests.Selenium\n{\n public static class TestConfig\n {\n //public const string BaseUrl = \"http://localhost:49998/\";\n\n public const string Base... | c# | chosen |
[
{
"from": "system",
"value": "Use strings for IDs (for flexibility)\n"
},
{
"from": "human",
"value": "using System;\nusing System.Windows.Forms;\n\nnamespace MultiMiner.Win.Notifications\n{\n public partial class NotificationsControl : UserControl\n {\n //events\n //delegat... | c# | chosen |
[
{
"from": "system",
"value": "Fix error with liquid propegation through air\n"
},
{
"from": "human",
"value": "using System;\nusing TrueCraft.API;\nusing TrueCraft.API.Logic;\n\nnamespace TrueCraft.Core.Logic.Blocks\n{\n public class AirBlock : BlockProvider\n {\n public static rea... | c# | chosen |
[
{
"from": "system",
"value": "Move guest participation beatmap up to below loved\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.Locali... | c# | chosen |
[
{
"from": "system",
"value": "Fix crash when multiple threads may exist.\n\nBased on a crash I experienced in an app I am developing, it appears that sometimes when the app is shutting down, the disposal will not happen from the UI thread, and Dispose() on the HwndSource causes an InvalidOperationException.... | c# | chosen |
[
{
"from": "system",
"value": "Add standard demo sites setup as a test\n\n"
},
{
"from": "human",
"value": "using System;\nusing Microsoft.VisualStudio.TestTools.UnitTesting;\nusing System.Threading.Tasks;\nusing Certify.Models;\n\nnamespace Certify.Service.Tests.Integration\n{\n [TestClass]\... | c# | chosen |
[
{
"from": "system",
"value": "Destroy bullets when they are out of bounds\n"
},
{
"from": "human",
"value": "using UnityEngine;\nusing System.Collections;\n\npublic class Bullet : MonoBehaviour {\n\n private float velocity = 35f;\n\n // Use this for initialization\n void Start ()\n ... | c# | chosen |
[
{
"from": "system",
"value": "Add copyright notice to new file\n"
},
{
"from": "human",
"value": "using FluentAssertions;\nusing Microsoft.DotNet.Cli.Utils;\nusing System;\nusing System.Collections.Generic;\nusing System.Runtime.InteropServices;\nusing System.Text;\nusing Microsoft.NET.TestFram... | c# | chosen |
[
{
"from": "system",
"value": "Fix syntax error in TimingController\n"
},
{
"from": "human",
"value": "using System.Collections;\nusing System.Collections.Generic;\nusing UnityEngine;\n\npublic class YoumuSlashTimingController : MonoBehaviour\n{\n public delegate void BeatDelegate(int beat);\... | c# | chosen |
[
{
"from": "system",
"value": "Remove top level environment variables from default config\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.\n\n... | c# | chosen |
[
{
"from": "system",
"value": "Add a just in case null check before deserialization\n"
},
{
"from": "human",
"value": "using System;\nusing MessageBird.Exceptions;\nusing MessageBird.Objects;\nusing Newtonsoft.Json;\n\nnamespace MessageBird.Resources\n{\n public abstract class Resource\n {... | c# | chosen |
[
{
"from": "system",
"value": "Fix tests to pass with newer setup\n"
},
{
"from": "human",
"value": "using System;\nusing Microsoft.VisualStudio.TestTools.UnitTesting;\nusing System.Collections.Generic;\nusing System.Net;\n\nnamespace MultiMiner.Xgminer.Discovery.Tests\n{\n [TestClass]\n p... | c# | chosen |
[
{
"from": "system",
"value": "Fix scanning for MyGet versions\n"
},
{
"from": "human",
"value": "// Copyright 2020 Maintainers of NUKE.\n// Distributed under the MIT License.\n// https://github.com/nuke-build/nuke/blob/master/LICENSE\n\nusing System;\nusing System.Linq;\nusing System.Reflection... | c# | chosen |
[
{
"from": "system",
"value": "Fix question submission truncation bug\n\nThis change fixes a bug where changes with < or > characters in certain\ncontexts would be truncated.\n"
},
{
"from": "human",
"value": "@model CodeEditorSettings\n\n@if (Model.TextArea)\n{\n <textarea name=\"@Model.Edit... | c# | chosen |
[
{
"from": "system",
"value": "[S3] Add method to GetPresignedUrlRequest and update to class\n"
},
{
"from": "human",
"value": "using System;\r\n\r\nnamespace Amazon.S3\r\n{ \r\n public readonly struct GetPresignedUrlRequest\r\n {\r\n public GetPresignedUrlRequest(\r\n ... | c# | chosen |
[
{
"from": "system",
"value": "Change library version to 0.8.1\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": "Add agent to web owin middleware\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections.Generic;\nusing System.Threading.Tasks;\nusing Glimpse.Host.Web.Owin.Framework;\n\nnamespace Glimpse.Host.Web.Owin\n{\n public class GlimpseMiddleware\n ... | c# | chosen |
[
{
"from": "system",
"value": "Disable tinting option on Android\n"
},
{
"from": "human",
"value": "using System;\nusing Android.Views;\nusing Xamarin.Forms;\nusing Xamarin.Forms.Platform.Android;\nusing Android.Graphics;\nusing System.ComponentModel;\nusing CrossPlatformTintedImage;\nusing Cross... | c# | chosen |
[
{
"from": "system",
"value": "Mark render start point as graph part (obviously)\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Text;\nusing FeralTic.DX11;\n\nnamespace VVVV.DX11\n{\n public interface IAttachableWindow\n ... | c# | chosen |
[
{
"from": "system",
"value": "Change \"Ok\" to \"OK\" in message dialogs\n"
},
{
"from": "human",
"value": "using System.Windows;\n\n\nnamespace GitMind.Common.MessageDialogs\n{\n\t/// <summary>\n\t/// Interaction logic for MessageDialog.xaml\n\t/// </summary>\n\tpublic partial class MessageDia... | c# | chosen |
[
{
"from": "system",
"value": "Change - finished compliance for to_number function.\n"
},
{
"from": "human",
"value": "using System;\r\nusing DevLab.JmesPath.Interop;\r\nusing Newtonsoft.Json.Linq;\r\n\r\nnamespace DevLab.JmesPath.Functions\r\n{\r\n public class ToNumberFunction : JmesPathFunc... | c# | chosen |
[
{
"from": "system",
"value": "Use static properties instead of static constructor\n==> if exception is thrown, detailed information is available, else TypeInitialiser exception is thrown\n\ngit-svn-id: 487762061123e2098c3085380b713ad974003499@7632 463e38ab-4f4e-0410-907a-65d2b3888964\n"
},
{
"from":... | c# | chosen |
[
{
"from": "system",
"value": "[liuxia] Add some complexity to test cases.\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections.Generic;\nusing Xunit;\n\nnamespace CSharpViaTest.IOs._10_HandleText\n{\n /* \n * Description\n * ===========\n * \n * This tes... | c# | chosen |
[
{
"from": "system",
"value": "DNN-10096: Add next page command property\n"
},
{
"from": "human",
"value": "using Newtonsoft.Json;\n\nnamespace Dnn.PersonaBar.Library.Prompt.Models\n{\n /// <summary>\n /// Standard response object sent to client\n /// </summary>\n public class Consol... | c# | chosen |
[
{
"from": "system",
"value": "Add dependency on Sequence and Fungus Script components\n"
},
{
"from": "human",
"value": "using UnityEngine;\nusing System;\nusing System.Collections;\nusing System.Collections.Generic;\n\nnamespace Fungus\n{\n\t\n\tpublic class EventHandlerInfoAttribute : Attribu... | c# | chosen |
[
{
"from": "system",
"value": "Change link title to manage reservations\n"
},
{
"from": "human",
"value": "@model SFA.DAS.EmployerAccounts.Web.ViewModels.AccountDashboardViewModel\n\n@if (Model.ReservedFundingToShow != null)\n{\n <h3 class=\"das-panel__heading\">Apprenticeship funding secured... | c# | chosen |
[
{
"from": "system",
"value": "Test for IList<T> and IEnumerable<T>\n\nTest for IList<T> and IEnumerable<T>\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections.Generic;\n\nnamespace DevelopmentInProgress.DipMapper.Test\n{\n public class TestDapperClass\n {\n p... | c# | chosen |
[
{
"from": "system",
"value": "Correct inconsistent use of tabs and spaces.\n"
},
{
"from": "human",
"value": "using System.Windows.Controls;\n\nnamespace PopulousStringEditor.Views\n{\n /// <summary>\n /// Interaction logic for StringComparisonView.xaml\n /// </summary>\n public par... | c# | chosen |
[
{
"from": "system",
"value": "Use StaticCompositeResolver instead of CompositeResolver.\n\n"
},
{
"from": "human",
"value": "using MessagePack;\nusing MessagePack.Resolvers;\nusing UnityEngine;\n\nnamespace Assets.Scripts\n{\n class InitialSettings\n {\n [RuntimeInitializeOnLoadMet... | c# | chosen |
[
{
"from": "system",
"value": "Change configurations to decimal value\n"
},
{
"from": "human",
"value": "using System;\n\nnamespace Take.Blip.Builder.Hosting\n{\n public class ConventionsConfiguration : IConfiguration\n {\n public virtual TimeSpan InputProcessingTimeout => TimeSpan.... | c# | chosen |
[
{
"from": "system",
"value": "Fix doc comment cref being incorrect\n"
},
{
"from": "human",
"value": "// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information.\n\nnamespace TerraFX.Audio\n{\n /// <summary>... | c# | chosen |
[
{
"from": "system",
"value": "[Build] Fix build breaks mirrored from Github\n\n/cc @pgavlin @jkuhne\n\n[tfs-changeset: 1503449]\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 li... | c# | chosen |
[
{
"from": "system",
"value": "Remove the function specific filter.\n\nSigned-off-by: Zac Brown (ODSP SECURITY) <a69bc40e0922c9f936432eef55ea97843f621148@microsoft.com>\n"
},
{
"from": "human",
"value": "// Copyright (c) Zac Brown. All rights reserved.\n// Licensed under the MIT license. See LIC... | c# | chosen |
[
{
"from": "system",
"value": "Fix path for Payments API\n"
},
{
"from": "human",
"value": "using Newtonsoft.Json.Linq;\nusing SnapMD.ConnectedCare.Sdk.Models;\n\nnamespace SnapMD.ConnectedCare.Sdk\n{\n public class PaymentsApi : ApiCall\n {\n public PaymentsApi(string baseUrl, stri... | c# | chosen |
[
{
"from": "system",
"value": "Fix warning on linux/mac by adding AutoGenerateBindingRedirects\n"
},
{
"from": "human",
"value": "using System;\nusing System.IO;\nusing System.Linq;\nusing System.Reflection;\nusing Sharpmake;\n\nnamespace SharpmakeGen\n{\n [Generate]\n public class Sharpma... | c# | chosen |
[
{
"from": "system",
"value": "Fix and document the interface\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections.Generic;\nusing System.Collections.Specialized;\n\nnamespace GitHub.Collections\n{\n public interface ITrackingCollection<T> : IDisposable, IList<T> where T... | c# | chosen |
[
{
"from": "system",
"value": "Use 'Thread.Sleep' instead of 'await'-less 'Task.Delay'.\n"
},
{
"from": "human",
"value": "using System;\nusing System.Diagnostics;\nusing System.Threading;\nusing System.Threading.Tasks;\n\nnamespace Mirage.Urbanization.Simulation\n{\n public class NeverEndingT... | c# | chosen |
[
{
"from": "system",
"value": "Remove workaround for xslt and use a XmlReader instead of a XPath navigator\n"
},
{
"from": "human",
"value": "using System.Text;\nusing System.Xml;\nusing System.Xml.XPath;\nusing System.Xml.Xsl;\n\nnamespace Tranquire.Reporting\n{\n partial class XmlDocumentOb... | c# | chosen |
[
{
"from": "system",
"value": "Use culture invariant version of float.TryParse\n"
},
{
"from": "human",
"value": "using System.Globalization;\n\nnamespace OpenSage.Data.Utilities\n{\n internal static class ParseUtility\n {\n public static float ParseFloat(string s)\n {\n ... | c# | chosen |
[
{
"from": "system",
"value": "Fix cache update exception typo\n"
},
{
"from": "human",
"value": "using System;\n\nnamespace HobknobClientNet\n{\n public interface IHobknobClientFactory\r\n {\n IHobknobClient Create(string etcdHost, int etcdPort, string applicationName, TimeSpan cac... | c# | chosen |
[
{
"from": "system",
"value": "Add failing test case for setting colour at creation\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.Graph... | c# | chosen |
[
{
"from": "system",
"value": "Add service and container clients\n"
},
{
"from": "human",
"value": "using Azure.Core.Pipeline;\nusing Azure.Test.PerfStress;\nusing System;\nusing System.Net.Http;\n\nnamespace Azure.Storage.Blobs.PerfStress\n{\n public abstract class StorageTest<TOptions> : Pe... | c# | chosen |
[
{
"from": "system",
"value": "Test Major/Minor versions - Commit 2"
},
{
"from": "human",
"value": "using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Web;\nusing System.Web.Mvc;\n\n// ADDED FIRST LINE \n\nnamespace PracticeGit.Controllers\n{\n public class Ho... | c# | chosen |
[
{
"from": "system",
"value": "Fix \"Picture Slideshow\" \"Maximum File Size\" default value\n"
},
{
"from": "human",
"value": "using System;\nusing System.ComponentModel;\nusing DesktopWidgets.WidgetBase.Settings;\n\nnamespace DesktopWidgets.Widgets.PictureSlideshow\n{\n public class Setting... | c# | chosen |
[
{
"from": "system",
"value": "Add missing object mapping configuration.\n\n"
},
{
"from": "human",
"value": "using System.Linq;\nusing AutoMapper;\nusing Abp.Authorization;\nusing Abp.Authorization.Roles;\nusing AbpCompanyName.AbpProjectName.Authorization.Roles;\n\nnamespace AbpCompanyName.AbpPr... | c# | chosen |
[
{
"from": "system",
"value": "Add menu item to create AOT configuration\n"
},
{
"from": "human",
"value": "#if !NO_UNITY\nusing System;\nusing System.Collections.Generic;\nusing UnityEngine;\n\nnamespace FullSerializer {\n\tpublic class fsAotConfiguration : ScriptableObject {\n public enu... | c# | chosen |
[
{
"from": "system",
"value": "Tweak SMTP test \"From\" address.\n\nJust always use example.org\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Net.Mail;\nusing System.Text;\n\nnamespace Toolhouse.Monitoring.Dependencies\n{\n ... | c# | chosen |
[
{
"from": "system",
"value": "Fix type name error due to temporarily excluded project\n"
},
{
"from": "human",
"value": "using System;\nusing System.Reflection;\n//using System.IO;\n//using System.Reflection;\nusing LASI.Utilities;\n\nnamespace LASI.WebApp.Tests.TestAttributes\n{\n [Attribut... | c# | chosen |
[
{
"from": "system",
"value": "Fix mistake in create sprint validator - was allowing null Name\n"
},
{
"from": "human",
"value": "using System;\nusing Agiil.Domain.Validation;\nusing CSF.Validation;\nusing CSF.Validation.Manifest.Fluent;\nusing CSF.Validation.StockRules;\n\nnamespace Agiil.Domai... | c# | chosen |
[
{
"from": "system",
"value": "web: Return NotFound on teams user is not a member of\n"
},
{
"from": "human",
"value": "using System.Threading.Tasks;\nusing Microsoft.AspNetCore.Authorization;\nusing Microsoft.AspNetCore.Mvc;\nusing Microsoft.AspNetCore.Mvc.Filters;\nusing SupportManager.DAL;\n\... | c# | chosen |
[
{
"from": "system",
"value": "Disable 'Delete all variables' when no environment is selected.\n"
},
{
"from": "human",
"value": "// Copyright (c) Microsoft Corporation. All rights reserved.\n// Licensed under the MIT License. See LICENSE in the project root for license information.\n\nusing Sys... | c# | chosen |
[
{
"from": "system",
"value": "Create backup directory if missing\n\nJust embarassing that I managed to write this\n"
},
{
"from": "human",
"value": "using System;\nusing System.IO;\nusing System.Security.Cryptography;\n\nnamespace Nuterra.Installer\n{\n\tpublic static class InstallerUtil\n\t{\n... | c# | chosen |
[
{
"from": "system",
"value": "Simplify GetPassedTestsInfo with XDocument and XPath\n"
},
{
"from": "human",
"value": "// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.\n\nusing System.... | c# | chosen |
[
{
"from": "system",
"value": "Fix null category search bug\n\nFix the default variable being null, which will cause an error at runtime\nwhen trying to itterate over the null list.\n"
},
{
"from": "human",
"value": "// NoteSorter.cs\n// <copyright file=\"NoteSorter.cs\"> This code is protected ... | c# | chosen |
[
{
"from": "system",
"value": "Fix test name and assertion.\n"
},
{
"from": "human",
"value": "using System;\nusing Elastic.Xunit.Sdk;\nusing Elastic.Xunit.XunitPlumbing;\nusing Elasticsearch.Net;\nusing FluentAssertions;\nusing Tests.Framework.ManagedElasticsearch.Clusters;\n\nnamespace Tests.Re... | c# | chosen |
[
{
"from": "system",
"value": "Simplify check and fix for new DynamicGetter\n"
},
{
"from": "human",
"value": "using System;\nusing Structurizer.Extensions;\n\nnamespace Structurizer.Schemas\n{\n public class StructureProperty : IStructureProperty\n {\n private readonly DynamicGette... | c# | chosen |
[
{
"from": "system",
"value": "Fix for the NotEmpty method."
},
{
"from": "human",
"value": "// Copyright 2009 Jeffrey Cameron\r\n//\r\n// Licensed under the Apache License, Version 2.0 (the \"License\");\r\n// you may not use this file except in compliance with the License.\r\n// You may obtain... | c# | chosen |
[
{
"from": "system",
"value": "Add messageBack to action types.\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Text;\nusing System.Threading.Tasks;\n\nnamespace Microsoft.Bot.Connector\n{\n public class ActionTypes\n {\... | c# | chosen |
[
{
"from": "system",
"value": "Enable nullable and don't bother null checking at every read.\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;\n... | c# | chosen |
[
{
"from": "system",
"value": "Add an error message if opening the log file fails.\n"
},
{
"from": "human",
"value": "using System.Diagnostics;\r\n\r\nnamespace Microsoft.Build.Logging.StructuredLogger\r\n{\r\n public class BinaryLog\r\n {\r\n public static Build ReadBuild(string fi... | c# | chosen |
[
{
"from": "system",
"value": "Add diagnostic try-catch blocks to MorphInto()\n\nHopefully this will give some more insights into #12\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections.Generic;\nusing System.Collections.ObjectModel;\nusing System.Linq;\nusing System.Text;... | c# | chosen |
[
{
"from": "system",
"value": "Add giftcard method to list of methods\n\nMollie will be launching support for gift cards soon."
},
{
"from": "human",
"value": "namespace Mollie.Api.Models\n{\n /// <summary>\n /// Payment method\n /// </summary>\n public enum Method\n {\n ide... | c# | chosen |
[
{
"from": "system",
"value": "Make the shuffle more noticable.\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections.ObjectModel;\nusing ReactiveUI;\n\nnamespace BindingTest.ViewModels\n{\n public class MainWindowViewModel : ReactiveObject\n {\n private string ... | c# | chosen |
[
{
"from": "system",
"value": "Set size for the fields on contact form\n"
},
{
"from": "human",
"value": "using System.ComponentModel.DataAnnotations;\nusing Newtonsoft.Json.Linq;\n\nnamespace CmsEngine.Application.Helpers.Email\n{\n public class ContactForm\n {\n [Required]\n ... | c# | chosen |
[
{
"from": "system",
"value": "Disable 2nd sandbox test by default\n"
},
{
"from": "human",
"value": "using System;\n\nnamespace ClosedXML_Sandbox\n{\n internal class Program\n {\n private static void Main(string[] args)\n {\n Console.WriteLine(\"Running {0}\", name... | c# | chosen |
[
{
"from": "system",
"value": "Increment version number to 1.3.5.0\n"
},
{
"from": "human",
"value": "namespace formulate.meta\n{\n\n /// <summary>\n /// Constants relating to Formulate itself (i.e., does not\n /// include constants used by Formulate).\n /// </summary>\n public cl... | c# | chosen |
[
{
"from": "system",
"value": "Revert \"Make all strings in loaded TdfNodes lowercase\"\n\nThis reverts commit 652439451f8357ab4a323aaeb783daef5e5a5106.\n"
},
{
"from": "human",
"value": "namespace TAUtil.Tdf\r\n{\r\n using System.Collections.Generic;\r\n\r\n public class TdfNodeAdapter : ... | c# | chosen |
[
{
"from": "system",
"value": "Add private constructor to singleton class\r\n\r\ngit-tfs-id: [https://mikeward.visualstudio.com/DefaultCollection]$/tweetz5;C1805\r\n"
},
{
"from": "human",
"value": "using System;\r\nusing System.Collections.Generic;\r\nusing System.Globalization;\r\nusing System... | c# | chosen |
[
{
"from": "system",
"value": "Add null checks for MethodReplacer\n"
},
{
"from": "human",
"value": "using System.Collections.Generic;\nusing System.Reflection;\nusing System.Reflection.Emit;\n\nnamespace Harmony\n{\n\tpublic static class Transpilers\n\t{\n\t\tpublic static IEnumerable<CodeInstru... | c# | chosen |
[
{
"from": "system",
"value": "Order methods in membership service interface by type\n"
},
{
"from": "human",
"value": "using System.Web.Security;\n\nusing Oogstplanner.Models;\n\nnamespace Oogstplanner.Services\n{\n public interface IMembershipService\n {\n bool ValidateUser(string... | c# | chosen |
[
{
"from": "system",
"value": "Correct detection of scrape requests\n\nsvn path=/trunk/bitsharp/; revision=98390\n"
},
{
"from": "human",
"value": "using System;\r\nusing System.Collections.Generic;\r\nusing System.Text;\r\nusing MonoTorrent.BEncoding;\r\nusing System.Net;\r\n\r\nnamespace MonoTo... | c# | chosen |
[
{
"from": "system",
"value": "[REFAC] Change variable to paradigm instead of controller to improve naming consistency\n"
},
{
"from": "human",
"value": "using UnityEngine;\nusing System.Collections;\n\nnamespace Assets.BeMoBI.Paradigms.SearchAndFind { \n\n\t/// <summary>\n\t/// Represents all p... | c# | chosen |
[
{
"from": "system",
"value": "Add square matrix multiplication test case.\n"
},
{
"from": "human",
"value": "using NUnit.Framework;\r\n\r\nnamespace Algorithms.Collections.Tests\r\n{\r\n\t[TestFixture]\r\n\tpublic class SquareMatrixTests\r\n\t{\r\n\t}\r\n}\r\n"
},
{
"from": "gpt",
"... | c# | chosen |
[
{
"from": "system",
"value": "Convert seconds to actual minutes (works up to an hour...)\n\n"
},
{
"from": "human",
"value": "using UnityEngine;\r\nusing UnityEngine.UI;\r\n\r\npublic class LeaderboardEntry : MonoBehaviour\r\n{\r\n\r\n [SerializeField] private Text _name;\r\n [SerializeFi... | c# | chosen |
[
{
"from": "system",
"value": "Revert \"Something new from Peter\"\n\nThis reverts commit 0f0feb65c4743741b9cf5e8ba22cdcf115a8da7c.\n\nThis commit was not meant for master.\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections.Generic;\nusing System.Diagnostics;\nusing Syste... | c# | chosen |
[
{
"from": "system",
"value": "Add support for listing invoice items via invoice and pending\n"
},
{
"from": "human",
"value": "namespace Stripe\n{\n using Newtonsoft.Json;\n\n public class InvoiceItemListOptions : ListOptionsWithCreated\n {\n [JsonProperty(\"customer\")]\n ... | c# | chosen |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.