text
stringlengths
1
932k
using System; using System.Collections.Generic; using System.Xml.Linq; namespace DFWV.WorldClasses.HistoricalFigureClasses { public struct HFSkill { public int Skill { get; } public int TotalIp { get; } public static List<string> Skills = new List<string>(); public HFSkill(XCon...
/* _BEGIN_TEMPLATE_ { "id": "LOOT_118", "name": [ "黑色龙人铁匠", "Ebon Dragonsmith" ], "text": [ "<b>战吼:</b>随机使你手牌中的一张武器牌的\n法力值消耗减少(2)点。", "<b>Battlecry:</b> Reduce the Cost of a random weapon in your hand by (2)." ], "cardClass": "NEUTRAL", "type": "MINION", "cost": 4, "rarity": "RARE", ...
using System; using System.Collections.Generic; namespace Highway.Data.Interceptors.Events { /// <summary> /// The Event Arguments for a after Query execution Interceptor to use /// </summary> public class AfterQuery : EventArgs { public object Result { get; set; } public Afte...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace DataProcessor.DataModels { public class SensorMasterModel { public int Sensor_Id { get; set; } public string Sensor_Name { get; set; } public string PiServerNam...
#region License /* The MIT License (MIT) Copyright (c) 2018 Tangra Inc. 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, copy,...
#if UNITY_4 || UNITY_5_0 || UNITY_5_1 || UNITY_5_2 #define UNITY_5_2_AND_LESSER #endif using UnityEditor; using System.Linq; namespace BuildReportTool { public partial class BuildInfo { public struct SceneInBuild { public bool Enabled; public string Path; } // Queries // =========================...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.SceneManagement; public class MainMenu : MonoBehaviour { public void PlaySinglePlayerGame() { SceneManager.LoadScene("Single_player"); } public void PlayCoOpModeGame() { SceneManager.Loa...
/* * Copyright (c) 2018 THL A29 Limited, a Tencent company. 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 License at * * http://www.apache.org/licenses/LICENSE-2.0 * ...
namespace RepoDb.Interfaces { /// <summary> /// An interfaced used to mark a class to become a conversion resolver. /// </summary> /// <typeparamref name="TInput">The type of the input value.</typeparamref> /// <typeparamref name="TResult">The type of the result value.</typeparamref> public int...
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: AssemblyTitle("Kun...
using SwissLife.SxS.Helpers; using System.Data; using Xunit; namespace Helpers.Test { public class SpecflowHelpersTests { private readonly DataTable shouldTable; public SpecflowHelpersTests() { shouldTable = new DataTable(); shouldTable.Columns.Add("head1"); ...
using Backend; using Backend.ThreeAddressCode.Instructions; using Backend.Transformations; using Microsoft.Cci; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; namespace TinyBCT { class TACWriter { private static Stri...
/* * 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...
using System.Diagnostics; using Xamarin.Forms.CustomAttributes; using System; using Xamarin.Forms.Internals; #if UITEST using NUnit.Framework; using Xamarin.UITest; #endif namespace Xamarin.Forms.Controls.Issues { internal class PageNameObject { public string PageName { get; private set; } public PageNameObj...
// *** WARNING: this file was generated by test. *** // *** 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.Plant { [PlantResour...
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 using System; using UnityEditor; using UnityEngine; namespace AmazonGameLift.Editor { [Serializable] internal class HyperLinkButton { private readonly string _label; private readonl...
#pragma warning disable 1591 //------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.42000 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerate...
using Microsoft.AspNetCore.Mvc; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace Cofoundry.Web.Admin.Internal { /// <summary> /// Factory for generating the VisualEditorActionResult /// that wraps the current action current AxctionResult /// an...
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Text; using System.Threading.Tasks; using SharePointPnP.Modernization.Framework; namespace SharePointPnP.Modernization.DocsGenerator { class Program { static void Main(string[] args) { ...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Reflection; using Oxide.Core.Libraries; using Oxide.Core.Logging; using Oxide.Core.Plugins; using Oxide.Core.Plugins.Watchers; namespace Oxide.Core.Extensions { /// <summary> /// Responsible for managing all Oxide...
using System; using System.Collections.Generic; using System.Diagnostics; using Ankh.Scc; using Ankh.Scc.Git; using SvnNodeKind=SharpSvn.SvnNodeKind; using SharpGit; namespace Ankh.Scc.Git { public interface IGitItemUpdate { //void RefreshTo(EventArgs e); bool IsItemTicked(); void Tic...
using System; using System.Collections.Generic; using System.Linq; namespace Hgk.Zero.Options.Linq { public static partial class LinqToOpt { /// <summary> /// Groups the elements of an option by a selected key. /// </summary> /// <typeparam name="TSource">The type of the elemen...
/* * 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...
// 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. #nullable disable using System.Collections.Generic; using System.Collections.Immutable; using System.Linq; using S...
using BachelorProjectClient.Repository; using BachelorProjectClient.Requests; using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Net.Http; using System.Text; using System.Threading.Tasks; using BachelorProjectClient.Requests.GraphQLRequests; namespace BachelorPro...
using DreamLeague.Controllers; using DreamLeague.Services; using DreamLeague.Tests.DAL.Mock; using DreamLeague.ViewModels; using Moq; using NUnit.Framework; using System.Web.Mvc; namespace DreamLeague.Tests.Controllers { [TestFixture] public class HomeControllerTests { MockDreamLeagueContext conte...
// ------------------------------------------------------------------------------ // <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.Collections.Generic; using System.ComponentModel.DataAnnotations; using Microsoft.AspNetCore.Mvc.Rendering; namespace TicketCore.ViewModels.MenuCategorys { public class CreateMenuCategoryViewModel { [Display(Name = "Menu Category")] [Required(ErrorMessage = "Enter Category Name")]...
// Copyright (c) Terence Parr, Sam Harwell. All Rights Reserved. // Licensed under the BSD License. See LICENSE.txt in the project root for license information. namespace Antlr4.Codegen.Model.Chunk { using Antlr4.Codegen.Model.Decl; /** */ public class RulePropertyRef_parser : RulePropertyRef { ...
/* * Copyright 2012 LBi Netherlands B.V. * * 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 a...
using System; using SwedbankPay.Sdk.Extensions; namespace SwedbankPay.Sdk.PaymentInstruments.Card { internal class VerifyTransaction : Identifiable, IVerifyTransaction { public VerifyTransaction(VerifyTransactionDto dto) : base(dto.Id) { Amount = dto.Amount; ...
using System; using Xamarin.Forms; using Xamarin.Forms.Xaml; namespace LotteryGuesserXamarin { using System.IO; using Google.Apis.Auth.OAuth2; using Google.Apis.Services; using Google.Apis.Sheets.v4; using LotteryGuesserXamarin.Services; using LotteryGuesserXamarin.View.Main; using Plug...
using UnityEngine; using System.Collections; public class compass : MonoBehaviour { public Transform target; // Update is called once per frame void Update () { if (target) { var dir = target.position - transform.position; var angle = (Mathf.Atan2(dir.y, dir.x) * M...
 namespace _03.AnimalHierarchy { public class Tomcat : Cat { public Tomcat(string name, int age) : base(name, age, sex.Male) { } } }
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace EzoGateway.Server { public enum OperationStatus { Error, Success } }
using System; using System.Collections.Generic; using Ankh.Scc.ProjectMap; namespace Ankh.Scc { partial class SccProjectMap : AnkhService { readonly Dictionary<string, SccProjectFile> _fileMap = new Dictionary<string, SccProjectFile>(StringComparer.OrdinalIgnoreCase); public bool TryGetFile(s...
/* * Copyright (c) 2018 THL A29 Limited, a Tencent company. 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 License at * * http://www.apache.org/licenses/LICENSE-2.0 * ...
/* * 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 ...
using Cairo; namespace LadderLogic.Brushes { using File.DrawingFile; public static class TextBrush { public static void Draw (Context grw, TextElement text) { double dY = 0; if (text.Foregraund != null) { grw.SetSourceRGB ( text.Foregraund.Red, text.Foregraund.Green, text.Foregraun...
/* * 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...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class MainMenu : MonoBehaviour { public void Quit() { Application.Quit(); } }
// Copyright (c) David Pine. All rights reserved. // Licensed under the MIT License. global using HaveIBeenPwned.Client; global using HaveIBeenPwned.Client.Models; global using HaveIBeenPwned.Client.Options; global using Learning.Blazor.DistributedCache.Extensions; global using Learning.Blazor.Extensions; global usin...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using System.Web.Optimization; using System.Web.Routing; namespace Practica1 { public class MvcApplication : System.Web.HttpApplication { protected void Application_Start() { ...
/* * This file is part of Unity-Procedural-IK-Wall-Walking-Spider on github.com/PhilS94 * Copyright (C) 2020 Philipp Schofield - All Rights Reserved */ using System.Collections; using System.Collections.Generic; using UnityEngine; namespace Raycasting { public enum CastMode { RayCast, Sphere...
using MasterDevs.ChromeDevTools; using Newtonsoft.Json; using System; using System.Collections.Generic; namespace MasterDevs.ChromeDevTools.Protocol.iOS.Page { /// <summary> /// Navigates current page to the given URL. /// </summary> [Command(ProtocolName.Page.Navigate)] [SupportedBy("iOS")] public class Navigat...
#if ENABLE_IL2CPP #define INLINE_METHODS #endif #if PARTICLES_VIEWS_MODULE_SUPPORT namespace ME.ECS { using ME.ECS.Views; using ME.ECS.Views.Providers; #if ECS_COMPILE_IL2CPP_OPTIONS [Unity.IL2CPP.CompilerServices.Il2CppSetOptionAttribute(Unity.IL2CPP.CompilerServices.Option.NullChecks, false), ...
using System; using System.Diagnostics; using System.Runtime.InteropServices; using System.Windows.Forms; using ESRI.ArcGIS.ADF.CATIDs; using ESRI.ArcGIS.ArcMapUI; using ESRI.ArcGIS.esriSystem; using ESRI.ArcGIS.Framework; namespace ESRI.ArcGIS.ADF.BaseClasses { /// <summary> /// Provides access to IFind...
namespace Protogame { using System.Text; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Input; public interface IKeyboardStringReader { int FirstRepeatKeyInterval { get; set; } int RepeatKeyInterval { get; set; } void Process(Keys[] presse...
using System; using System.Runtime.InteropServices; namespace StereoKit { internal static class NativeAPI { [DllImport(NativeLib.DllName, CharSet = CharSet.Ansi, CallingConvention = CallingConvention.Cdecl)] public static extern int sk_init(string app_name, Runtime preferred_runtime, int fallback ...
using System; using System.Collections.Generic; using System.Text; namespace BrainTrain.HackerRank.Data_Structure { public static class LeftRotate { public static int[] RotateLeft(int[] a, int n) { int tmp = 0; for (int i = 0; i < n; i++) { t...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.ComponentModel; using System.Runtime.CompilerServices; using System.Collections.ObjectModel; using WithoutName.Commands; using WithoutName.Models; using WithoutName.Views; using System.Windo...
using System; using System.ComponentModel.DataAnnotations.Schema; using Abp.Domain.Entities; namespace SOSOWJB.Framework.MultiTenancy.Accounting { [Table("AppInvoices")] public class Invoice : Entity<int> { public string InvoiceNo { get; set; } public DateTime InvoiceDate { get; set; } ...
/********************************************************************++ Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; using System.Management.Automation; using System.Net.Http; using System.IO; namespace Microsoft.Power...
// Copyright (c) MASA Stack All rights reserved. // Licensed under the MIT License. See LICENSE.txt in the project root for license information. namespace System.Linq.Expressions; public static class ExpressionExtensions { public static Expression<Func<T, bool>> And<T>(this Expression<Func<T, bool>> first, Expres...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Identity; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Options; using Umbraco.Cms.Core.Configuration.Models; using Umbraco.Cms.Core.Models.Publis...
#region Header #pragma warning disable 1587 // XML comment is not placed on a valid language element /** * JsonData.cs * Generic type to hold JSON data (objects, arrays, and so on). This is * the default type returned by JsonMapper.ToObject(). * * The authors disclaim copyright to this source code. For more de...
using System; using System.Collections.Generic; using System.Data; using YesSql.Sql; namespace YesSql.Provider.Sqlite { public class SqliteDialect : BaseDialect { private static readonly Dictionary<DbType, string> _columnTypes = new Dictionary<DbType, string> { { DbType.Binary, "BLO...
#pragma warning disable 0618 using UnityEngine; using System.Collections.Generic; using System.Linq; using UnityEngine.ProBuilder; using UnityEngine.ProBuilder.MeshOperations; namespace UnityEditor.ProBuilder { /// <summary> /// Assign materials to faces and objects. /// </summary> sealed class Materi...
using Microsoft.Win32; using System; using System.IO; namespace DMRatt.Tasks { internal class FileManager { private string SelectedOutputFile; private StreamWriter OutputWriter; public string GetOutputFile() { return this.SelectedOutputFile; } publ...
namespace Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202001 { using static Microsoft.Azure.PowerShell.Cmdlets.Migrate.Runtime.Extensions; /// <summary>ExchangeServer in the guest virtual machine.</summary> public partial class ExchangeServer : Microsoft.Azure.PowerShell.Cmdlets.Migrate.Mo...
namespace TaskScript.Application.Areas.Learning.Controllers { using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Identity; using Microsoft.AspNetCore.Mvc; using TaskScript.Application.Area...
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.18444 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //--...
namespace MassTransit.Internals { using System; using System.Linq.Expressions; using System.Reflection; using System.Threading; using System.Threading.Tasks; public class ReadProperty<T, TProperty> : IReadProperty<T, TProperty> where T : class { Func<T, TProperty> ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using MonoDroid.Generation; using Xamarin.SourceWriter; namespace generator.SourceWriters { public class MethodExtensionAsyncWrapper : MethodWriter { public MethodExtensionAsyncWrapper (Method method...
using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using IdentityServer4.Services; using StsServerIdentity.Models; namespace StsServerIdentity.Controllers { public class HomeController : Controller { private readonly IIdentityServerInteractionService _interaction; public HomeContro...
// 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 System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Http; using Microsoft.Extens...
#region Version Info Header /* * $Id$ * $HeadURL$ * Last modified by $Author$ * Last modified at $Date$ * $Revision$ */ #endregion using System; using System.Drawing; using System.Collections; using System.Collections.Specialized; using System.Collections.Generic; using System.Text.RegularExpressions; using Syst...
namespace Share.Models.UserInfoDtos; /// <summary> /// 账号扩展表, 可用作用户信息 /// </summary> public class UserInfoShortDto { public User Account { get; set; } = default!; public Guid AccountId { get; set; } = default!; /// <summary> /// 真实姓名 /// </summary> [MaxLength(40)] public string? RealName { g...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class ParticleSelfDestruct : MonoBehaviour { public float destroyDelay = 5.0f; // Use this for initialization void Start () { Destroy(gameObject, destroyDelay); } }
namespace CryptoPals.Interfaces { /// <summary> /// Byte-at-a-time ECB decryption (Simple) /// </summary> public interface IChallenge12 : IChallenge { } }
using System; using System.Collections.Generic; namespace Project1.Domain.Model { /// <summary> /// A Store Location Object, has a Location Name, a collection of orders, /// and a collection of products. /// </summary> public partial class StoreLocation { public StoreLocation() ...
#region License // // Author: Nate Kohari <nate@enkari.com> // Copyright (c) 2007-2010, Enkari, Ltd. // // Dual-licensed under the Apache License, Version 2.0, and the Microsoft Public License (Ms-PL). // See the file LICENSE.txt for details. // #endregion #region Using Directives using System; using System.IO; usi...
using System; using System.Collections.Generic; using System.Linq; using System.Text.Json.Serialization; using System.Threading.Tasks; using CmnSoftwareBackend.Services.AutoMapper.Profiles; using CmnSoftwareBackend.Services.Extensions; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Micro...
using System; using System.Diagnostics.CodeAnalysis; using System.Net; using System.Net.Sockets; using System.Text; using System.Threading; namespace PiLights.Configuration { public static class LedSettingsExtensions { [SuppressMessage("CA1031", "CA1031", Justification = "The exception catch block is ...
using Microsoft.AspNetCore; using Microsoft.AspNetCore.Hosting; namespace WebApi2._0_Swashbuckle4 { public static class Program { public static void Main(string[] args) { BuildWebHost(args).Run(); } public static IWebHost BuildWebHost(string[] args) => ...
// 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...
// *** 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.O...
using System; using System.Collections.Generic; using Windows.UI.Xaml.Controls; // <SnippetLLFUsing> using System.Diagnostics; using System.Threading.Tasks; using Windows.Graphics.Imaging; using Windows.Media.Core; using Windows.Storage; using Windows.Storage.Pickers; using Windows.Storage.Streams; // </SnippetLLFUsi...
using System; using System.Linq; using Intersect.Server.Database.PlayerData; using Intersect.Server.Localization; using Intersect.Utilities; namespace Intersect.Server.Notifications { public class PasswordResetEmail : Notification { public PasswordResetEmail( User user ) : base( user.Email ) ...
using Qiniu.Http; using Newtonsoft.Json; using System.Text; namespace Qiniu.Storage { /// <summary> /// 文件抓取返回的消息 /// </summary> public class FetchResult : HttpResult { /// <summary> /// Fetch信息列表 /// </summary> public FetchInfo Result { get ...
namespace PipeHow { public class DiscordMessage { public string content { get; set; } //public string username { get; set; } //public string avatarurl { get; set; } } }
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
using $safeprojectname$.Enums; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace $safeprojectname$.Extensions { internal static class SortExtensions { internal static IOrderedEnumerable<TSource> Sort<TSource, TKey>(this IEnume...
using UnityEngine; using System.Collections; namespace RVP { [RequireComponent(typeof(VehicleParent))] [DisallowMultipleComponent] [AddComponentMenu("RVP/Vehicle Controllers/Vehicle Balance", 4)] // Class for balancing vehicles public class VehicleBalance : MonoBehaviour { Transform t...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Management.Automation; using System.Runtime.InteropServices; using System.Timers; namespace PassiveInstall.Cmdlets { // Copyright 2021 TMurgent Technologies, LLP [Cmdlet(VerbsCom...
namespace UnityEngine.Rendering.Universal.Internal { // Stencil usage for deferred renderer. enum StencilUsage { // Bits [0,3] are reserved for users UserMask = 0b_0000_1111, // Bit [4] is used for stenciling light shapes. StencilLight = 0b_0001_0000, // Bits [5,6] ...
namespace P02_ValidationOfData { using System; public class StartUp { public static void Main() { int n = int.Parse(Console.ReadLine()); for (int i = 0; i < n; i++) { string[] arguments = Console.ReadLine().Split(" "); s...
using System; using System.Collections.Generic; using System.Linq; using System.Runtime.InteropServices; using System.Text; using System.Threading.Tasks; namespace CleanShot.Win32 { public static class User32 { public delegate bool EnumWindowsProc(IntPtr hWnd, IntPtr lParam); [StructLayout(Lay...
#nullable enable using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; namespace System.Linq { partial class OptionalLinqDictionariesExtensions { public static Optional<TValue> GetValueOrAbsent<TKey, TValue>( this IEnumerable<KeyValuePair<TKey, TValue>> pairs, ...
using NUnit.Framework; using Workbench.Core.Models; using Workbench.Core.Nodes; namespace Workbench.Core.Tests.Unit.Models { [TestFixture] public class DomainModelTests { [Test] public void Initialize_With_Raw_Expression_Parses_Expected_Upper_Band() { var sut = new Shar...
using LmpClient.Base; namespace LmpClient.Systems.SharePurchaseParts { public class SharePurchasePartsEvents : SubSystem<SharePurchasePartsSystem> { public void PartPurchased(AvailablePart part) { if (System.IgnoreEvents) return; var techState = ResearchAndDevelopment....
using BDDoc.Core; using BDDoc.Core.Arguments; using NUnit.Framework; using System; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; namespace BDDoc.Generator.UnitTest.Core { [ExcludeFromCodeCoverage] public class HtmlDocGeneratorTests { //Tests [Test] publi...
// *** 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...
/* * Camunda Platform REST API * * OpenApi Spec for Camunda Platform REST API. * * The version of the OpenAPI document: 7.16.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ using System; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel;...
using Microsoft.CodeAnalysis; using System; using System.Collections.Generic; using System.Linq; namespace TypeBridge { class TypeMapperFormatter { private readonly ITypeSymbol _sourceType; private readonly List<ITypeSymbol> _destinationTypes = new List<ITypeSymbol>(); private Dictiona...
/* *************************************************************************** * This file is part of SharpNEAT - Evolution of Neural Networks. * * Copyright 2004-2016 Colin Green (sharpneat@gmail.com) * * SharpNEAT is free software; you can redistribute it and/or modify * it under the terms of The MIT License ...
namespace LimitsMiddleware { using System; using System.IO; using System.Threading; using System.Threading.Tasks; using LimitsMiddleware.RateLimiters; internal class ThrottledStream : Stream { private readonly Stream _innerStream; private readonly FixedTokenBucket _tokenBuc...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System; using System.Text.Json; using System.Threading; using System.Threading.Tasks; using Azure; using Azure.Core; using Azure.Core.Pipeline; using Azure.ResourceManager; usi...
// <copyright file="UpdateOptions.cs" company="Endjin Limited"> // Copyright (c) Endjin Limited. All rights reserved. // </copyright> namespace Vellum.Cli.Tinify.Commands.Settings { public class UpdateOptions { public string Key { get; set; } } }
/* * Copyright (c) 2010-2021 Achim Friedland <achim.friedland@graphdefined.com> * This file is part of Styx <https://www.github.com/Vanaheimr/Styx> * * 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...