content
stringlengths
23
1.05M
using System; using System.Text; namespace CsrBleLibrary.BleV1 { public class BleDevice { //private static int index; public string Address; public string Name; //public string Service; //public string Manu; internal uint ConnHandle; ...
using Google.Apis.Auth.OAuth2; using Google.Apis.Gmail.v1; using Google.Apis.Gmail.v1.Data; using Google.Apis.Services; using Google.Apis.Util.Store; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; namespace G...
// -------------------------------------------------------------------------------------------------------------------- // <copyright company="Chocolatey" file="PersistenceService.cs"> // Copyright 2017 - Present Chocolatey Software, LLC // Copyright 2014 - 2017 Rob Reynolds, the maintainers of Chocolatey, and ...
using Microsoft.AspNetCore.Identity; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Todo.Data.Seeds { public static class UserSeed { public static void Seed(UserManager<IdentityUser> userManager) { if (u...
using System; using System.Collections; using System.Collections.Generic; using UnityEngine; public class DynamicObjectPool<T_PoolOf> where T_PoolOf : MonoBehaviour { private GameObject _prefab; private RectTransform _container; private List<T_PoolOf> _objectPool; private int _itemCount = 0; pub...
using System; using System.Collections.Generic; using System.Text; namespace eventizr.Controls { public class AdControlView : Xamarin.Forms.View { } }
using System; namespace BenchmarkDotNet.Toolchains.CoreRt { [Obsolete("Please use NativeAotToolchainBuilder instead.", true)] public class CoreRtToolchainBuilder { } }
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.Networking; using System.Net; using System.Text; using System.Net.Sockets; using System.Threading; public class ClientManager : MonoBehaviour { private static ClientManager instance; public static Cl...
using System; using System.Collections.Generic; using System.Runtime.CompilerServices; namespace Toggl.Shared { public struct Option<T> : IEquatable<Option<T>> { private readonly T value; private readonly bool hasValue; private Option(T value) { hasValue = true; ...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Item : MonoBehaviour { public int index; public int label; // Start is called before the first frame update void Start() { } // Update is called once per frame void Update() { ...
/* * Copyright © 2008, Textfyre, Inc. - All Rights Reserved * Please read the accompanying COPYRIGHT file for licensing resstrictions. */ using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; namespace FyreVM { /// <summary> /// Represents the R...
using Assignment4.Core; using System.Collections.Generic; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Query; using System.Data; using System; using System.Linq; namespace Assignment4.Entities { public class TaskRepository : ITaskRepository { private readonly IKanbanContext ...
using Hangfire; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; namespace Workers { public partial class Worker { #region Instance Methods // The following job won't be retried if it fails // It will be lo...
using UnityEngine; [CreateAssetMenu] public class ScoreRewards : ScriptableObject { //Score gained for destroying an Asteroid [SerializeField] int scoreDestroyedAsteroid = 10; public int ScoreDestroyedAsteroid => scoreDestroyedAsteroid; //Score gained for near misses. [SerializeField] int...
using System.Text; using KDLib; using Newtonsoft.Json; using Newtonsoft.Json.Linq; namespace KDCryptoUtils.Encrypter { public class JsonEncrypter : BaseEncrypter<object> { public JsonEncrypter(string key, int iterations = 10000, byte[] salt = null) : base(key, iterations, salt) { } public JsonEncrypter(byt...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Behavior_Control_Advanced_Twitter { internal class ControlCommands { public readonly static string GET_LATEST_MENTION = "GetLatestMention"; public readonly static string GET_LATES...
// Decompiled with JetBrains decompiler // Type: SimpleCamera.CameraOrigin // Assembly: SimpleCamera, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null namespace SimpleCamera { internal enum CameraOrigin { Target, Eye, } }
using TMPro; using UnityEngine; using UnityEngine.SceneManagement; public class HUD_Manager : MonoBehaviour { public static HUD_Manager instance; private LevelManager _lm; private int langIndex; [Header("HUD Elements")] [SerializeField] private GameObject HUD_Canvas = null; [SerializeField] pr...
using System; using System.Collections.Generic; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using RTLib.Util; namespace RTLib.Material.Texture { public class RawTexture : ITexture { public int Width { get; set; } public int Height { get; set; } ...
using FS.DBAccess; using FS.I18N; 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.Tasks; using System.Windows.Forms; namespace FS.DbModelTool { public partial class F...
using Battles.Cdn.FileServices; using Microsoft.AspNetCore.Mvc; namespace Battles.Cdn.Controllers { public class ContentController : Controller { private readonly FileStreams _fileStreams; public ContentController(FileStreams fileStreams) { _fileStreams = fileStreams; ...
using System.Data; using Xunit; namespace Microsoft.Data.SqlClient.ManualTesting.Tests { public static class SqlCommandCompletedTest { private static readonly string s_connStr = (new SqlConnectionStringBuilder(DataTestUtility.TCPConnectionString) { PacketSize = 512 }).ConnectionString; private...
using System.Collections.Generic; using Microsoft.CodeAnalysis; using Tbc.Host.Services.Patch.Models; namespace Tbc.Host.Services.Patch { public class DisambiguationRewriterConfig { public SemanticModel Model { get; set; } public List<CSharpReloadableInput> Inputs { get; set; } public L...
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; using ReflectionMagic; namespace Kledex.Domain { public abstract class AggregateRoot : IAggregateRoot { public Guid Id { get; protected set; } public int Version { get; private set; } ...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. namespace Microsoft.Identity.Client.Kerberos { /// <summary> /// The Kerberos key types used in this assembly. /// </summary> public enum KerberosKeyTypes { /// <summary> /// None. ...
// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEditor; using UnityEngine; using System.IO; namespace Fungus.EditorUtils { [CustomEditor(typeof(Localizatio...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Hidening : MonoBehaviour { [Range(0.0f, 1.0f)] public float hiddenLevel; // from 0.0f to 1.0f [SerializeField] private float defaultHiddenLevel = 0.0f; public void SetHiddenLevel(float value) { hi...
using System.Net; using System.Web.Http; using System.Web.Http.Results; using Thinktecture.Relay.Server.Http.Filters; using Thinktecture.Relay.Server.Repository; namespace Thinktecture.Relay.Server.Controller.ManagementWeb { [AllowAnonymous] [ManagementWebModuleBindingFilter] [NoCache] public class SetupController...
using UnityEngine; /// <summary> /// Manages the UI for the jump energy /// /// Author: Tanat Boozayaangool /// </summary> public class JumpEnergyUI : MonoBehaviour { #region Fields private Transform healthBarPivot; private Movement player; #endregion #region Init Logic // Use this for initi...
using UnityEngine; namespace Replays { public struct TransformState { public Vector3 Position; public Vector3 Rotation; public Vector3 Scale; } }
using System.Collections.Generic; using NUnit.Framework; using Shouldly; using VeelenSoft.Validation.ValidationMessages; using VeelenSoft.Validation.Validators; namespace VeelenSoft.Validation.Tests.Validators { [TestFixture] [TestOf(typeof(ValidationResult))] public class ValidationResultTests { ...
using UnityEngine; [CreateAssetMenu(fileName = "New State", menuName = "AbilityData/StandUp")] public class StandUp : StateData { public override void OnEnter(CharacterState characterState, Animator animator, AnimatorStateInfo stateInfo) { animator.SetBool(TransitionParameter.Sit.ToString(), false); ...
 using System.Collections.Generic; namespace ApiUtil.DataClasses { public class TestFileInfo { public TestFileInfo() { } public string TestName { get; set; } public string Descrip { get; set; } public string TGID { get; set; } public List<string> Meth...
/* * QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals. * Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect Corporation. * * 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...
//--------------------------------------------------------------------- // <copyright file="IPayloadTransformFactory.cs" company="Microsoft"> // Copyright (C) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information. // </copyright> //----------------------------...
using System; using System.ComponentModel.DataAnnotations.Schema; using LiteDB; namespace Gouter.DataModels; /// <summary> /// アートワーク情報のデータモデル /// </summary> [Table("album_artworks")] internal class AlbumArtworksDataModel { /// <summary> /// アルバムID /// </summary> [BsonId(false)] public int AlbumI...
using System.Threading; using System.Threading.Tasks; using NHSD.BuyingCatalogue.Solutions.Application.Domain; using NHSD.BuyingCatalogue.Solutions.Contracts.Persistence; namespace NHSD.BuyingCatalogue.Solutions.Application.Persistence { internal sealed class SolutionIntegrationsUpdater { /// <summary...
namespace SceneKitSessionWWDC2013 { public class SlideExtendingOutline : Slide { public override void SetupSlide (PresentationViewController presentationViewController) { TextManager.SetTitle ("Extending Scene Kit with OpenGL"); TextManager.AddBulletAtLevel ("Scene delegate rendering", 0); TextManager.A...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using Azure.Core; namespace Azure.AI.TextAnalytics.Models { #pragma warning disable SA1402 // File may only contain a single type [CodeGenModel("CustomEntitiesResultDocumentsItem")] internal partial class CustomE...
// 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; namespace Nuget.PackageIndex.Models { /// <summary> /// Type metadata expos...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Xml.Linq; namespace BlockLoader.DataLayer { public class RespondentRepository : IRespondentRepository { private const string RespondentElementName = "respondent"; private const string ReachedBlocksE...
using System; namespace Xposed { public partial class XC_MethodHook { public static XC_MethodHook Create(Action<XC_MethodHook.MethodHookParam> beforeHookedMethodHandler = null, Action<XC_MethodHook.MethodHookParam> afterHookedMethodHandler = null) { return new XC_MethodHook_Impl { BeforeHook...
using System; using System.Text.Json.Serialization; namespace PatreonClient.Models.Attributes { public class Media { [JsonPropertyName("file_name")] public string FileName { get; set; } [JsonPropertyName("size_bytes")] public int SizeBytes { get; set; } [JsonPropertyName("mimetype")] p...
using Microsoft.OpenApi.Models; using Swashbuckle.AspNetCore.SwaggerGen; namespace Milvasoft.SampleAPI.Utils.Swagger { /// <summary> /// Replaces version parameter. /// </summary> public class ReplaceVersionWithExactValueInPathFilter : IDocumentFilter { /// <summary> /// Applies co...
using Elements; using Elements.Conversion.Revit; using Elements.Conversion.Revit.Extensions; using Elements.Geometry; using System; using System.Collections.Generic; using System.Linq; using ADSK = Autodesk.Revit.DB; namespace HyparRevitRoofConverter { public class RoofConverter : IRevitConverter { pu...
#region Using Statements using System; using Cake.Core; using Cake.Core.IO; using Cake.Core.Annotations; using Cake.Core.Diagnostics; #endregion namespace Cake.SqlTools { /// <summary> /// Contains Cake aliases for executing sql queries /// </summary> [CakeAliasCategory("SqlTools")] public stat...
// // Copyright 2015 Blu Age Corporation - Plano, Texas // // 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 requ...
// This file is part of Core WF which is licensed under the MIT license. // See LICENSE file in the project root for full license information. namespace System.Activities { using System.Activities.Internals; using System.ComponentModel; internal static class ArgumentDirectionHelper { internal ...
using Microsoft.EntityFrameworkCore.Storage; using Mix.Cms.Lib.Models.Cms; using Mix.Domain.Core.ViewModels; using System.Collections.Generic; using System.Threading.Tasks; namespace Mix.Cms.Lib.ViewModels.MixRelatedAttributeDatas { public class Helper { public static async Task<RepositoryResponse<Lis...
using System; class DayOfTheWeek { static void Main() { Console.WriteLine(DateTime.Now.DayOfWeek); } }
using UnityEngine; using Project.Combat; namespace Project.Tests { public class DamageableBuilder { private static DamageableSO _defaultData = null; public static DamageableSO DefaultData { get { if (_defaultData == null) { ...
using Models; using System.Collections.Generic; namespace Elastic.Communication { public interface IEntityHandler<TModel, TType> : IElasticHandler<TModel> where TModel : Entity<TType> { TModel GetEntity(TType id, string indexName); IEnumerable<TModel> GetEntities(TType[] ids, string indexNa...
@using Extenso.AspNetCore.Mvc.Rendering @model IEnumerable<PersonModel> @{ ViewData["Title"] = "Home Page"; } @Html.Table(Model, new { @class = "table" }) <hr /> <form> <div class="form-group"> <label>Cultures</label> @Html.CulturesDropDownList("Cultures", htmlAttributes: new { @class = "fo...
using Core.Common.Media; using Core.Common.Models.Configurations; using FileProcessor.Actions; using FileProcessor.Actions.Crop; using FileProcessor.Actions.Preview; using FileProcessor.Actions.Resize; using FileProcessor.Actions.Trim; using FileProcessor.Actions.Unknown; using FileProcessor.Engines.FFMPEG; using File...
using System; using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.Events; public class MuestraEventos : MonoBehaviour { public UnityEvent MiEventoUnity; public event EventHandler EnCasoDeEspacioPresionado; // Start is called before the first frame update voi...
namespace Outracks.Fuse.Inspector.Sections { using Fusion; class EachSection { public static IControl Create(IElement element, IEditorFactory editors) { var items = element.GetString("Items", ""); var count = element.GetDouble("Count", 0); return Layout.StackFromTop( Spacer.Medium, L...
namespace Onos.Net.Utils.Misc.OnLab.Graph { /// <summary> /// Enables implementing classes to represent a graph path search algorithm. /// </summary> /// <typeparam name="V">The vertex type.</typeparam> /// <typeparam name="E">The edge type.</typeparam> public interface IGraphPathSearch<V, E> w...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Mobet.Caching { public interface ICacheManager { /// <summary> /// 获取缓存 /// </summary> /// <param name="key">缓存键</param> object Get(string key);...
using UnityEngine; using System.Collections; using UnityEngine.AI; using UnityEngine.Networking; public class BotNavWandering : NetworkBehaviour { private ArrayList _patrolPoints; private Transform _currentTargetPatrol; public bool ByPassServerCheck = false; private BotMaster _botMaster; private ...
namespace Abstractions { public interface IRepository { string GetContent(); } }
using System.Threading; using System.Threading.Tasks; namespace Manatee.Trello { /// <summary> /// A collection of comment reactions. /// </summary> public interface ICommentReactionCollection : IReadOnlyCollection<ICommentReaction> { /// <summary> /// Creates a new comment reaction. /// </summary> /// <...
@{ ViewBag.Title = "创建新帐户"; } <script type="text/javascript"> $(function () { $("#btnReturn").button(); }); </script> <h2 class="ui-widget-header h2-center"">创建新帐户</h2> <p class="ui-state-highlight">创建新帐户成功</p> @Html.ActionLink("返回", "Register", "Account", new { onclick = "addToDiv(this);return fal...
//---------------------------------------------------------------- // Copyright (c) Microsoft Corporation. All rights reserved. //---------------------------------------------------------------- using System.ServiceModel; using System.Xml.Serialization; namespace Microsoft.Samples.WorkflowServicesSamples.EchoWorkfl...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class arrowButton : MonoBehaviour { public bool cw; public GameObject ring; public int w; Transform rt; bool prsd; void Start () { rt = ring.transform; prsd = false; } void Up...
// MIT License // Copyright (c) 2009 Javier Cañon https://www.javiercanon.com // https://github.com/JavierCanon/Shark.NET-Error-Reporter // using System.Collections.Generic; using System.Linq; #pragma warning disable 1591 namespace SharkErrorReporter.SystemInfo { /// <summary> /// SysInfoResult holds results from ...
using UnityEngine; using System.Collections; public class HealthBehaviour : MonoBehaviour { public float health = 0; public float regenerationRate = 0; //OPTIMISE: delay between damage, probably depending on animation public float postDamageDelay = 0; public bool canTakeDamage = true; void Upd...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Checkpoint : MonoBehaviour { private Mario mario; private int CurrentCheckpointIndex; // Use this for initialization void Start() { mario = FindObjectOfType<Mario>(); ResetCheckpoints(); ...
using OpenMod.API; namespace OpenMod.Extensions.Games.Abstractions { /// <summary> /// Represents common game capabilities. /// Can be used to check if the current game supports specific features. /// See <see cref="IOpenModHost.HasCapability"/>. /// </summary> public static class KnownGameCap...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. namespace Microsoft.R.Components.Settings { public interface IRSettings { bool AlwaysSaveHistory { get; set; } bool ClearFilterOnAddHistory { get...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class GoalController : MonoBehaviour { [SerializeField] int PlayerId; void OnTriggerEnter(Collider collider) { if (collider.tag == "Ball") { gameObject.SendMessageUpwards("PlayerScored", Pl...
using System.IO; namespace HmxLabs.Acct.Core.Test.Data.Config { public class ConfigFileLocations { public static readonly string ConfigDirectoryRelativePath = Path.Combine(".", "Data", "Config"); public static readonly string ConfigDirectoryAbsolutePath = Path.GetFullPath(ConfigDirectoryRelati...
using System; using System.Collections.Generic; using System.Linq; using Baseline; using Marten.Events.Aggregation; namespace Marten.Events.Projections { /// <summary> /// Assigns an event to only one stream /// </summary> /// <typeparam name="TId"></typeparam> /// <typeparam name="TEvent"></typepa...
using System; using Cake.Svn.Internal.Extensions; using SharpSvn; namespace Cake.Svn.Checkout { internal static class SvnCheckoutSettingsExtensions { internal static SvnCheckOutArgs ToSharpSvn(this SvnCheckoutSettings settings) { settings.NotNull(nameof(settings)); SvnR...
using UnityEngine; using System.Collections; public class HUD : MonoBehaviour { public Texture2D[] items; public int currItem = 0; // Use this for initialization void Start () { } // Update is called once per frame void OnGUI () { currItem = Player.Instance.currentitem; Rect r = new Rect (Scr...
namespace Alpha.Travel.WebApi.UnitTests { using System; using System.Net.Http; using System.Reflection; using System.Collections.Generic; using Microsoft.AspNetCore; using Microsoft.AspNetCore.TestHost; using Microsoft.AspNetCore.Hosting; using NUnit.Framework; using Host; usi...
using Evo.WebApi.Models; using Evo.WebApi.Models.DataModel; using Evo.WebApi.Models.Requests; using System.Collections.Generic; using System.Threading.Tasks; namespace Evo.WebApi.Repositories.Interfaces { public interface IMovieRepository { IEnumerable<MovieDataModel> UpsertMovie(MovieRequest vi...
/*! * https://github.com/SamsungDForum/JuvoPlayer * Copyright 2019, Samsung Electronics Co., Ltd * Licensed under the MIT license * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE * IMPLIED WARRANTIE...
using Newtonsoft.Json; using System.Collections.Generic; namespace RiotApi.NET.Objects.MatchApi { public class MatchTimeline { [JsonProperty("frames")] public IEnumerable<MatchFrame> Frames { get; set; } [JsonProperty("frameInterval")] public long FrameInterval { get; set; } ...
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using UniShop.Model.Models; namespace UniShop.Web.Models { public class OrderViewModel { public int ID { get; set; } [Required] [MaxLength(256)] public string CustomerName { get; set; ...
using TMPro; using UnityEngine; using UnityEngine.EventSystems; namespace UI.ContextMenu { public class MenuAction : MonoBehaviour, IPointerDownHandler, IPointerEnterHandler, IPointerExitHandler { public TextMeshProUGUI actionName = null; private ContextMenuManager contextMenuManager; ...
using AutoMapper; using OrderingService.API.Models; using OrderingService.Core.OrderAggregateRoot; namespace OrderingService.API.Profiles { public class OrderProfile : Profile { public OrderProfile() { CreateMap<Order, OrderDto>() .ForMember(dest =>dest.T...
using System.Collections.Generic; using System.Collections.Specialized; using HttpMultipartParser; using Memorandum.Core; using Memorandum.Core.Domain; using Memorandum.Web.Middleware; namespace Memorandum.Web.Framework { internal interface IRequest { string Method { get; } string Path { get; }...
using UnityEngine; namespace AGGE.BestPractices.DesignPatterns { class RigidbodyMover : IMover { public Rigidbody rigidbody; public void Move(Vector3 direction, float speed) { rigidbody.velocity = direction * speed; } } }
using System.Collections.Generic; namespace Solid.Isp.Certo.Interfaces { public interface IPessoa { string Nome { get; set; } IEnumerable<string> Telefones { get; set; } bool IsValid(); } }
using System.Runtime.InteropServices; using System.Threading.Tasks; using OpenRasta.Configuration; using OpenRasta.Hosting.InMemory; using Shouldly; using Xunit; namespace Tests.Scenarios.HandlerSelection.Scenarios.Codecs { public class codec_used_with_optional_parameters { InMemoryHost _server; public co...
using System; using System.Collections.Generic; using System.Text; namespace VehiclesExtension { public class Truck : Vehicle { private const double consumptionIcreasedAC = 1.6; private const double percentageLostFuel = 5; public Truck(double fuelQuantity, double fuelConsumption, doub...
using Newtonsoft.Json; namespace Synology.FileStation.Common.Results { public abstract class TaskStartResult { [JsonProperty("taskid")] public string TaskId { get; set; } } }
using System.Collections; using System.Collections.Generic; using UnityEngine; [RequireComponent(typeof(Rigidbody))] public class PlayerProjectile : MonoBehaviour { private Rigidbody _rb; private float _speed; private float _charge; // How charged the projectile was (0..1) [SerializeField] float _maxDa...
namespace telerikerpService.Migrations { using System; using System.Collections.Generic; using System.Data.Entity.Infrastructure.Annotations; using System.Data.Entity.Migrations; public partial class InitialCreate : DbMigration { public override void Up() { Creat...
using PrintingManager.Data.Infrastructure; using PrintingManager.Model; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace PrintingManager.Data.Repositories { public class FormularRepository : RepositoryBase<T_Formular>, IFormularRepositor...
using System; using ProtoBuf; using UnityEngine; namespace ET { [ProtoContract] [SceneEntityInfo] public class TriggerBoxInfo:ISceneEntityInfo { [ProtoMember(1)] public float X; [ProtoMember(2)] public float Y; [ProtoMember(3)] public float Z; ...
using UnityEngine; using System.Collections; using Chess.Message; using UnityEngine.EventSystems; using UnityEngine.Events; using System.Collections.Generic; using DG.Tweening; using System.Linq; using Chess.Message.Enum; public class CardCtr : MonoBehaviour { public Vector3 Size = new Vector3(0.05207656f, 0.0672...
using System; using System.Runtime.InteropServices; namespace libtcod { public enum RandomTypes { MersenneTwister = 0, ComplementaryMultiplyWithCarry = 1 } public enum RandomDistribution { Linear, Gaussian, GaussianRange, GaussianInverse, GaussianRangeInverse } public class Random : IDisposable...
// File generated from our OpenAPI spec namespace Stripe { using Newtonsoft.Json; public class TokenBankAccountOptions : INestedOptions { /// <summary> /// The name of the person or business that owns the bank account.This field is required /// when attaching the bank account to a <...
using System; using System.Collections.Generic; using System.Text; namespace SharpLink { internal class Util { internal static ushort SwapEndianess(ushort value) { byte[] bytes = BitConverter.GetBytes(value); Array.Reverse(bytes); return BitConverter.ToUInt1...
using System.Collections.Generic; /* * Lesley Reller * ITSE 1430 * 03/26/2020 */ namespace CharacterCreator.Business { public interface ICharacterDatabase { Character Add ( Character character ); void Delete ( int id ); Character Get ( int id ); IEnumerable <Character> GetAll ...
using System.Net; using Microsoft.AspNetCore.Mvc; using Swashbuckle.AspNetCore.SwaggerGen; using Lykke.Service.BlockchainApi.Contract.Common; using Lykke.Service.Stellar.Api.Models; namespace Lykke.Service.Stellar.Api.Controllers { [Route("api/capabilities")] public class CapabilitiesController : Controller ...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEditor; using System.IO; using System.Text; /// <summary> /// 导出图集配置工具 /// </summary> public class ExportAtlasCfg { //图集所在目录 private const string atlasPath = "Assets/Res/Arts/Atlas"; //导出路径 private const string a...
using System; namespace codessentials.CGM { internal static class NumberExtensions { /// <summary> /// Gets the decimals before the separator /// </summary> /// <param name="value"></param> /// <returns></returns> public static int GetWholePart(this double value...
namespace Infrastructure.Processes { using System; using System.Linq.Expressions; public interface IProcessManagerDataContext<T> : IDisposable where T : IProcessManager { T Find(T processManager); void Save(T processManager); T Find(Expression<Func<T, bool>> predicate...