content
stringlengths
23
1.05M
#region License // Pomona is open source software released under the terms of the LICENSE specified in the // project's repository, or alternatively at http://pomona.io/ #endregion using System.Collections.Generic; using System.Linq; using System.Text; namespace Pomona.Common { public static class ...
using Newtonsoft.Json; using Newtonsoft.Json.Converters; using System.Runtime.Serialization; namespace CS.Mmg { /// <summary> /// What is the type of the guide either guide or template /// </summary> [JsonConverter(typeof(StringEnumConverter))] public enum GuideType { /// <summary> ...
using System; using System.Collections.Generic; using System.Text; using FlatRedBall.Math; using FlatRedBall.Gui; using FlatRedBall; namespace EditorObjects { public static class PositionedObjectRotator { #region Fields private static PositionedObjectList<PositionedObject> mObjectsToIgnore = ...
using System; using System.Collections.Generic; using System.Text; namespace MediumProxy { public class CachePolicy { public int CachedItemsCountHardLimit { get; set; } = 50; public TimeSpan MonitoringThreadInterval { get; set; } = TimeSpan.FromSeconds(12); public TimeSpan CacheLifec...
// <copyright file="TintColor.cs" company="VoxelGame"> // MIT License // For full license see the repository. // </copyright> // <author>pershingthesecond</author> using System; namespace VoxelGame.Core.Visuals { /// <summary> /// A tint that can be applied to blocks. /// </summary> public...
using System; using System.IO; namespace TML.Patcher.CLI.Common { /// <summary> /// Miscellaneous utilities. /// </summary> public static class Utilities { /// <summary> /// Get mod name from file path with prompt. /// </summary> public static string GetModN...
using UnityEngine; using UnityEngine.UI; using System.Collections; using System; public class SampleScript : MonoBehaviour { public WheelDatePicker datePicker; public WheelTimePicker timePicker; public WheelDatePicker datePicker2; public WheelTimePicker timePicker2; public InfiniWheel otherWheel; pu...
using System; using System.Linq; using Microsoft.VisualStudio.TestTools.UnitTesting; using SmhiNet.Interfaces; using UnitTestForSmhiNet.FakesRepositories; namespace UnitTestForSmhiNet.ObservationUnitTests { [TestClass] public class ObservationWithNullValues { [TestMethod] public void GetDa...
using System.Runtime.InteropServices; using AltV.Net.CApi.ClientEvents; using AltV.Net.Shared.Utils; namespace AltV.Net.Client { public class Discord { private readonly ICore core; public Discord(ICore core) { this.core = core; } public async Task<string> ...
using System; namespace Neutronium.Core.Navigation { /// <summary> /// interface used to build navigation beetween ViewModels /// based on ViewModel type /// </summary> public interface INavigationBuilder { /// <summary> /// Register a file relative path to HTML file correspond...
using System; using System.Collections.Generic; using System.Globalization; using Yoti.Auth.Constants; namespace Yoti.Auth.Sandbox.Profile.Request.Attribute.Derivation { public class SandboxAgeVerificationBuilder { private DateTime _dateOfBirth; private string _derivation; private List...
namespace BackEnd.Dtos { public class MachForUpdateDto { public string CurrentJob { get; set; } public string CurrentOp { get; set; } } }
// *********************************************************************** // Assembly : XLabs.Forms.WP8 // Author : XLabs Team // Created : 12-27-2015 // // Last Modified By : XLabs Team // Last Modified On : 01-04-2016 // ************************************************************...
using System; using System.Collections.Generic; namespace CarDealership.Models { public class Car { private string _makeModel; private int _price; private int _miles; private string _details; private static List<Car> _instances = new List<Car> {}; // public Car (string makeModel, int price,...
namespace Conic.Wormhole { public struct ReadResult { public ReadResult(int imputLength, string value) { Value = value; ImputLength = imputLength; } public string Value { get; set; } public int ImputLength { get; set; } } }
using System.IO; using System; using Lab_22_Serialization; using System.Collections.Generic; using System.Runtime.Serialization.Formatters.Binary; namespace Lab_24_Serialise_Binary { class Program { static void Main(string[] args) { var customer = new Customer(1, "simon", "NRDEH32...
namespace NLib.Linq.Extensions { using System.Linq.Expressions; /// <summary> /// Defines extensions methods for <see cref="Expression"/>. /// </summary> public static class ExpressionExtensions { /// <summary> /// Gets the name of the parameter. /// </summar...
using NUnit.Framework; using System; using Core.Either; namespace Core.Maybe.Tests; [TestFixture] public class EitherTests { private readonly Either<int, string> _eitherResult; private readonly Either<int, string> _eitherError; private const int EitherLeftValue = 5; private const string EitherRightValue = "F...
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Reflection; using UnityEngine; namespace ShuHai.Unity { public struct LogInfo { public string Log; public string StackTrack; public LogType LotType; } public static class ...
using System.Collections; using UnityEngine; public class NetworkObject : MonoBehaviour { public Renderer _renderer; public Rigidbody rb; public Vector3 positionError = Vector3.zero; public Quaternion rotationError = Quaternion.identity; Vector3 previousPosition; Color defaultColour; pub...
#region File Description //----------------------------------------------------------------------------- // FuzzyLogicGame.cs // // Microsoft XNA Community Game Platform // Copyright (C) Microsoft Corporation. All rights reserved. //----------------------------------------------------------------------------- #endregi...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; public partial class Comun_Controles_Merror2 : System.Web.UI.UserControl { internal String _mensajeError; #region Propiedades public String MensajeError { ...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.EntityFrameworkCore; namespace QuestionsApp.Web.DB { public class QuestionsContext : DbContext { public QuestionsContext(DbContextOptions options) : base(options) { } publi...
using System; using System.Collections.Generic; using System.Linq; using Xunit; namespace NDash.Tests { public class ShuffleTests { [Fact] public void should_not_mutate_original_collection() { var ascending = Enumerable.Range(0, 100); ascending.Shuffle(); ...
using System.Collections.Generic; using System.Linq; using System.Text; using AttributeRouting.Helpers; namespace AttributeRouting.Framework { /// <summary> /// Strategy ensuring that every route has a unique name. /// Preferably, it generates routes names like "Area_Controller_Action". /// In case of ...
using osu.Framework.Allocation; using osu.Framework.Graphics; using osu.Framework.Platform; using osu.Game.Tests.Visual; namespace osu.Game.Rulesets.Tau.Tests { public class TestSceneOsuGame : OsuTestScene { [BackgroundDependencyLoader] private void load(GameHost host, OsuGameBase gam...
using WebGL; namespace THREE { public class Clock { public bool autoStart; public double startTime; public double oldTime; public double elapsedTime; public bool running; public Clock(dynamic autoStart = null) { this.autoStart = autoStart ?? true; startTime = 0; oldTime = 0; elapsedTime ...
/* * This is a .NET port of the original Java version, which was written by * Gil Tene as described in * https://github.com/HdrHistogram/HdrHistogram * and released to the public domain, as explained at * http://creativecommons.org/publicdomain/zero/1.0/ */ using System; using System.Collections; using System.C...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Microsoft.Xna.Framework.Graphics; using Microsoft.Xna.Framework; namespace BadRabbit.Carrot { public class BasicSprite : Basic2DObject { public Texture2DValue Sprite; public BoolValue Additi...
using System; using System.Collections.Generic; using System.Text; using NUnit.Framework; namespace SharpGLTF.Schema2.LoadAndSave { [TestFixture] [Category("Model Load and Save")] public class LoadInvalidTests { [Test] public void LoadInvalidJsonModel() { ...
using System.Linq; using System.Reflection; using Hermit.Injection; using UnityEditor; namespace Hermit.Common { [CustomEditor(typeof(MonoServiceRegistry), true)] public class MonoServiceProviderEditor : Editor { private void OnEnable() { var serviceProvider = target as MonoServ...
using System; using System.Collections.Generic; using System.Text; namespace CrimsonForthCompiler.Visitors.CrimsonForthVisitor { class LabelGenerator { private int internalCount; private int internalIfCount; private int internalWhileCount; private string internalCurrentFunction; ...
using System; using System.Linq; class GetLargestNumber { static void Main() { //input int size = 3; int[] numbers = Console.ReadLine().Split(' ').Select(int.Parse).ToArray(); //logic int maxNumber = numbers[0]; for (int i = 1; i < size; i++) { maxNumber = GetM...
using System.Text.Json.Serialization; namespace Essensoft.Paylink.Alipay.Domain { /// <summary> /// OpenApiProvisioningBundle Data Structure. /// </summary> public class OpenApiProvisioningBundle : AlipayObject { /// <summary> /// 加密后的数据 /// </summary> [JsonProperty...
using AutoMapper; using Media.Api.Core.BookAggregate; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Media.Api.Web.Features.Books.Create { public class BookCreateProfile : Profile { public BookCreateProfile() { ...
using System; using System.Collections.Generic; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace DragControlNamespace { public sealed partial class DragControl { //save last control location for 'MoveToLastlocat...
using Maturnik.WebUI.Shared.Models; using MediatR; namespace Maturnik.Application.SchoolSubjects.Queries.All { public class AllSchoolSubjectsQuery : IRequest<ApiResponse<AllSchoolSubjectsViewModel>> { } }
using System; namespace UltraSFV.Core { /// <summary> /// UpdateStatus: Enumerated type used to indicate the status of updates. /// ApplyUpdate means that an update is available to be applied /// </summary> public enum UpdateStatus { ContinueExecution, ApplyUpdate } }
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Loksim3D.WetterEdit.Win32Wrapper { public class Win32Exception : Exception { public Win32Exception(string msg, int errorCode) : base(msg) { ErrorCode = errorCode; } publ...
using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using WordCounter.Models; namespace WordCounter.Tests { [TestClass] public class SentenceTests { [TestMethod] public void SentenceConstructor_ConstructsASentence_Sentence() { Sentence newSentence = new Sentence ("Bad Bunny isn't...
using System; using System.Threading.Tasks; namespace MudBlazor { internal static class TaskExtensions { public static void FireAndForget(this Task task) { task.FireAndForget(ex => Console.WriteLine(ex)); } public static async void FireAndForget(this Task task, Act...
// Copyright 2021 Bob "Wombat" Hogg // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed...
using System; using System.Collections; using System.Collections.Generic; using UnityEngine; [CreateAssetMenu(menuName = "PluggableAI/Actions/Die")] public class DieAction : Action { public override void Enter(StateController controller) { //call die function in state controller controller.Di...
using System; using Newtonsoft.Json.Linq; using VkLib.Extensions; namespace VkLib.Core.Photos { public class VkPhoto { public string Id { get; set; } public long Pid { get; set; } public int Aid { get; set; } public long OwnerId { get; set; } public string Src { get...
using _31_ValidateAppInput.Models; using System; namespace _31_ValidateAppInput { public static class ManageDataIntegrity { public static void GetExample() { var student = new Student("l", 5); var entityErrors = Validator<Student>.Validate(student); Consol...
using Framework.Async; using Framework.Core; namespace Framework.ServiceModel.Async { public interface IAsyncRemoveService<in TIdentityObject> { IAsyncProcessFunc<TIdentityObject, Ignore> RemoveAction { get; } } }
namespace PrtgAPI.Linq.Expressions { internal interface ICountLimitLinqExpression { } }
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Newtonsoft.Json; namespace Nest { [JsonObject] public class IndexingStats { [JsonProperty(PropertyName = "index_total")] public long Total { get; set; } [JsonProperty(PropertyName = "index_time")] public string Time...
#region Copyright // <<<<<<< HEAD <<<<<<< HEAD ======= ======= >>>>>>> update form orginal repo // DotNetNuke® - https://www.dnnsoftware.com // Copyright (c) 2002-2018 // by DotNetNuke Corporation // // Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated // d...
using Dalamud.CrystalTower.UI; namespace Dalamud.CrystalTower.Tests.Mocks { public class WindowMock : ImmediateModeWindow { public bool DrawCalled { get; private set; } public override void Draw(ref bool visible) { DrawCalled = true; } public void RequestW...
// // Copyright (C) DataStax Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applic...
using System.Collections; using System.Collections.Generic; using UnityEngine; public static class Constants { public enum Worlds { RealWorld, SoulsWorld } public static int experienceToLevelUp = 10; }
using System.Data.Entity.ModelConfiguration; using Twilio.OwlFinance.Domain.Model.Data; namespace Twilio.OwlFinance.Infrastructure.DataAccess.Configuration { public class DocuSignLogModelConfiguration : EntityTypeConfiguration<DocuSignLog> { public DocuSignLogModelConfiguration() { ...
namespace codingfreaks.AspNetIdentity.Data.Core { using System; using System.Diagnostics; using System.Linq; public static class ContextUtil { #region properties public static IdentityEntities Context { get { var context = new Identi...
using System; using System.IO; namespace Terraria.IO { public class FileMetadata { public const ulong MAGIC_NUMBER = 27981915666277746uL; public const int SIZE = 20; public FileType Type; public uint Revision; public bool IsFavorite; private FileMetadata() { } public void Write(BinaryWriter write...
using HJM.Chip8.CPU.Changes; using System; using System.Collections.Generic; using System.Text; namespace HJM.Chip8.CPU.Instructions.Chip8 { /// <summary> /// 3xkk - SE Vx, byte /// Skip next instruction if Vx = kk. /// The interpreter compares register Vx to kk, and if they are equal, increments the ...
namespace application.jsmrg.ytils.com.lib.Engine { public static class JsMrgCommand { public const string Include = "include"; public const string HtmlVar = "htmlvar"; } }
using AutoMapper; using MediatR; using System; using System.Threading; using System.Threading.Tasks; using Template.Application.Contracts.Persistance; using Template.Domain.Entities; namespace Template.Application.Features.Dummies.Commands.CreateDummy { public class CreateDummyCommandHandler : IRequestHandler<Cre...
using System.Text; namespace Toe.Scripting.Defines { public class TreeExpressionItem { public static readonly TreeExpressionItem Never = new TreeExpressionItem(TreeExpressionItemType.Never, 0); public static readonly TreeExpressionItem Always = new TreeExpressionItem(TreeExpressionItemType.Alw...
/* This source file is a part of the project YAGL. Copyright (c) 2020 Pavel Melnikov. Distributed under the MIT License (http://opensource.org/licenses/MIT). See LICENSE.txt for the full license text. */ // ReSharper disable UnusedType.Global using System.IO; namespace Yagl.Graphics.Imaging.Formats { public ...
using System; using System.IO; using FluentBuild.Utilities; using ICSharpCode.SharpZipLib.Zip; using NUnit.Framework; using Rhino.Mocks; namespace FluentBuild.Runners.Zip { [TestFixture] public class ZipDecompressTests { private ZipDecompress _subject; private IFileSystemHelper _fileSystemH...
using System; using System.Diagnostics; using System.Xml.Serialization; namespace Esha.Genesis.Services.Client { /// <remarks /> [XmlInclude(typeof(AdditionalItemIngredientStatementSettingsDto))] [Serializable] [DebuggerStepThrough] [XmlType(Namespace = "http://ns.esha.com/2013/exlx")] public ...
using System; using System.Collections.Generic; using System.Text; using Serilog; namespace SerilogConsoleApp.StructuredData { /// <summary> /// There are many places where, given the capability, it makes sense to /// serialise a log event property as a structured object. /// DTOs (data transfer objec...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using Sismuni.Agente.Servicio.Dto.Tramite; namespace Sismuni.Service.Web.TramiteDocumentario.Response { public class ResponseMessage { public HeadMessage _HeadMessage { get; set; } public List<TramiteDto> _Bo...
using System; using System.Collections.Generic; namespace Solid.IdentityModel.Tokens.Saml2.Metadata { public class RoleDescriptor : DescriptorBase { public Organization Organization { get; set; } public ICollection<ContactPerson> ContactPerson { get; } = new List<ContactPerson>(); publ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Felbook.Models; namespace Felbook.Tests.Fakes { class MockStatusService : AbstractMockService, IStatusService { public MockStatusService(MockModel model) : base(model) { } #region Interface methods ...
using backend.Interfaces.Database; using System; using System.Collections.Generic; using System.IO; using System.IO.Compression; using System.Linq; using System.Text; using System.Threading.Tasks; namespace backend.Services.Database { public class Compressor : ICompressor { public byte[] Compress(byte...
// --------------------------------------------------------------------------------------- // ILGPU // Copyright (c) 2020-2021 ILGPU Project // www.ilgpu.net // // File: LocalMemoryIntrinsic.cs // // This file is part of I...
using UnityEngine; namespace Prototypes.TrainSystems { public class BeginDragEvent { public object Item { get; } public object Parent { get; } public BeginDragEvent(object item, object parent) { Item = item; Parent = parent; } } }
using FluentValidation; using SFA.DAS.AdminService.Web.ViewModels.Register; namespace SFA.DAS.AdminService.Web.Validators { public class RegisterViewModelValidator : AbstractValidator<RegisterViewModel> { public RegisterViewModelValidator() { RuleFor(vm => vm.SearchString).NotEmpty...
using System.Collections.Generic; using Cytoid.Storyboard; using Cytoid.Storyboard.Controllers; namespace Storyboard.Controllers { public class ControllerEaser : StoryboardRendererEaser<ControllerState> { private List<StoryboardRendererEaser<ControllerState>> children; public Controll...
using NUnit.Framework; using System; using UniGLTF; using UnityEngine; using VRM; public class VRMTest { static GameObject CreateSimpelScene() { var root = new GameObject("gltfRoot").transform; var scene = new GameObject("scene0").transform; scene.SetParent(root, false)...
using CloudBackup.Database.Enum; using System; using System.Collections.Generic; using System.Text; namespace CloudBackup.Database.Entity { public class Device { public int Id { get; set; } public string Name { get; set; } public string Description { get; set; } public string C...
using HomeSeerAPI; using Hspi.Devices; using NullGuard; using System.Collections.Generic; namespace Hspi.DeviceData { [NullGuard(ValidationFlags.Arguments | ValidationFlags.NonPublic)] internal class MediaStateFeedbackDeviceData : DoubleFeedbackDeviceDataBase { public MediaStateFeedbackDeviceData(...
// This file is auto-generated, don't edit it. Thanks. using System; using System.Collections.Generic; using System.IO; using Tea; namespace AlibabaCloud.SDK.Dataworks_public20200518.Models { public class ListCalcEnginesResponse : TeaModel { [NameInMap("HttpStatusCode")] [Validation(Required=true...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using DNMOFT.RNC.Context; // For more information on enabling Web API for empty projects, visit https://go.microsoft.com/fwlink/?LinkID=397860 namespace DNMOFT.RNC.Controllers { [Route...
using IntegrationTool.SDK; using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Text; using System.Threading.Tasks; namespace IntegrationTool.Module.WriteToEventLog { public enum EventLogLevel { Information, Warning, Error } public class Wr...
using System; using System.Collections.Generic; using System.ComponentModel; using lfeigl.cleanr.Library; namespace lfeigl.cleanr.CLI { public static class Utils { public static void PrintBaseObject(Base baseObject) { List<string> print = new List<string>(); print.Add(...
using System; using System.Globalization; using Oddin.OddsFeedSdk.API.Entities.Abstractions; namespace Oddin.OddsFeedSdk.API.Entities { internal class TvChannel : ITvChannel { public string Name { get; } public string StreamUrl { get; } public DateTime? StartTime { get; } public...
namespace Terraria.ID { public static class BuffID { public const int ObsidianSkin = 1; public const int Regeneration = 2; public const int Swiftness = 3; public const int Gills = 4; public const int Ironskin = 5; public const int ManaRegeneration = 6; public const int MagicPower =...
using System.Collections.Generic; using System.Linq; using EtlGate.Extensions; using FluentAssert; using JetBrains.Annotations; using NUnit.Framework; namespace EtlGate.Tests.Extensions { [UsedImplicitly] public class IEnumerableTExtensionsTests { [UsedImplicitly] public class When_asked_to_convert_a_List_...
using SadConsole; using System; namespace Highbyte.DotNet6502.SadConsoleHost { public class SadConsoleEmulatorInput { private readonly Memory _emulatorMem; private readonly EmulatorInputConfig _emulatorInputConfig; public SadConsoleEmulatorInput( Memory emulatorMem, ...
using eShopData.DTOs; namespace Admin.eShopDemo.Models { public class UserViewModel { public IEnumerable<UserModel> ListUsers { get; set; } = new List<UserModel>(); } }
namespace DbMigrator.Helpers.Interfaces { public interface IConfigurationHelper { string GetConnectionString(string connectionString, string connectionStringName); string GetProvider(string provider, string connectionStringName); void SetAppConfig(string configPath); } }
namespace Spectre.Console.Cli.Internal { internal sealed class TemplateToken { public Kind TokenKind { get; } public int Position { get; } public string Value { get; } public string Representation { get; } public TemplateToken(Kind kind, int position, string value, strin...
using Newtonsoft.Json; namespace PoissonSoft.KrakenApi.Contracts.UserData { /// <summary> /// Retrieve a summary of collateral balances, margin position valuations, equity and margin level. /// </summary> public class TradeBalance { [JsonProperty("error")] public string[] Error { g...
using MasterDevs.ChromeDevTools; using Newtonsoft.Json; using System.Collections.Generic; namespace MasterDevs.ChromeDevTools.Protocol.Chrome.Debugger { /// <summary> /// Fired when virtual machine parses script. This event is also fired for all known and uncollected /// scripts upon enabling debugger. /// </summa...
namespace TermoThis { class Acessar { string senha /*a_senha*/ = "xyz"; public bool Login(string senha /*p_senha*/) { // return a_senha == p_senha; return this.senha == senha; // this.senha: Instância da classe / senha: Parâmetro do método } } }
using System; using System.IO; using System.Collections; using CSCore.Tags.ID3; using NVorbis; using JAudioTags; namespace aplicacion_musica { public class LectorMetadatos { private readonly VorbisReader _vorbisReader = null; private readonly FLACFile _FLACfile; private readonly ID3v2Q...
using System; namespace EfsTools.Attributes { public class ElementsCountAttribute : Attribute { public ElementsCountAttribute(int val) { Value = val; } public int Value { get; } } }
using System; using System.Windows; #if WinRT using Windows.UI.Xaml; using Windows.UI.Xaml.Data; using CultureInfo = System.String; #else using System.Windows.Data; using System.Globalization; #endif namespace LogoFX.Client.Mvvm.View.Infra.Converters { public class BoolToVisibilityConverter : IValueConv...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class ToolBrush : Tool { Color[] colors = new Color[]{ Color.blue, Color.red, Color.yellow, Color.green, Color.black }; int currentColor = 0; Selector sel; // Use this for initialization void Start () { sel = new Selector(...
using System.ComponentModel.DataAnnotations; namespace GlobalLib.Models.VieShowDB { public class tblDistributor { [Key] public string Distrib_strCode { get; set; } public string Distrib_strName { get; set; } } }
// ----------------------------------------------------------------------- // <copyright file="ReadinessStatus.cs" company="Petabridge, LLC"> // Copyright (C) 2015 - 2019 Petabridge, LLC <https://petabridge.com> // </copyright> // ----------------------------------------------------------------------- namespace ...
namespace JT808.Protocol.Metadata { /// <summary> /// 分包属性 /// </summary> public struct JT808SplitPackageProperty { /// <summary> /// 当前页 /// </summary> public int PackgeIndex { get; set; } /// <summary> /// 分页总数 /// </summary> public ...
/* * Author: Shon Verch * File Name: ScriptableObjectHelper.cs * Project Name: TheDungeonMaster * Creation Date: 01/08/18 * Modified Date: 01/08/18 * Description: Extensions functionality regard scriptable objects. */ using UnityEngine; using UnityEditor; using System.IO; /// <summary> /// Extensions functiona...
namespace DesktopApp { partial class DebugForm { /// <summary> /// 必需的设计器变量。 /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// 清理所有正在使用的资源。 /// </summary> /// <param name="disposing">如果应释放托管资源,为 true;否则为...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using ConferenceScheduler.Entities; namespace HybridConferenceScheduler { public class EventHandler { public IEnumerable<Assignment> Assignments { get; private set; } public voi...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Builder; namespace PhotoChannelWebAPI.Middleware.MemoryCache { public static class MemoryCacheMiddlewareExtension { public static IApplicationBuilder UseCacheMiddleware(this IApp...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Basil.Util.Event; using Basil.Util.Event.Messages; using DotNetCore.CAP; using Microsoft.AspNetCore.Mvc; namespace WebApp2.Controllers { /// <summary> /// 事件总线演示,实际项目中应该和业务控制器混用,这里只做演示用 /// </summary> ...