doc_id stringlengths 36 36 | metadata dict | input stringlengths 28 4.3k | output stringlengths 11 5.45k |
|---|---|---|---|
59f41e86-ba9c-429d-83cf-4a71a7f7a8c5 | {
"language": "C#"
} | ```c#
using Newtonsoft.Json;
using Newtonsoft.Json.Serialization;
using System.ComponentModel;
using Telegram.Bot.Types.InputMessageContents;
namespace Telegram.Bot.Types.InlineQueryResults
{
/// <summary>
/// Represents a <see cref="Game"/>.
/// </summary>
/// <seealso cref="InlineQueryResultNew" />
... | ```c#
using Newtonsoft.Json;
using Newtonsoft.Json.Serialization;
namespace Telegram.Bot.Types.InlineQueryResults
{
/// <summary>
/// Represents a <see cref="Game"/>.
/// </summary>
/// <seealso cref="InlineQueryResult" />
[JsonObject(MemberSerialization = MemberSerialization.OptIn,
... |
8bcd05f7-3046-4b6a-8e8b-3e95ba1f215c | {
"language": "C#"
} | ```c#
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.HttpsPolicy;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Dep... | ```c#
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.HttpsPolicy;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Dep... |
69dcbaaf-dff4-46e8-be60-a154ff3e35f6 | {
"language": "C#"
} | ```c#
using System;
using System.IO;
namespace UAOOI.SemanticData.AddressSpaceTestTool
{
class Program
{
internal static void Main(string[] args)
{
FileInfo _fileToRead = GetFileToRead(args);
ValidateFile(_fileToRead);
}
internal static void ValidateFile(FileInfo _fileToRead)
{
... | ```c#
using System;
using System.IO;
namespace UAOOI.SemanticData.AddressSpaceTestTool
{
class Program
{
internal static void Main(string[] args)
{
try
{
FileInfo _fileToRead = GetFileToRead(args);
ValidateFile(_fileToRead);
}
catch (Exception ex)
{
... |
3414e945-2c18-4998-8efc-879629963737 | {
"language": "C#"
} | ```c#
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DataAccessExamples.Core.Actions;
using DataAccessExamples.Core.ViewModels;
namespace DataAccessExamples.Core.Services.Employee
{
public class LazyOrmEmployeeService : IEmployee... | ```c#
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using AutoMapper;
using DataAccessExamples.Core.Actions;
using DataAccessExamples.Core.Data;
using DataAccessExamples.Core.ViewModels;
namespace DataAccessExam... |
7c930851-4456-46e6-92c1-df8085c8b83b | {
"language": "C#"
} | ```c#
using System.Threading.Tasks;
using Version = Msg.Domain.Version;
using System;
using System.Net.Sockets;
using System.Net;
namespace Msg.Acceptance.Tests
{
class GarbageSpewingClient
{
TcpClient client;
public async Task<byte[]> ConnectAsync() {
client = new TcpClient ();
await client.ConnectAsync... | ```c#
using System.Threading.Tasks;
using Version = Msg.Domain.Version;
using System;
using System.Net.Sockets;
using System.Net;
namespace Msg.Acceptance.Tests.TestDoubles
{
class GarbageSpewingClient
{
TcpClient client;
public async Task<byte[]> ConnectAsync() {
client = new TcpClient ();
await client.C... |
79cdec20-a797-43f7-89f2-e3b1f954d3e8 | {
"language": "C#"
} | ```c#
using System;
using JabbR.Models;
using JabbR.Services;
namespace JabbR.Commands
{
[Command("flag", "Flag_CommandInfo", "Iso 3366-2 Code", "user")]
public class FlagCommand : UserCommand
{
public override void Execute(CommandContext context, CallerContext callerContext, ChatUser callingUser,... | ```c#
using System;
using JabbR.Models;
using JabbR.Services;
namespace JabbR.Commands
{
[Command("flag", "Flag_CommandInfo", "Iso 3166-2 Code", "user")]
public class FlagCommand : UserCommand
{
public override void Execute(CommandContext context, CallerContext callerContext, ChatUser callingUser,... |
a234179a-0f19-440c-ad8c-f2aca7405e90 | {
"language": "C#"
} | ```c#
namespace TraktApiSharp.Objects.Get.Users
{
using Basic;
using Newtonsoft.Json;
public class TraktUserImages
{
[JsonProperty(PropertyName = "avatar")]
public TraktImage Avatar { get; set; }
}
}
```
Add get best id method for user images. | ```c#
namespace TraktApiSharp.Objects.Get.Users
{
using Basic;
using Newtonsoft.Json;
/// <summary>A collection of images and image sets for a Trakt user.</summary>
public class TraktUserImages
{
/// <summary>Gets or sets the avatar image.</summary>
[JsonProperty(PropertyName = "av... |
dc51679b-933b-4ec7-8a51-7ddf6d44420f | {
"language": "C#"
} | ```c#
using Avalonia;
using Avalonia.Controls;
using Avalonia.Data;
using Avalonia.Markup.Xaml;
using ReactiveUI;
using System;
namespace WalletWasabi.Gui.Controls.WalletExplorer
{
public class CoinListView : UserControl
{
public static readonly StyledProperty<bool> SelectAllNonPrivateVisibleProperty =
Avalonia... | ```c#
using Avalonia;
using Avalonia.Controls;
using Avalonia.Data;
using Avalonia.Markup.Xaml;
using ReactiveUI;
using System;
using System.Reactive.Linq;
namespace WalletWasabi.Gui.Controls.WalletExplorer
{
public class CoinListView : UserControl
{
public static readonly StyledProperty<bool> SelectAllNonPrivateV... |
37f830bc-7dfe-4b6f-a81d-3a40d094e6f2 | {
"language": "C#"
} | ```c#
@using Site.App_Code
@inherits Umbraco.Web.Mvc.UmbracoTemplatePage
@{
Layout = "SW_Master.cshtml";
}
<div class="clearfix">
@Html.Partial("LeftNavigation",@Model.Content)
<div class="" style="float: left;width: 75%;padding-left: 30px;">
<h3>
@Model.Content.Ge... | ```c#
@using Site.App_Code
@inherits Umbraco.Web.Mvc.UmbracoTemplatePage
@{
Layout = "SW_Master.cshtml";
}
<div class="clearfix">
@Html.Partial("LeftNavigation",@Model.Content)
<div class="" style="float: left;width: 75%;padding-left: 30px;">
@*<h3>
@Model.Content.... |
a2bc6a65-285b-4241-89cd-5240a7b4f523 | {
"language": "C#"
} | ```c#
#if DNX451
using System;
using System.IO;
namespace BuildSpritesheet {
class Program {
static void Main(string[] args) {
PrepareOutputDirectory();
SpritePreparer.PrepareSprites();
Console.WriteLine();
Console.WriteLine("Done processing individual files");
Console.WriteLine();
SpritesheetB... | ```c#
#if DNX451
using System;
using System.IO;
namespace BuildSpritesheet {
class Program {
static void Main(string[] args) {
PrepareOutputDirectory();
SpritePreparer.PrepareSprites();
Console.WriteLine();
Console.WriteLine("Done processing individual files");
Console.WriteLine();
SpritesheetB... |
b72b853a-d34a-48d6-8685-3eedde6efcf8 | {
"language": "C#"
} | ```c#
using JetBrains.IDE.RunConfig;
namespace AlexPovar.ReSharperHelpers.Build
{
public class RunConfigProjectWithSolutionBuild : RunConfigBase
{
public override void Execute(RunConfigContext context)
{
context.ExecutionProvider.Execute(null);
}
}
}```
Hide irrelevant options from build acti... | ```c#
using System.Windows;
using JetBrains.DataFlow;
using JetBrains.IDE.RunConfig;
using JetBrains.ProjectModel;
using JetBrains.VsIntegration.IDE.RunConfig;
namespace AlexPovar.ReSharperHelpers.Build
{
public class RunConfigProjectWithSolutionBuild : RunConfigBase
{
public override void Execute(RunConfigCo... |
d6820333-8985-4696-9993-a178f668df5c | {
"language": "C#"
} | ```c#
using System;
namespace FbxSharp
{
public class AnimStack : Collection
{
#region Public Attributes
public readonly PropertyT<string> Description = new PropertyT<string>( "Description");
public readonly PropertyT<FbxTime> LocalStart = new PropertyT<FbxTime>("LocalStar... | ```c#
using System;
namespace FbxSharp
{
public class AnimStack : Collection
{
public AnimStack(String name="")
: base(name)
{
Properties.Add(Description);
Properties.Add(LocalStart);
Properties.Add(LocalStop);
Properties.Add(Referenc... |
e4223e6c-109d-4f76-bb93-9cd70587989e | {
"language": "C#"
} | ```c#
@model IFS.Web.Core.Upload.UploadedFile
@{
ViewBag.Title = $"Upload complete: {Model.Metadata.OriginalFileName}";
}
<h2>@ViewBag.Title</h2>
<div class="alert alert-success">
The upload of your file has completed: <code>@Model.Metadata.OriginalFileName</code>.
</div>
@{
string downloadLink = this.U... | ```c#
@using System.Text.Encodings.Web
@model IFS.Web.Core.Upload.UploadedFile
@{
ViewBag.Title = $"Upload complete: {Model.Metadata.OriginalFileName}";
}
<h2>@ViewBag.Title</h2>
<div class="alert alert-success">
The upload of your file has completed: <code>@Model.Metadata.OriginalFileName</code>.
</div>
@{... |
76f2aebc-f51d-4a8b-9017-f6b9fc3e3355 | {
"language": "C#"
} | ```c#
@using Aliencube.ReCaptcha.Wrapper.Mvc
@model Aliencube.ReCaptcha.Wrapper.WebApp.Models.HomeIndexViewModel
@{
ViewBag.Title = "Index";
}
<h2>@ViewBag.Title</h2>
@using (Html.BeginForm(MVC.Home.ActionNames.Index, MVC.Home.Name, FormMethod.Post))
{
<div class="form-group">
@Html.LabelFor(m => m.N... | ```c#
@using Aliencube.ReCaptcha.Wrapper.Mvc
@model Aliencube.ReCaptcha.Wrapper.WebApp.Models.HomeIndexViewModel
@{
ViewBag.Title = "Index";
}
<h2>@ViewBag.Title</h2>
@using (Html.BeginForm(MVC.Home.ActionNames.Index, MVC.Home.Name, FormMethod.Post))
{
<div class="form-group">
@Html.LabelFor(m => m.N... |
e2809274-c750-4589-bb82-95e68a4c0cea | {
"language": "C#"
} | ```c#
using System.Reflection;
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: AssemblyTitle("Html2Markdown")]
[assembly: Assembl... | ```c#
using System.Reflection;
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: AssemblyTitle("Html2Markdown")]
[assembly: Assembl... |
39a15b78-bf4e-4ce7-85ef-a64b39fae375 | {
"language": "C#"
} | ```c#
using System.Numerics;
namespace DynamixelServo.Quadruped
{
public static class Vector3Extensions
{
public static Vector3 Normal(this Vector3 vector)
{
float len = vector.Length();
return new Vector3(vector.X / len, vector.Y / len, vector.Z / len);
}
... | ```c#
using System.Numerics;
namespace DynamixelServo.Quadruped
{
public static class Vector3Extensions
{
public static Vector3 Normal(this Vector3 vector)
{
return Vector3.Normalize(vector);
}
public static bool Similar(this Vector3 a, Vector3 b, float marginOfErr... |
082b3bef-c01f-4c64-a1d3-6fd17ddf2ce7 | {
"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.Linq;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Organizing;
using Microsoft.CodeAnalysis.CSharp.Symbols;
us... | ```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.Linq;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Organizing;
using Microsoft.CodeAnalysis.CSharp.Symbols;
us... |
bc6d6700-d989-49cf-b61c-90f42b5134b3 | {
"language": "C#"
} | ```c#
using Microsoft.Build.Framework;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using System;
namespace Microsoft.DotNet.Build.Tasks
{
public class UpdatePackageDependencyVersion : VisitProjectDependencies
{
[Required]
public string PackageId { get; set; }
[Required]
... | ```c#
using Microsoft.Build.Framework;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using System;
namespace Microsoft.DotNet.Build.Tasks
{
public class UpdatePackageDependencyVersion : VisitProjectDependencies
{
[Required]
public string PackageId { get; set; }
[Required]
... |
869723dc-ed6d-42c9-b9e7-8bc50767d650 | {
"language": "C#"
} | ```c#
using System;
using Newtonsoft.Json.Linq;
using Newtonsoft.Json;
namespace RedditSharp
{
public class CreatedThing : Thing
{
private Reddit Reddit { get; set; }
public CreatedThing(Reddit reddit, JToken json) : base(json)
{
Reddit = reddit;
JsonConvert.Po... | ```c#
using System;
using Newtonsoft.Json.Linq;
using Newtonsoft.Json;
namespace RedditSharp
{
public class CreatedThing : Thing
{
private Reddit Reddit { get; set; }
public CreatedThing(Reddit reddit, JToken json) : base(json)
{
Reddit = reddit;
JsonConvert.Po... |
03e1c820-2758-4062-a83c-3c002c0bcd0d | {
"language": "C#"
} | ```c#
using UnityEngine;
using System.Collections;
public class AttackBuilding : MonoBehaviour
{
BuildingProperties properties;
SphereCollider collider;
void Start () {
properties = GetComponent<BuildingProperties> ();
collider = gameObject.AddComponent<SphereCollider> ();
collider.isTrigger = true;
col... | ```c#
using UnityEngine;
using System.Collections;
public class AttackBuilding : MonoBehaviour
{
BuildingProperties properties;
SphereCollider attackZone;
void Start () {
properties = GetComponent<BuildingProperties> ();
attackZone = gameObject.AddComponent<SphereCollider> ();
attackZone.isTrigger = true;... |
0f58abec-a092-46a5-a558-07261c6aa311 | {
"language": "C#"
} | ```c#
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="MapperTestsForDocString.cs" company="PicklesDoc">
// Copyright 2011 Jeffrey Cameron
// Copyright 2012-present PicklesDoc team and community contributors
//
//
// Licens... | ```c#
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="MapperTestsForDocString.cs" company="PicklesDoc">
// Copyright 2011 Jeffrey Cameron
// Copyright 2012-present PicklesDoc team and community contributors
//
//
// Licens... |
e2b5ca4d-1b91-4a1a-9a52-b189f152a1bf | {
"language": "C#"
} | ```c#
namespace ShellHookLauncher
{
internal static partial class ShellHookHelper
{
public const string DllFileName = "ShellHook64.dll";
public const string PanelessNamedPipe = "PanelessHookId64-5b4f1ea2-c775-11e2-8888-47c85008ead5";
}
}
```
Fix up 32 bit constants. | ```c#
namespace ShellHookLauncher
{
internal static partial class ShellHookHelper
{
public const string DllFileName = "ShellHook32.dll";
public const string PanelessNamedPipe = "PanelessHookId32-5b4f1ea2-c775-11e2-8888-47c85008ead5";
}
}
``` |
95932ee4-e9a2-40d2-b3e4-54ea2c34f389 | {
"language": "C#"
} | ```c#
using PerplexUmbraco.Forms.Code.Configuration;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Web;
using static PerplexUmbraco.Forms.Code.Constants;
using Umbraco.Forms.Core;
namespace PerplexUmbraco.Forms.FieldTypes
{
public class PerplexImageUpload : Perpl... | ```c#
using PerplexUmbraco.Forms.Code.Configuration;
using System;
using System.Collections.Generic;
using Umbraco.Forms.Core;
using Umbraco.Forms.Core.Attributes;
namespace PerplexUmbraco.Forms.FieldTypes
{
public class PerplexImageUpload : PerplexBaseFileFieldType
{
protected override PerplexBaseFil... |
c5d69703-2152-451f-9d9b-6e96f511736e | {
"language": "C#"
} | ```c#
// Copyright (c) Martin Costello, 2015. All rights reserved.
// Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information.
namespace MartinCostello.ProjectEuler.Puzzles
{
using System;
using System.Linq;
/// <summary>
/// A class representing t... | ```c#
// Copyright (c) Martin Costello, 2015. All rights reserved.
// Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information.
namespace MartinCostello.ProjectEuler.Puzzles
{
using System;
using System.Linq;
/// <summary>
/// A class representing t... |
162b416d-f011-436d-88bf-b9de05442c78 | {
"language": "C#"
} | ```c#
using System.Reflection;
[assembly: AssemblyVersion("2.0.0.0")]
[assembly: AssemblyFileVersion("2.1.0.0")]
[assembly: AssemblyInformationalVersion("2.1.0")]
```
Revert to fixed versioning scheme used by build | ```c#
using System.Reflection;
// These "special" version numbers are found and replaced at build time.
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.1.1.1")]
[assembly: AssemblyInformationalVersion("1.0.0")]
``` |
1274c45f-b02a-4cf1-aea0-8ca187a1a5be | {
"language": "C#"
} | ```c#
using Jasper.Util;
using TestingSupport.Compliance;
using Xunit;
namespace Jasper.Testing.Transports.Tcp
{
public class Sender : JasperOptions
{
public Sender()
{
Endpoints.ListenForMessagesFrom($"tcp://localhost:2289/incoming".ToUri());
}
}
public class Recei... | ```c#
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.NetworkInformation;
using System.Net.Sockets;
using Jasper.Util;
using TestingSupport.Compliance;
using Xunit;
namespace Jasper.Testing.Transports.Tcp
{
public class Sender : JasperOptions
{
publ... |
b3bd70b9-cdfc-4db5-87b4-ed9d2c3349a1 | {
"language": "C#"
} | ```c#
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Testity.EngineComponents;
namespace Testity.EngineComponents.Unity3D
{
public interface ITestityBehaviour<out TScriptComponentType> : ITestityBehaviour
where TScriptComponentType : EngineScriptComponent
{
TScriptCo... | ```c#
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Testity.EngineComponents;
namespace Testity.EngineComponents.Unity3D
{
public interface ITestityBehaviour<out TScriptComponentType> : ITestityBehaviour
where TScriptComponentType : EngineScriptComponent
{
TScriptCo... |
c424b451-4314-4368-a1b8-3c4c0d0cb8e6 | {
"language": "C#"
} | ```c#
using System;
using System.Threading;
using log4net;
namespace SharpArchContrib.Data.NHibernate {
[Serializable]
public abstract class TransactionManagerBase : ITransactionManager {
private static readonly ILog logger = LogManager.GetLogger(typeof(TransactionManagerBase));
private static... | ```c#
using System;
using System.Threading;
using log4net;
namespace SharpArchContrib.Data.NHibernate {
[Serializable]
public abstract class TransactionManagerBase : ITransactionManager {
private static readonly ILog logger = LogManager.GetLogger(typeof(TransactionManagerBase));
[ThreadStatic]... |
d48b5523-fb47-4a4c-95ff-1947f91f91b4 | {
"language": "C#"
} | ```c#
using Microsoft.Data.Sqlite;
using System.Collections.Generic;
namespace Business.Core.SQLite
{
public class Command : ICommand
{
IReader Reader { get; set; }
public SqliteConnection SQLiteConnection { get; set; }
public SqliteCommand SQLiteCommand { get; set; }
public SqliteDataReader SQLiteReader { g... | ```c#
using Microsoft.Data.Sqlite;
using System.Collections.Generic;
namespace Business.Core.SQLite
{
public class Command : ICommand
{
IReader Reader { get; set; }
public SqliteConnection SQLiteConnection { get; set; }
public SqliteCommand SQLiteCommand { get; set; }
public SqliteDataReader SQLiteReader { g... |
6d53d1d2-bb5d-4f0e-947f-39652f5e8229 | {
"language": "C#"
} | ```c#
@page
@model RazorPagesWebSite.HelloWorldWithPageModelHandler
Hello, @Model.Message!
@using (Html.BeginForm())
{
@Html.AntiForgeryToken()
}```
Make test of @page/@model whitespace | ```c#
@page
@model RazorPagesWebSite.HelloWorldWithPageModelHandler
Hello, @Model.Message!
@using (Html.BeginForm())
{
@Html.AntiForgeryToken()
}``` |
420203e9-4070-4c33-8ebd-33cdd76e3a3d | {
"language": "C#"
} | ```c#
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.Win32;
namespace Rawr.LaunchPad.Installer
{
public class RegistryEditor
{
readonly string targetPath;
readonly List<string> keyNames = new List<string>
... | ```c#
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.Win32;
namespace Rawr.LaunchPad.Installer
{
public class RegistryEditor
{
readonly List<string> keyNames = new List<string>
{
"Excel.CSV",
... |
3e7e6380-2cd9-4ace-946f-e8137fcb63e0 | {
"language": "C#"
} | ```c#
@{
ViewData["Title"] = "Access Denied";
}
<div class="container">
<h1 class="text-danger">Error.</h1>
<h2 class="text-danger">Authentication Failed.</h2>
<p>
You have denied Competition Platform access to your resources.
</p>
</div>```
Change authentication failed error message. | ```c#
@{
ViewData["Title"] = "Access Denied";
}
<div class="container">
<h1 class="text-danger">Error.</h1>
<h2 class="text-danger">Authentication Failed.</h2>
<p>
There was a remote failure during Authentication.
</p>
</div>``` |
f4febf3d-39d4-4452-b700-53cf383d6f77 | {
"language": "C#"
} | ```c#
using System;
using System.Threading.Tasks;
#if EXTENJECT_INCLUDE_ADDRESSABLE_BINDINGS
using UnityEngine.ResourceManagement.AsyncOperations;
using UnityEngine.AddressableAssets;
#endif
namespace Zenject
{
[NoReflectionBaking]
public class AsyncFromBinderGeneric<TContract, TConcrete> : AsyncFromBinderBas... | ```c#
using System;
using System.Threading;
using System.Threading.Tasks;
namespace Zenject
{
[NoReflectionBaking]
public class AsyncFromBinderGeneric<TContract, TConcrete> : AsyncFromBinderBase where TConcrete : TContract
{
public AsyncFromBinderGeneric(
DiContainer container, BindInf... |
8ac9acfc-dc2b-487f-8cc3-e081656c7f9b | {
"language": "C#"
} | ```c#
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using dbticket;
namespace db_pdftest
{
class Program
{
static void Main(string[] args)
{
if (args.Length < 2)
{
Console.WriteLine("I... | ```c#
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using dbticket;
namespace db_pdftest
{
class Program
{
static void Main(string[] args)
{
if (args.Length < 1)
{
Console.WriteLine("I... |
134152c9-3e74-4b38-82a2-11fc5b59f0c1 | {
"language": "C#"
} | ```c#
using System;
using System.Configuration;
namespace AspNet.Identity.MongoDB {
public class MongoDBIdentitySettings : ConfigurationSection {
private static MongoDBIdentitySettings settings = ConfigurationManager.GetSection("mongoDBIdentitySettings") as MongoDBIdentitySettings;
private const String... | ```c#
using System;
using System.Configuration;
namespace AspNet.Identity.MongoDB {
public class MongoDBIdentitySettings : ConfigurationSection {
private static MongoDBIdentitySettings settings = ConfigurationManager.GetSection("mongoDBIdentitySettings") as MongoDBIdentitySettings;
private const String... |
1ba0b526-22b1-40d9-99e9-712ca776bf34 | {
"language": "C#"
} | ```c#
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using System.Reflection;
using System.Resources;
[assembly: AssemblyTitle("Microsoft Cognitive Services ComputerVision SDK")]
[assembly: AssemblyDescriptio... | ```c#
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using System.Reflection;
using System.Resources;
[assembly: AssemblyTitle("Microsoft Cognitive Services ComputerVision SDK")]
[assembly: AssemblyDescriptio... |
11ab1bb0-e385-4e9c-ab02-7d2d0863c0fc | {
"language": "C#"
} | ```c#
#addin "Cake.IIS"
//////////////////////////////////////////////////////////////////////
// ARGUMENTS
//////////////////////////////////////////////////////////////////////
var target = Argument("target", "Default");
var configuration = Argument("configuration", "Release");
////////////////////////////////... | ```c#
#addin "Cake.IIS"
//////////////////////////////////////////////////////////////////////
// ARGUMENTS
//////////////////////////////////////////////////////////////////////
var target = Argument("target", "Default");
var configuration = Argument("configuration", "Release");
////////////////////////////////... |
c536603b-4dad-40be-9fae-7bc8b61cac78 | {
"language": "C#"
} | ```c#
using Microsoft.Extensions.Configuration;
using Nancy;
using Nancy.TinyIoc;
namespace Silverpop.Client.WebTester.Infrastructure
{
public class CustomBootstrapper : DefaultNancyBootstrapper
{
public CustomBootstrapper()
{
var builder = new ConfigurationBuilder()
... | ```c#
using Microsoft.Extensions.Configuration;
using Nancy;
using Nancy.Configuration;
using Nancy.Diagnostics;
using Nancy.TinyIoc;
namespace Silverpop.Client.WebTester.Infrastructure
{
public class CustomBootstrapper : DefaultNancyBootstrapper
{
public CustomBootstrapper()
{
var... |
01b9f6c0-ba3e-4757-9fcb-dfbbec2726de | {
"language": "C#"
} | ```c#
// Any comments, input: @KevinDockx
// Any issues, requests: https://github.com/KevinDockx/HttpCacheHeaders
using Marvin.Cache.Headers;
using Marvin.Cache.Headers.Interfaces;
using Marvin.Cache.Headers.Stores;
using Microsoft.Extensions.DependencyInjection;
using System;
namespace Microsoft.Extensions.Dependen... | ```c#
// Any comments, input: @KevinDockx
// Any issues, requests: https://github.com/KevinDockx/HttpCacheHeaders
using Marvin.Cache.Headers;
using Marvin.Cache.Headers.Interfaces;
using Marvin.Cache.Headers.Stores;
using Microsoft.Extensions.DependencyInjection;
using System;
namespace Microsoft.Extensions.Dependen... |
7672d504-1c44-48d2-9161-ed18224e5e1f | {
"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 System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
internal static partial class Interop
{
private static class Libr... | ```c#
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
internal static partial class Interop
{
private static class Libr... |
6bf11706-533e-4410-bc8b-5e8b2afcfc49 | {
"language": "C#"
} | ```c#
using Arango.Client.Protocol;
namespace Arango.Client
{
public class ArangoCollectionOperation
{
private CollectionOperation _collectionOperation;
internal ArangoCollectionOperation(CollectionOperation collectionOperation)
{
_collectionOperation = collectio... | ```c#
using Arango.Client.Protocol;
namespace Arango.Client
{
public class ArangoCollectionOperation
{
private CollectionOperation _collectionOperation;
internal ArangoCollectionOperation(CollectionOperation collectionOperation)
{
_collectionOperation = collectio... |
ed5d9514-de69-4d2f-83d2-1d3a36886476 | {
"language": "C#"
} | ```c#
using System.ComponentModel;
using System.Runtime.CompilerServices;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Media;
namespace Ets.Mobile.Content.Grade
{
public sealed partial class GradeSummary : UserControl, INotifyPropertyChanged
{
public GradeSummary()
... | ```c#
using System.ComponentModel;
using System.Runtime.CompilerServices;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Media;
namespace Ets.Mobile.Content.Grade
{
public sealed partial class GradeSummary : UserControl, INotifyPropertyChanged
{
public GradeSummary()
... |
022c4a60-bcd4-45cf-9afb-011ed28cf8cf | {
"language": "C#"
} | ```c#
using System;
using System.Diagnostics;
using System.Numerics;
using ReactiveUI;
namespace SolidworksAddinFramework.OpenGl.Animation
{
public class LinearAnimation<T> : ReactiveObject, IAnimationSection
where T : IInterpolatable<T>
{
public T From { get; }
public T To { get; }
... | ```c#
using System;
using System.Diagnostics;
using System.Numerics;
using ReactiveUI;
namespace SolidworksAddinFramework.OpenGl.Animation
{
public class LinearAnimation<T> : ReactiveObject, IAnimationSection
where T : IInterpolatable<T>
{
public T From { get; }
public T To { get; }
... |
e40ac890-78aa-42ee-a2ec-c5692796f377 | {
"language": "C#"
} | ```c#
using System;
using System.Data;
namespace Smooth.IoC.Dapper.Repository.UnitOfWork.Data
{
public abstract class DbTransaction : IDbTransaction
{
private readonly IDbFactory _factory;
protected bool Disposed;
public IDbTransaction Transaction { get; set; }
public IDbConnec... | ```c#
using System;
using System.Data;
namespace Smooth.IoC.Dapper.Repository.UnitOfWork.Data
{
public abstract class DbTransaction : IDbTransaction
{
private readonly IDbFactory _factory;
protected bool Disposed;
protected ISession Session;
public IDbTransaction Transaction { ... |
b62db9a7-5051-494e-b471-d9600058ddfe | {
"language": "C#"
} | ```c#
namespace Gu.Analyzers.Test.GU0009UseNamedParametersForBooleansTests
{
using System.Threading.Tasks;
using NUnit.Framework;
internal class Diagnostics : DiagnosticVerifier<Analyzers.GU0009UseNamedParametersForBooleans>
{
[Test]
public async Task UnnamedBooleanParameters()
... | ```c#
namespace Gu.Analyzers.Test.GU0009UseNamedParametersForBooleansTests
{
using System.Threading.Tasks;
using NUnit.Framework;
internal class Diagnostics : DiagnosticVerifier<Analyzers.GU0009UseNamedParametersForBooleans>
{
[Test]
public async Task UnnamedBooleanParameters()
... |
878ab86b-8279-4720-8be4-4babbdbc4649 | {
"language": "C#"
} | ```c#
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using BasicallyMe.RobinhoodNet;
namespace RobinhoodDesktop.HomePage
{
public part... | ```c#
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using BasicallyMe.RobinhoodNet;
namespace RobinhoodDesktop.HomePage
{
public partial class Hom... |
ad3c5dd6-592b-4fab-bc2b-9e61e5cfd983 | {
"language": "C#"
} | ```c#
using Ninject;
using Ninject.Modules;
using Ninject.Web.Common;
using Raven.Client;
using Raven.Client.Embedded;
namespace CGO.Web.NinjectModules
{
public class RavenModule : NinjectModule
{
public override void Load()
{
Kernel.Bind<IDocumentStore>().ToMethod(_ => Initialise... | ```c#
using Ninject;
using Ninject.Modules;
using Ninject.Web.Common;
using Raven.Client;
using Raven.Client.Embedded;
namespace CGO.Web.NinjectModules
{
public class RavenModule : NinjectModule
{
public override void Load()
{
Kernel.Bind<IDocumentStore>().ToMethod(_ => Initialise... |
dbd17224-3ff6-4e9b-8c1c-1fc3e92e6580 | {
"language": "C#"
} | ```c#
using System;
using Tralus.Framework.BusinessModel.Entities;
namespace Tralus.Framework.Migration.Migrations
{
using System.Data.Entity.Migrations;
public sealed class Configuration : TralusDbMigrationConfiguration<Data.FrameworkDbContext>
{
public Configuration()
{
Auto... | ```c#
using System;
using Tralus.Framework.BusinessModel.Entities;
namespace Tralus.Framework.Migration.Migrations
{
using System.Data.Entity.Migrations;
public sealed class Configuration : TralusDbMigrationConfiguration<Data.FrameworkDbContext>
{
public Configuration()
{
Auto... |
fd93ba5c-52ca-40d4-be53-f501babdc433 | {
"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 Microsoft.CodeAnalysis.Options;
namespace Microsoft.CodeAnalysis.Editor.Implementation.Suggestions
{
... | ```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 Microsoft.CodeAnalysis.Options;
namespace Microsoft.CodeAnalysis.Editor.Implementation.Suggestions
{
... |
0fc29fee-f4db-4897-903b-2b5d888957fb | {
"language": "C#"
} | ```c#
// Copyright 2020 Google Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed... | ```c#
// Copyright 2020 Google Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed... |
22149f72-9f2d-4496-b121-e3d72a1f046a | {
"language": "C#"
} | ```c#
using SPAD.neXt.Interfaces.Profile;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
namespace SPAD.neXt.Interfaces.Configuration
{
public interface ISettingsProvider : IProfileOptionsProvider, IWindowPlacementProvider
... | ```c#
using SPAD.neXt.Interfaces.Profile;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
namespace SPAD.neXt.Interfaces.Configuration
{
public interface ISettingsProvider : IProfileOptionsProvider, IWindowPlacementProvider
... |
e6de9969-1cad-4e46-afbb-1705cbb02f3a | {
"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.Game.Online.API.Requests;
using osu.Game.Online.API.Requests.Responses;
using osu.Game.Tourn... | ```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.Game.Online.API;
using osu.Game.Online.API.Requests;
using osu.Game.Online.API.Requests.Resp... |
927f52b7-444d-4243-b068-af68e966f285 | {
"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 JetBrains.Annotations;
using osu.Game.Audio;
namespace osu.Game.Skinning
{
/// <summary>
/// Provides pooled samples to be used by <see cref="Skinnab... | ```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 JetBrains.Annotations;
using osu.Game.Audio;
namespace osu.Game.Skinning
{
/// <summary>
/// Provides pooled samples to be used by <see cref="Skinnab... |
5b1157ad-953e-4e7c-928e-91246eed022a | {
"language": "C#"
} | ```c#
#if DEBUG
using System;
using System.IO;
using System.Reflection;
using SilentHunter.FileFormats.IO;
namespace SilentHunter.FileFormats.Extensions
{
internal static class DebugExtensions
{
internal static string GetBaseStreamName(this Stream s)
{
Stream baseStream = s;
if (baseStream is RegionStream... | ```c#
#if DEBUG
using System;
using System.Diagnostics.CodeAnalysis;
using System.IO;
using System.Reflection;
using SilentHunter.FileFormats.IO;
namespace SilentHunter.FileFormats.Extensions
{
[ExcludeFromCodeCoverage]
internal static class DebugExtensions
{
internal static string GetBaseStreamName(this Stream ... |
25662d35-bdf1-4aa7-82ba-099ffc18f0fb | {
"language": "C#"
} | ```c#
using Microsoft.Owin;
using System.Linq;
using System.Security.Principal;
using System.Threading.Tasks;
namespace CompleteSample.Authentication
{
public class AuthenticationMiddleware : OwinMiddleware
{
public AuthenticationMiddleware(OwinMiddleware next)
: base(next)
{
... | ```c#
using Microsoft.Owin;
using System.Linq;
using System.Security.Principal;
using System.Threading.Tasks;
namespace CompleteSample.Authentication
{
public class AuthenticationMiddleware : OwinMiddleware
{
public AuthenticationMiddleware(OwinMiddleware next)
: base(next)
{
... |
59ee2200-0e41-472e-b86e-53df73ec10de | {
"language": "C#"
} | ```c#
using System;
using System.Collections.Generic;
using System.Runtime.Versioning;
using System.Windows;
using System.Windows.Data;
using NuGet;
namespace PackageExplorer {
public class FrameworkAssemblyReferenceConverter : IValueConverter {
public object Convert(object value, Type targetTy... | ```c#
using System;
using System.Collections.Generic;
using System.Runtime.Versioning;
using System.Windows;
using System.Windows.Data;
using NuGet;
namespace PackageExplorer {
public class FrameworkAssemblyReferenceConverter : IValueConverter {
public object Convert(object value, Type targetTy... |
e4b7ea02-ef66-4d6d-a357-4827d2c975f2 | {
"language": "C#"
} | ```c#
using Serilog.Core;
using Serilog.Events;
namespace Umbraco.Core.Logging.SerilogExtensions
{
/// <summary>
/// This is used to create a new property in Logs called 'Log4NetLevel'
/// So that we can map Serilog levels to Log4Net levels - so log files stay consistent
/// </summary>
public clas... | ```c#
using Serilog.Core;
using Serilog.Events;
namespace Umbraco.Core.Logging.SerilogExtensions
{
/// <summary>
/// This is used to create a new property in Logs called 'Log4NetLevel'
/// So that we can map Serilog levels to Log4Net levels - so log files stay consistent
/// </summary>
public clas... |
92970dc9-6461-4f40-b1dc-a1817402cc78 | {
"language": "C#"
} | ```c#
using System;
using AGS.API;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace AGS.Engine
{
public class AGSDialogLayout : IDialogLayout
{
private IGame _game;
public AGSDialogLayout(IGame game)
{
_game = game;
}
#region IDialogLayout implementation
public async Task... | ```c#
using System;
using AGS.API;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace AGS.Engine
{
public class AGSDialogLayout : IDialogLayout
{
private IGame _game;
public AGSDialogLayout(IGame game)
{
_game = game;
}
#region IDialogLayout implementation
public async Task... |
05c60b17-b8f4-44ea-8aa6-f150d94e928b | {
"language": "C#"
} | ```c#
using System;
using System.Collections.Generic;
using System.Net;
using System.Threading.Tasks;
using Apollo.Converters;
using Branch.Packages.Exceptions;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Filters;
using Newtonsoft.Json;
using Newtonsoft.Json.Serializa... | ```c#
using System;
using System.Collections.Generic;
using System.Net;
using System.Threading.Tasks;
using Apollo.Converters;
using Branch.Packages.Exceptions;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Filters;
using Newtonsoft.Json;
using Newtonsoft.Json.Serializa... |
a9850490-7afa-4f9d-a45a-4e014ebf1e43 | {
"language": "C#"
} | ```c#
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace CatchAllRule.Controllers
{
public class EverythingController : Controller
{
// GET: Everything
public ActionResult Index()
{
return View();
}
... | ```c#
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace CatchAllRule.Controllers
{
public class EverythingController : Controller
{
// GET: Everything
public ActionResult Index()
{
// use your logger to trac... |
afb1c9e2-2d39-4cfc-bf13-d8949382adc7 | {
"language": "C#"
} | ```c#
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace FluentAutomation.Tests.Pages
{
public class InputsPage : PageObject<InputsPage>
{
public InputsPage(FluentTest test)
: base(test)
{
this.Url = "/Inputs";
}
... | ```c#
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace FluentAutomation.Tests.Pages
{
public class InputsPage : PageObject<InputsPage>
{
public InputsPage(FluentTest test)
: base(test)
{
this.Url = "/Inputs";
}
... |
16927893-4943-4c3f-98f3-fe17716a7e57 | {
"language": "C#"
} | ```c#
using System;
using RestSharp;
using RestSharp.Contrib;
namespace AppHarbor.Commands
{
[CommandHelp("Login to AppHarbor")]
public class LoginAuthCommand : ICommand
{
private readonly IAccessTokenConfiguration _accessTokenConfiguration;
public LoginAuthCommand(IAccessTokenConfiguration accessTokenConfigu... | ```c#
using System;
using RestSharp;
using RestSharp.Contrib;
namespace AppHarbor.Commands
{
[CommandHelp("Login to AppHarbor")]
public class LoginAuthCommand : ICommand
{
private readonly IAccessTokenConfiguration _accessTokenConfiguration;
public LoginAuthCommand(IAccessTokenConfiguration accessTokenConfigu... |
f0b2ca0a-a23e-4fa6-b7bc-fcd5a6324ac1 | {
"language": "C#"
} | ```c#
using Glimpse.Web;
using System;
using System.Text;
using System.Threading.Tasks;
namespace Glimpse.Server.Web.Resources
{
public class HelloGlimpseResource : IRequestHandler
{
public bool WillHandle(IContext context)
{
return context.Request.Path.StartsWith("/Glimpse");
... | ```c#
using Glimpse.Web;
using System;
using System.Text;
using System.Threading.Tasks;
namespace Glimpse.Server.Web.Resources
{
public class HelloGlimpseResource : IRequestHandler
{
public bool WillHandle(IContext context)
{
return context.Request.Path == "/Glimpse";
}
... |
ef3dd93e-39a4-4753-8d9a-b53b9c41455f | {
"language": "C#"
} | ```c#
using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyCompany("lozanotek")]
[assembly: AssemblyProduct("MvcTurbine")]
[assembly: AssemblyCopyright("Copyright © lozanotek, inc. 2010")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// Setting ComVisible to... | ```c#
using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyCompany("lozanotek")]
[assembly: AssemblyProduct("MvcTurbine")]
[assembly: AssemblyCopyright("Copyright © lozanotek, inc. 2010")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// Setting ComVisible to... |
7f4985ca-057a-4684-bf0a-3aa68bb52227 | {
"language": "C#"
} | ```c#
using System.Collections.Generic;
using System.Linq;
namespace NMaier.SimpleDlna.Utilities
{
using Attribute = KeyValuePair<string, string>;
using System;
public sealed class AttributeCollection : IEnumerable<Attribute>
{
private readonly IList<Attribute> list = new List<Attribute>();
public ... | ```c#
using System;
using System.Collections.Generic;
using System.Linq;
namespace NMaier.SimpleDlna.Utilities
{
using Attribute = KeyValuePair<string, string>;
public sealed class AttributeCollection : IEnumerable<Attribute>
{
private readonly IList<Attribute> list = new List<Attribute>();
public in... |
166b797e-646d-4889-b89c-6085f2bfb241 | {
"language": "C#"
} | ```c#
namespace TraktOAuthAuthenticationExample
{
class Program
{
static void Main(string[] args)
{
}
}
}
```
Add implementation for oauth authentication example. | ```c#
namespace TraktOAuthAuthenticationExample
{
using System;
using System.Threading.Tasks;
using TraktApiSharp;
using TraktApiSharp.Authentication;
using TraktApiSharp.Exceptions;
class Program
{
private const string CLIENT_ID = "ENTER_CLIENT_ID_HERE";
private const stri... |
68fe95c6-6173-4abe-ac8e-93abce8ba6d5 | {
"language": "C#"
} | ```c#
namespace NBench.VisualStudio.TestAdapter
{
using Microsoft.VisualStudio.TestPlatform.ObjectModel.Adapter;
using Microsoft.VisualStudio.TestPlatform.ObjectModel.Logging;
using System;
using System.Collections.Generic;
using System.Linq;
public class NBenchTestDiscoverer : ITestDiscoverer
... | ```c#
namespace NBench.VisualStudio.TestAdapter
{
using Microsoft.VisualStudio.TestPlatform.ObjectModel.Adapter;
using Microsoft.VisualStudio.TestPlatform.ObjectModel.Logging;
using System;
using System.Collections.Generic;
using System.Linq;
public class NBenchTestDiscoverer : ITestDiscoverer
... |
5f6cf4d3-48c4-45a6-89f4-9f29600c17ba | {
"language": "C#"
} | ```c#
using System;
using ColossalFramework;
using ICities;
namespace ModTools
{
public class LoadingExtension : LoadingExtensionBase
{
public override void OnCreated(ILoading loading)
{
base.OnCreated(loading);
ModToolsBootstrap.inMainMenu = false;
ModTools... | ```c#
using System;
using ColossalFramework;
using ICities;
namespace ModTools
{
public class LoadingExtension : LoadingExtensionBase
{
public override void OnCreated(ILoading loading)
{
base.OnCreated(loading);
ModToolsBootstrap.inMainMenu = false;
ModTools... |
3e88806b-6531-41b4-9789-0eb6d611acc7 | {
"language": "C#"
} | ```c#
namespace Qvision.Umbraco.PollIt.Controllers.ApiControllers
{
using System.Net;
using System.Net.Http;
using System.Web.Http;
using global::Umbraco.Web.Editors;
using Qvision.Umbraco.PollIt.Attributes;
using Qvision.Umbraco.PollIt.CacheRefresher;
using Qvision.Umbraco.PollIt.Models.... | ```c#
namespace Qvision.Umbraco.PollIt.Controllers.ApiControllers
{
using System.Net;
using System.Net.Http;
using System.Web.Http;
using global::Umbraco.Web.Editors;
using Qvision.Umbraco.PollIt.Attributes;
using Qvision.Umbraco.PollIt.CacheRefresher;
using Qvision.Umbraco.PollIt.Models.... |
39b7c05d-2397-4680-8eae-31160c015e2d | {
"language": "C#"
} | ```c#
using System.Runtime.Serialization;
namespace GogoKit.Models.Response
{
[DataContract]
public class Seating
{
[DataMember(Name = "section")]
public string Section { get; set; }
[DataMember(Name = "row")]
public string Row { get; set; }
[DataMember(Name = "se... | ```c#
using System.Runtime.Serialization;
namespace GogoKit.Models.Response
{
[DataContract]
public class Seating
{
[DataMember(Name = "section")]
public string Section { get; set; }
[DataMember(Name = "row")]
public string Row { get; set; }
[DataMember(Name = "se... |
375c5227-8b87-47cc-ad4f-0c593e391f92 | {
"language": "C#"
} | ```c#
using System.Web.Http;
using Swashbuckle.Application;
using System;
namespace WebHost
{
internal static class SwaggerConfig
{
public static void Register(HttpConfiguration httpConfigurations)
{
var thisAssembly = typeof(SwaggerConfig).Assembly;
httpConfigurations... | ```c#
using System.Web.Http;
using Swashbuckle.Application;
using System;
using System.IO;
namespace WebHost
{
internal static class SwaggerConfig
{
public static void Register(HttpConfiguration httpConfigurations)
{
var thisAssembly = typeof(SwaggerConfig).Assembly;
va... |
1f4c7f72-12e5-4557-b06e-d0dbff47f63d | {
"language": "C#"
} | ```c#
<title>Hearts and Bones Dog Rescue - Pet Adoption - @ViewBag.Title</title>
@* Recommended meta tags for bootstrap *@
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="Hearts & Bones Rescue is a 501(c)3 non-pro... | ```c#
<title>Hearts & Bones Dog Rescue - Pet Adoption - @ViewBag.Title</title>
@* Recommended meta tags for bootstrap *@
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="Hearts & Bones Rescue is a 501(c)3 non-p... |
dc7fac49-b190-458a-85f1-6f3158337e61 | {
"language": "C#"
} | ```c#
#if !ODIN_INSPECTOR
using UnityEditor;
namespace Zenject
{
[CanEditMultipleObjects]
[CustomEditor(typeof(SceneContext))]
public class SceneContextEditor : RunnableContextEditor
{
SerializedProperty _contractNameProperty;
SerializedProperty _parentNamesProperty;
Serialized... | ```c#
#if !ODIN_INSPECTOR
using UnityEditor;
namespace Zenject
{
[CanEditMultipleObjects]
[CustomEditor(typeof(SceneContext))]
public class SceneContextEditor : RunnableContextEditor
{
SerializedProperty _contractNameProperty;
SerializedProperty _parentNamesProperty;
Serialized... |
1f039227-2fb2-4fcb-85dc-09b206328905 | {
"language": "C#"
} | ```c#
using System;
using System.Net.Http;
using System.Threading.Tasks;
using Microsoft.Extensions.Logging;
namespace Cimpress.Extensions.Http
{
public static class HttpResponseMessageExtensions
{
public static async Task LogAndThrowIfNotSuccessStatusCode(this HttpResponseMessage message, ILogger log... | ```c#
using System;
using System.Net.Http;
using System.Threading.Tasks;
using Microsoft.Extensions.Logging;
namespace Cimpress.Extensions.Http
{
public static class HttpResponseMessageExtensions
{
public static async Task LogAndThrowIfNotSuccessStatusCode(this HttpResponseMessage message, ILogger log... |
c53f206a-e7b9-458f-ae9a-d692b46fa378 | {
"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.
namespace System.Data.Common
{
public static class DbDataReaderExtension
{
public static Syste... | ```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.
namespace System.Data.Common
{
public static class DbDataReaderExtension
{
public static Syste... |
778113c7-2775-45d1-8575-736298e7e103 | {
"language": "C#"
} | ```c#
using PluginContracts;
using System;
using System.Collections.Generic;
using Xunit;
namespace PluginLoader.Tests
{
public class Plugins_Tests
{
[Fact]
public void PluginsFound()
{
// Arrange
var path = @"..\..\..\..\LAN\bin\Debug\netstandard1.3";
... | ```c#
using PluginContracts;
using System;
using System.Collections.Generic;
using Xunit;
namespace PluginLoader.Tests
{
public class Plugins_Tests
{
[Fact]
public void PluginsFoundFromLibsFolder()
{
// Arrange
var path = @"..\..\..\..\LAN\bin\Debug\netstandard1.... |
ebb55fb2-204d-4ceb-9d3e-12943fbd9c99 | {
"language": "C#"
} | ```c#
using System;
using Npgsql;
namespace Dotnet.Microservice.Health.Checks
{
public class PostgresqlHealthCheck
{
/// <summary>
/// Check that a connection can be established to Postgresql and return the server version
/// </summary>
/// <param name="connectionString">An Npg... | ```c#
using System;
using Npgsql;
namespace Dotnet.Microservice.Health.Checks
{
public class PostgresqlHealthCheck
{
/// <summary>
/// Check that a connection can be established to Postgresql and return the server version
/// </summary>
/// <param name="connectionString">An Npg... |
1699d15a-ee45-4463-966f-d3a82726c661 | {
"language": "C#"
} | ```c#
using System.Collections.Generic;
using System.Threading.Tasks;
using SocialToolBox.Core.Database;
using SocialToolBox.Core.Database.Projection;
using SocialToolBox.Core.Database.Serialization;
namespace SocialToolBox.Core.Mocks.Database.Projections
{
/// <summary>
/// An in-memory implementation of <se... | ```c#
using System.Collections.Generic;
using System.Threading.Tasks;
using SocialToolBox.Core.Async;
using SocialToolBox.Core.Database;
using SocialToolBox.Core.Database.Projection;
using SocialToolBox.Core.Database.Serialization;
namespace SocialToolBox.Core.Mocks.Database.Projections
{
/// <summary>
/// An... |
8753d1e4-c562-4630-b66b-3644bab84055 | {
"language": "C#"
} | ```c#
#tool "nuget:?package=GitVersion.CommandLine"
#addin "Cake.Yaml"
public class ContextInfo
{
public string NugetVersion { get; set; }
public string AssemblyVersion { get; set; }
public GitVersion Git { get; set; }
public string BuildVersion
{
get { return NugetVersion + "-" + Git.Sha;... | ```c#
#tool "nuget:?package=GitVersion.CommandLine"
#addin "Cake.Yaml"
public class ContextInfo
{
public string NugetVersion { get; set; }
public string AssemblyVersion { get; set; }
public GitVersion Git { get; set; }
public string BuildVersion
{
get { return NugetVersion + "-" + Git.Sha;... |
a2569d60-bf64-4eed-ad40-74006368bb02 | {
"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 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... |
489c9c07-584d-4e69-b938-32de3ff4d0a3 | {
"language": "C#"
} | ```c#
#if TFS2015u2
using System;
using System.Diagnostics.CodeAnalysis;
using Microsoft.TeamFoundation.Framework.Server;
using Microsoft.VisualStudio.Services.Location;
using Microsoft.VisualStudio.Services.Location.Server;
namespace Aggregator.Core.Extensions
{
public static class LocationServiceExtensions
... | ```c#
#if TFS2015u2
using System;
using System.Diagnostics.CodeAnalysis;
using Microsoft.TeamFoundation.Framework.Server;
using Microsoft.VisualStudio.Services.Location;
using Microsoft.VisualStudio.Services.Location.Server;
namespace Aggregator.Core.Extensions
{
public static class LocationServiceExtensions
... |
995f79f3-5d15-4e02-bc4d-c48be22da14d | {
"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.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Game.Online.Rooms;
using osu.Game.Screens.OnlinePlay.Multipl... | ```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.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Game.Screens.OnlinePlay.Multiplayer.Match;
namespace osu.Ga... |
5697bc28-6a5b-4e36-baf9-e4cdcb40e199 | {
"language": "C#"
} | ```c#
using System.Collections.Generic;
using Umbraco.Core;
using Umbraco.Core.Logging;
using Umbraco.Core.Models.Editors;
using Umbraco.Core.PropertyEditors;
namespace Umbraco.Web.PropertyEditors
{
/// <summary>
/// Represents a media picker property editor.
/// </summary>
[DataEditor(
Consta... | ```c#
using System.Collections.Generic;
using Umbraco.Core;
using Umbraco.Core.Logging;
using Umbraco.Core.Models.Editors;
using Umbraco.Core.PropertyEditors;
namespace Umbraco.Web.PropertyEditors
{
/// <summary>
/// Represents a media picker property editor.
/// </summary>
[DataEditor(
Consta... |
8a570a69-177e-4211-aeae-e5695715c598 | {
"language": "C#"
} | ```c#
using Esri.ArcGISRuntime;
using Esri.ArcGISRuntime.Controls;
using Esri.ArcGISRuntime.Geometry;
using Esri.ArcGISRuntime.Layers;
using System.Linq;
using Windows.UI.Xaml.Controls;
namespace ArcGISRuntimeSDKDotNet_StoreSamples.Samples
{
/// <summary>
///
/// </summary>
/// <category>Mapping</category>
p... | ```c#
using Esri.ArcGISRuntime;
using Esri.ArcGISRuntime.Controls;
using Esri.ArcGISRuntime.Geometry;
using Esri.ArcGISRuntime.Layers;
using System.Linq;
using Windows.UI.Xaml.Controls;
namespace ArcGISRuntimeSDKDotNet_StoreSamples.Samples
{
/// <summary>
///
/// </summary>
/// <category>Mapping</category>
p... |
b64b66ae-9eca-46ef-9754-ebbfbe665f78 | {
"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.Game.Graphics.Containers;
namespace osu.Game.Screens.Edit.Setup
{
public class SetupSc... | ```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.Game.Graphics.Containers;
namespace osu.Game.Screens.Edit.Setup
{
public class SetupSc... |
17641b60-6d4d-44d4-b402-e9e0c9731313 | {
"language": "C#"
} | ```c#
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Hosting;
using Mitternacht;
using System.Threading.Tasks;
namespace MitternachtWeb {
public class Program {
public static async Task Main(string[] args) {
await new MitternachtBot(0, 0).RunAsync(args);
await CreateHostBuilder(args).Build... | ```c#
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Hosting;
using Mitternacht;
using System.Threading.Tasks;
namespace MitternachtWeb {
public class Program {
public static MitternachtBot MitternachtBot;
public static async Task Main(string[] args) {
MitternachtBot = new MitternachtBot(0, 0)... |
15e3c7d8-4396-495e-8342-124d2fe23e0c | {
"language": "C#"
} | ```c#
using HarryPotterUnity.Cards.BasicBehavior;
using JetBrains.Annotations;
namespace HarryPotterUnity.Cards.Quidditch.Items
{
[UsedImplicitly]
public class BluebottleBroom : ItemLessonProvider
{
public override void OnSelectedAction()
{
var card = Player.Discard.GetHealable... | ```c#
using HarryPotterUnity.Cards.BasicBehavior;
using JetBrains.Annotations;
namespace HarryPotterUnity.Cards.Quidditch.Items
{
[UsedImplicitly]
public class BluebottleBroom : ItemLessonProvider
{
public override void OnSelectedAction()
{
var card = Player.Discard.GetHealable... |
df9767fe-1fdb-48e8-a39d-1be27601b2ec | {
"language": "C#"
} | ```c#
using System;
using System.IO;
using System.Net.Http;
using Firestorm.Tests.Examples.Football.Web;
using Microsoft.AspNetCore.Hosting;
namespace Firestorm.Tests.Examples.Football.Tests
{
public class FootballTestFixture : IDisposable
{
private readonly IWebHost _host;
public HttpClient H... | ```c#
using System;
using System.IO;
using System.Net.Http;
using Firestorm.Tests.Examples.Football.Web;
using Microsoft.AspNetCore.Hosting;
namespace Firestorm.Tests.Examples.Football.Tests
{
public class FootballTestFixture : IDisposable
{
private static int _startPort = 3000;
private readon... |
d910748a-34dc-4249-8613-773a45bdd3fe | {
"language": "C#"
} | ```c#
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Newtonsoft.Json;
using Newtonsoft.Json.Serialization;
namespace Microsoft.AspNetCore.Mvc.Formatters
{
/// <summary>
/// Helper clas... | ```c#
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Newtonsoft.Json;
using Newtonsoft.Json.Serialization;
namespace Microsoft.AspNetCore.Mvc.Formatters
{
/// <summary>
/// Helper clas... |
3e662598-24c9-46ec-a860-e5bdd23847dc | {
"language": "C#"
} | ```c#
using Utf8Json;
namespace Nest
{
internal class TypeNameFormatter : IJsonFormatter<TypeName>
{
public TypeName Deserialize(ref JsonReader reader, IJsonFormatterResolver formatterResolver)
{
if (reader.GetCurrentJsonToken() == JsonToken.String)
{
TypeName typeName = reader.ReadString();
retur... | ```c#
using Utf8Json;
namespace Nest
{
internal class TypeNameFormatter : IJsonFormatter<TypeName>, IObjectPropertyNameFormatter<TypeName>
{
public TypeName Deserialize(ref JsonReader reader, IJsonFormatterResolver formatterResolver)
{
if (reader.GetCurrentJsonToken() == JsonToken.String)
{
TypeName t... |
255e412a-aa80-4fcc-91f7-f48e88484d3b | {
"language": "C#"
} | ```c#
namespace Tests
{
using System;
using System.IO;
using System.Reflection;
using System.Xml.Linq;
using JetBrains.Annotations;
using Tests.Properties;
using Xunit;
public class IntegrationTests
{
[NotNull]
private readonly Assembly _assembly;
public... | ```c#
namespace Tests
{
using System;
using System.IO;
using System.Reflection;
using System.Xml.Linq;
using JetBrains.Annotations;
using Tests.Properties;
using Xunit;
public class IntegrationTests
{
[NotNull]
private readonly string _targetFolder = AppDomain.Cu... |
e6918b6b-fc43-42a3-95cf-0c21c1970d0d | {
"language": "C#"
} | ```c#
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using Talks.C2DF.Interfaces;
namespace Talks.C2DF.Web.Controllers
{
public class HomeController: Controller
{
//ICostCalculator calculator;
//public HomeController(ICostCalculator calculator)
//{
... | ```c#
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using Talks.C2DF.BetterApp.Lib.Logging;
using Talks.C2DF.Interfaces;
namespace Talks.C2DF.Web.Controllers
{
public class HomeController: Controller
{
ISendingMicroApp sendingApp;
IAppLogger _logger;... |
0e1f8b95-358b-429d-93e3-50cadf92a598 | {
"language": "C#"
} | ```c#
using WalletWasabi.Gui.Controls.TransactionDetails.ViewModels;
using WalletWasabi.Gui.ViewModels;
namespace WalletWasabi.Gui.Controls.WalletExplorer
{
public class TransactionInfoTabViewModel : WasabiDocumentTabViewModel
{
public TransactionInfoTabViewModel(TransactionDetailsViewModel transaction) : base("")... | ```c#
using System;
using System.Reactive.Disposables;
using System.Reactive.Linq;
using ReactiveUI;
using Splat;
using WalletWasabi.Gui.Controls.TransactionDetails.ViewModels;
using WalletWasabi.Gui.ViewModels;
namespace WalletWasabi.Gui.Controls.WalletExplorer
{
public class TransactionInfoTabViewModel : WasabiDocu... |
d3edbfcd-6067-45c7-a478-e6f8f1be699a | {
"language": "C#"
} | ```c#
using System;
using System.Collections.Generic;
using JetBrains.Application;
using JetBrains.DataFlow;
using JetBrains.Lifetimes;
using JetBrains.ProjectModel;
using JetBrains.ReSharper.Plugins.Yaml.ProjectModel;
using JetBrains.Util;
namespace JetBrains.ReSharper.Plugins.Yaml.Tests
{
[ShellComponent]
publi... | ```c#
using System;
using System.Collections.Generic;
using JetBrains.Application;
using JetBrains.Lifetimes;
using JetBrains.ProjectModel;
using JetBrains.ReSharper.Plugins.Yaml.ProjectModel;
using JetBrains.Util;
namespace JetBrains.ReSharper.Plugins.Yaml.Tests
{
[ShellComponent]
public class UnityTestsSpecific... |
e735f9e0-3e27-40bb-8475-5cd040dd2828 | {
"language": "C#"
} | ```c#
using System;
using System.Collections.Generic;
using System.Linq;
namespace MultiMiner.Xgminer.Api.Parsers
{
class VersionInformationParser : ResponseTextParser
{
public static void ParseTextForVersionInformation(string text, MultiMiner.Xgminer.Api.Data.VersionInformation versionInformation)
... | ```c#
using System;
using System.Collections.Generic;
using System.Linq;
namespace MultiMiner.Xgminer.Api.Parsers
{
class VersionInformationParser : ResponseTextParser
{
public static void ParseTextForVersionInformation(string text, MultiMiner.Xgminer.Api.Data.VersionInformation versionInformation)
... |
113e5078-1ca6-4003-9403-1084cb4cd52c | {
"language": "C#"
} | ```c#
using System;
using System.Data;
using System.Data.SqlClient;
using Microsoft.SqlServer.Server;
namespace DeviceHive.Setup.Actions
{
class SqlDatabaseValidator
{
private SqlConnection _connection;
public SqlDatabaseValidator(SqlConnection connection)
{
if (connection... | ```c#
using System;
using System.Data;
using System.Data.SqlClient;
using Microsoft.SqlServer.Server;
namespace DeviceHive.Setup.Actions
{
class SqlDatabaseValidator
{
private SqlConnection _connection;
public SqlDatabaseValidator(SqlConnection connection)
{
if (connection... |
276d6d57-9f1c-43c7-a2fd-f8025f039698 | {
"language": "C#"
} | ```c#
//
// MonoTouch defines for docfixer
//
using System;
using System.IO;
using System.Reflection;
using MonoTouch.Foundation;
public partial class DocGenerator {
static Assembly assembly = typeof (MonoTouch.Foundation.NSObject).Assembly;
const string BaseNamespace = "MonoTouch";
static string GetMostRecentDocB... | ```c#
//
// MonoTouch defines for docfixer
//
using System;
using System.IO;
using System.Reflection;
using MonoTouch.Foundation;
public partial class DocGenerator {
static Assembly assembly = typeof (MonoTouch.Foundation.NSObject).Assembly;
const string BaseNamespace = "MonoTouch";
static string GetMostRecentDocB... |
6b5c687e-7a0a-43d7-b196-7f64e921bb1d | {
"language": "C#"
} | ```c#
using JetBrains.ReSharper.FeaturesTestFramework.Intentions;
using JetBrains.ReSharper.Intentions.CSharp.QuickFixes;
using JetBrains.ReSharper.TestFramework;
using NUnit.Framework;
namespace XmlDocInspections.Plugin.Tests.Integrative
{
[TestFixture]
[TestNetFramework4]
public class AddDocCommentFixTe... | ```c#
using JetBrains.ReSharper.FeaturesTestFramework.Intentions;
using JetBrains.ReSharper.Intentions.CSharp.QuickFixes;
using JetBrains.ReSharper.TestFramework;
using NUnit.Framework;
namespace XmlDocInspections.Plugin.Tests.Integrative
{
[TestFixture]
[TestNetFramework4]
public class AddDocCommentFixTe... |
d39b3e17-4a00-4d16-93cf-eceaf4c33f7d | {
"language": "C#"
} | ```c#
using System;
using System.Data;
using System.Data.Entity;
using System.Linq;
using System.Threading.Tasks;
using Dapper;
using SFA.DAS.EAS.Domain.Configuration;
using SFA.DAS.EAS.Domain.Data.Repositories;
using SFA.DAS.EAS.Domain.Models.UserProfile;
using SFA.DAS.Sql.Client;
using SFA.DAS.NLog.Logger;... | ```c#
using System;
using System.Data;
using System.Data.Entity;
using System.Linq;
using System.Threading.Tasks;
using Dapper;
using SFA.DAS.EAS.Domain.Configuration;
using SFA.DAS.EAS.Domain.Data.Repositories;
using SFA.DAS.EAS.Domain.Models.UserProfile;
using SFA.DAS.Sql.Client;
using SFA.DAS.NLog.Logger;... |
7b0a7976-327e-4c3f-b43e-b6d63dbdad3f | {
"language": "C#"
} | ```c#
using Amazon.Lambda.Core;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using Amazon.Lambda.APIGatewayEvents;
namespace Amazon.Lambda.AspNetCoreServer
{
/// <summary>
/// Helper extensions for APIGatewayProxyFunction
/// </summary>... | ```c#
using Amazon.Lambda.Core;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using Amazon.Lambda.APIGatewayEvents;
using Amazon.Lambda.AspNetCoreServer;
namespace Amazon.Lambda.TestUtilities
{
/// <summary>
/// Extension methods for APIGate... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.