doc_id stringlengths 36 36 | metadata dict | input stringlengths 28 4.3k | output stringlengths 11 5.45k |
|---|---|---|---|
ff113cc7-61e0-4c7f-a0b0-78a00d5ddc99 | {
"language": "C#"
} | ```c#
using System.Web;
using System.Web.Optimization;
namespace ExamSystem.Backend.Web
{
public class BundleConfig
{
// For more information on bundling, visit http://go.microsoft.com/fwlink/?LinkId=301862
public static void RegisterBundles(BundleCollection bundles)
{
bund... | ```c#
using System.Web;
using System.Web.Optimization;
namespace ExamSystem.Backend.Web
{
public class BundleConfig
{
// For more information on bundling, visit http://go.microsoft.com/fwlink/?LinkId=301862
public static void RegisterBundles(BundleCollection bundles)
{
bund... |
14f6db80-f27e-47f7-9fbc-3b494ee611f2 | {
"language": "C#"
} | ```c#
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using ExcelDna.Integration;
using Qwack.Dates;
using Qwack.Excel.Services;
namespace Qwack.Excel.Dates
{
public static class BusinessDateFunctions
{
[ExcelFunction(Description = "Checks if the given d... | ```c#
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using ExcelDna.Integration;
using Qwack.Dates;
using Qwack.Excel.Services;
namespace Qwack.Excel.Dates
{
public static class BusinessDateFunctions
{
[ExcelFunction(Description = "Checks if the given d... |
35acd626-458c-499b-a2c1-f77b4d813575 | {
"language": "C#"
} | ```c#
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System.Collections.Generic;
using System.Linq;
using osu.Framework.IO.Network;
using osu.Game.Online.Chat;
namespace osu.Game.Online.API.Requests
... | ```c#
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System.Collections.Generic;
using System.Linq;
using osu.Framework.IO.Network;
using osu.Game.Online.Chat;
namespace osu.Game.Online.API.Requests
... |
3e57ce37-7692-491e-a186-46d137d4b00d | {
"language": "C#"
} | ```c#
using System.Collections.Generic;
using Newtonsoft.Json;
namespace Stripe
{
public class StripeCouponUpdateOptions : StripeBaseOptions, ISupportMetadata
{
[JsonProperty("metadata")]
public Dictionary<string, string> Metadata { get; set; }
}
}
```
Add support for updating a coupon's ... | ```c#
using System.Collections.Generic;
using Newtonsoft.Json;
namespace Stripe
{
public class StripeCouponUpdateOptions : StripeBaseOptions, ISupportMetadata
{
[JsonProperty("metadata")]
public Dictionary<string, string> Metadata { get; set; }
[JsonProperty("name")]
public st... |
63101e6c-6a97-4f33-a4ae-220e52a8e6b5 | {
"language": "C#"
} | ```c#
using System;
using System.Runtime.InteropServices;
using System.Security;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
namespace MaterialForms.Controls
{
/// <summary>
/// Interaction logic for SingleLineTextControl.xaml
/// </summary>
public partial class Pas... | ```c#
using System;
using System.Runtime.InteropServices;
using System.Security;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
namespace MaterialForms.Controls
{
/// <summary>
/// Interaction logic for SingleLineTextControl.xaml
/// </summary>
public partial class Pas... |
dc5221fe-8ba0-4249-9814-6d98f643460c | {
"language": "C#"
} | ```c#
using System;
using System.Net.Http;
namespace WebApiContrib.Http
{
public static class HttpRequestMessageExtensions
{
private const string HttpContext = "MS_HttpContext";
private const string RemoteEndpointMessage = "System.ServiceModel.Channels.RemoteEndpointMessageProperty";
p... | ```c#
using System;
using System.Net.Http;
namespace WebApiContrib.Http
{
public static class HttpRequestMessageExtensions
{
private const string HttpContext = "MS_HttpContext";
private const string RemoteEndpointMessage = "System.ServiceModel.Channels.RemoteEndpointMessageProperty";
pr... |
2f7b1ab2-4d15-428d-80d2-cecb357d8b77 | {
"language": "C#"
} | ```c#
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAna... | ```c#
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAna... |
e462abdd-9935-40f5-a82b-a3e361ba51e7 | {
"language": "C#"
} | ```c#
using System.Runtime.Serialization;
namespace Web.Models
{
[DataContract]
public class RelationshipModel
{
[DataMember]
public string Name { get; set; }
}
}```
Make a whitespace change to test the TeamCity upgrade. | ```c#
using System.Runtime.Serialization;
namespace Web.Models
{
[DataContract]
public class RelationshipModel
{
[DataMember]
public string Name { get; set; }
}
}``` |
250242ce-12b6-4888-9988-db44a92f78ab | {
"language": "C#"
} | ```c#
using System;
using System.Threading;
using NUnit.Framework;
namespace Atata.WebDriverExtras.Tests
{
[TestFixture]
[Parallelizable(ParallelScope.None)]
public class SafeWaitTests
{
private SafeWait<object> wait;
[SetUp]
public void SetUp()
{
wait = ne... | ```c#
using System;
using System.Threading;
using NUnit.Framework;
namespace Atata.WebDriverExtras.Tests
{
[TestFixture]
[Parallelizable(ParallelScope.None)]
public class SafeWaitTests
{
private SafeWait<object> wait;
[SetUp]
public void SetUp()
{
wait = ne... |
3f11d294-0ed6-4c45-86c0-35db221ca4a6 | {
"language": "C#"
} | ```c#
using System;
using Microsoft.Boogie;
using System.Diagnostics;
namespace symbooglix
{
/// <summary>
/// This duplicates Expr accept the identifier expr attached to symbolics
/// </summary>
public class NonSymbolicDuplicator : Duplicator
{
public NonSymbolicDuplicator()
{
... | ```c#
using System;
using Microsoft.Boogie;
using System.Diagnostics;
namespace symbooglix
{
/// <summary>
/// This duplicates Expr accept the identifier expr attached to symbolics
/// </summary>
public class NonSymbolicDuplicator : Duplicator
{
public NonSymbolicDuplicator()
{
... |
7b91ca6c-b85f-449c-8036-368cdd05b34e | {
"language": "C#"
} | ```c#
using System.Reflection;
// General info about the product
[assembly: AssemblyTitle("RestImageResize.EPiServer")]
[assembly: AssemblyProduct("RestImageResize")]
[assembly: AssemblyDescription("Includes required dependences and source code for easily start to use RestImageResize package in EPiServer CMS site.")]... | ```c#
using System.Reflection;
// General info about the product
[assembly: AssemblyTitle("RestImageResize.EPiServer")]
[assembly: AssemblyProduct("RestImageResize")]
[assembly: AssemblyDescription("Includes required dependences and source code for easily start to use RestImageResize package in EPiServer CMS site.")]... |
ad0f0aaf-ef46-4251-a422-2c937c3b2850 | {
"language": "C#"
} | ```c#
using System.Collections.Generic;
using NBitcoin;
namespace MagicalCryptoWallet.Backend
{
public class BlockFilterBuilder
{
private const int P = 20;
public GolombRiceFilter Build(Block block)
{
var key = block.GetHash().ToBytes();
var buffer = new List<byte[]>();
buffer.Add(key);
foreach... | ```c#
using System.Collections.Generic;
using NBitcoin;
namespace MagicalCryptoWallet.Backend
{
public class BlockFilterBuilder
{
private const int P = 20;
private static readonly PayToWitPubKeyHashTemplate P2wpkh = PayToWitPubKeyHashTemplate.Instance;
public GolombRiceFilter Build(Block block)
{
var ke... |
b9db0aa7-871c-485f-b183-c407dfc41057 | {
"language": "C#"
} | ```c#
using OAuth;
namespace Crunch.DotNet.Authorization
{
public static class OAuthTokensExtensions
{
public static string GetAuthorisationHeader(this OAuthTokens tokens, string url, string restMethod, string realm = null)
{
var oauthClient = OAuthRequest.ForProtectedResource(restM... | ```c#
using OAuth;
namespace Crunch.DotNet.Authorization
{
public static class OAuthTokensExtensions
{
public static string GetAuthorisationHeader(this OAuthTokens tokens, string url, string restMethod, string realm = null)
{
var oauthClient = new OAuthRequest
{
... |
7a639b0b-5de2-480b-b4bf-ba648830b101 | {
"language": "C#"
} | ```c#
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using NUnit.Framework;
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Textures;
using osu.Game.Graphics.Sprites;
namesp... | ```c#
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using NUnit.Framework;
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Textures;
using osu.Game.Graphics;
using osu.Game.... |
5930e1ce-cdce-4d7e-8c93-8172d2cd7316 | {
"language": "C#"
} | ```c#
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using NUnit.Framework;
using osu.Framework.Allocation;
using osu.Game.Rulesets.Osu.Beatmaps;
using osu.Game.Screens.Edit;
using osu.Game.Screens.Edit.Timing;
names... | ```c#
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using NUnit.Framework;
using osu.Framework.Allocation;
using osu.Game.Rulesets.Edit;
using osu.Game.Rulesets.Osu.Beatmaps;
using osu.Game.Screens.Edit;
using osu.Ga... |
d68eacfc-f07a-4df2-bdf2-de49daa2a973 | {
"language": "C#"
} | ```c#
@model Portal.CMS.Entities.Entities.Page
@{
ViewBag.Title = Model.PageName;
}
<div id="page-wrapper">
@Html.Partial("/Areas/PageBuilder/Views/Page/_Page.cshtml", Model)
</div>```
Resolve an issue with the FAQ / Spoiler Component where it does not open and close as intended | ```c#
@model Portal.CMS.Entities.Entities.Page
@{
ViewBag.Title = Model.PageName;
}
<div id="page-wrapper" class="visitor">
@Html.Partial("/Areas/PageBuilder/Views/Page/_Page.cshtml", Model)
</div>``` |
00245fab-62f5-4c65-90a0-ee8929dd4967 | {
"language": "C#"
} | ```c#
using System.Collections.Generic;
namespace Ploeh.AutoFixture.Xunit2
{
internal class CustomizeAttributeComparer : Comparer<CustomizeAttribute>
{
public override int Compare(CustomizeAttribute x, CustomizeAttribute y)
{
if (x is FrozenAttribute && !(y is FrozenAttribute))
... | ```c#
using System.Collections.Generic;
namespace Ploeh.AutoFixture.Xunit2
{
internal class CustomizeAttributeComparer : Comparer<CustomizeAttribute>
{
public override int Compare(CustomizeAttribute x, CustomizeAttribute y)
{
var xfrozen = x is FrozenAttribute;
var yfro... |
3c515d54-8580-4d8b-ac18-fc44ea857606 | {
"language": "C#"
} | ```c#
using System.Windows.Input;
using ReactiveUI;
namespace WalletWasabi.Fluent.ViewModels.Dialogs
{
public class TestDialogViewModel : DialogViewModelBase<bool>
{
private NavigationStateViewModel _navigationState;
private string _message;
public TestDialogViewModel(NavigationStateViewModel navigationState,... | ```c#
using System.Windows.Input;
using ReactiveUI;
namespace WalletWasabi.Fluent.ViewModels.Dialogs
{
public class TestDialogViewModel : DialogViewModelBase<bool>
{
private NavigationStateViewModel _navigationState;
private string _message;
public TestDialogViewModel(NavigationStateViewModel navigationState,... |
5651f4ec-e2dc-4c12-8a4d-a5d08c1c5e71 | {
"language": "C#"
} | ```c#
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
#nullable enable
namespace osu.Game.Online.RealtimeMultiplayer
{
public class MultiplayerClientState
{
public long CurrentRoomID { get; set; }
... | ```c#
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
#nullable enable
namespace osu.Game.Online.RealtimeMultiplayer
{
[Serializable]
public class MultiplayerClientState
{
public rea... |
f2e6f04c-aadc-4fdb-8a90-e7c2183a6b8c | {
"language": "C#"
} | ```c#
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NBi.Core.Batch;
using System.Data.SqlClient;
namespace NBi.Core.SqlServer.Smo
{
public class SmoBatchRunnerFactory : IBatchRunnerFatory
{
public IDecoratio... | ```c#
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NBi.Core.Batch;
using System.Data.SqlClient;
namespace NBi.Core.SqlServer.Smo
{
public class SmoBatchRunnerFactory : IBatchRunnerFatory
{
public IDecoratio... |
fb4d6edc-8823-4cbd-9db9-7f6486188419 | {
"language": "C#"
} | ```c#
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Threading.Tasks;
using MbCacheTest.TestData;
using NUnit.Framework;
using SharpTestsEx;
namespace MbCacheTest.Logic.Performance
{
public class CacheMissPerformanceTest : TestCase
{
private ObjectTakes100MsToFill instance;... | ```c#
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Threading.Tasks;
using MbCacheTest.TestData;
using NUnit.Framework;
using SharpTestsEx;
namespace MbCacheTest.Logic.Performance
{
public class CacheMissPerformanceTest : TestCase
{
private ObjectTakes100MsToFill instance;... |
9aa4ab00-173b-4b41-9168-5a9af96804d9 | {
"language": "C#"
} | ```c#
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Collections.Generic;
using Xunit;
namespace System.Globalization.Tests
{
public class Cultur... | ```c#
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Collections.Generic;
using Xunit;
namespace System.Globalization.Tests
{
public class Cultur... |
bd22b645-c7d3-4217-82c3-d2d3985367c3 | {
"language": "C#"
} | ```c#
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using Xunit;
using Xunit.Extensions;
namespace ExpressRunner.TestProject
{
public class ExampleTests
{
[Fact]
public void Should_fail_always()
... | ```c#
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using Xunit;
using Xunit.Extensions;
namespace ExpressRunner.TestProject
{
public class ExampleTests
{
[Fact]
public void Should_fail_always()
... |
99300e99-2f4a-45fa-8017-cebb440c0ea1 | {
"language": "C#"
} | ```c#
using System;
using System.Collections.Generic;
using System.Reactive.Linq;
using System.Reactive.Subjects;
using System.Reflection;
using System.Threading.Tasks;
namespace Glimpse.Agent
{
public class DefaultAgentBroker : IAgentBroker
{
private readonly ISubject<IMessage> _subject;
//... | ```c#
using System;
using System.Collections.Generic;
using System.Reactive.Linq;
using System.Reactive.Subjects;
using System.Reflection;
using System.Threading.Tasks;
namespace Glimpse.Agent
{
public class DefaultAgentBroker : IAgentBroker
{
private readonly ISubject<IMessage> _subject;
//... |
6a9396f0-40bc-41bd-9bf1-213462075ea8 | {
"language": "C#"
} | ```c#
using System;
using System.Collections.Generic;
using System.Linq;
using hw.UnitTest;
namespace Reni.FeatureTest.Reference
{
[TestFixture]
[ArrayReferenceDumpSimple]
[Target(@"
repeat: /\ ^ while() then(^ body(), repeat(^));
o:
/\
{
data: ^ array_reference ;
count: ^ count;
dump_print:... | ```c#
using System;
using System.Collections.Generic;
using System.Linq;
using hw.UnitTest;
namespace Reni.FeatureTest.Reference
{
[TestFixture]
[ArrayReferenceDumpSimple]
[Target(@"
repeat: /\ ^ while() then(^ body(), repeat(^));
o:
/\
{
data: ^ array_reference ;
count: ^ count;
dump_print:... |
b88d38d3-4cfa-4f46-946a-d71c23b669d4 | {
"language": "C#"
} | ```c#
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for details.
using Microsoft.WindowsAzure.MobileServices;
namespace MyDriving.AzureClient
{
public class AzureClient : IAzureClient
{
const string DefaultMobileSe... | ```c#
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for details.
using Microsoft.WindowsAzure.MobileServices;
namespace MyDriving.AzureClient
{
public class AzureClient : IAzureClient
{
const string DefaultMobileSe... |
5413712e-642c-47c1-8c6f-3f314a1f2e9a | {
"language": "C#"
} | ```c#
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework;
using osu.Framework.Allocation;
using osu.Framework.Platform;
using osu.Game.Configuration;
using osu.Game.Updater;
namespace osu.Game.Overla... | ```c#
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework;
using osu.Framework.Allocation;
using osu.Framework.Platform;
using osu.Game.Configuration;
using osu.Game.Updater;
namespace osu.Game.Overla... |
1bb02d96-3eed-46ac-9203-1ce04074237f | {
"language": "C#"
} | ```c#
using System;
using System.Diagnostics;
namespace NRules.Rete
{
[DebuggerDisplay("Fact {Object}")]
internal class Fact
{
private readonly Type _factType;
private readonly object _object;
public Fact()
{
}
public Fact(object @object)
{
... | ```c#
using System;
using System.Diagnostics;
namespace NRules.Rete
{
[DebuggerDisplay("Fact {Object}")]
internal class Fact
{
private readonly Type _factType;
private readonly object _object;
public Fact()
{
}
public Fact(object @object)
{
... |
69f9d032-196e-401e-9e0f-0db1ac4cfd92 | {
"language": "C#"
} | ```c#
using System;
using System.IO;
using ApprovalTests;
using ApprovalTests.Reporters;
using FluentAssertions;
using Xunit;
using Grobid.NET;
using org.apache.log4j;
using org.grobid.core;
namespace Grobid.Test
{
[UseReporter(typeof(DiffReporter))]
public class GrobidTest
{
st... | ```c#
using System;
using System.IO;
using ApprovalTests;
using ApprovalTests.Reporters;
using FluentAssertions;
using Xunit;
using Grobid.NET;
using org.apache.log4j;
using org.grobid.core;
namespace Grobid.Test
{
[UseReporter(typeof(DiffReporter))]
public class GrobidTest
{
st... |
30a2809a-5efe-4b2e-b9d4-fdbfd5619146 | {
"language": "C#"
} | ```c#
// Copyright (c) Alex Ghiondea. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
namespace SmugMug.Shared.Descriptors
{
public class Limits
{
// INFINITY, NEGATIVE_INFINITY, POSITIVE_INFINITY, and numbers
... | ```c#
// Copyright (c) Alex Ghiondea. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
namespace SmugMug.Shared.Descriptors
{
public class Limits
{
// INFINITY, NEGATIVE_INFINITY, POSITIVE_INFINITY, and numbers
... |
24f693f9-5b28-44bb-92c0-a2be087301e3 | {
"language": "C#"
} | ```c#
@model dynamic
<h1>@Html.TitleForPage(T("Welcome to Orchard").ToString())</h1>
<p>@T("This is the place where you can manage your web site, its appearance and its contents. Please take a moment to explore the different menu items on the left of the screen to familiarize yourself with the features of the appl... | ```c#
@model dynamic
<h1>@Html.TitleForPage(T("Welcome to Orchard").ToString())</h1>
<p>@T("This is the place where you can manage your web site, its appearance and its contents. Please take a moment to explore the different menu items on the left of the screen to familiarize yourself with the features of the appl... |
c66672e8-e808-470a-8b74-e50caede4251 | {
"language": "C#"
} | ```c#
using Orchard.ContentManagement.Handlers;
using Orchard.Core.Title.Models;
using Orchard.Data;
namespace Orchard.Core.Title.Handlers {
public class TitlePartHandler : ContentHandler {
public TitlePartHandler(IRepository<TitlePartRecord> repository) {
Filters.Add(StorageFilter.Fo... | ```c#
using Orchard.ContentManagement.Handlers;
using Orchard.Core.Title.Models;
using Orchard.Data;
namespace Orchard.Core.Title.Handlers {
public class TitlePartHandler : ContentHandler {
public TitlePartHandler(IRepository<TitlePartRecord> repository) {
Filters.Add(StorageFilter.Fo... |
bf9d32e0-80e2-481d-b408-f2bb1bb96244 | {
"language": "C#"
} | ```c#
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using PowerChuteCS;
using SensorHost.Shared;
namespace UpsSensor
{
public class UPSSensor : SensorHost.Shared.SensorBase
{
public override IEnumerable<Result> Results()
{
... | ```c#
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using PowerChuteCS;
using SensorHost.Shared;
namespace UpsSensor
{
public class UPSSensor : SensorHost.Shared.SensorBase
{
private PowerChuteData _dataFactory;
public UPSSe... |
fe1060af-b61a-4a7c-8f9f-eb069722ed27 | {
"language": "C#"
} | ```c#
using System;
using Common.Logging;
using Noobot.Core;
using Noobot.Core.Configuration;
using Noobot.Core.DependencyResolution;
namespace Noobot.Runner
{
/// <summary>
/// NoobotHost is required due to TopShelf.
/// </summary>
public class NoobotHost
{
private readonly IConfigReader ... | ```c#
using System;
using Common.Logging;
using Noobot.Core;
using Noobot.Core.Configuration;
using Noobot.Core.DependencyResolution;
namespace Noobot.Runner
{
/// <summary>
/// NoobotHost is required due to TopShelf.
/// </summary>
public class NoobotHost
{
private readonly IConfigReader ... |
fba4d96d-74c2-4ccb-be23-1b3852f31e6d | {
"language": "C#"
} | ```c#
using System;
using System.IO;
using ApprovalTests;
using ApprovalTests.Reporters;
using FluentAssertions;
using Xunit;
using Grobid.NET;
using org.apache.log4j;
using org.grobid.core;
namespace Grobid.Test
{
[UseReporter(typeof(DiffReporter))]
public class GrobidTest
{
st... | ```c#
using System;
using System.IO;
using ApprovalTests;
using ApprovalTests.Reporters;
using FluentAssertions;
using Xunit;
using Grobid.NET;
using org.apache.log4j;
using org.grobid.core;
namespace Grobid.Test
{
[UseReporter(typeof(DiffReporter))]
public class GrobidTest
{
st... |
3a347da2-7e8e-416b-9b05-2261eab438a2 | {
"language": "C#"
} | ```c#
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
namespace ConsoleApp
{
public class Table
{
private readonly string tableName;
private readonly IEnumerable<Column> columns;
public Table(string tableName, IEnumerable<Column> columns)
{
... | ```c#
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
namespace ConsoleApp
{
public class Table
{
private readonly string tableName;
private readonly IEnumerable<Column> columns;
public Table(string tableName, IEnumerable<Column> columns)
{
... |
a6886096-dd0f-45e1-915a-7d83094a9705 | {
"language": "C#"
} | ```c#
using UnityEngine;
using System.Collections;
public class Player : MonoBehaviour {
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
if (Input.GetMouseButtonDown(0)) {
// TODO: place tower
}
}
}
```
Add methods to buy stuff | ```c#
using UnityEngine;
using System.Collections;
public class Player : MonoBehaviour {
private int money = 500;
public int GetMoney () {
return money;
}
public bool Buy (int price) {
if (price > money) {
return false;
}
money -= price;
return true;
}
// Update is called once per frame
void... |
cf498906-2469-4cc9-a678-e0ec191a578e | {
"language": "C#"
} | ```c#
using System;
using System.Collections.Generic;
using System.Linq;
namespace Arkivverket.Arkade.Core.Noark5
{
public class ReadElementEventArgs : EventArgs
{
public string Name { get; set; }
public string Value { get; set; }
public ElementPath Path { get; set; }
public Re... | ```c#
using System;
using System.Collections.Generic;
using System.Linq;
namespace Arkivverket.Arkade.Core.Noark5
{
public class ReadElementEventArgs : EventArgs
{
public string Name { get; set; }
public string Value { get; set; }
public ElementPath Path { get; set; }
public Re... |
c37bdf93-7123-438b-bfbe-d010ae2870df | {
"language": "C#"
} | ```c#
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Windows;
namespace Stylet.Samples.OverridingViewManager
{
[AttributeUsage(AttributeTargets.Class, Inherited = false, AllowMultiple = false)]
sealed class ViewModelAttribute : Attribute
{
... | ```c#
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Windows;
namespace Stylet.Samples.OverridingViewManager
{
[AttributeUsage(AttributeTargets.Class, Inherited = false, AllowMultiple = false)]
sealed class ViewModelAttribute : Attribute
{
... |
a64bbff2-6297-49df-9fa7-c9243f220fa6 | {
"language": "C#"
} | ```c#
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Crevice.GestureMachine
{
using System.Threading;
using System.Drawing;
using Crevice.Core.FSM;
using Crevice.Core.Events;
using Crevice.Threading;
public class N... | ```c#
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Crevice.GestureMachine
{
using System.Threading;
using System.Drawing;
using Crevice.Core.FSM;
using Crevice.Core.Events;
using Crevice.Threading;
public class N... |
7ecd21db-c858-4a77-8907-e18ae591bacc | {
"language": "C#"
} | ```c#
using System.Web.Http;
using System.Web.Mvc;
using System.Web.Optimization;
using System.Web.Routing;
using Newtonsoft.Json;
using Newtonsoft.Json.Serialization;
namespace Presentation.Web
{
// Note: For instructions on enabling IIS6 or IIS7 classic mode,
// visit http://go.microsoft.com/?LinkId=939480... | ```c#
using System.Data.Entity;
using System.Web.Http;
using System.Web.Mvc;
using System.Web.Optimization;
using System.Web.Routing;
using Infrastructure.DataAccess;
using Newtonsoft.Json;
using Newtonsoft.Json.Serialization;
namespace Presentation.Web
{
// Note: For instructions on enabling IIS6 or IIS7 classic... |
68917508-02e4-4e56-9733-5d922b755afa | {
"language": "C#"
} | ```c#
// Copyright (c) Umbraco.
// See LICENSE for more details.
using System.Collections.Generic;
namespace Umbraco.Cms.Core.Configuration.Models
{
/// <summary>
/// Typed configuration options for the plugins.
/// </summary>
[UmbracoOptions(Constants.Configuration.ConfigPlugins)]
public class Um... | ```c#
// Copyright (c) Umbraco.
// See LICENSE for more details.
using System.Collections.Generic;
namespace Umbraco.Cms.Core.Configuration.Models
{
/// <summary>
/// Typed configuration options for the plugins.
/// </summary>
[UmbracoOptions(Constants.Configuration.ConfigPlugins)]
public class Um... |
e4eee3a3-a4e7-4733-b609-b2dcf69772fb | {
"language": "C#"
} | ```c#
// *****************************************************
// CIXReader
// Constants_Windows.cs
//
// Author: Steve Palmer (spalmer@cix)
//
// Created: 21/06/2015 11:02
//
// Copyright (C) 2013-2015 CIX Online Ltd. All Rights Reserved.
// *****************************************************
namespace CIXRead... | ```c#
// *****************************************************
// CIXReader
// Constants_Windows.cs
//
// Author: Steve Palmer (spalmer@cix)
//
// Created: 21/06/2015 11:02
//
// Copyright (C) 2013-2015 CIX Online Ltd. All Rights Reserved.
// *****************************************************
namespace CIXRead... |
580ded24-1f11-4f9b-a8df-58026d740cf7 | {
"language": "C#"
} | ```c#
using DEX.Models;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace DEX.Controllers
{
public class ContactController : Controller
{
private ApplicationDbContext db = new ApplicationDbContext();
... | ```c#
using DEX.Models;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace DEX.Controllers
{
public class ContactController : Controller
{
private ApplicationDbContext db = new ApplicationDbContext();
... |
ed66236d-a17f-44f1-a3de-c759c4534fa5 | {
"language": "C#"
} | ```c#
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System.Collections.Generic;
using Newtonsoft.Json;
namespace osu.Game.Rulesets.Difficulty
{
public class PerformanceAttributes
{
/// <summar... | ```c#
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System.Collections.Generic;
using Newtonsoft.Json;
namespace osu.Game.Rulesets.Difficulty
{
public class PerformanceAttributes
{
/// <summar... |
75aefa29-9349-4f35-8034-8fa9b0ecd0f5 | {
"language": "C#"
} | ```c#
namespace NuGetGallery.Migrations
{
using System.Data.Entity.Migrations;
public partial class CuratedFeedPackageUniqueness : DbMigration
{
public override void Up()
{
// DELETE duplicate CuratedPackages from the database
// Trying to prefer keeping duplicat... | ```c#
namespace NuGetGallery.Migrations
{
using System.Data.Entity.Migrations;
public partial class CuratedFeedPackageUniqueness : DbMigration
{
public override void Up()
{
// ADD uniqueness constraint - as an Index, since it seems reasonable to look up curated package entri... |
72ba8dca-bdff-458b-8c06-c73f7cfa3e5f | {
"language": "C#"
} | ```c#
using System;
using System.Collections.Generic;
namespace CertiPay.Common.Notifications
{
public class Notification
{
public String Content { get; set; }
public ICollection<String> Recipients { get; set; }
public Notification()
{
this.Recipients = new List<S... | ```c#
using System;
using System.Collections.Generic;
namespace CertiPay.Common.Notifications
{
/// <summary>
/// Describes the base notification content required to send
/// </summary>
public class Notification
{
/// <summary>
/// The content of the message
/// </summary>
... |
58af233b-1499-44aa-bd4e-a5fe695a50d6 | {
"language": "C#"
} | ```c#
using HOLMS.Types.Booking.Indicators;
using HOLMS.Types.Extensions;
using HOLMS.Types.Primitive;
namespace HOLMS.Types.Booking {
public partial class CancellationPolicy : EntityDTO<CancellationPolicyIndicator> {
public CancellationPolicy(CancellationPolicyIndicator id, string description,
... | ```c#
using HOLMS.Types.Booking.Indicators;
using HOLMS.Types.Extensions;
using HOLMS.Types.Primitive;
namespace HOLMS.Types.Booking {
public partial class CancellationPolicy : EntityDTO<CancellationPolicyIndicator> {
public CancellationPolicy(CancellationPolicyIndicator id, string description,
... |
67de7ebc-dec6-48b0-bb04-e83d40a48f9c | {
"language": "C#"
} | ```c#
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using osu.Framework.Configuration.Tracking;
using osu.Game.Configuration;
using osu.Game.Rulesets.Configuration;
using osu.Game.Rulesets.Mania.UI;
namespace osu.... | ```c#
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using osu.Framework.Configuration.Tracking;
using osu.Game.Configuration;
using osu.Game.Rulesets.Configuration;
using osu.Game.Rulesets.Mania.UI;
namespace osu.... |
8db9b7cc-a842-476e-ada6-6d74fe54edc2 | {
"language": "C#"
} | ```c#
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Game.Online.API.Requests.Responses;
namespace osu.Game.Overlays.Changelog
{
public class ChangelogUpdateStreamControl : OverlayStreamControl<APIUpda... | ```c#
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Game.Online.API.Requests.Responses;
namespace osu.Game.Overlays.Changelog
{
public class ChangelogUpdateStreamControl : OverlayStreamControl<APIUpda... |
e6bc0e4c-0c96-4b06-a446-ec50625582ae | {
"language": "C#"
} | ```c#
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Threading;
namespace BulkWriter.Pipeline.Internal
{
internal class StartEtlPipelineStep<TIn> : EtlPipelineStep<TIn, TIn>
{
public StartEtlPipelineStep(EtlPipelineContext pipelineContext, IEnumerable<TIn> enumerab... | ```c#
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Threading;
namespace BulkWriter.Pipeline.Internal
{
internal class StartEtlPipelineStep<TIn> : EtlPipelineStep<TIn, TIn>
{
private readonly IEnumerable<TIn> _inputEnumerable;
public StartEtlPipelineStep(... |
9179e1da-146b-4ae6-a5f1-11cb0e346837 | {
"language": "C#"
} | ```c#
namespace Mos6510.Instructions
{
public enum Opcode
{
Inx,
Iny,
Nop,
And,
Ora,
Eor,
Adc,
Clc,
Lda,
Sbc,
Sta,
Ldx,
Ldy,
}
}
```
Add all opcodes to the enum | ```c#
namespace Mos6510.Instructions
{
public enum Opcode
{
Adc, // Add Memory to Accumulator with Carry
And, // "AND" Memory with Accumulator
Asl, // Shift Left One Bit (Memory or Accumulator)
Bcc, // Branch on Carry Clear
Bcs, // Branch on Carry Set
Beq, // Branch on Result Zero
Bit, /... |
a4c401a7-77fd-48fd-8c4b-64ff944c941e | {
"language": "C#"
} | ```c#
using System;
using Newtonsoft.Json;
using Newtonsoft.Json.Serialization;
namespace Omise.Models
{
public class ScheduleOnRequest : Request
{
[JsonProperty("weekdays")]
public Weekdays[] Weekdays { get; set; }
[JsonProperty("days_of_month")]
public int[] DaysOfMonth { get;... | ```c#
using System;
using Newtonsoft.Json;
using Newtonsoft.Json.Serialization;
namespace Omise.Models
{
public class ScheduleOnRequest : Request
{
[JsonProperty("weekdays")]
public Weekdays[] Weekdays { get; set; }
[JsonProperty("days_of_month")]
public int[] DaysOfMonth { get;... |
7acd93ea-f99e-4bca-b016-2c24c886caf8 | {
"language": "C#"
} | ```c#
#if NET35 || UAP
using System;
namespace System.Diagnostics.CodeAnalysis
{
[AttributeUsage(AttributeTargets.All, AllowMultiple = false, Inherited = false)]
public class ExcludeFromCodeCoverageAttribute : Attribute
{
}
}
#endif```
Make ExcludeFromCodeCoverage compatibility stub internal | ```c#
#if NET35 || UAP
using System;
namespace System.Diagnostics.CodeAnalysis
{
[AttributeUsage(AttributeTargets.All, AllowMultiple = false, Inherited = false)]
internal class ExcludeFromCodeCoverageAttribute : Attribute
{
}
}
#endif``` |
229d9ef9-f8a1-42a3-be3a-b41060ebe66f | {
"language": "C#"
} | ```c#
using System;
using System.Threading.Tasks;
using Abp.Domain.Repositories;
using Abp.Domain.Uow;
using Abp.EntityFrameworkCore.Tests.Domain;
using Microsoft.EntityFrameworkCore;
using Shouldly;
using Xunit;
namespace Abp.EntityFrameworkCore.Tests
{
public class Transaction_Tests : EntityFrameworkCoreModuleTe... | ```c#
using System;
using System.Threading.Tasks;
using Abp.Domain.Repositories;
using Abp.Domain.Uow;
using Abp.EntityFrameworkCore.Tests.Domain;
using Microsoft.EntityFrameworkCore;
using Shouldly;
namespace Abp.EntityFrameworkCore.Tests
{
//WE CAN NOT TEST TRANSACTIONS SINCE INMEMORY DB DOES NOT SUPPORT IT! TOD... |
650c38fe-b033-4ba6-88e2-ee8ed290f026 | {
"language": "C#"
} | ```c#
using Newtonsoft.Json;
namespace Alexa.NET.Response
{
public class CardImage
{
[JsonProperty("smallImageUrl")]
[JsonRequired]
public string SmallImageUrl { get; set; }
[JsonProperty("largeImageUrl")]
[JsonRequired]
public string LargeImageUrl { get; set; ... | ```c#
using Newtonsoft.Json;
namespace Alexa.NET.Response
{
public class CardImage
{
[JsonProperty("smallImageUrl",NullValueHandling = NullValueHandling.Ignore)]
public string SmallImageUrl { get; set; }
[JsonProperty("largeImageUrl", NullValueHandling = NullValueHandling.Ignore)]
... |
95a5d59a-e40a-4746-8990-9480017226a7 | {
"language": "C#"
} | ```c#
@{
ViewBag.Title = "Configuration Settings for Spring Cloud Config Server";
}
<h2>@ViewBag.Title.</h2>
<h4>spring:cloud:config:enabled = @ViewBag.Enabled</h4>
<h4>spring:cloud:config:env = @ViewBag.Environment</h4>
<h4>spring:cloud:config:failFast = @ViewBag,FailFast</h4>
<h4>spring:cloud:config:name = @Vie... | ```c#
@{
ViewBag.Title = "Configuration Settings for Spring Cloud Config Server";
}
<h2>@ViewBag.Title.</h2>
<h4>spring:cloud:config:enabled = @ViewBag.Enabled</h4>
<h4>spring:cloud:config:env = @ViewBag.Environment</h4>
<h4>spring:cloud:config:failFast = @ViewBag.FailFast</h4>
<h4>spring:cloud:config:name = @Vie... |
d2c648f9-6d81-454e-9d9c-5a6763d67cf7 | {
"language": "C#"
} | ```c#
using System.Collections.Generic;
using System.Linq;
using Microsoft.AspNet.Http;
namespace Glimpse.Agent.Web
{
public class DefaultRequestIgnorerManager : IRequestIgnorerManager
{
public DefaultRequestIgnorerManager(IExtensionProvider<IRequestIgnorer> requestIgnorerProvider, IHttpContextAccesso... | ```c#
using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.AspNet.Http;
namespace Glimpse.Agent.Web
{
public class DefaultRequestIgnorerManager : IRequestIgnorerManager
{
public DefaultRequestIgnorerManager(IExtensionProvider<IRequestIgnorer> requestIgnorerProvider, IHttp... |
16e3b66f-1c4d-46ae-a60c-ac2f2e09184c | {
"language": "C#"
} | ```c#
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
namespace Ignition.Foundation.Core.Automap
{
public static class IgnitionAutomapHelper
{
public static IEnumerable<Assembly> GetAutomappedAssemblies()
{
var automappedAssemblies = Assembly.GetExecutingA... | ```c#
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
namespace Ignition.Foundation.Core.Automap
{
public static class IgnitionAutomapHelper
{
public static IEnumerable<Assembly> GetAutomappedAssemblies()
{
var automappedAssemblies = Assembly.GetExecutingA... |
f5fb435c-ca3f-4378-97cc-4426b3fbbe4d | {
"language": "C#"
} | ```c#
using UnityEngine;
public class GameController : MonoBehaviour
{
GlobalGame game;
public float previewTime, previewTimer, confirmTime, confirmTimer;
public GlobalGame Game
{
get { return game; }
set { game = value; }
}
public void Confirm()
{
game.Confirm();... | ```c#
using UnityEngine;
public class GameController : MonoBehaviour
{
GlobalGame game;
public float previewTime, previewTimer, confirmTime, confirmTimer;
public GlobalGame Game
{
get { return game; }
set { game = value; }
}
public void Confirm()
{
game.Confirm();... |
05b8e202-64fa-4a90-9df0-8431969c8b92 | {
"language": "C#"
} | ```c#
using System;
using System.Threading.Tasks;
using System.Xml.Serialization;
using LtiLibrary.Core.Outcomes.v1;
using Microsoft.AspNetCore.Mvc.ModelBinding;
using System.IO;
namespace LtiLibrary.AspNet.Outcomes.v1
{
public class ImsxXmlMediaTypeModelBinder : IModelBinder
{
private static readonly... | ```c#
using LtiLibrary.Core.Outcomes.v1;
using Microsoft.AspNetCore.Mvc.ModelBinding;
using System;
using System.IO;
using System.Threading.Tasks;
using System.Xml.Serialization;
namespace LtiLibrary.AspNet.Outcomes.v1
{
/// <summary>
/// Use this ModelBinder to deserialize imsx_POXEnvelopeRequest XML. For ex... |
33a6aef1-cbca-4d10-bc8e-38da413dae58 | {
"language": "C#"
} | ```c#
using System;
using Lloyd.AzureMailGateway.Models;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
namespace Lloyd.AzureMailGateway.Core.JsonConverters
{
public class AddressConverter : JsonConverter
{
public override bool CanConvert(Type objectType) => (objectType == typeof(Address));
... | ```c#
using System;
using Lloyd.AzureMailGateway.Models;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
namespace Lloyd.AzureMailGateway.Core.JsonConverters
{
public class AddressConverter : JsonConverter
{
public override bool CanConvert(Type objectType) => (objectType == typeof(Address));
... |
d3281cc5-4683-4c0c-b681-335d038e6994 | {
"language": "C#"
} | ```c#
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Allocation;
namespace TemplateGame.Game
{
public class TemplateGameGame : osu.Framework.Game
{
[BackgroundDependencyLoader]
... | ```c#
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Shapes;
using osuTK;
using osuTK.Graphics;
namespace TemplateGame.Game
... |
0ba0e528-0966-4788-8020-536a06ad6ae5 | {
"language": "C#"
} | ```c#
using System.IO;
using NServiceBus.Persistence.Sql.ScriptBuilder;
class SubscriptionWriter
{
public static void WriteSubscriptionScript(string scriptPath, BuildSqlDialect sqlDialect)
{
var createPath = Path.Combine(scriptPath, "Subscription_Create.sql");
File.Delete(createPath);
... | ```c#
using System.IO;
using NServiceBus.Persistence.Sql.ScriptBuilder;
class SubscriptionWriter
{
public static void WriteSubscriptionScript(string scriptPath, BuildSqlDialect sqlDialect)
{
var createPath = Path.Combine(scriptPath, "Subscription_Create.sql");
File.Delete(createPath);
... |
9661bd8b-97f9-4fde-abf5-f91d31e88560 | {
"language": "C#"
} | ```c#
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NFluent;
using NUnit.Framework;
namespace AppVeyorServices.IntegrationTests
{
[TestFixture]
public class AppVeyorGatewayTests
{
[Test]
public void GetProjects_A... | ```c#
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NFluent;
using NUnit.Framework;
namespace AppVeyorServices.IntegrationTests
{
[TestFixture]
public class AppVeyorGatewayTests
{
[Test]
public void GetProjects_A... |
f3c24473-db5e-4e8c-b664-d503494b2cc9 | {
"language": "C#"
} | ```c#
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace ASPVariables
{
public partial class SessionResultsPage : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
... | ```c#
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace ASPVariables
{
public partial class SessionResultsPage : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
... |
e5affc60-cb33-4717-9ed9-844b543c2b29 | {
"language": "C#"
} | ```c#
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Allocation;
using osu.Framework.Configuration;
using osu.Framework.Graphics;
namespace osu.Game.Overlays.Settings.Sections.Debug
{
public ... | ```c#
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Allocation;
using osu.Framework.Configuration;
using osu.Framework.Graphics;
namespace osu.Game.Overlays.Settings.Sections.Debug
{
public ... |
0e396455-c7d6-422c-9581-add2722c6052 | {
"language": "C#"
} | ```c#
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using WhatsMyRun.Services.DataRequestor;
using Moq;
using WhatsMyRun.Services.DataProviders.Workouts;
using System.Threading.Tasks;
using System.IO;
using System.Reflection;
namespace WhatsMyRun.Tests
{
[TestClass]
public class WorkoutDat... | ```c#
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using WhatsMyRun.Services.DataRequestor;
using Moq;
using WhatsMyRun.Services.DataProviders.Workouts;
using System.Threading.Tasks;
using System.IO;
using System.Reflection;
namespace WhatsMyRun.Tests
{
[TestClass]
public class WorkoutDat... |
0188a61b-888f-4d73-be10-b28fd54b3391 | {
"language": "C#"
} | ```c#
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Apollo.Data.ResultModels;
using Dapper;
namespace Apollo.Data
{
public interface IJournalDataService
{
Task<IReadOnlyList<JournalEntry>> GetAllJournalEntries();
Task CreateJournalEntry(JournalEntry e... | ```c#
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Apollo.Data.ResultModels;
using Dapper;
namespace Apollo.Data
{
public interface IJournalDataService
{
Task<IReadOnlyList<JournalEntry>> GetAllJournalEntries();
Task CreateJournalEntry(JournalEntry e... |
fbdd2c73-708b-4961-97dd-ca1321853aed | {
"language": "C#"
} | ```c#
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
namespace osu.Framework.Timing
{
/// <summary>
/// A clock which will only update its current time when a frame proces is triggered.
/// Useful for kee... | ```c#
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
namespace osu.Framework.Timing
{
/// <summary>
/// A clock which will only update its current time when a frame proces is triggered.
/// Useful for kee... |
314e00bf-e2de-4b03-a8a6-6620e71b6b74 | {
"language": "C#"
} | ```c#
using System;
using System.Collections.Generic;
namespace NQuery.Language
{
public sealed class ExpressionSelectColumnSyntax : SelectColumnSyntax
{
private readonly ExpressionSyntax _expression;
private readonly AliasSyntax _alias;
private readonly SyntaxToken? _commaToken;
... | ```c#
using System;
using System.Collections.Generic;
namespace NQuery.Language
{
public sealed class ExpressionSelectColumnSyntax : SelectColumnSyntax
{
private readonly ExpressionSyntax _expression;
private readonly AliasSyntax _alias;
public ExpressionSelectColumnSyntax(ExpressionSy... |
600d6c83-c63c-4fe4-a943-e3d4cf8a3dbd | {
"language": "C#"
} | ```c#
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.Sprites;
using osu.Framework.Gr... | ```c#
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.Textures;
using osu.Game.Skinni... |
b263f214-87a7-4c22-b65f-7b71ad32d761 | {
"language": "C#"
} | ```c#
using Microsoft.Owin.Hosting;
using System;
using System.Net.Http;
using System.Net.WebSockets;
using System.Text;
using System.Threading;
using Owin.WebSocket;
using Owin.WebSocket.Extensions;
using System.Threading.Tasks;
namespace Containerizer
{
public class Program
{
static void Main(string... | ```c#
using Microsoft.Owin.Hosting;
using System;
using System.Net.Http;
using System.Net.WebSockets;
using System.Text;
using System.Threading;
using Owin.WebSocket;
using Owin.WebSocket.Extensions;
using System.Threading.Tasks;
namespace Containerizer
{
public class Program
{
static void Main(string... |
7ad53782-2271-48ca-94fe-c3fd0c90124c | {
"language": "C#"
} | ```c#
/*Problem 1. Exchange If Greater
Write an if-statement that takes two double variables a and b and exchanges their values if the first one
is greater than the second one. As a result print the values a and b, separated by a space.
Examples:
a b result
5 2 2 5
3 4 3 4
5.5 ... | ```c#
/*Problem 1. Exchange If Greater
Write an if-statement that takes two double variables a and b and exchanges their values if the first one
is greater than the second one. As a result print the values a and b, separated by a space.
Examples:
a b result
5 2 2 5
3 4 3 4
5.5 ... |
641d326d-19e7-4c6c-aa59-bb69696e5e9e | {
"language": "C#"
} | ```c#
@using Humanizer
@model FilesOverviewModel
@{
ViewBag.Title = "Uploaded file overview";
}
<h2>@ViewBag.Title</h2>
@{
var sortedFiles = Model.Files.OrderBy(x => x.Metadata.OriginalFileName);
}
<table class="table table-striped">
<thead>
<tr>
<th>ID</th>
<th>File name</th>
... | ```c#
@using Humanizer
@model FilesOverviewModel
@{
ViewBag.Title = "Uploaded file overview";
}
<h2>@ViewBag.Title</h2>
@{
var sortedFiles = Model.Files.OrderBy(x => x.Metadata.OriginalFileName);
}
<table class="table table-striped">
<thead>
<tr>
<th>ID</th>
<th>File name</th>
... |
429325c7-ff31-4041-94fc-b56652203d1c | {
"language": "C#"
} | ```c#
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using System.Windows;
namespace MicroMVVM
{
public static class ViewLocator
{
public static UIElement LocateForModel(... | ```c#
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using System.Windows;
namespace MicroMVVM
{
public static class ViewLocator
{
public static UIElement LocateForModel(... |
42f59fd3-f0d6-4100-8ab8-82a4ffd5b366 | {
"language": "C#"
} | ```c#
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Allocation;
using osu.Framework.Bindables;
using osu.Framework.Graphics;
using osu.Framework.Localisation;
using osu.Game.Configuration;
using o... | ```c#
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Localisation;
using osu.Game.Configuration;
using osu.Game.Localisation;
namespac... |
744e460b-84d2-4ef2-98e0-00c22cf49993 | {
"language": "C#"
} | ```c#
using UnityEditor;
using UnityEngine;
namespace SpaceTrader.Util.EditorUtil {
public static class AspectRatioLayoutSwitcherEditor {
[MenuItem("SpaceTrader/Refresh All Layout Switchers")]
private static void RefreshAllSwitchersInScene() {
var switchers = Object.FindObjectsOfType<A... | ```c#
using UnityEditor;
using UnityEngine;
namespace SpaceTrader.Util.EditorUtil {
public static class AspectRatioLayoutSwitcherEditor {
[MenuItem("Tools/SpaceTrader/Refresh All Layout Switchers")]
private static void RefreshAllSwitchersInScene() {
var switchers = Object.FindObjectsOf... |
6b97794b-17dd-4e8f-a18f-4ce267509d62 | {
"language": "C#"
} | ```c#
using System;
using System.Data;
using System.Text;
using NHibernate.Engine;
using NExpression = NHibernate.Expression;
using NHibernate.SqlCommand;
using NHibernate.Type;
using NHibernate.DomainModel;
using NUnit.Framework;
namespace NHibernate.Test.ExpressionTest
{
/// <summary>
/// Summary description for... | ```c#
using System;
using System.Data;
using System.Text;
using NHibernate.Engine;
using NExpression = NHibernate.Expression;
using NHibernate.SqlCommand;
using NHibernate.Type;
using NHibernate.DomainModel;
using NUnit.Framework;
namespace NHibernate.Test.ExpressionTest
{
/// <summary>
/// Summary description for... |
dca2d728-a67b-48ec-8c7b-1ceb2b34adfd | {
"language": "C#"
} | ```c#
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
namespace DummyConsoleApp
{
public class Program
{
static void Main(string[] args)
{
var exitCodeToReturn = int.Parse(args[0]);
var millisecondsToSleep = int.Parse(args[1]);... | ```c#
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
namespace DummyConsoleApp
{
public class Program
{
static void Main(string[] args)
{
int exitCodeToReturn = int.Parse(args[0]);
int millisecondsToSleep = int.Parse(args[1]);... |
c30dc15f-3b01-4113-86d2-1bf278bce001 | {
"language": "C#"
} | ```c#
using System;
using Glimpse.Agent.Web.Options;
using Microsoft.Framework.OptionsModel;
namespace Glimpse.Agent.Web
{
public class GlimpseAgentWebOptionsSetup : ConfigureOptions<GlimpseAgentWebOptions>
{
public GlimpseAgentWebOptionsSetup() : base(ConfigureGlimpseAgentWebOptions)
{
... | ```c#
using System;
using Glimpse.Agent.Web.Options;
using Microsoft.Framework.OptionsModel;
namespace Glimpse.Agent.Web
{
public class GlimpseAgentWebOptionsSetup : ConfigureOptions<GlimpseAgentWebOptions>
{
public GlimpseAgentWebOptionsSetup() : base(ConfigureGlimpseAgentWebOptions)
{
... |
d39be804-a68e-438f-90a6-d63351612f05 | {
"language": "C#"
} | ```c#
using System;
using System.Data;
using System.Text;
using NHibernate.Engine;
using NExpression = NHibernate.Expression;
using NHibernate.SqlCommand;
using NHibernate.Type;
using NHibernate.DomainModel;
using NUnit.Framework;
namespace NHibernate.Test.ExpressionTest
{
/// <summary>
/// Summary description for... | ```c#
using System;
using System.Data;
using System.Text;
using NHibernate.Engine;
using NExpression = NHibernate.Expression;
using NHibernate.SqlCommand;
using NHibernate.Type;
using NHibernate.DomainModel;
using NUnit.Framework;
namespace NHibernate.Test.ExpressionTest
{
/// <summary>
/// Summary description for... |
551043bd-6eb5-4b4a-ab45-ff0256aff352 | {
"language": "C#"
} | ```c#
using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel.Syndication;
using System.Web;
using Firehose.Web.Infrastructure;
namespace Firehose.Web.Authors
{
public class ThomasRayner : IAmAMicrosoftMVP
{
public string FirstName => "Thomas";
public string... | ```c#
using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel.Syndication;
using System.Web;
using Firehose.Web.Infrastructure;
namespace Firehose.Web.Authors
{
public class ThomasRayner : IWorkAtMicrosoft
{
public string FirstName => "Thomas";
public string... |
69d52c8e-33ed-4300-91ec-39e00766d7a3 | {
"language": "C#"
} | ```c#
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTit... | ```c#
using Cake.Core.Annotations;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an ass... |
96aeaec1-eee4-4bbd-899a-9ca07ddae357 | {
"language": "C#"
} | ```c#
using System;
using IFVM.Core;
namespace IFVM.Glulx
{
public class GlulxMachine : Machine
{
public GlulxHeader Header { get; }
public GlulxMachine(Memory memory) : base(memory)
{
this.Header = new GlulxHeader(memory);
VerifyChecksum(memory, this.Header.C... | ```c#
using System;
using IFVM.Core;
namespace IFVM.Glulx
{
public class GlulxMachine : Machine
{
public GlulxHeader Header { get; }
public GlulxMachine(Memory memory) : base(memory)
{
this.Header = new GlulxHeader(memory);
VerifyChecksum(memory, this.Header.C... |
e7fbb028-d2e5-46e4-a565-e0c3b72342b0 | {
"language": "C#"
} | ```c#
namespace DanTup.DartVS.ProjectSystem
{
using System.ComponentModel;
using System.Runtime.InteropServices;
using Microsoft.VisualStudio.Project;
using prjBuildAction = VSLangProj.prjBuildAction;
[ComVisible(true)]
public class DartFileNodeProperties : FileNodeProperties
{
pub... | ```c#
namespace DanTup.DartVS.ProjectSystem
{
using System.ComponentModel;
using System.Runtime.InteropServices;
using Microsoft.VisualStudio.Project;
using prjBuildAction = VSLangProj.prjBuildAction;
[ComVisible(true)]
public class DartFileNodeProperties : FileNodeProperties
{
pub... |
388ce91d-bf65-4381-9ab7-f59301cb306b | {
"language": "C#"
} | ```c#
using System.Collections.Generic;
using System.Linq;
using DirigoEdgeCore.Data.Entities;
using DirigoEdgeCore.Models;
public class RedirectViewModel : DirigoBaseModel
{
public List<Redirect> Redirects;
public List<string> Pages = new List<string>();
public RedirectViewModel()
{
Bookmark... | ```c#
using System.Collections.Generic;
using System.Linq;
using DirigoEdgeCore.Data.Entities;
using DirigoEdgeCore.Models;
public class RedirectViewModel : DirigoBaseModel
{
public List<Redirect> Redirects;
public List<string> Pages = new List<string>();
public RedirectViewModel()
{
Bookmark... |
e7afddbc-cc67-434e-befd-b2079020c4a9 | {
"language": "C#"
} | ```c#
using Utf8Json;
namespace Nest
{
internal class IndexNameFormatter : IJsonFormatter<IndexName>
{
public IndexName Deserialize(ref JsonReader reader, IJsonFormatterResolver formatterResolver)
{
if (reader.GetCurrentJsonToken() != JsonToken.String) return null;
IndexName indexName = reader.ReadString... | ```c#
using Utf8Json;
namespace Nest
{
internal class IndexNameFormatter : IJsonFormatter<IndexName>, IObjectPropertyNameFormatter<IndexName>
{
public IndexName Deserialize(ref JsonReader reader, IJsonFormatterResolver formatterResolver)
{
if (reader.GetCurrentJsonToken() != JsonToken.String) return null;
... |
60e4aaf3-1fe2-4c4d-b79c-f9b852eb3b63 | {
"language": "C#"
} | ```c#
using System;
using System.IO;
using System.Windows.Forms;
namespace MusicRandomizer
{
public partial class VersionRequestForm : Form
{
public SplatoonRegion chosenRegion;
public VersionRequestForm()
{
InitializeComponent();
}
private ... | ```c#
using System;
using System.IO;
using System.Windows.Forms;
namespace MusicRandomizer
{
public partial class VersionRequestForm : Form
{
public SplatoonRegion chosenRegion;
public VersionRequestForm()
{
InitializeComponent();
}
private ... |
895d62e4-b08c-4bea-86d0-d61d694ba96b | {
"language": "C#"
} | ```c#
using System.Data;
using System.Data.SqlClient;
using SimpleAzureTraceListener.Listeners.Base;
using SimpleAzureTraceListener.Models;
namespace SimpleAzureTraceListener.Listeners
{
public class AzureSqlTraceListener : AzureTraceListener
{
private readonly string _tableName;
pri... | ```c#
using System;
using System.Data;
using System.Data.SqlClient;
using SimpleAzureTraceListener.Listeners.Base;
using SimpleAzureTraceListener.Models;
namespace SimpleAzureTraceListener.Listeners
{
public class AzureSqlTraceListener : AzureTraceListener
{
private readonly string _tableNam... |
ebc6ddd4-466e-4778-a325-cd0b9034f40a | {
"language": "C#"
} | ```c#
using SnakeApp.Models;
using System;
using System.Threading.Tasks;
namespace SnakeApp
{
public class GameController
{
public async Task StartNewGame()
{
var game = new Game(80, 25, 5, 100);
game.Start();
ConsoleKeyInfo userInput = new ConsoleKeyInfo();
do
{
userInput = Console.ReadKey(... | ```c#
using SnakeApp.Models;
using System;
using System.Threading.Tasks;
namespace SnakeApp
{
public class GameController
{
public async Task StartNewGame()
{
PrepareConsole();
var game = new Game(80, 25, 5, 100);
game.Start();
ConsoleKeyInfo userInput = new ConsoleKeyInfo();
do
{
userIn... |
065c3f55-a708-472b-9892-756ceb15e1c0 | {
"language": "C#"
} | ```c#
using System;
namespace PcscDotNet
{
public static class Pcsc<TIPcscProvider> where TIPcscProvider : class, IPcscProvider, new()
{
private static readonly Pcsc _instance = new Pcsc(new TIPcscProvider());
public static Pcsc Instance => _instance;
public static PcscContext CreateC... | ```c#
using System;
namespace PcscDotNet
{
public static class Pcsc<TIPcscProvider> where TIPcscProvider : class, IPcscProvider, new()
{
private static readonly Pcsc _instance = new Pcsc(new TIPcscProvider());
public static Pcsc Instance => _instance;
public static PcscContext CreateC... |
f4be4c57-4cc8-4a1f-954f-dc36e6d878ac | {
"language": "C#"
} | ```c#
using Microsoft.PowerShell.EditorServices.Protocol.MessageProtocol;
using Newtonsoft.Json.Linq;
namespace Microsoft.PowerShell.EditorServices.Protocol.LanguageServer
{
public class CodeActionRequest
{
public static readonly
RequestType<CodeActionParams, CodeActionCommand[], object, o... | ```c#
using Microsoft.PowerShell.EditorServices.Protocol.MessageProtocol;
using Newtonsoft.Json.Linq;
namespace Microsoft.PowerShell.EditorServices.Protocol.LanguageServer
{
public class CodeActionRequest
{
public static readonly
RequestType<CodeActionParams, CodeActionCommand[], object, T... |
a81c90af-fd09-46c2-87b5-8bc08ba4e4e1 | {
"language": "C#"
} | ```c#
using System.Net.Http;
using MyCouch.Net;
namespace MyCouch.Requests.Factories
{
public class AttachmentHttpRequestFactory :
HttpRequestFactoryBase,
IHttpRequestFactory<GetAttachmentRequest>,
IHttpRequestFactory<PutAttachmentRequest>,
IHttpRequestFactory<DeleteAttachmentRequ... | ```c#
using System.Net.Http;
using MyCouch.Net;
namespace MyCouch.Requests.Factories
{
public class AttachmentHttpRequestFactory :
HttpRequestFactoryBase,
IHttpRequestFactory<GetAttachmentRequest>,
IHttpRequestFactory<PutAttachmentRequest>,
IHttpRequestFactory<DeleteAttachmentRequ... |
a1a50995-ae75-4343-be05-fe151951a93d | {
"language": "C#"
} | ```c#
using UnityEngine;
using System.Collections;
using Realms.Common.Packet;
using System;
namespace Realms.Server.Packet
{
[Serializable]
public class PlayerHandshakePacket : IPacket
{
/// <summary>
/// Is the connection to the server allowed
/// </summary>
... | ```c#
using UnityEngine;
using System.Collections;
using Realms.Common.Packet;
using System;
namespace Realms.Server.Packet
{
[Serializable]
public class PlayerHandshakePacket : IPacket
{
/// <summary>
/// Is the connection to the server allowed
/// </summary>
... |
bf551f49-88b3-430d-a9d4-8105fc284048 | {
"language": "C#"
} | ```c#
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using NUnit.Framework;
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Game.Rulesets.Osu;
using osu.Game.Screens.Edit.Components.Timelines.S... | ```c#
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using NUnit.Framework;
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Game.Rulesets.Osu;
using osu.Game.Rulesets.Osu.Beatmaps;
using osu.Ga... |
2aca9c78-2606-41d5-a237-00c973f82f2d | {
"language": "C#"
} | ```c#
using org.grobid.core;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using FluentAssertions;
using Xunit;
using Grobid.NET;
using System.Xml.Linq;
using org.apache.log4j;
namespace Grobid.Test
{
public class GrobidTest
... | ```c#
using org.grobid.core;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using FluentAssertions;
using Xunit;
using Grobid.NET;
using System.Xml.Linq;
using org.apache.log4j;
namespace Grobid.Test
{
public class GrobidTest
... |
0338f557-d427-4adb-a310-a257f71b9440 | {
"language": "C#"
} | ```c#
//
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
//
using Microsoft.PowerShell.EditorServices.Protocol.MessageProtocol;
namespace Microsoft.PowerShell.EditorServices.Protocol.LanguageServer
{
public enum... | ```c#
//
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
//
using Microsoft.PowerShell.EditorServices.Protocol.MessageProtocol;
namespace Microsoft.PowerShell.EditorServices.Protocol.LanguageServer
{
public enum... |
67ee0ccd-eafb-4e9b-88ca-8097f482c8e5 | {
"language": "C#"
} | ```c#
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class SpinnerActivator : MonoBehaviour
{
public bool boostEnabled;
public GameObject boost;
private void Start()
{
boost.GetComponent<BoostPadForce>().boostEnabled = false;
boost.GetComponent<B... | ```c#
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Networking;
public class SpinnerActivator : MonoBehaviour
{
public bool boostEnabled;
public GameObject boost;
private void Start()
{
boost.GetComponent<BoostPadForce>().boostEnabled = false... |
f1129cf3-3c52-4eef-a53b-09a2b63c72a7 | {
"language": "C#"
} | ```c#
namespace StressMeasurementSystem.Models
{
public class Patient
{
#region Structs
struct Name
{
public string Prefix { get; set; }
public string First { get; set; }
public string Middle { get; set; }
public string Last { get; set; }... | ```c#
namespace StressMeasurementSystem.Models
{
public class Patient
{
#region Structs
struct Name
{
public string Prefix { get; set; }
public string First { get; set; }
public string Middle { get; set; }
public string Last { get; set; }... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.