content
stringlengths
23
1.05M
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using Sunny.UI; using DEETU.Map; using DEETU.Core; using DEETU.Tool; namespace DEETU.Source.Window { public partial class InfoPage...
using Etch.OrchardCore.SEO.HostnameRedirects.Models; using OrchardCore.Entities; using OrchardCore.Settings; using System.Threading.Tasks; namespace Etch.OrchardCore.SEO.HostnameRedirects.Services { public class HostRedirectService : IHostRedirectService { private readonly ISiteService _siteServi...
using System; class EvenPowersof2 { static void Main() { int n = int.Parse(Console.ReadLine()); int current = 1; for (int i = 0; i <= n; i += 2) { Console.WriteLine(current); current = current * 4; } } }
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; namespace AddressBook { [Produces("application/json")] [Route("api/contacts")] public class ContactController : Controller { private...
namespace DiscountMe.BL { public partial class DBVersion { #region Primitive Properties public int Id { get; set; } public string Name { get; set; } public int Value { get; set; } #endregion } }
/** * Copyright (c) 2018 Inversebit * * This code is licensed under the MIT License. * Full license text: https://opensource.org/licenses/MIT * */ using System; using System.Diagnostics; using System.IO.Ports; using System.Timers; namespace ArduinoPCMonitor { class Program { /// <summary> ...
using System.Net; using System.Threading; using System.Threading.Tasks; using AutoMapper; using Conduit.Infrastructure; using Conduit.Infrastructure.Errors; using Conduit.Infrastructure.Security; using FluentValidation; using MediatR; using Microsoft.EntityFrameworkCore; namespace Conduit.Features.Users { public c...
//********************************************************* // // Copyright (c) Microsoft. All rights reserved. // This code is licensed under the MIT License (MIT). // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY // IMPLIED WARRANTIES OF FITNESS FOR A P...
using Microsoft.Extensions.DependencyInjection; using System; using System.Diagnostics; using System.Linq; using System.Reflection; using System.Runtime.ExceptionServices; namespace Photino.Blazor { internal class ConventionBasedStartup { public ConventionBasedStartup(object? instance) { ...
//using FreeSql.DatabaseModel; //using System; //using System.Collections.Generic; //using System.Text; //namespace FreeSql { // public interface IDbManage { // /// <summary> // /// 判断表是否存在 // /// </summary> // /// <param name="name">表名</param> // /// <returns></returns> // bool ExistsTable(string name); // /...
using ControlExpert.Xef.Models; using System; using System.Collections.Generic; using System.IO.Compression; using System.Linq; using System.Threading.Tasks; using System.Xml.Linq; namespace ControlExpert.Xef { /// <summary> /// *.xef file reader /// </summary> public partial class XefReader { ...
namespace EasyAbp.Abp.DataDictionary.Dtos { public class DataDictionaryCreateDto : DataDictionaryCreateOrUpdateBaseDto { public string Code { get; set; } public bool IsStatic { get; set; } } }
using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace OnionBookOnline.Models { public class CheckoutViewModel { public RECIPIENT DefualtRec { get; set; } public List<RECIPIENT> RecList { get; set; } public RECIPIENT NewRec { get; set;...
using Applicanty.Core.Data; using Applicanty.Core.Data.Repositories; using Applicanty.Core.Entities.Abstract; using AutoMapper; namespace Applicanty.Services.Services { public abstract class TrackableService<TEntity, TRepository> : StateableService<TEntity, TRepository> where TEntity : class, IEntity, ISt...
using AutoMapper; using BookStore.Data; using BookStore.Models; using BookStore.Models.ViewModels.Users; using BookStore.Services.Contracts; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace BookStore.Services { public class UserService : IUserService { pr...
 namespace nice { /// <summary> /// Enumerates exit codes. /// </summary> /// <remarks> /// For the lack of better standards, we adopt the Bash recommendations and /// use <c>0</c> for success and the range <c>64 - 113</c> for errors. /// (This happens to play well with C/C++ conventions t...
using System; using System.Collections.Concurrent; namespace BTDB.Allocators; class LeakDetectorWrapperAllocator : IOffHeapAllocator, IDisposable { IOffHeapAllocator _wrapped; ConcurrentDictionary<IntPtr, IntPtr> _ptr2SizeMap = new ConcurrentDictionary<IntPtr, IntPtr>(); public LeakDetectorWrapperAlloca...
using StarMeApp.Domain.Common; using System.Collections.Generic; namespace StarMeApp.Domain.BusinessEntities { public class Story : AbstractBusinessEntity<long>, IAuditableBusinessEntity { public Story() { this.Tags = new HashSet<StoryTags>(); this.AuditInfo = new Audi...
using System.Drawing; using System.Drawing.Imaging; using System.IO; using System.Windows.Media.Imaging; namespace CoursesAdmin.Class { class ConvertToImage { public static BitmapImage ToImage(byte[] array) { if (array != null) { using (var ms = new Syst...
using Mechanical3.IO.FileSystems; using NUnit.Framework; namespace Mechanical3.Tests.IO.FileSystems { [TestFixture(Category = "FileSystems")] public static class MemoryFileSystemTests { [Test] public static void MemoryFileSysTests() { using( var memoryFileSystem = new M...
using CParser.Lexing; namespace CParser.Parsing.Ast { public class DeclarationStatementAstNode : StatementAstNode { public DeclarationAstNode Declaration { get; } public DeclarationStatementAstNode(DeclarationAstNode d) : base(d.Line, d.Column) { Declaration = d;...
using JacksonVeroneze.CatalogService.Api.Configuration; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Hosting; using Microsoft.Extensions.Logging; using Serilog; namespace JacksonVeroneze.CatalogService.Api.Extensions; public static class LoggerCustomConfigur...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.Events; using UnityEngine.SceneManagement; using TMPro; using UnityEngine.UI; public class SceneTransitioner : MonoBehaviour { //Referencias public TMP_Text title; public TMP_Text subtitle; public Image ima...
using System; using System.Diagnostics; namespace DI.Services { public class OsCommandInjectionService : IOsCommandInjectionService { #region Classic public string Classic(string command, string arguments) { string result = ""; try { ...
using System; using System.Collections.Generic; using System.Linq; using MachinaTrader.Globals.Structure.Models; namespace MachinaTrader.Indicators { public static partial class Extensions { /// <summary> /// A very simple check if the last two candles were bullish or bearish. /// </sum...
using System; using System.Collections.Generic; using DG.Tweening; using Runtime.Event; using UnityEngine; using EventType = Runtime.Event.EventType; namespace Runtime { [RequireComponent(typeof(CanvasGroup))] public class BulldozeConfirmation : MonoBehaviour, IEventSubscriber { [SerializeField] priva...
using TenancyInformationApi.V1.Boundary.Response; using TenancyInformationApi.V1.Factories; using TenancyInformationApi.V1.Gateways; using TenancyInformationApi.V1.UseCase.Interfaces; namespace TenancyInformationApi.V1.UseCase { public class GetTenancyByIdUseCase : IGetTenancyByIdUseCase { private read...
/* * This file is part of the Bucket package. * * (c) Yu Meng Han <menghanyu1994@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. * * Document: https://github.com/getbucket/bucket/wiki */ using Bucket.Configuration; usin...
namespace LocalParks.Models.Accounts { public class ChangePasswordViewModel { public string Old { get; set; } public string New { get; set; } public string NewConfirmed { get; set; } } }
using System.Collections; using System.Collections.Generic; using UnityEngine; using Vuforia; namespace LineAR { public class Stadium : MonoBehaviour { /// <summary> /// Disables the input of the anchor plane attached to this gameobject. /// Usually called after the player s...
using System.Collections.Generic; using com.tinylabproductions.TLPLib.Collection; using com.tinylabproductions.TLPLib.Functional; namespace com.tinylabproductions.TLPLib.Extensions { public static class LinkedListExts { public static bool isEmpty<A>(this ReadOnlyLinkedList<A> list) => list.Count == 0; publi...
/* Code here extends Plot module with methods to construct plottables. * - Plottables created here are added to the plottables list and returned. * - Long lists of optional arguments (matplotlib style) are permitted. * - Use one line per argument to simplify the tracking of changes. */ using ScottPlot.Plotta...
using System.Collections.Generic; using Scrummy.Domain.Core.Entities.Common; using Scrummy.Domain.Core.Entities.Enumerations; using Scrummy.Domain.Core.Validators; namespace Scrummy.Domain.Core.Entities { public class Document : Entity<Document> { public class Validation { public c...
#if ENABLE_UNITY_COLLECTIONS_CHECKS #define BLOBHASHMAP_SAFE #endif using System; using System.Collections.Generic; using BlobHashMaps; using Unity.Collections; using Unity.Entities; using Unity.Mathematics; using UnityEngine; using Assert = NUnit.Framework.Assert; using Random = System.Random; namespace BlobHashMaps...
using UnityEngine; using System.Collections; public class Res : MonoBehaviour { public const string bounce = "Boing"; public const string key = "Coin"; public const string mine = "Explosion"; public const string fall = "Fall"; public const string diamond = "Success"; public const string shuriken = "Slash"; }...
//----------------------------------------------------------------------------- // <copyright file="IWheelMudDocumentStorageProvider.cs" company="WheelMUD Development Team"> // Copyright (c) WheelMUD Development Team. See LICENSE.txt. This file is // subject to the Microsoft Public License. All other rights reserv...
using System; using System.Collections.Generic; using b2xtranslator.StructuredStorage.Reader; namespace b2xtranslator.DocFileFormat { public class FormattedDiskPageCHPX : FormattedDiskPage { /// <summary> /// An array of bytes where each byte is the word offset of a CHPX. /// </summary>...
namespace Obsidize.FastNoise { public class FastNoiseAdditivePipelineLayer : FastNoisePipelineLayer { public override float CombineNoise(float accumulator, float contextNoise, float x, float y) { return accumulator + contextNoise; } public override float CombineNoise(float accumulator, float contextNoise...
// Created by Kearan Petersen : https://www.blumalice.wordpress.com | https://www.linkedin.com/in/kearan-petersen/ #if UNITY_EDITOR using System.IO; using UnityEditor; using UnityEngine; namespace SOFlow.Internal { public static class SOFlowStyles { // The available styles. public static GUISt...
using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; using Autodesk.Revit.DB; using Autodesk.Revit.DB.Architecture; using Autodesk.Revit.UI; namespace Masterclass.Revit.SecondButton { public class SecondButtonModel { public UIApplication UiApp { get; } ...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using Microsoft.Bot.Builder.Core.Extensions.Tests; using Microsoft.VisualStudio.TestTools.UnitTesting; using System; using System.Collections.Generic; using System.Threading.Tasks; namespace Microsoft.Bot.Builder.Ai.Trans...
 namespace KKings.Foundation.Caching.Factories { using Caches; using Sitecore.Abstractions; public class SitecoreCacheFactory : ISitecoreCacheFactory { /// <summary> /// Creates the Sitecore Cache /// </summary> /// <param name="config">Cache Configuration</param> ...
// Copyright (c) .NET Foundation and Contributors. All Rights Reserved. Licensed under the MIT License (MIT). See License.md in the repository root for more information. using System; using System.Runtime.InteropServices; namespace LLVMSharp.Interop { public unsafe partial struct LLVMMCJITCompilerOptions { ...
using System; using System.Collections; using System.Collections.Generic; using UnityEngine; public class PaddleController : MonoBehaviour { private Rigidbody2D _rigidbody; private float _movePaddle; private float _boxHalfWidth; private Camera _camera; // private bool _topSideCollided = false; ...
using System; using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.Rendering.PostProcessing; using UnityEngine.UI; public class UIQualityManager : MonoBehaviour { public Canvas canvas; public PostProcessVolume postProcessVolume; public PostProcessProfile[] volu...
using Antlr4.Runtime.Atn; using Antlr4.Runtime.Dfa; namespace Antrl4.Extension.Errors { public class ContextSensivityParseError : ParseErrorAbstract { public readonly int Prediction; public readonly SimulatorState AcceptState; public ContextSensivityParseError( Ant...
// $Id$ // // Copyright 2008-2009 The AnkhSVN Project // // 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 appl...
namespace Lightwork.ServiceApi.Client.Utilities { public static class HttpHelper { } }
using System; namespace X4_ComplexCalculator.Common.EditStatus { /// <summary> /// 編集状態用列挙体 /// </summary> [Flags] public enum EditStatus { Unedited = 0b_0000_0000, // 未編集 Edited = 0b_0000_0001, // 編集された Saved = 0b_0000_...
namespace Alpaca.Markets; /// <summary> /// A stop (market) order is an order to buy or sell a security when its price moves past a particular point, /// ensuring a higher probability of achieving a predetermined entry or exit price. /// <para>See https://alpaca.markets/docs/trading/orders/#stop-order</para> /// </su...
using Sfa.Tl.ResultsAndCertificationAutomation.Tests.Pages.Providers; using System; using TechTalk.SpecFlow; namespace Sfa.Tl.ResultsAndCertificationAutomation.Tests.StepDefinations.Providers { [Binding] public class _2845_UpdateEnglishAndMathsPageSteps : UpdateEnglishAndMathsPage { [Then(@"I shou...
using System; using System.Drawing; using System.Drawing.Drawing2D; using System.Windows.Forms.DataVisualization.Charting; using System.Collections; namespace System.Windows.Forms.DataVisualization.Charting.Utilities { /// <summary> /// Helper class that creates a histogram chart. Histogram is a data /// distributi...
namespace TowersOfHanoi.Core { public interface IApplicationSettings { void IntilizeSettings(); } }
// 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.DirectoryServices.Protocols; using System.Runtime.InteropServices; internal static partial class Interop { internal static partial class Ldap { ...
//----------------------------------------------------------------------- // <copyright file="BugFix4376Spec.cs" company="Akka.NET Project"> // Copyright (C) 2009-2021 Lightbend Inc. <http://www.lightbend.com> // Copyright (C) 2013-2021 .NET Foundation <https://github.com/akkadotnet/akka.net> // </copyright> /...
using System; using GameObjects.Utils; using Managers; using UnityEngine; using UnityEngine.UI; using Utils; namespace GameObjects.Cells { /* • На клетке может располагаться одна из следующих сущностей: пшеница, курица, корова; либо клетка может быть пустой; */ ...
// Copyright Dirk Lemstra https://github.com/dlemstra/Magick.NET. // Licensed under the Apache License, Version 2.0. using System.Collections.Generic; using ImageMagick.Defines; namespace ImageMagick.Formats { /// <summary> /// Class for defines that are used when a <see cref="MagickFormat.Heic"/> image is r...
using System; namespace CIAOD.PriorityQueues { class Program { static void Main(string[] args) { Console.WriteLine("Нажмите любую клавишу для выхода\n\n"); //ProcessManager<ListPriorityQueue<Process>, Process> pm = // new ProcessManager<ListPriorityQueue...
namespace products_api.Data.Repository { public interface IResetRepository { Task<string> ResetData(); } }
using System; using System.Drawing; using System.Windows.Forms; namespace RandomNumber { public partial class Form1 : Form { Random random = new Random(); public Form1() { InitializeComponent(); } private void ApplySettings() { BackColo...
using System.Collections.Generic; using System.Text.Json.Serialization; namespace uk.JohnCook.dotnet.LTOEncryptionManager.WalletTests.model { public class Z85TestVectorsRoot { [JsonPropertyName("testVectors")] public List<Z85TestVector> TestVectors { get; set; } } public class Z85Test...
namespace P01_HarvestingFields { public class HarvestingFieldsTest { public static void Main() { var commandHolder = new CommandHolder(typeof(HarvestingFields)); var commandInterpreter = new CommandInterpreter(commandHolder); commandInterpreter.StartExecuting...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Drawing; using System.Drawing.Imaging; namespace Drawing_Utilities { public static class Image_Extensions { public static void SaveToDisk(this Bitmap image, string filePath...
using System; using System.Collections.Generic; using System.Linq; using System.Runtime.Serialization; using System.Web; namespace Mazzimo.Models { public class Post { public string Code { get;set; } public string ContentFile { get; set; } public string Title { get; set; } pub...
using System.Text; namespace VisaCheckout.VisaHelper.Options { /// <summary> /// Options for the "V.on" events /// </summary> public class OnOptions : IOptions { /// <summary> /// On payment cancel Javascript /// /// function(payment) { ... } /// </summary> ...
using System.Threading; using System.Threading.Tasks; namespace CoreWCF.Channels { public interface IReplyChannel : IChannel { EndpointAddress LocalAddress { get; } Task<RequestContext> ReceiveRequestAsync(); Task<RequestContext> ReceiveRequestAsync(CancellationToken token); Ta...
using Sushi.Mediakiwi.UI; using System.Xml; using System.Xml.Serialization; namespace Sushi.Mediakiwi.Framework { /// <summary> /// /// </summary> public class MetaDataInstance { private int m_Index; /// <summary> /// Gets or sets the index. /// </summary> /...
namespace AlchemyAPIClient.Responses { public abstract class AlchemyResponseBase<T> where T : class { public AlchemyAPIResponseStatus Status { get; set; } public string Usage { get; set; } public string Url { get; set; } public string Language { get; set; } public int To...
namespace PiffLibrary.Boxes { [BoxName("assp")] public sealed class PiffAlternativeStartupSequenceBox : PiffFullBoxBase { #region Properties /// <summary> /// No value of sample offset in <see cref="PiffSampleToGroupBox"/> /// shall be smaller than this value. /// <...
using Libraries; using UI; using UI.Show; using UnityEngine; namespace Options { public class BaseOptionSplitElement : SplitElement { protected readonly string category; public BaseOptionSplitElement(string category, string title, string icon) : base(title, icon) { this.cat...
namespace OpenBots.Server.Model.Options { /// <summary> /// Options for Tokens Configuration /// </summary> /// <remarks> /// Tokens allows us to authenticate any api request /// </remarks> public class TokensOptions { /// <summary> /// Configuration Name in App Settings...
using Microsoft.AspNetCore.Http; namespace PowerUtils.AspNetCore.ErrorHandler.Samples.Models; public class FileRequest { public IFormFile File { get; set; } }
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SchoolSystem.Framework { public sealed class IdGenerator { private static IdGenerator idGeneratorInstance; private int studentId; private int teacherId; ...
using System; class Program { static void Main(string[] args) { int firstNumber = int.Parse(Console.ReadLine()); int secondNumber = int.Parse(Console.ReadLine()); for (int firstSymbol = 1; firstSymbol < firstNumber; firstSymbol++) { for (int secondSymbol = 1; secon...
using System; using System.Collections.Generic; using System.Drawing; using System.Windows.Forms; using eu.sig.cspacman.level; namespace eu.sig.cspacman.ui { public class ScorePanel : TableLayoutPanel { private readonly IDictionary<Player, Label> scoreLabels; public delegate string ScoreFormatter(Player p); ...
using System.Collections.Generic; using FreeParkingSystem.Common; using FreeParkingSystem.Common.ExtensionMethods; using FreeParkingSystem.Orders.Contract; using FreeParkingSystem.Orders.Data.Models; using FreeParkingSystem.Parking.Data.DatabaseModels; using FreeParkingSystem.Parking.Data.Models; namespace FreeParkin...
using System; using System.Text; using System.Diagnostics; using System.IO; using System.Globalization; using System.Threading; using Client.Packets.ClientPackets; using Client.Packets.ServerPackets; /* * Copyright (c) 2018 MaxXor * */ namespace Client.Controllers { /// <summary> /// This class manages a r...
using System; using System.Linq; using AspNetCoreSpa.Server.ViewModels; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Localization; using Microsoft.AspNetCore.Mvc; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Caching.Memory; using Microsoft.Extensions.Localization; namespace A...
using UnityEngine; using System.Collections; struct Wave { public float freq; // 2*PI / wavelength public float amp; // amplitude public float phase; // speed * 2*PI / wavelength public Vector2 dir; public Wave(float f, float a, float p, Vector2 d) { this.freq = f; this.amp ...
using System.Collections; using System.Collections.Generic; using UnityEngine; //[RequireComponent(typeof(puntoDeMontaje))] public class interfazPoderesActivosConID : MonoBehaviour { Dictionary<string,int> v_listaIconoPoder; Dictionary<string,GameObject> v_listaPoderesActivos; //puntoDeMontaje v_puntoDeMontaje; ...
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.Protocols.TestSuites.ActiveDirectory.Nrpc { using System; using Microsoft.Protocols.TestTools.StackSdk.PrintService.Rprn; /// <summary...
using System.Collections.Generic; using MobileSecondHand.DB.Models.Keywords; namespace MobileSecondHand.API.Services.Keywords { public interface IKeywordsService { ICollection<T> RecognizeAndGetKeywordsDbModels<T>(string textToRecognize) where T : IKeywordDbModel; IEnumerable<string> RecognizeAndGetStringCol...
using Microsoft.AspNetCore.Hosting; using System; using System.Collections.Generic; using System.Text; namespace QrF.Core.ComFr.Mvc.StateProviders { public class HostingEnvironmentStateProvider : IApplicationContextStateProvider { private readonly IHostingEnvironment _hostingEnvironment; publi...
using System; using System.Collections; using System.Collections.Generic; using System.IO; using UnityEngine; using UnityEngine.Networking; public class PreviewTrackPlayer : MonoBehaviour { public MessageDialog messageDialog; private AudioSource source; // Start is called before the first frame update ...
using UnityEngine; using UnityEditor; using System.Linq; using System.IO; using System.Collections; using System.Collections.Generic; namespace TMPro.EditorUtilities { public static class TMPro_CreateStyleAssetMenu { [MenuItem("Assets/Create/TextMeshPro - Style Sheet", false, 120)] public...
using Microsoft.VisualStudio.TestTools.UnitTesting; using Newtonsoft.Json; using Rest.ClientRuntime.Test.JsonRpc; using System.Collections.Generic; using System.IO; using System.Text; using System.Threading.Tasks; namespace Rest.ClientRuntime.Test.UnitTest.JsonRpc { [TestClass] public class RemoteServerUnitTe...
using System; using CongestionChargeProblem.DTO_s; using CongestionChargeProblem.Factory; using CongestionChargeProblem.Models; using Microsoft.Extensions.DependencyInjection; namespace CongestionChargeProblem { public static class Start { private static ServiceProvider _serviceProvider; priva...
namespace BunnyCdn; public sealed class AddHostnameRequest { public AddHostnameRequest(long pullZoneId, string hostname) { ArgumentNullException.ThrowIfNull(hostname); PullZoneId = pullZoneId; Hostname = hostname; } public long PullZoneId { get; } public string Hostname ...
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using System; using System.Collections.Generic; using System.Collections.ObjectModel; namespace Microsoft.Performance.SDK { /// <summary> /// Provides static (Shared in Visual Basic) extensions for interacting /// with coll...
// *** 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 SFA.DAS.CosmosDb; using SFA.DAS.ProviderRelationships.ReadStore.Models; namespace SFA.DAS.ProviderRelationships.ReadStore.Data { public interface IAccountProviderLegalEntitiesRepository : IDocumentRepository<AccountProviderLegalEntity> { } }
using Battle; using Battle.UI; using UnityEngine; public class GameLauncher : MonoBehaviour { //加载资源管理。 //加载UI //场景加载/卸载 public void Start() { //UISystem uISystem = new UISystem(); //Launcher 只需要通过各类Manager 添加/删除对象,其余操作System 自动进行(更新数据,更新UI) //uISystem.CreatePanel<Bottom...
using Sand; using Sand.Math; using Sand.Scene; namespace Client { public class Test : ScriptableActor { private Vector2 position; public Color color; private void OnCreate() { color = Color.White; position = Transformation.GetPosition(); Log.Info(Tag.Name); } private void OnUpdate(float ti...
using Movies.Client.Models; using System; using System.Collections.Generic; using System.Net.Http; using System.Net.Http.Headers; using System.Text; using System.Threading; using System.Threading.Tasks; namespace Movies.Client { public class TestableClassWithApiAccess { private readonly HttpClient _httpClient; ...
/* Write a static class with a static method to calculate the distance between two points in the 3D space. */ using System; namespace DefiningClasses { public static class Distance { public static double CountDistance(Point3D point, Point3D anotherPoint) // Counting the distance { ...
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Runtime.InteropServices; using System.Text; using System.Threading.Tasks; //namespace DaxStudio.Common namespace BismNormalizer.TabularCompare.UI.DesktopInstances { public class WindowTitle { //...
 namespace commanet.Http.RPC { public class HTTPBinaryResult { #pragma warning disable CA1051 // Do not declare visible instance fields public byte[]? Data; public string? ContinueToken; #pragma warning restore CA1051 // Do not declare visible instance fields } }
using System; using System.Collections.Generic; using System.Linq; using System.Reactive.Linq; using DotNetify; using DotNetify.Security; namespace VueTodoApp { [Authorize] public class TodoList : MulticastVM { private static List<Todo> _todos = new List<Todo>(); public class Todo { ...
using System.ComponentModel.DataAnnotations; namespace STAIExtensions.Host.Api.Models; public class SetViewAutoRefreshDisabledRequest { /// <summary> /// The View Id to Freeze /// </summary> [Required] public string ViewId { get; set; } = ""; /// <summary> /// The owner Id of the Vi...
namespace CommandSystem { /// <summary> /// A class defining the source for a command being queued with <see cref="ICommandQueue"/>. /// One can extend this class to specify other game sources. For now, we put them all here. /// /// This is useful so we can avoid broadcasting / requeuing certain co...