text stringlengths 1 932k |
|---|
using host.iot.solution.Filter;
using iot.solution.entity.Structs.Routes;
using iot.solution.service.Interface;
using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.IO;
using System.Net;
using System.Text;
using Entity = iot.solution.entity;
namespace host.iot.solution.Controll... |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... |
@model HopAmNhacThanh.Models.Song
@{
ViewData["Title"] = "Chi tiết";
ViewData["Heading"] = "Bài hát";
ViewData["SmallHeading"] = "";
ViewData["BreadcrumbOne"] = "Quản lý web";
ViewData["BreadcrumbTwo"] = "Bài hát";
ViewData["BreadcrumbThree"] = "Chi tiết bài hát";
ViewData["BoxTitle"] = "Ch... |
using System;
using System.Windows.Forms;
namespace RubiksCube.Game
{
static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main()
{
Application.EnableVisualStyles();
App... |
// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
namespace Pulumi.Azur... |
// 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;
using System.Diagnostics;
using System.IO;
using System.IO.Pipes;
using System.Linq;
using System.Run... |
namespace Domain.Customers
{
using System.Collections.Generic;
using System.Collections.ObjectModel;
using Domain.Accounts.ValueObjects;
public sealed class AccountCollection
{
private readonly IList<AccountId> _accountIds;
public AccountCollection()
{
_accountI... |
using System;
using System.Collections.Generic;
namespace demoProject.Sessions.Dto
{
public class ApplicationInfoDto
{
public string Version { get; set; }
public DateTime ReleaseDate { get; set; }
public Dictionary<string, bool> Features { get; set; }
}
} |
// DigitalRune Engine - Copyright (C) DigitalRune GmbH
// This file is subject to the terms and conditions defined in
// file 'LICENSE.TXT', which is part of this source code package.
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Windows;
using System.Win... |
using ManagerAPI.Services.Services.Interfaces;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
namespace ManagerAPI.Backend.Controllers
{
/// <summary>
/// Notification Controller
/// </summary>
[Route("api/[controller]")]
[ApiController]
[Authorize]
public class ... |
using EddiDataDefinitions;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.IO;
using Utilities;
namespace EddiCore
{
/// <summary>Configuration for EDDI</summary>
public class EDDIConfiguration : INotifyPropertyChanged
{
[JsonIgnore]... |
// Copyright 2020 The Tilt Brush Authors
//
// 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 ... |
// *** WARNING: this file was generated by crd2pulumi. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
namespace Pulumi.Kubernetes.Types.I... |
// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
namespace Pulumi.Azur... |
/**
* Copyright 2013 Canada Health Infoway, 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 applicab... |
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using Newtonsoft.Json;
namespace Essensoft.AspNetCore.Payment.Alipay.Domain
{
/// <summary>
/// KoubeiCateringItemCreateModel Data Structure.
/// </summary>
[Serializable]
public class KoubeiCateringItemCreateModel : Al... |
using System;
using NetOffice;
namespace NetOffice.WordApi.Enums
{
/// <summary>
/// SupportByVersion Word 9, 10, 11, 12, 14, 15, 16
/// </summary>
///<remarks> MSDN Online Documentation: http://msdn.microsoft.com/en-us/en-us/library/office/ff845860.aspx </remarks>
[SupportByVersionAttribute("Word", 9,10,11,1... |
namespace Earth.Core
{
public class VertexAttributeByte : VertexAttribute<byte>
{
public VertexAttributeByte(string name)
: base(name, VertexAttributeType.UnsignedByte)
{
}
public VertexAttributeByte(string name, int capacity)
: base(name, VertexAttribut... |
using System;
using System.Collections.Generic;
using System.Linq;
using SharpBrick.PoweredUp.Protocol;
using SharpBrick.PoweredUp.Utils;
namespace SharpBrick.PoweredUp;
public class TechnicMediumAngularMotorGrey : AbsoluteMotor, IPoweredUpDevice
{
public TechnicMediumAngularMotorGrey()
: base()
{ }
... |
/*
* Copyright 2014 Dominick Baier, Brock Allen
*
* 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 la... |
using System.Collections.Generic;
using System.Threading.Tasks;
namespace EasyDapper.Abstractions
{
public interface IExecuteProcedureStatement<TReturn>
{
IList<ParameterDefinition> ParameterDefinitions { get; }
TReturn Go();
Task<TReturn> GoAsync();
IExecuteProcedureStateme... |
/*
* Copyright 2010-2014 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "l... |
/*
MIT LICENSE
Copyright 2017 Digital Ruby, LLC - http://www.digitalruby.com
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, c... |
using System;
using System.Collections.Generic;
using System.Reflection;
using System.Threading;
using System.Threading.Tasks;
using MediatR;
using Serilog;
namespace ShoppingCart.Behaviours
{
public class LoggingBehaviour<TRequest, TResponse> : IPipelineBehavior<TRequest, TResponse>
{
private readonly... |
using MvvmKit;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MvvmKitAppSample.Components.PageOne
{
public class ItemVm : BindableBase
{
private string _Value;
public string Value { get { return _Value; } set { Set... |
using System;
using SLua;
using System.Collections.Generic;
[UnityEngine.Scripting.Preserve]
public class Lua_UnityEngine_ImageEffectAfterScale : LuaObject {
[SLua.MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
[UnityEngine.Scripting.Preserve]
static public int constructor(IntPtr l) {
try {
#if DEBUG
... |
using System;
using System.Xml;
using System.Xml.Schema;
namespace XsdDocumentation.Model
{
public sealed class DocumentationInfo
{
public XmlNode SummaryNode { get; set; }
public XmlNode RemarksNode { get; set; }
public XmlNode ExamplesNode { get; set; }
public XmlNode RelatedT... |
using Mediapipe;
using NUnit.Framework;
using System;
using System.Linq;
using Unity.Collections;
namespace Tests {
public class ImageFrameTest {
#region Constructor
[Test, SignalAbort]
public void Ctor_ShouldInstantiateImageFrame_When_CalledWithNoArguments() {
using (var imageFrame = new ImageFram... |
using System;
using System.Collections.Generic;
using System.Data.Entity.Core.Metadata.Edm;
using OpenRiaServices.DomainServices.Tools;
namespace OpenRiaServices.VisualStudio.DomainServices.Tools
{
/// <summary>
/// Subclass of <see cref="BusinessLogicContext"/> that handles the LinqToEntities type of domain ... |
using CloudNimble.SimpleMessageBus.Core;
using Microsoft.Extensions.Options;
using Microsoft.Azure.Storage;
using Microsoft.Azure.Storage.Queue;
using System;
using System.Threading.Tasks;
namespace CloudNimble.SimpleMessageBus.Publish
{
/// <summary>
/// Manages the process of publishing MessageBus messages... |
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fi... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is regenerated.
namespace Microso... |
namespace Grunt.Models.HaloInfinite
{
public class LobbyHopperErrorMessage
{
public string GameStartError { get; set; }
public int GameStartErrorId { get; set; }
public DisplayString DisplayString { get; set; }
}
} |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//----------------------------------------... |
//
// AVAssetResourceLoadingDataRequest.cs
//
// Author:
// Miguel de Icaza (miguel@xamarin.com)
//
// Copyright 2012, 2014 Xamarin Inc
//
#if !WATCH
using System;
using XamCore.Foundation;
namespace XamCore.AVFoundation {
public partial class AVAssetResourceLoadingDataRequest {
public override string ToString ... |
namespace Duality.Editor.Plugins.ObjectInspector
{
partial class ObjectInspector
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">... |
namespace Panda.ViewModels.Users
{
public class RegisterUserInputModel
{
public string Username { get; set; }
public string Email { get; set; }
public string Password { get; set; }
public string ConfirmPassword { get; set; }
}
} |
namespace MyCoolWebServer.GameStoreApplication.ViewModels.Admin
{
using Common;
using System;
using System.ComponentModel.DataAnnotations;
public class AdminAddGameViewModel
{
[Required]
[MinLength(
ValidationConstants.Game.TitleMinLength,
ErrorMessage = Val... |
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
namespace MoonSharp.Interpreter.Loaders
{
/// <summary>
/// A script loader loading scripts from an assembly resources
/// </summary>
public class EmbeddedResourcesScriptLoader : ScriptLoaderBase
{
private string... |
//
// StringEx.cs
//
// Author:
// Jim Borden <jim.borden@couchbase.com>
//
// Copyright (c) 2015 Couchbase, Inc All rights reserved.
//
// 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 Licens... |
// <auto-generated>
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.
// </auto-generated>
namespace BillingAPI
{
using Microsoft.Rest;
using Models;
using System.Collections;
using System.Collections.Gene... |
/* ------------------------------------------------------------------------- */
//
// Copyright (c) 2010 CubeSoft, 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.... |
// Copyright (c) Microsoft. All rights reserved.
// Copyright (c) Denis Kuzmin <x-3F@outlook.com> github/3F
// Copyright (c) IeXod contributors https://github.com/3F/IeXod/graphs/contributors
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using Syste... |
using System;
using System.Collections.Generic;
using System.Reflection.Emit;
namespace Assimalign.Extensions.DependencyInjection.ServiceLoopkup.ILEmit
{
internal sealed class ILEmitResolverBuilderContext
{
public ILGenerator Generator { get; set; }
public List<object> Constants { get; set; }
... |
namespace _09._Linked_List_Traversal
{
using System.Collections;
using System.Collections.Generic;
public class LinkedList<T> : IEnumerable<T>
{
private LinkedListNode<T> firstElement;
public LinkedList()
{
}
public LinkedList(T item)
{
var... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Diagnostics;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Aurora.Settings;
using Aurora.Utils;
using Bloody.NET;
namespace Aurora.Devices.Bloody
{
public class BloodyDevice ... |
// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
namespace Pulumi.Goog... |
using System;
using Microsoft.Extensions.DependencyInjection;
using Shiny.Caching;
using Shiny.Infrastructure;
using Shiny.Settings;
namespace Shiny
{
public static class ServiceCollectionExtensions
{
public static void UseLiteDbStorage(this IServiceCollection services)
{
services.... |
// Copyright 2021 Yubico AB
//
// 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 to in w... |
using System;
using System.Runtime.Serialization;
using Newtonsoft.Json;
namespace Schema.NET
{
/// <summary>
/// The act of stopping or deactivating a device or application (e.g. stopping a timer or turning off a flashlight).
/// </summary>
[DataContract]
public partial class DeactivateAction : Co... |
using System;
using UltimaOnline.Items;
namespace UltimaOnline.Mobiles
{
[CorpseName("an arcane daemon corpse")]
public class ArcaneDaemon : BaseCreature
{
public override WeaponAbility GetWeaponAbility()
{
return WeaponAbility.ConcussionBlow;
}
[Constructable]
... |
using System;
using System.Collections.Generic;
namespace Mvvm.Framework.ViewModel
{
/// <summary>
/// A dispatcher that runs some action on certain model changes.
/// </summary>
public interface IModelChangeNotifier
{
/// <summary>
/// Associates the given model with a given actio... |
using System;
using System.Web.Http;
using Microsoft.Owin.Hosting;
using Owin;
using TestableWebApi.Api;
namespace TestableWebApi.Hosts.KatanaHost
{
class Program
{
static void Main(string[] args)
{
string uri = "http://localhost:8080/";
using (WebApp.Start<Startup>(ur... |
namespace ValidCode.Recursion.InstanceMapRepro
{
using System;
using System.Collections.Generic;
/// <summary>
/// Similar to Nullable{T} but for any type.
/// </summary>
public struct Maybe<T> : IEquatable<Maybe<T>>
{
private readonly T value;
private Maybe(bool hasValue,... |
using Newtonsoft.Json;
namespace KLog.DataModel.DTOs.GitHub
{
public class Owner
{
[JsonProperty("id")]
public long Id { get; set; }
[JsonProperty("login")]
public string Login { get; set; }
[JsonProperty("url")]
public string Url { get; set; }
[JsonProp... |
using SDML.NET.Renderer.VisualComponents;
namespace SDML.NET.Renderer.Factory
{
internal class PlainClosedRenderer : IRenderer
{
public string Render(SdmlTag element) =>
$"{element.ClosedTag}";
}
} |
// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
namespace Pulumi.Azur... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text.Encodings.Web;
using System.Text;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Identity.UI.Services;
using Microsoft.... |
//
// Copyright (C) Microsoft. All rights reserved.
//
using Microsoft.PowerShell.Activities;
using System.Management.Automation;
using System.Activities;
using System.Collections.Generic;
using System.ComponentModel;
namespace Microsoft.PowerShell.Management.Activities
{
/// <summary>
/// Activity to inv... |
using System;
using System.Linq;
using System.Threading.Tasks;
using Dexter.Abstractions;
using Dexter.Configurations;
using Dexter.Events;
using Discord;
using Microsoft.EntityFrameworkCore;
namespace Dexter.Databases.Levels
{
/// <summary>
/// An abstraction of the data structure holding all relevant information... |
// ------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by SpecFlow (http://www.specflow.org/).
// SpecFlow Version:3.1.0.0
// SpecFlow Generator Version:3.1.0.0
//
// Changes to this file may cause incorrect behavior and wil... |
using FluentAssertions;
using NUnit.Framework;
namespace Scalesque.EitherOr {
public class Customer {
public int CreditScore { get; set; }
public bool GoldCustomer { get; set; }
}
public class LoanRequest {
public double Value { get; set; }
public Customer Customer { get;... |
// 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.Collections.Immutable;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
... |
using Microsoft.AspNetCore.Mvc;
using ProjectName.Models;
using System.Collections.Generic;
namespace ProjectName.Controllers
{
public class ObjectPlural_Controller : Controller
{
[HttpGet("/items")]
public ActionResult Index()
{
List<Item> allItems = Item.GetAll();
return View(allItems);
... |
/* Yet Another Forum.NET
* Copyright (C) 2003-2005 Bjørnar Henden
* Copyright (C) 2006-2013 Jaben Cargman
* Copyright (C) 2014-2015 Ingo Herbote
* http://www.yetanotherforum.net/
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* dist... |
namespace PackageInstaller.Core.Services;
public static class PlatformDependentPackageManagerExtensions
{
public static async Task<IPlatformDependentPackageManager> GetSupportedManagerAsync(
this IEnumerable<IPlatformDependentPackageManager> managers,
FileSystemPath packageFilePath
)
{
... |
using CCXT.NET.Coin.Trade;
using CCXT.NET.Coin.Types;
using CCXT.NET.Configuration;
using Newtonsoft.Json;
using System;
namespace CCXT.NET.Poloniex.Trade
{
/// <summary>
///
/// </summary>
public class PMyTradeItem : CCXT.NET.Coin.Trade.MyTradeItem, IMyTradeItem
{
/// <summary>
//... |
namespace NavigationLibrary
{
/// <summary>
/// Stores border coordinates of the mission plateau.
/// </summary>
public sealed class Plateau
{
private long LowerXCor;
private long LowerYCor;
private long UpperXCor;
private long UpperYCor;
private Plateau() ... |
namespace Pulstar.Services.Models.Purchase
{
public class PurchaseProduct
{
public int Id { get; set; }
public decimal PriceAfterDiscount { get; set; }
}
} |
using HarmonyLib;
using RimWorld;
using Verse;
namespace SyrHarpy
{
// Token: 0x0200000B RID: 11
[HarmonyPatch(typeof(NegativeInteractionUtility), "NegativeInteractionChanceFactor")]
public class NegativeInteractionChanceFactorPatch
{
// Token: 0x06000038 RID: 56 RVA: 0x0000330C File Offset: 0... |
using System;
using CreditManagementTest.Dtos.Responses.Shared;
using CreditManagementTest.Dtos.Responses.User;
namespace CreditManagementTest.Dtos.Responses.CustomerCreditDetail
{
public class CustomerDetailDto : SuccessResponse
{
public long Id { get; set; }
public int Limit { get; set; }
... |
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
namespace Flagscript.Alexa.Request
{
/// <summary>
/// A request made to an Alexa skill to notify that a session was ended.
/// </summary>
[JsonObject]
public class AlexaSessionEndedRequest : AlexaRequestDataBase
{
#region Additional Request Propertie... |
// Copyright (c) Microsoft Open Technologies, Inc. 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.Threading;
namespace Roslyn.Utilities
{
internal class CancellableLazy<T>
{
private NonRee... |
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Microsoft.AspNet.Mvc;
namespace CompositeViewEngineWebSite
{
public class HomeController
{
public ViewResult In... |
using System;
using TensorSharp.Core;
namespace TensorSharp
{
public static class Ops
{
public static Tensor NewContiguous(Tensor src)
{
Tensor result = new Tensor(src.Allocator, src.ElementType, (long[])src.Sizes.Clone());
Copy(result, src);
return result;
... |
using System;
namespace PowerUtils.Globalization.Tests;
public class DateTimeExtensionsTests
{
[Fact]
public void ToTimestampMS_Datime_Timestamp()
{
// Arrange
var date = new DateTime(2019, 12, 12, 8, 12, 39);
// Act
var act = date.ToTimestampMS();
// Assert
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace Teknik.Areas.API.Models
{
public class APIv1PasteModel : APIv1BaseModel
{
[AllowHtml]
public string code { get; set; }
public string title { get; set; }
public... |
using System;
using Fonet.Pdf;
using System.IO;
namespace TestHelloCanvas
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Hello World!");
string outputFilename = "bin\\output.pdf";
using (FileStream outputStream = new FileStream(outputF... |
using System;
using System.Net.Http;
using System.Security.Cryptography.X509Certificates;
using System.Text.Json;
using System.Threading.Tasks;
namespace AzureCertAuthClientConsole
{
class Program
{
static async Task Main(string[] args)
{
Console.WriteLine("Get data!");
... |
using System;
namespace mywebapi
{
public interface IScopedService{}
public class ScopedService: IScopedService{
public readonly string _operationId;
public ScopedService(){
_operationId = " ScopedService Created Time: " + DateTime.Now + "Guid: " + Guid.NewGuid();
}
public override string ToString(... |
// 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.Linq;
using System.Threading;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.C... |
/*
* NiFi Rest Api
*
* The Rest Api provides programmatic access to command and control a NiFi instance in real time. Start and stop processors, monitor queues, query provenance data, and more. Each endpoint below includes a description, ... |
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
names... |
namespace System.Algorithm;
/// <summary>
/// Defines some sequences that has been recorded in the
/// <see href="https://oeis.org/">On-Line Encyclopedia of Integer Sequences</see>.
/// </summary>
public static class Sequences
{
/// <summary>
/// Gets the value at the specified index in the sequence
/// <see href=... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
namespace Azure.Search.Documents.Indexes.Models
{
/// <summary> Provides parameter values to a tag scoring function. </summary>
public partial class TagScoring... |
using System.Collections.Generic;
namespace CoinMonitoringPortalApi.Data.Messages.CoinManagers
{
public class PoloniexBalanceRequest
{
public string Command => "returnBalances";
public string Nonce { get; set; }
}
public class PoloniexBalanceResponse
{
public Dictionary<string, decimal> Balances { get; se... |
using NUnit.Framework;
using SmartFormat.Pooling.SpecializedPools;
namespace SmartFormat.Tests.Pooling;
[TestFixture]
public class HashSetPoolTests
{
private static HashSetPool<int> GetHashSetPool()
{
ListPool<int>.Instance.Clear();
var hsp = HashSetPool<int>.Instance;
hsp.Pool.IsPool... |
using System.Collections.Generic;
namespace Eventi.Contracts.V1.Responses
{
public class AuthFailedResponse
{
public IEnumerable<string> Errors { get; set; }
}
} |
using System.Collections.Generic;
using NUnit.Framework;
namespace Samples {
[Category (CATEGORY)]
public class IosSampleTester : SampleTester {
const string ORG = "xamarin";
const string REPO = "ios-samples"; // monotouch-samples redirects to ios-samples
const string CATEGORY = "iossamples"; // categories ca... |
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Routing;
namespace Web.Core.Routing.Apps
{
public class ArticleAdminRouter
{
public static void Initialize(IRouteBuilder routes)
{
routes.MapRoute(
name: "article_admin_list",
template: "... |
using Newtonsoft.Json;
namespace olmelabs.battleship.api.Models.Dto
{
public class P2PFireCannonDto
{
[JsonProperty("code")]
public string Code { get; set; }
[JsonProperty("connectionId")]
public string ConnectionId { get; set; }
[JsonProperty("cellId")]
publ... |
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fi... |
// Copyright (c) Sven Groot (Ookii.org) 2009
// BSD license; see LICENSE for details.
using System;
using System.ComponentModel;
using System.Diagnostics;
using System.Runtime.InteropServices;
using System.Windows;
using System.Windows.Interop;
using Ookii.Dialogs.Wpf.Interop;
using Ookii.Dialogs.Wpf.Properties;
name... |
using System.Collections.Generic;
using System.Linq;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Primitives;
namespace Moq.Microsoft.Configuration
{
internal sealed class ConfigurationSection : IConfigurationSection
{
public ConfigurationSection(string key, string? path = null)
{
pat... |
using System.Linq;
using System.Net;
using System.Threading.Tasks;
using FluentAssertions;
using JsonApiDotNetCore.Configuration;
using JsonApiDotNetCore.Serialization.Objects;
using JsonApiDotNetCoreExampleTests.Startups;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.DependencyInjection;
using Newton... |
// <auto-generated/>
#pragma warning disable 1591
#pragma warning disable 0414
#pragma warning disable 0649
#pragma warning disable 0169
namespace ConnectFourCore.Shared
{
#line hidden
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microso... |
using UnityEngine;
namespace Lean.Touch
{
// This script will swap the target GameObject with one of the specified prefabs when swiping
public class LeanSwap : MonoBehaviour
{
[Tooltip("The GameObject that was swapped")]
public GameObject Target;
[Tooltip("The current index of Target within the Prefabs array... |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using GymnastikLigan;
namespace UnitTestProject
{
[TestClass]
public class CompetitionUnitTest
{
[TestMethod]
public void CreateNewCompetition()
{
try
{
var teams = new Teams()... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace RealClue
{
public enum CardId
{
Yard = 0,
GameRoom,
Library,
DiningRoom,
Garage,
Hall,
Kitchen,
BedRoom,
BathRoo... |
namespace Apex.ConnectApi
{
using ApexSharp;
using ApexSharp.ApexAttributes;
using ApexSharp.Implementation;
using global::Apex.System;
/// <summary>
///
/// </summary>
public class FeedItemSummary
{
// infrastructure
public FeedItemSummary(dynamic self)
{
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.