content
stringlengths
23
1.05M
// Copyright (c) XRTK. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. namespace XRTK.Extensions { public static class SystemNumericsExtensions { /// <summary> /// Converts a Numerics <see cref="System.Numerics.Vector3"/> to a Un...
using Data.Entities; using Domain; using Microsoft.EntityFrameworkCore; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Data { public class UserRepository : IUserRepository { private readonly HLContext _db; public UserRepository(HLContext db) ...
// // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. // using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SharePointPnP.ProvisioningApp.Infrastructure.DomainModel.Provisioning { public class SharePointSite { ...
using System; using System.Collections.Generic; using System.Text; namespace LogMagic.Tokenisation { class MessageToken { public MessageToken(TokenType tokenType, string name, string format) { } } }
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Reflection; using System.Threading.Tasks; using ControlledByTests.Server.Services; using Microsoft.AspNetCore; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuratio...
using System.ComponentModel; namespace StackingEntities.Model.Enums { public enum VillagerCareer { Default=0, Farmer = 1, Fisherman = 2, Shepherd = 3, Fletcher = 4, Librarian = 1, Cleric = 1, Armorer = 1, [Description("Weapon Smith")] WeaponSmith = 2, [Description("Tool Smith")] ToolSmith = 3...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace GeoIP.Models { public class DataSource { public string MaxMind { get; set; } public string IP2Location { get; set; } } }
using Content.Client.Weapons.Ranged.Systems; namespace Content.Client.Weapons.Ranged.Components; /// <summary> /// Visualizer for gun mag presence; can change states based on ammo count or toggle visibility entirely. /// </summary> [RegisterComponent, Friend(typeof(GunSystem))] public sealed class MagazineVisualsComp...
using System.Collections.Generic; namespace Marked.Serializer.Test { public class PrimitiveTestObject { public int IntegerValue { get; set; } public string StringValue { get; set; } public float SingleValue { get; set; } } public class ComplexTestObject { public in...
namespace act.core.data { public enum JustificationTypeConstant { Feature, Application, Package, Port } }
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Data; using Microsoft.EntityFrameworkCore; using Models.Diagnosis; using Xunit; namespace Tests.Diagnosis { public class AssessmentTest { readonly DbContextOptions<CloudCureDbContext> _options; ...
using System; namespace NControls { public class PropertyItemWString : PropertyItemString { protected unsafe override string GetValue() { uint num = (uint)(*(int*)this.Var); return new string((char*)((num == 0u) ? <Module>.?EmptyString@?$GBaseString@_W@@1PB_WB : num)); } protected unsafe override void...
using System.IO; using Microsoft.VisualStudio.TestTools.UnitTesting; using Newtonsoft.Json; using stellar_dotnet_sdk; using stellar_dotnet_sdk.responses; using stellar_dotnet_sdk.responses.page; namespace stellar_dotnet_sdk_test.responses { [TestClass] public class OfferPageDeserializerTest { ...
using System; using UnityEngine; using UnityEngine.Serialization; using UnityEngine.UI; namespace MaterialLibrary.Hexagons { [ExecuteAlways] public class HexShaderExposer : MonoBehaviour { [SerializeField] private Image image; [FormerlySerializedAs("_glowIntensity")] [SerializeFiel...
using Panama.Core.Entities; using System.Collections.Generic; namespace Panama.Core.Commands { public interface ICommand { void Execute(List<IModel> data); } }
using System; using System.Collections.Generic; using HealthClubs.Data.Core.Models; namespace HealthClubs.Data.Store.Contracts { public interface IBusinessRepository : IDisposable { IEnumerable<Business> GetBusinessEntities(); } }
using System.Threading; using Qsi.Data; using Qsi.Parsing; using Qsi.Tree; using Qsi.Trino.Internal; using Qsi.Trino.Tree.Visitors; using Qsi.Utilities; namespace Qsi.Trino { using static SqlBaseParser; public class TrinoParser : IQsiTreeParser { public IQsiTreeNode Parse(QsiScript script, Cancel...
@model Piranha.Models.Manager.CategoryModels.EditModel @section Head { <script type="text/javascript"> $(document).ready(function () { $('#Category_Name').focus(); }); </script> } @section Toolbar { @Html.Partial("Partial/Tabs") <div class="toolbar"> <div class="inner...
namespace Zaaby.Extensions.Configuration.Consul; public static class ConsulConfigurationExtensions { public static IConfigurationBuilder AddConsul(this IConfigurationBuilder builder, Action<ConsulClientConfiguration>? configOverride = null, Action<HttpClient>? clientOverride = null, Action<HttpClie...
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; namespace Unosquare.Tubular.AspNetCoreSample.Models { public class Order { public Order() { Details = new HashSet<OrderDetail>(); } [Key] public int OrderId { get; ...
using System; using System.Linq; using Autofac.Multitenant; using Microsoft.AspNetCore.Http; namespace AutofacNetcore2 { public class TenantIdentitificationStrategy : ITenantIdentificationStrategy { private readonly IHttpContextAccessor httpContextAccessor; public static readonly s...
using System; using System.Collections.Generic; using FrameworkTester.ViewModels.Interfaces; using GalaSoft.MvvmLight.Command; using WinBiometricDotNet; namespace FrameworkTester.DesignTimes { public sealed class WinBioAsyncOpenSessionViewModel : WinBioViewModel, IWinBioAsyncOpenSessionViewModel { ...
using System.Collections.Generic; namespace OmniSharp.MSBuild.Models.Events { public class MSBuildProjectDiagnosticsEvent { public const string Id = "MsBuildProjectDiagnostics"; public string FileName { get; set; } public IEnumerable<MSBuildDiagnosticsMessage> Warnings { get; set; } ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace FileExplorer.ViewModels { public class FE_ThisPC_Page_VM : FE_Base_VM { #region Private Variables private string saneep; #endregion #region Public Vari...
using System; namespace MQTTnetApp.Pages.Connection.State; public static class ConnectionPageStateFactory { public static ConnectionPageState Create(ConnectionPageViewModel viewModel) { if (viewModel == null) { throw new ArgumentNullException(nameof(viewModel)); } ...
using NUnit.Framework; using System.Collections.Generic; using System.Threading; using System; namespace Tests { public class Tests { [SetUp] public void Setup() { } [Test] [SetCulture("tr-TR")] public void Test1() { TestHashSetCompar...
//--------------------------------------------------------------------------- // // Copyright (C) Microsoft Corporation. All rights reserved. // //--------------------------------------------------------------------------- using System; using System.ComponentModel; using MS.Internal.PresentationCore; namespace MS.In...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System.ServiceModel; namespace WcfService { [ServiceContract] public interface IWcfReliableService ...
using System.Threading.Tasks; namespace Ray.DistributedTx.Abstractions { public interface IDistributedTx { Task CommitTransaction(string transactionId); Task FinishTransaction(string transactionId); Task RollbackTransaction(string transactionId); } }
using System; using System.Collections.Generic; using System.Linq; using NeodymiumDotNet.Optimizations; namespace NeodymiumDotNet { internal class RawNdArrayImpl<T> : MutableNdArrayImpl<T>, IBufferNdArrayImpl<T> { private readonly Allocation<T> _bufferCollector; /// <summary> /// ...
// See https://aka.ms/new-console-template for more information using Microsoft.EntityFrameworkCore; using SamuraiApp.Data; using SamuraiApp.Domain; SamuraiContext _context = new SamuraiContext(); await StartProgram(); async Task StartProgram() { _context.Database.EnsureCreated(); await GetSamurais("Before...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Com.Ctrip.Soa.Caravan.Collections.Concurrent.CircularBuffer.TimeBucket.Buffer { public abstract class Bucket { public long TimeInMilliseconds { get; protected set; } protected Bucket(long timeInMil...
namespace p07._01.InfernoInfinity.Models.Weapons { using System.Collections.Generic; using System.Linq; using System.Text; using Contracts; using p07._01.InfernoInfinity.Enums; using p07._01.InfernoInfinity.Models.Gems.Contracts; public abstract class Weapon : IWeapon { privat...
using System; using System.Collections.Generic; using System.Text; namespace NextGenSoftware.Holochain.HoloNET.Client.Core { public abstract class ZomeParam { public string ParamName { get; set; } //public object ParamValue { get; set; } public bool IsStruct { get; set; } } }
namespace CqrsMediatREFDapper.Domain.CourseContext.Commands { public sealed class RegisterCourseCommand : CourseCommand { public static RegisterCourseCommand Create(string name, string description, decimal price, byte[] video) => new RegisterCourseCommand { Name ...
using System; using Xamarin.Forms; namespace ResponsiveLayout { public class GridPageCode : ContentPage { private double width = 0; private double height = 0; Grid innerGrid; Grid controlsGrid; public GridPageCode () { Title = "Grid - C#"; var outerGrid = new Grid (); innerGrid = new Grid { Pa...
/* * Copyright (c) 2021 Snowflake Computing Inc. All rights reserved. */ using Azure.Storage.Blobs; using Snowflake.Data.Log; using System; using System.Collections.Generic; using System.IO; using Azure; using Azure.Storage.Blobs.Models; using Newtonsoft.Json; namespace Snowflake.Data.Core.FileTransfer.StorageClie...
/************************************************************************* * Author: DCoreyDuke ************************************************************************/ using _43LimeMobileApp.Models.Entities; namespace _43LimeMobileApp.Admin.API.Services { /// <summary> /// LatLng Data Service - gets Lat...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace AudioSyncMSNUI { class DialogForm { public static string ShowDialog(string text, string caption, string example) { Form form = n...
using System.Threading.Tasks; using TMDB.Core.Api.V3.Models.Find; namespace TMDB.NET.Api.V3.ClientProxies { public class FindProxy : ApiProxy { public FindProxy(TMDbClient client) : base(client) { } public virtual Task<FindByIdResponse> GetAsync(FindByIdRequest request) => ...
using Guard; using Picturebot.src.Helper; using Picturebot.src.Logger; using Picturebot.src.POCO; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace Picturebot { public class Shoot { ...
using Microsoft.EntityFrameworkCore; namespace RestApiCRUD.Models { public class EmployeeContext : DbContext { public EmployeeContext(DbContextOptions<EmployeeContext> options) : base(options) { } public DbSet<Employee> Employees { get; set; } } }
using System; namespace SF_FoodTrucks.Models { public class FoodTrucks { public class Rootobject { public string Type { get; set; } public Feature[] Features { get; set; } public Crs Crs { get; set; } } public class Crs { ...
using Recore; using FileSync.Common.ApiModels; namespace FileSync.Client { sealed class Conflict { public FileSyncFile ClientFile { get; } public FileSyncFile ServiceFile { get; } public ChosenVersion ChosenVersion { get; } public Conflict(FileSyncFile clientFile, FileSyncF...
// c:\program files (x86)\windows kits\10\include\10.0.22000.0\um\strmif.h(22353,1) namespace DirectN { public enum tagDVD_SUBPICTURE_CODING { DVD_SPCoding_RunLength = 0, DVD_SPCoding_Extended = 1, DVD_SPCoding_Other = 2, } }
using System; using System.Collections.Generic; using System.Text; namespace SyZero.Feign { public interface IFeignProxyBuilder { Object Build(Type interfaceType, params object[] constructor); T Build<T>(params object[] constructor); } }
using System; namespace TheNeoGeoArchive.Persistence.Domain { public sealed class Release { public DateTime? Mvs { set; get; } public DateTime? Aes { set; get; } public DateTime? Cd { set; get; } } }
namespace CondinGame.Contests.SpringChallenge2021 { internal interface IActionStrategy { Action SelectAction(Game game); } }
using Autodesk.Revit.DB; using Autodesk.Revit.UI; namespace RevitLookupWpf.InstanceTree { public class WorksetIdInstanceNode : InstanceNode<WorksetId> { private WorksetId elementId; public WorksetIdInstanceNode(WorksetId rvtObject) : base(rvtObject) { elementId = rvtObject;...
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using FluentAssertions; using Microsoft.Extensions.DependencyInjection; using MongoDB.Driver; using Xunit; using YS.Knife.Hosting; namespace YS.Knife.Mongo.UnitTest { public class MongoContextAttributeTest : KnifeHost ...
using System; using System.Collections.Generic; using System.Linq; namespace PathonDB.DatabaseClient.Models.Column { public class Column : IColumn { public Properties Properties { get; private set; } private List<Row> _rows { get; } public Column(Properties properties) { this.P...
using System; using System.Collections; using DCL.Configuration; using DCL.Controllers; using DCL.Helpers; using DCL.Models; using UnityEngine; namespace DCL.Components { internal class AvatarAttachHandler : IDisposable { private const float BOUNDARIES_CHECK_INTERVAL = 5; public AvatarAttachCo...
using Nancy; namespace Napack.Server { /// <summary> /// Manages the Napack Framwork Server visible interface. /// </summary> public class IndexModule : NancyModule { public IndexModule() { Get["/"] = parameters => { return View[...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.SceneManagement; public class DelayedLoadScene : MonoBehaviour { public string levelToLoad; public Color loadToColor = Color.black; public float timeToStart = 3.0f; // Use this for initialization void Start () { ...
namespace PromotionSales.Api.Application.PromotionApplication.Commands.UpdatePromotion; using MediatR; using PromotionSales.Api.Application.Common.EntitiesDto; public class UpdatePromotionCommand : IRequest<PromotionDto> { public Guid Id { get; set; } public IList<string> MediosDePago { get; set; } publi...
using System; using System.Collections.Generic; namespace XMonitor.Core { /// <summary> /// 定义监控服务选项接口 /// </summary> public interface IMonitorOptions { /// <summary> /// 获取或设置日志工具 /// </summary> ILogger Logger { get; set; } /// <summary> /// 获取通知通道...
using System; namespace Selenium.AutomatedTests { /// <summary> /// Represents failure in the execution of an automation scenario /// </summary> [Serializable] public class AutomationScenarioRunFailedException : Exception { internal AutomationScenarioRunFailedException(string automatio...
#if ADV_INS_CHANGES && UNITY_EDITOR using System; using System.Linq; using com.tinylabproductions.TLPLib.Data; using com.tinylabproductions.TLPLib.Extensions; using com.tinylabproductions.TLPLib.Functional; using com.tinylabproductions.TLPLib.Logger; using com.tinylabproductions.TLPLib.Tween.fun_tween.serialization.ma...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class ChargePowerUp : MonoBehaviour, IPowerUp { public int effect; public int PowerUp() { return effect; } }
using AspNetScaffolding; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.DependencyInjection; using WebApi.Models.Exceptions; namespace AspNetScaffolding.Extensions.GracefullShutdown { public static class GracefullShutdownExtensions { public static void V...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Text.RegularExpressions; public class WinningTicket { public static void Main() // 100/100 { StringBuilder result = new StringBuilder(); List<string> tickets = Console.ReadLine().Split(new[] { ' ...
namespace DeemZ.Models.ViewModels.ChatMessages { using System; using System.ComponentModel.DataAnnotations; public class ChatMessageViewModel { [Required] public string Content { get; set; } public string ApplicationUserId { get; set; } public string ApplicationUserUse...
using UnityEngine; using System.Collections; using UnityEngine.EventSystems; namespace QFramework { /// <summary> /// 返回空类型的回调定义 /// </summary> public class QVoidDelegate{ public delegate void WithVoid(); public delegate void WithGo(GameObject go); public delegate void WithParams(params object[] paramLis...
using Cirrious.Conference.Core.ViewModels; using Cirrious.MvvmCross.Views; namespace Cirrious.Conference.UI.Touch.Views { public class SponsorsView : BaseSponsorsView<SponsorsViewModel> { public SponsorsView(MvxShowViewModelRequest request) : base(request) { } } ...
using System; using System.Collections.Generic; using System.Text; using HotChocolate; using HotChocolate.AspNetCore.Extensions; using HotChocolate.AspNetCore.Serialization; using HotChocolate.Execution.Configuration; using HotChocolate.PreProcessingExtensions; using HotChocolate.PreProcessingExtensions.Tests.GraphQL;...
 namespace CommonCore.State { //base class for Intents //Intents are created by one scene and executed on the next or on the loading screen public abstract class Intent { public virtual void LoadingExecute() { } public virtual void PreloadExecute() { } public virtual void Post...
using System.ComponentModel.DataAnnotations; using MediatR; #pragma warning disable 8618 // ReSharper disable AutoPropertyCanBeMadeGetOnly.Global namespace Playlister.CQRS.Commands { /// <summary> /// Request to Update the Playlist data stored in the database /// </summary> // ReSharper disable once ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using DAO.Access; using VO.Entities; using VO.ExceptionHandler; using VO.Interfaces.BLL; namespace Bll { /// <summary> /// clase de negocio para clientes /// </summary> [PrintException(t...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace AAAI_veto_core { class Program { public static Random RandomGenerator = new Random(); static void Main(string[] args) { // Values of n,m to check var agentNumbers ...
using HtmlAgilityPack; namespace VeilleConcurrentielle.Scraper.ConsoleApp { public class HtmlDocumentLoader : IHtmlDocumentLoader { public HtmlDocument GetHtmlDocument(string url) { HtmlWeb web = new HtmlWeb(); var htmlDoc = web.Load(url); return htmlDoc; ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Windows.Data; using VersionManager.BO; using System.Globalization; using VersionManager.ViewModel; using ViewModelBasic; namespace VersionManager { internal class SoftSelectCustomerConvertor : IValueConverter, IRef...
// // This sample shows how to create data dynamically based on the // responses from a remote server. // // It uses the BindingContext API for the login screen (we might // as well) and the Element tree API for the actual tweet contents // using System; using System.Net; using System.Linq; using System.Xml; using Syst...
namespace FeatureSwitcher.Contexteer.Specs.Domain { public class FeatureConfiguration { public long Id { get; set; } public string FeatureName { get; set; } public long? ClientId { get; set; } public long? UseraccountId { get; set; } public UserRole Role { get; set; } ...
// Copyright (c) .NET Foundation and contributors. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using System.Collections.Generic; namespace Microsoft.DotNet.ProjectModel.Graph { public struct LibraryType : IEquatable<Libr...
namespace Microshaoft { using System; using System.Reflection; public class InterceptorDispatchProxy<T> : DispatchProxy { public T Sender; public Func<T, MethodInfo, object[], bool> OnInvokingProcessFunc; public Action<T, MethodInfo, object[]> OnInvokedProcessAction; pr...
namespace Tickr.Tests.Integration { using System.Net.Http; using Xunit; public class GetAllItemsTest : IClassFixture<TestFixture> { private readonly HttpClient _httpClient; public GetAllItemsTest(TestFixture testFixture) { _httpClient = testFixture.CreateCl...
namespace System.Windows.Forms { /// <summary> /// implement your windows hook here. /// </summary> internal static class MouseHook { public static event MouseEventHandler MouseDown; [Obsolete("not supported yet")] public static event MouseEventHandler MouseMove; pub...
using UnityEngine; using System.Collections; public class BeiBaoItem : MonoBehaviour { private ItemTypeInfo Info; private int m_num ; private BeiBaoWnd m_parent; public BeiBaoItem_h MyHead { get { return GetComponent<BeiBaoItem_h>(); } } public ItemTypeInfo GetInfo() { return Info; } publ...
using System.Collections.Generic; using System.Threading.Tasks; using Microsoft.Azure.Storage.Blob; namespace FileManager.Azure.Helpers { public static class BlobContainerHelpers { public static async Task<List<IListBlobItem>> ListBlobsAsync(this CloudBlobContainer container) { Blo...
using ImageWizard.Processing; using ImageWizard.Processing.Results; using OpenCvSharp; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading.Tasks; namespace ImageWizard.OpenCvSharp.Filters { /// <summary> /// FilterContext /// </summary> public cla...
namespace TPUM.Communication { public enum InterchangeStatus { Success, Fail } public class Interchange { public InterchangeStatus Status { get; set; } } }
// 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 Microsoft.ApplicationInsights.Channel; using Microsoft.ApplicationInsights.DataContracts; using Moq; using Xunit; namespace NuGetGallery { p...
using Cyclops.Xmpp.Data.Rooms; namespace Cyclops.Xmpp.Data; public interface IExtendedUserData { public IReadOnlyList<MucUserStatus?> Status { get; } public IRoomItem? RoomItem { get; } }
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; using PlayerState = SimplePhotonNetworkManager.PlayerState; public class UIPhotonWaitingPlayer : MonoBehaviour { public Text textPlayerName; public Text textPlayerState; public string playerStateReady = "R...
using System; using System.Collections.Generic; using System.Linq; using EnvDTE; namespace NuGet.VisualStudio { /// <summary> /// Cache that stores project based on multiple names. i.e. Project can be retrieved by name (if non conflicting), unique name and custom unique name. /// </summary> ...
namespace UnityModule.AssetBundleManagement { public static class Constants { public const string AssetBundleExtension = ".unity3d"; } }
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using Acuerdo.External.Shortener; using Inscribe.Configuration; namespace Inscribe.Plugin { public static class ShortenManager { private static List<IUrlShortener> shorteners = new List<IUrlShortener>(); ...
namespace BlazorShop.Web.Client.Infrastructure { using System.Net.Http; using System.Net.Http.Json; using System.Threading.Tasks; using Microsoft.AspNetCore.Components.Authorization; using Web.Shared.Identity; public class AuthClient : IAuthClient { private readonly HttpClient ht...
using SLOBSharp.Client.Requests; using SLOBSharp.Client.Requests.Scenes; using Xunit; namespace SLOBSharp.Tests.Client.Requests { public class RequestObjectTests { [Fact] public void CanBuildASlobsGetActiveSceneRequest() { var mockedRequest = new SlobsRequest { Method = "ac...
namespace Byndyusoft.Dotnet.Core.Samples.Web.DataAccess.Values.Commands { using System; using Domain.CommandsContexts.Values; using Infrastructure.CQRS.Abstractions.Commands; using JetBrains.Annotations; using Repository; [UsedImplicitly] public class SetValueCommand : ICommand<SetValueCom...
using System; namespace SadRogue.Primitives.SerializedTypes { /// <summary> /// Serializable (pure-data) object representing a <see cref="Point"/>. /// </summary> [Serializable] public struct PointSerialized { /// <summary> /// X-coordinate of the point. /// </summary> ...
using System; namespace JsonApiDotNetCore.Models { public class ResourceAttribute : Attribute { public ResourceAttribute(string resourceName) { ResourceName = resourceName; } public string ResourceName { get; set; } } }
using System; namespace NodeDialog.Graph { /// <summary> /// Attribute for describing the assets to use when creating a node. /// </summary> [AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct)] public class BaseNodeVisualAttribute : Attribute { public const string DEFAULT_NORMAL_IMAGE = "node0 h...
using System; using NumeralDash.Entities; using System.Collections.Generic; using SadRogue.Primitives; namespace NumeralDash.Rules { class RuleBase { static Type[] rules = { typeof(UpAndDownOrder), typeof(ReverseOrder), typeof(SequentialOrder), ...
using Abp.Application.Services.Dto; using SPA.DocumentManager.Enums.Extensions; using SPA.DocumentManager.PlanProjectTypes; using SPA.DocumentManager.PlanProjectTypes.Dtos; using SPA.DocumentManager.Plans; using SPA.DocumentManager.Plans.Dtos; namespace SPA.DocumentManager.PlanProjects.Dtos { public class PlanPro...
using Microsoft.AspNetCore.Razor.TagHelpers; using System; using System.Collections.Generic; using System.Threading.Tasks; using Xunit; namespace Spid.Cie.OIDC.AspNetCore.Tests; public class CieButtonTests { [Fact] public async Task CieButtonTagHelper() { var context = new TagHelperContext( ...
using System; using System.Collections.Generic; namespace ToyLanguage_NET { public interface Repository { List<PrgState> PrgStates { get; set; } void serializePrgStatet (); void logPrgState (); void deserializePrgStatet (); } }
#if UNITY_EDITOR #endif namespace RPGCore.Tables { public class MultiAssetSelector<T, E> : AssetSelector<T, E> where E : GenericTableEntry<T> { public uint Rolls = 1; public T[] SelectMultiple () { T[] selected = new T[Rolls]; for (uint i = 0; i < Rolls; i++) { selected[i] = Select (); } ...
using System; using System.Collections.Generic; using System.Text; namespace Playground { class NameReverser { public static void Run() { Console.WriteLine("Please enter your name (type \"exit\" to finish):"); var name = Console.ReadLine(); while (name.Lengt...
using Castle.DynamicProxy; namespace LinFx.Extensions.DynamicProxy; /// <summary> /// 异步拦截器 /// </summary> /// <typeparam name="TInterceptor"></typeparam> public class AsyncDeterminationInterceptor<TInterceptor> : AsyncDeterminationInterceptor where TInterceptor : IInterceptor { public AsyncDeterminationInt...