text
stringlengths
1
932k
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Reflection; using System.Text; using System.Text.RegularExpressions; using System.Threading.Tasks; using Microsoft.ApplicationInsights; using Micr...
using Catalog.API.Config; using Catalog.API.Configuration; using Catalog.API.Data; using Catalog.API.Data.Contract; using Catalog.API.Data.Database; using Catalog.API.Repositories; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Configur...
using System; using static System.Console; namespace Moo68k.Console { public static class RandomTester { public static void Run() { var m68k = new MC68000(); var r = new Random(); while (true) { System.Threading.Thread.Sleep(150);...
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using Microsoft.Azure.CognitiveServices.Vision.ComputerVision.Models; using Microsoft.CogSLanguageUtilities.Core.Services.Parser; using Microsoft.CogSLanguageUtilities.Definitions.Models.Document; using Microsoft.CogSLanguageUtilities.Tests.Con...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; using System.IO; using System.Linq; using System.Net.Sockets; using System.Net.Test.Common; using System.Security.Authentication; using System.Secur...
using System; using SqlKata; using SqlKata.Compilers; using Xunit; namespace SqlKata.Tests { public class WhiteListingOperators { public WhiteListingOperators() { } [Theory] [InlineData("!!")] [InlineData("~!")] [InlineData("*=")] public void ...
using System.Threading.Tasks; using Force.Cqrs; using Force.Ddd; namespace Infrastructure.Cqrs.Delete { public class DeleteStringEntityHandlerBaseAsync<TEntity, TCommand> : DeleteEntityHandlerBaseAsync<string, TEntity, TCommand> where TCommand : ICommand<Task>, IHasId<string> where TEntity : class,...
using System; using Ayehu.Sdk.ActivityCreation.Interfaces; using Ayehu.Sdk.ActivityCreation.Extension; using Ayehu.Sdk.ActivityCreation.Helpers; using System.Net; using System.Net.Http; using System.Text; using System.Collections.Generic; namespace Ayehu.Github { public class GH_Get_an_issue_comment : IActivityAsy...
// Copyright 2007-2018 Chris Patterson, Dru Sellers, Travis Smith, et. al. // // 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 // /...
using Blazored.Modal.Services; using Microsoft.AspNetCore.Components; using System; namespace Blazored.Modal { public class BlazoredModalBase : ComponentBase, IDisposable { [Inject] protected IModalService ModalService { get; set; } [Parameter] public bool HideCloseButton { get; set; } ...
// WARNING // // This file has been generated automatically by Visual Studio from the outlets and // actions declared in your storyboard file. // Manual changes to this file will not be maintained. // using Foundation; using System; using System.CodeDom.Compiler; namespace WatermarkToVideoCreator { [Register ("Vie...
using System; using System.ComponentModel; using System.Runtime.InteropServices; using static WinSW.Native.SecurityApis; namespace WinSW.Native { internal static class Security { /// <exception cref="CommandException" /> /// <exception cref="Win32Exception" /> internal static void AddS...
using System.Collections; using System.Collections.Generic; namespace ThermoRawFileParser.Util { //https://social.msdn.microsoft.com/Forums/vstudio/en-US/789c37ea-b9bf-4512-a418-f4f9532c59bf/dictionary-with-limited-size?forum=csharpgeneral public class LimitedSizeDictionary<TKey, TValue> : IDictionary<TKey, TV...
// Licensed to Elasticsearch B.V under one or more agreements. // Elasticsearch B.V licenses this file to you under the Apache 2.0 License. // See the LICENSE file in the project root for more information namespace Nest { public class DistinguishedNameRule : FieldRuleBase { public DistinguishedNameRule(string nam...
namespace MovieTheatre.Controllers { using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using MovieTheatre.Context; using MovieTheatre.Data; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.Rendering; using Microsoft.EntityFrameworkCore; ...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.IO; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; using System.Windows.Forms; namespace Login_Viewer { public partial class LookForDriveW...
using Microsoft.VisualStudio.TestTools.UnitTesting; using OpenXML.ExcelWrapper.Styling; using Shouldly; using System.Collections.Generic; using System.Linq; namespace OpenXML.ExcelWrapper.Tests { [TestClass] public class ExcelCellStyle_Equality { [TestMethod] public void ExcelCellStyle_One...
public enum HUDCharactorStatus.CharactorType // TypeDefIndex: 8545 { // Fields public int value__; // 0x0 public const HUDCharactorStatus.CharactorType Player = 0; public const HUDCharactorStatus.CharactorType PartnerA = 1; public const HUDCharactorStatus.CharactorType PartnerB = 2; public const HUDCharactorStatu...
using System; using System.ComponentModel; using EfsTools.Attributes; using EfsTools.Utils; using Newtonsoft.Json; using EfsTools.Items.Data; namespace EfsTools.Items.Nv { [Serializable] [NvItemId(658)] [Attributes(9)] public class GpsDaccIaccum3 { [ElementsCount(1)] [ElementType("u...
// <copyright file="DefaultGoogleProviderData.cs" company="Stormpath, Inc."> // Copyright (c) 2016 Stormpath, 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.a...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace TradeComissions { class Program { static void Main(string[] args) { string city = Console.ReadLine(); double sales = double.Parse(Console.ReadLi...
using System; using System.IO; namespace BPlusTreePractice { public partial class BPlusTree { /// <summary> /// 从指定的流初始化树 /// </summary> /// <param name="fromFile">指定的流</param> /// <param name="seekStart">流起始查询点</param> /// <param name="keyLength">键长度</param> /// <param name="nodeCapac...
// c:\program files (x86)\windows kits\10\include\10.0.18362.0\um\strmif.h(18797,5) using System; using System.Runtime.InteropServices; using LPDIRECTDRAW7 = DirectN.IDirectDraw7; namespace DirectN { [Guid("aada05a8-5a4e-4729-af0b-cea27aed51e2"), InterfaceType(ComInterfaceType.InterfaceIsIUnknown)] public par...
/* * 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...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class InputsAPI : MonoBehaviour { //walk private float right_input = 0f; private float left_input = 0f; //--bools private bool right_input_enabled = true; private bool left_input_enabled = true; //jump ...
// // Copyright (c) 2004-2020 Jaroslaw Kowalski <jaak@jkowalski.net>, Kim Christensen, Julian Verdurmen // // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions // are met: // // * Redistributions of s...
 @{ ViewData["Title"] = "Example03"; Layout = null; } <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <meta http-equiv="x-ua-compatible" content="ie=edge"> <title>ch04-example03</title> <l...
// 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. // // Revision history: // // BD - June 2013 - Created this file. // ER - July 2013 - Small tweaks. // using Syste...
using System; using System.Collections.Generic; using System.Linq; namespace DataAccess.Mock { public class PersonDal : IPersonDal { private static readonly List<PersonEntity> _personTable = new List<PersonEntity> { new PersonEntity { Id = 1, Name = "Andy"}, new PersonEntity { Id = 3, Name = "...
using UnityEngine; using UnityEditor; using System.Collections; using System.Collections.Generic; using LlockhamIndustries.ExtensionMethods; namespace LlockhamIndustries.Decals { public class DecalPlacement : EditorWindow { [MenuItem("Window/Decals/Placement")] private static void Init() ...
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using demo_repo.Models; namespace demo_repo.Controllers { public class HomeController : Controller { public IActionResult Index() { ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using MultiplayerGameFramework.Interfaces.Client; using MultiplayerGameFramework.Interfaces.Server; using Photon.SocketServer; namespace Servers.Models.Interfaces { public interface IPlayer { ...
//------------------------------------------------------------------------------ // <auto-generated> // Dieser Code wurde von einem Tool generiert. // Laufzeitversion:4.0.30319.34209 // // Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn // der Code erneut gener...
using System.Collections.Generic; using System.Collections.Immutable; using System.Globalization; using System.Linq; using BenchmarkDotNet.Analysers; using BenchmarkDotNet.Columns; using BenchmarkDotNet.Diagnosers; using BenchmarkDotNet.Exporters; using BenchmarkDotNet.Filters; using BenchmarkDotNet.Jobs; using Benchm...
#pragma checksum "C:\Users\Michael Douglas\Documents\GitHub\FormacaoAspNetCoreExpertDesenvolvedorIO\DominandoAspNetMVCCore\AspNetCoreIdentity\AspNetCoreIdentity\Views\Shared\Error.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "0356655907bb91bd8a7da7c35a88f387e8c1ed6f" // <auto-generated/> #pragma warning disable 159...
@model CryptoNews @{ ViewData["Title"] = "Crypto News"; } <div class="container p-4"> <div class="align-items-center d-flex" style="justify-content: space-between"> <h1>Crytpo</h1> <h3>News | Reddit Feed</h3> </div> <h3>Date: @System.DateTime.Now.ToShortDateString()</h3> <div class="d-grid p-2" sty...
using System; //Write an expression that checks if given integer is odd or even. class OddOrEven { static void Main() { Console.Title = "Problem 1. Odd or Even Integers"; Console.Write("Please enter a number: "); int number = int.Parse(Console.ReadLine()); bool isODD = number %...
// Copyright (c) 2015 Alachisoft // // 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 t...
using UnityEngine; using System.Collections.Generic; namespace Lean.Transition.Method { /// <summary>This component allows you to transition the specified Transform.localScale to the target value.</summary> [HelpURL(LeanTransition.HelpUrlPrefix + "LeanTransformLocalScale")] [AddComponentMenu(LeanTransition.Methods...
using System.Linq; namespace PracticeDependencyInversionPrinciple.Sample2.BeforeDIP { public class EmployeeStatistics { private EmployeeManager _empManager; public EmployeeStatistics(EmployeeManager empManager) { _empManager = empManager; } public int Coun...
namespace SKIT.FlurlHttpClient.Wechat.Api.Models { /// <summary> /// <para>表示 [POST] /tcb/uploadfile 接口的请求。</para> /// </summary> public class TcbUploadFileRequest : WechatApiRequest { /// <summary> /// 获取或设置环境 ID。 /// </summary> [Newtonsoft.Json.JsonProperty("env")]...
using System; using System.Web.UI; namespace Nucleo.Web.NavigationControls { public class NavigationBarContainerScriptMetadata : WebScriptMetadata { #region " Methods " public override ScriptReferencingRequestDetailsCollection GetPrimaryScripts() { ScriptReferencingRequestDetailsCollection list = new Scr...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System; using System.Buffers; namespace Microsoft.AspNetCore.Internal; internal static class BinaryMessageParser { private const int MaxLengthPrefixSize = 5; public...
#region License // // Copyright (c) 2013, Kooboo team // // Licensed under the BSD License // See the file LICENSE.txt for details. // #endregion using Kooboo.CMS.Modules.CMIS.Models; using System; using System.Collections.Generic; using System.Linq; using System.ServiceModel; using System.Text; namespace Kooboo.C...
// This is an open source non-commercial project. Dear PVS-Studio, please check it. // PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com /* StreamCollection.cs -- * Ars Magna project, http://arsmagna.ru * ------------------------------------------------------- * Status: poor */ #region ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Newtonsoft.Json; namespace Nexmo.Api.Voice.Nccos { public class TalkAction : NccoAction { [JsonProperty("text")] public string Text { get; set; } [JsonProperty("ba...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class ObjFace : MonoBehaviour { public Transform ObjToFollow = null; public bool FollowPlayer = false; void Awake(){ if(!FollowPlayer){ return; } GameObject PlayerObj = GameObject...
/* * [The "BSD license"] * Copyright (c) 2011 Terence Parr * All rights reserved. * * Conversion to C#: * Copyright (c) 2011 Sam Harwell, Pixel Mine, Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following co...
using Abp.Application.Features; using Abp.Domain.Repositories; using Abp.Domain.Uow; using Abp.MultiTenancy; using Abp.Runtime.Caching; using HS.Farm.Authorization.Users; using HS.Farm.MultiTenancy; namespace HS.Farm.Features { public class FeatureValueStore : AbpFeatureValueStore<Tenant, User> { publi...
namespace Replikit.Extensions.Views.Models; public record ViewInstance(string Type, IReadOnlyList<ViewInstanceAction> Actions);
using System; using System.Collections.Generic; using System.Collections.ObjectModel; namespace Template10.Models { public class TodoList : Mvvm.BindableBase { private string _Key = Guid.NewGuid().ToString(); public string Key { get { return _Key; } set { Set(ref _Key, value); } } pri...
// <auto-generated> // This is my custom license header. I am a nice person so please don't steal // my code. // // Cheers. // </auto-generated> namespace AwesomeNamespace.Models { using Newtonsoft.Json; using Newtonsoft.Json.Converters; using System.Runtime; using System.Runtime.Serialization; //...
// <auto-generated> /* * OpenAPI Petstore * * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generato...
using System; using NetOffice; namespace NetOffice.PublisherApi.Enums { /// <summary> /// SupportByVersion Publisher 14, 15, 16 /// </summary> [SupportByVersionAttribute("Publisher", 14,15,16)] [EntityTypeAttribute(EntityType.IsEnum)] public enum PbStoryType { /// <summary> /// SupportByVersion Publish...
@model IEnumerable<TransportSystem.Data.DbModels.DepartingTerminal> @{ ViewData["Title"] = "Index"; } <h1>Index</h1> <p> <a asp-action="Create">Create New</a> </p> <table class="table"> <thead> <tr> <th> @Html.DisplayNameFor(model => model.DepartingTerminalName) ...
using System; using System.Collections; using Param = Far.Core.Parameter; namespace Far.Data { public class AccCategory { #region constructor public AccCategory(int recordId) { tool = new DbTool(); Load(tool.LoadRecord(recordId)); } #endregion #region int Id public int Id { get { return id;...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace MigAz.Azure { public enum AzureEnvironmentType { Azure, AzureStack ...
@model Om.Orchard.SocialMetaTags.Models.OpenGraphMetaTagsPart @{ Style.Include("om-orchard-social-tags-admin.css"); var ogTypes = new SelectList(new object[] { new { Id = "select", Text = T("Select One").Text }, new { Id = "website", Text = T("website").Text }, new { Id = "article", Te...
// ****************************************************************************************************************************** // // Copyright (c) 2018-2022 InterlockLedger Network // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided...
using System.Collections.Generic; using System.Threading; using Newtonsoft.Json; namespace Patreon.Net.Models { /// <summary> /// A Patreon resource that is identifiable by ID and type. /// </summary> public abstract class PatreonResource { /// <summary> /// The ID of the resource....
/* * Copyright 2015-2017 Mohawk College of Applied Arts and Technology * * * 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 * * U...
#region license // Copyright (c) 2003, 2004, 2005 Rodrigo B. de Oliveira (rbo@acm.org) // All rights reserved. // // Redistribution and use in source and binary forms, with or without modification, // are permitted provided that the following conditions are met: // // * Redistributions of source code must retain...
using Solenoid.Expressions.Parser.antlr.collections.impl; namespace Solenoid.Expressions.Parser.antlr { /*ANTLR Translator Generator * Project led by Terence Parr at http://www.jGuru.com * Software rights: http://www.antlr.org/license.html * * $Id:$ */ // // ANTLR C# Code Generator by Micheal Jordan // ...
// Copyright information can be found in the file named COPYING // located in the root directory of this distribution. function execXaNotcVitalsHudScripts() { exec("./VitalsHud.cs"); exec("./VitalsHud.gui"); } execXaNotcVitalsHudScripts();
#pragma warning disable 108 // new keyword hiding #pragma warning disable 114 // new keyword hiding namespace Windows.ApplicationModel.UserDataTasks.DataProvider { #if __ANDROID__ || __IOS__ || NET46 || __WASM__ || __MACOS__ [global::Uno.NotImplemented] #endif public partial class UserDataTaskListCompleteTaskReque...
// ----------------------------------------------------------------------- // <copyright file="DataImportWindow.xaml.cs" company=""> // Copyright 2013 Alexander Soffronow Pagonidis // </copyright> // ----------------------------------------------------------------------- using EntityData; using MahApps.Metro.Controls...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.RazorPages; namespace Streamer.Pages { public class PrivacyModel : PageModel { public void OnGet() { } } }
// ------------------------------------------------------------------------------------------------- // <copyright file="NinjectDependencyResolver.cs" company="Ninject Project Contributors"> // Copyright (c) 2010 bbv Software Services AG. All rights reserved. // Copyright (c) 2010-2017 Ninject Project Contributors....
// *** 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...
using System; using System.Collections.Generic; using System.Text; namespace OOP2 { class IndividualCustomer:Customer { public string TcNumber { get; set; } public string Name { get; set; } public string Surname { get; set; } } }
using System; namespace AKDK.Messages { /// <summary> /// Represents a Docker API operation that failed. /// </summary> public class OperationFailure : Response { /// <summary> /// Create a new <see cref="OperationFailure"/> message. /// </summary> /// <pa...
// <copyright file="MailHelper.cs" company="Twilio SendGrid"> // Copyright (c) Twilio SendGrid. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. // </copyright> using System; using System.Collections.Generic; using System.Text.RegularExpression...
using RestWithASPNETUdemy.Data.Converter.Implementations; using RestWithASPNETUdemy.Data.VO; using RestWithASPNETUdemy.Hypermedia.Utils; using RestWithASPNETUdemy.Model; using RestWithASPNETUdemy.Repository; using System.Collections.Generic; namespace RestWithASPNETUdemy.Business.Implementations { public class Pe...
//------------------------------------------------------------------------------ // <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> //----------------------------------------...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace _02.ExcellentOrNot { class Program { static void Main(string[] args) { var grade = double.Parse(Console.ReadLine()); if (grade >= 5.5) ...
using System; using Aop.Api.Domain; using System.Collections.Generic; using Aop.Api.Response; namespace Aop.Api.Request { /// <summary> /// AOP API: alipay.security.prod.facepay.verify /// </summary> public class AlipaySecurityProdFacepayVerifyRequest : IAopRequest<AlipaySecurityProdFacepayVerifyRespon...
namespace WorkOS { using System; using System.IO; using System.Net.Http; using System.Net.Http.Headers; using System.Text; using System.Threading; using System.Threading.Tasks; /// <summary> /// A client to manage requests to the WorkOS API. /// </summary> public class Work...
using System; using Newtonsoft.Json; namespace NeoModules.Rest.DTOs.Switcheo { public class Make { [JsonProperty("id")] public Guid Id { get; set; } [JsonProperty("offer_hash")] public string OfferHash { get; set; } [JsonProperty("available_amount")] public st...
using System; using System.Collections.Generic; using Top.Api.Util; using Top.Api; using Top.Api.DingTalk; namespace DingTalk.Api.Request { /// <summary> /// TOP API: dingtalk.oapi.hire.onboarding.get /// </summary> public class OapiHireOnboardingGetRequest : BaseDingTalkRequest<DingTalk.Api.Response.O...
namespace DataFlow.EdFi.Models.Resources { public class StaffReference { /// <summary> /// A unique alpha-numeric code assigned to a staff. /// </summary> public string staffUniqueId { get; set; } /// <summary> /// Represents a hyperlink to the related staff re...
// 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...
using System; using System.Collections.Generic; using VRage.Generics; using VRage.Render11.Resources; using VRage.Utils; using VRageMath; using Matrix = VRageMath.Matrix; using Vector3 = VRageMath.Vector3; namespace VRageRender { class MyGroupLeafComponent : MyActorComponent { public MyActor Parent ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace _12_StackSimpleImplementation { class StackSimpleImplementation { static void Main(string[] args) { } } }
namespace DelegatesAndEvents.ObserverPattern { public interface IObserver { void Update(int value); } }
using Serilog; using Serilog.Events; using Serilog.Formatting.Json; using System.Collections.Generic; using System.Threading; using TableCloth.Contracts; using TableCloth.Resources; namespace TableCloth.Implementations { public sealed class AppUserInterface : IAppUserInterface { public AppUserInterfac...
using SCapture.Properties; using System; using System.IO; using System.Windows; using System.Windows.Interop; using System.Windows.Media.Imaging; namespace SCapture.Classes { class ScreenCapturer { /// <summary> /// Captures the graphical content of the given region /// </summary> ...
using MediatR; using Microsoft.AspNetCore.Http; using System; using System.Collections.Generic; using System.Text; using System.Threading; using System.Threading.Tasks; namespace Boxters.Application.ShoppingCart.Queries.GetCount { public class GetCountQueryHandler : IRequestHandler<GetCountQuery, int> { ...
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. using System; using Microsoft.Azure.WebJobs.Description; namespace Microsoft.Azure.WebJobs { /// <summary> /// Setup an 'trigger' on a parameter to listen on ...
using System; using System.Collections.Generic; namespace Model.Inheritance.Produce { using System; using System.Collections.Generic; public partial class Vegetable : ItemOfProduce { public string Name { get { return GetValue<string>(); } set { SetValue(value); } } public string USDACate...
using System; namespace iLucy.TestMVC.Models { public class ErrorViewModel { public string RequestId { get; set; } public bool ShowRequestId => !string.IsNullOrEmpty(RequestId); } }
// Copyright 1998-2019 Epic Games, Inc. All Rights Reserved. using UnrealBuildTool; using System.Collections.Generic; public class CustomComputeShaderEditorTarget : TargetRules { public CustomComputeShaderEditorTarget( TargetInfo Target) : base(Target) { Type = TargetType.Editor; DefaultBuildSettings = BuildSet...
// *********************************************************************** // Assembly : XLabs.Forms.WP8 // Author : XLabs Team // Created : 12-27-2015 // // Last Modified By : XLabs Team // Last Modified On : 01-04-2016 // ********************************************************************...
using System.Collections.Generic; using System.ComponentModel.DataAnnotations; namespace Mvc5StarterKit.Models { #region ViewModels public class LoginViewModel { [Display(Name = "Tenant")] public string Tenant { get; set; } [Required] [Display(Name = "Email")] [Ema...
// *** 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.Xml; namespace DataDynamics.PageFX.Flash.Swf.Filters { public enum SwfFilterKind : byte { [SwfVersion(8)] DropShadow, [SwfVersion(8)] Blur, [SwfVersion(8)] Glow, [SwfVersion(8)] Bevel, [SwfVersion(8)] ...
namespace GrammarNazi.Domain.Constants { public static class Commands { public const string Start = "/start"; public const string Help = "/help"; public const string Settings = "/settings"; public const string SetAlgorithm = "/set_algorithm"; public const string Language...
using UnityEngine; using System.Collections; using System.Collections.Generic; public class PlanetSystem { public string Name = "Solarsystem"; public Planet planet = new Planet(); public List<Moon> Moons = new List<Moon>(); public PlanetSystem Create(string PlanetName, Planet p, List<Moon> moons) ...
using System.Xml; namespace Recurly { public abstract class RecurlyEntity { internal QueryStringBuilder Build { get; set; } protected RecurlyEntity() { Build = new QueryStringBuilder(); } internal abstract void ReadXml(XmlTextReader reader); intern...
using NiceHashMinerLegacy.Common.Enums; using System; using System.Collections.Generic; using System.Text; namespace NiceHashMinerLegacy.Common { public static class StratumServiceHelpers { private static string GetAlgorithmUrlName(AlgorithmType algorithmType) { if (algorithmType <...
using System.Resources; 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. [asse...