content
stringlengths
23
1.05M
//----------------------------------------------------------------------- // <copyright file="BaseUnitConverter.cs" company="George Kampolis"> // Copyright (c) George Kampolis. All rights reserved. // Licensed under the MIT License, Version 2.0. See LICENSE.md in the project root for license information. // </...
using NBitcoin; using System; using System.Collections.Generic; using System.Text; namespace NBXplorer.Models { public class CreatePSBTRequest { /// <summary> /// A seed to specific to get a deterministic PSBT (useful for tests) /// </summary> public int? Seed { get; set; } /// <summary> /// The version...
namespace Lockdown.Commands { using System.ComponentModel.DataAnnotations; using System.IO; using System.Linq; using System.Reflection; using McMaster.Extensions.CommandLineUtils; [Command(Description = "Create a new static website based on a template")] internal class NewCommand : InputOu...
using System; namespace Doog { /// <summary> /// An immutable circle. /// </summary> public struct Circle : ICircle { private readonly float _left; private readonly float _top; private readonly float _right; private readonly float _bottom; priva...
using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using FeedHistory.Common; using Microsoft.AspNetCore.Mvc; namespace FeedHistory.Service.Cache.Controllers { public interface IBarsRepository { void Save(ICollection<Bar...
// This file constitutes a part of the SharpMedia project, (c) 2007 by the SharpMedia team // and is licensed for your use under the conditions of the NDA or other legally binding contract // that you or a legal entity you represent has signed with the SharpMedia team. // In an event that you have received or obtained ...
using Microsoft.VisualStudio.TestTools.UnitTesting; using System; using System.Collections.Generic; using System.Linq; using Unity.Injection; using Unity.Lifetime; using Unity.Specification.Container.IsRegistered; namespace Unity.Specification.Issues.GitHub { public abstract partial class SpecificationTests : Tes...
using System; using FluentAssertions; using Xunit; using Xunit.Abstractions; using System.Dynamic; using System.Threading; using System.Collections.Generic; namespace System.Dynamic.Test { public class JSONTest { private readonly ITestOutputHelper _outputHelper; private readonly string _jsonStr...
using MQS.Domain.Common; using MQS.Utils.Attributes; using System; namespace MQS.Domain.Entities { [MongoCollection("authors")] public class Author : Document { public string FirstName { get; set; } public string LastName { get; set; } public Author() { Id = Guid.NewGuid(); } } }
using System.Linq; using System.Windows.Shapes; namespace DynamicGeometry { public class TranslatedPoint : PointBase, IPoint { //[PropertyGridVisible] [PropertyGridName("Translation of ")] public IPoint Source { get { return (Dependen...
@using EcommerceEcovilleA.Models @using EcommerceEcovilleA.Utils @model List<Produto> @{ ViewBag.Title = "Index"; List<Categoria> categorias = ViewBag.Categorias; var erro = ViewBag.Erro != null ? ViewBag.Erro as Erros : new Erros { Erro = false, Data = "" }; } @if (erro.Erro) { <div class="alert aler...
using System; using System.Security.Cryptography.X509Certificates; namespace Griffin.Core.Tests.Net { public class CertificateHelper { public static X509Certificate2 Create() { return new X509Certificate2( AppDomain.CurrentDomain.BaseDirectory + "\\Net\\ce...
using System.Collections; using System.Collections.Generic; using UnityEngine; public static class MelodicSequences { public class Note { public readonly int scaleDegree; public readonly int alteration; public readonly float frequency; public Note(int sd, int alt) { ...
using LagoVista.Core.Interfaces; using LagoVista.Core.IOC; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace LagoVista.XPlat.Core { public class Entry : Xamarin.Forms.Entry { public Entry() { this.Focused +...
namespace Sakuno.KanColle.Amatsukaze.Game.Models { interface ICombatAbility { ShipCombatAbility CombatAbility { get; } } }
using System; using System.ComponentModel; using Xamarin.Forms; namespace TestCarouselViewPage.Views { public class Item : INotifyPropertyChanged { public Item() { } public Item(Color color, string url) { Color = color; Url = new Uri(url); ...
namespace PyrusApiClient { public class LessThanFilter : FormFilter { public LessThanFilter(int fieldId, object value) : base(OperatorId.LessThan, value) { FieldId = fieldId; } public LessThanFilter(string fieldName, object value, FormResponse form) : base(OperatorId.LessThan, value) { FieldId...
using System; using System.Threading.Tasks; namespace BuildIt.Synchronization { public interface ISynchronizationContext<TSynchronizationStages> where TSynchronizationStages : struct { event EventHandler<SynchronizationEventArgs<TSynchronizationStages>> SynchronizationChanged; void Def...
using Infrastructure.Database.Common; using MongoDB.Driver; namespace Tests.TestsInfrasctructure.Database { public class TestMongoDatabaseFactory : IMongoDatabaseFactory { private readonly InMemoryTestDatabase _inMemoryTestDatabase; public TestMongoDatabaseFactory(InMemoryTestDatabase inMemor...
using System; using System.Transactions; using NServiceBus.Config; using NServiceBus.ObjectBuilder; namespace NServiceBus.Unicast.Transport.ServiceBroker.Config { public class ConfigServiceBrokerTransport : Configure { /// <summary> /// Wraps the given configuration object but stor...
using System.Collections.Generic; namespace EmbeddedMail { public class SmtpToken { public static readonly IEnumerable<string> KnownCommands; public static readonly string DataCommand = "DATA"; static SmtpToken() { KnownCommands = new[] {"HELO", "EHLO", "...
/* INFINITY CODE */ /* https://infinity-code.com */ using System; using InfinityCode.uContext.Windows; using UnityEngine; using Object = UnityEngine.Object; namespace InfinityCode.uContext.Actions { public class CloseComponentWindows : ActionItem, IValidatableLayoutItem { pu...
using Generic40.Domain; using System.Collections.Generic; using System.Threading.Tasks; namespace Generic40.AppBcl { /// <summary> /// Number provider. /// </summary> public class AnotherNumberProvider : IAnotherValueProvider { /// <inheritdoc /> public Task DoWorkAsync() {...
using System.Collections; using System.Collections.Generic; using UnityEngine; namespace TUF.Combat { [System.Flags] public enum EntityTeams { None = 0, Player = 1, Enemy = 2 } }
// Copyright (c) 2019 Lykke Corp. // See the LICENSE file in the project root for more information. using System; namespace MarginTrading.TradingHistory.Core { public class AggregatedDeal : IAggregatedDeal { public string AccountId { get; set; } public string AssetPairId { get; set; } ...
using System; using System.Collections.Generic; using Sporty.DataModel; using Sporty.ViewModel; namespace Sporty.Business.Interfaces { public interface IZoneRepository : IRepository<Zone> { IEnumerable<ZoneView> GetAll(Guid userId); void CheckAndUpdateZones(Guid userId, List<ZoneView> zones); ...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; /// <summary> /// Updates current session max score on the <see cref="GameObject"/>'s <see cref="Text"/> component /// </summary> public class ActualScoreDisplay : MonoBehaviour { private Text text; private Tr...
using Dapper.CX.SqlServer.Services; using Microsoft.AspNetCore.Identity; using Microsoft.Extensions.Options; using SampleApp.Models; namespace SampleApp.RazorPages.Services { public class UserProfileClaimsFactory : DbUserClaimsFactory<UserProfile> { public UserProfileClaimsFactory( DbUserC...
using System; using System.Collections.Generic; using System.IO; using System.Text; using System.Threading.Tasks; namespace DataAPI.Service.Search { public class SearchResultStream : Stream, IDisposable { private readonly IAsyncEnumerator<string> searchResults; private byte[] curren...
using System.ComponentModel.DataAnnotations.Schema; using Chikatto.Enums; namespace Chikatto.Database.Models { public class DbChannel { [Column("id")] public int Id { get; set; } [Column("name")] public string Name { get; set; } [Column("description")] public string Topic { get; set; }...
using System.Drawing; using System.Windows.Forms; namespace Glyssen.Controls { public class ProgressBarUnanimated : ProgressBar { private readonly Color m_barForeColor = Color.ForestGreen; public ProgressBarUnanimated() { SetStyle(ControlStyles.UserPaint, true); } protected override void OnPaintBackg...
using Appy.Tool.OnePassword.Cli; using Appy.Tool.OnePassword.Composition; using Microsoft.Extensions.DependencyInjection; namespace Appy.Tool.OnePassword; internal static class Program { static int Main(string[] args) => new ServiceCollection() .AddToolDependencies() .BuildServi...
namespace PartialViews.Pages.ToDos { using System.Linq; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.RazorPages; public class ViewToDoModel : PageModel { public ToDoItemViewModel Item { get; set; } public IActionResult OnGet(int id) { this.It...
using System.Collections.Generic; using System.Text.Json.Serialization; namespace TatumPlatform.Model.Responses { public class AdaTx { [JsonPropertyName("block")] public AdaBlock Block { get; set; } [JsonPropertyName("blockIndex")] public long BlockIndex { get; set; } ...
#region (c) 2010-2011 Lokad - CQRS for Windows Azure - New BSD License // Copyright (c) Lokad 2010-2011, http://www.lokad.com // This code is released as Open Source under the terms of the New BSD Licence #endregion using Lokad.Cqrs.Build.Engine; using Lokad.Cqrs.Synthetic; using Microsoft.WindowsAzure; ...
using System; using System.Collections.Generic; using System.Runtime.InteropServices; using System.Text; namespace DCSoftDotfuscate { [Serializable] [ComVisible(false)] public class GClass389 : GClass383 { private Dictionary<string, string> dictionary_0 = new Dictionary<string, string>(); private GEnum81 genu...
/******************************************************************************** Copyright (c) jiniannet (http://www.jiniannet.com). All rights reserved. Licensed under the MIT license. See licence.txt file in the project root for full license information. ***********************************************************...
using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace TicketShopMVC.Models { public class Poster { public string Img { get; set; } public string ImgPath { get; set; } public Poster(string img, string imgPath) { Img = img; ...
namespace System.Drawing.Imaging { public sealed class ImageCodecInfo { public Guid Clsid { get { throw null; } set { throw null; } } public Guid FormatID { get { throw null; } set { throw null; } } public string CodecName { get { throw n...
namespace PingPong.Core.Menus.Enums { public enum ShopMenuChoices { Line, Ball, Back } }
using UnityEditor; namespace UnityRayFramework.Editor { public class RayFrameworkInspector : UnityEditor.Editor { private bool m_IsCompiling; public override void OnInspectorGUI() { if (m_IsCompiling && !EditorApplication.isCompiling) { m_IsComp...
namespace Book.Views.Samples.Chapter04.Sample04 { using System.Reactive.Disposables; using ReactiveUI; using ViewModels.Samples.Chapter04.Sample04; public partial class DinosaurExhibitionView : ReactiveUserControl<DinosaurExhibitionViewModel> { public DinosaurExhibitionView() { ...
using SSDCPortal.Shared.Dto.Db; using SSDCPortal.Shared.Localizer; using FluentValidation; using Microsoft.Extensions.Localization; namespace SSDCPortal.Shared.Validators.Db { public class PluralFormRuleValidator : LocalizedAbstractValidator<PluralFormRule> { public PluralFormRuleValidator(IStringLoca...
using System; namespace BEditor.Drawing { [Flags] public enum FlipMode { X = 0, Y = 1 } }
using Solana.Unity.Extensions.TokenMint; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Solana.Unity.Extensions { /// <summary> /// Represents a token quantity of a known mint with a known number of decimal places. /...
using System; using System.Collections.Generic; using System.Text; using System.Threading; using DotNetCore.CAP.Internal; using DotNetCore.CAP.Messages; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Logging.Abstractions; using Savorboard.CAP.InMemoryMessageQueue; using Xunit; namespace InMemoryQueueTe...
using MediatR; using Microsoft.AspNetCore.Mvc; using ProAgil.Core.Domain.Commands; namespace ProAgil.Api.Controllers { [Route("v1/evento")] [ApiController] public class EventoController : BaseController { private readonly IMediator _mediator; public EventoController(IMediator mediator)...
using System; using System.Collections.Generic; using System.Linq; class BombNumbers { static void Main() { List<int> input = Console.ReadLine() .Trim() .Split(new string[] { " " }, StringSplitOptions .RemoveEmptyEntries) .Select(int.Parse) ....
namespace AbilitySystem.ModifierMagnitude { public enum ECaptureAttributeWhen { OnCreation, OnApplication } }
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using OnlineTraining.Entities.Entities; using OnlineTraining.Entities.ViewModels; using OnlineTraining.Services.Interfaces; namespace OnlineTraining.API.Controllers { [Route("api/[contr...
using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Http; using System.Threading.Tasks; using GettyImages.Api.Handlers; using Newtonsoft.Json; namespace GettyImages.Api { internal class WebHelper { private readonly string _baseAddress; private ...
// Copyright © 2015 ~ 2017 Sunsoft Studio, All rights reserved. // Umizoo is a framework can help you develop DDD and CQRS style applications. // // Created by young.han with Visual Studio 2017 on 2017-09-13. using System; using System.Collections.Generic; namespace Umizoo.Configurations { public static class B...
using System.Collections.Generic; using CloudCMS; using Newtonsoft.Json.Linq; namespace CloudCMS { public class AssociationUtil { public static List<IAssociation> AssociationList(JArray nodeArray, IBranch branch) { List<IAssociation> associations = new List<IAssociation>(); ...
using System; using FluentValidation; namespace Car.Data.FluentValidation { public class MessageValidator : AbstractValidator<Entities.Message> { public MessageValidator() { RuleFor(message => message.Id).GreaterThan(Constants.Constants.IdLength); RuleFor(message => mes...
using System.Threading.Tasks; using FabricAdcHub.Core.Commands; using FabricAdcHub.User.Events; using FabricAdcHub.User.Machinery.ObjectOriented; using FabricAdcHub.User.States; namespace FabricAdcHub.User.Transitions { internal class ProtocolStatusChoice : IfChoiceBase<AdcProtocolState, StateMachineEvent, Comman...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; [RequireComponent(typeof(RawImage))] public class UIRawImageEffect : MonoBehaviour { RawImage image; Rect rect; public float speed = .10f; public Vector2 size = new Vector2(5, 5); void Update() ...
using Microsoft.Azure.WebJobs; using Microsoft.Azure.WebJobs.Host.Config; using System; using System.Data.SqlClient; using System.Threading; using System.Threading.Tasks; using Dapper; using Microsoft.Azure.WebJobs.Host.Bindings; using System.Collections.Generic; namespace DeepDive.Extension.SQLBinding { public cl...
using System.Collections; using System.Linq; using System.Collections.Generic; using UnityEngine; using UnityEditor; namespace Coffee.PackageManager { public class Settings : ScriptableObject { static HostData s_EmptyHostData; static Settings s_Instance; static Settings Instance { get { if (s_Ins...
using System; namespace EliteAPI.Event.Models.Abstractions { /// <summary> /// An in-game event /// </summary> public interface IEvent { /// <summary> /// The timestamp of the event /// </summary> DateTime Timestamp { get; } /// <summary> ///...
using System; using Assets.Scripts.API.Observers; using Assets.Scripts.Debug; using Assets.Scripts.GameComponents.Input; namespace Assets.Scripts.GameComponents { public class Player : IEndTurnObserver { public float Credits { get; set; } public float Income { get; set; } public string...
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using Remotion.Linq; namespace Simple1C.Impl.Queriables { internal class RelinqQueryExecutor : IQueryExecutor { private readonly TypeRegistry typeRegistry; private readonly Func<BuiltQuery, ...
using System; using System.IO; using System.Linq; using EventStore.Core.Index; using NUnit.Framework; namespace EventStore.Core.Tests.Index { [TestFixture] public class when_creating_ptable_from_memtable: SpecificationWithFile { [Test] public void null_file_throws_null_exception() {...
using Lion.AbpPro.Extensions.Middlewares; namespace Microsoft.AspNetCore.Builder; public static class AbpProApplicationBuilderExtensionsExtensions { /// <summary> /// 记录请求响应日志 /// </summary> /// <returns></returns> public static IApplicationBuilder UseRequestLog(this IApplicationBuilder app) ...
using Tempus.Abstractions.Events; namespace Tempus.Events { public class SerializedEvent : ISerializedEvent { public string ApiVersion => "2021-10-12"; public Guid AggregateIdentifier { get; set; } public string AggregateClass { get; set; } public string AggregateType { get;...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace ContosoCrafts.WebSite.Models { /// <summary> /// Interface for Model classes. /// </summary> public interface Model { /// <summary> /// Returns the json file name that stores ...
using Microsoft.EntityFrameworkCore; using EventFlow.EntityFramework.Extensions; namespace poc.eventflow { public class EventStoreContext : DbContext { public EventStoreContext(DbContextOptions<EventStoreContext> options) : base(options) { } protected override void OnModelCreati...
using System.Collections.Generic; using System.Data; namespace Inventiv.Tools.Elastic2Sql.Mappers { public interface IMapper { DataTable MapToBulkInsert(List<object> source); } }
using CrossX.Abstractions.IoC; using System; using System.Threading.Tasks; namespace CrossX.Abstractions.Navigation { public interface INavigation { public IServicesProvider Services { get; } Task Navigate<TViewModel>(out TViewModel createdInstance, params object[] parameters); ...
/** * Copyright 2017 IBM Corp. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applic...
// Copyright 2021 Google LLC // // 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 // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in...
namespace Sakuno.KanColle.Amatsukaze.Models { public enum HeavyDamageLineType { None, Default, AllRed, Custom, } }
using System; using System.Threading.Tasks; using AutoMapper; using book_management_models; using book_management_models.DTOs.CartDTOs; using book_management_models.DTOs.CartItemDTOs; using book_management_persistence.Implements; using book_management_persistence.Repositories; using book_management_services.Services; ...
using System; using System.Data.Common; namespace Take.Elephant.Sql.Mapping { public class DbCommandEventArgs : EventArgs { public DbCommandEventArgs(DbCommand dbCommand) { DbCommand = dbCommand; } public DbCommand DbCommand { get; } } }
using System; using System.Text; using System.Text.RegularExpressions; using System.Threading; using System.Collections.Generic; using NUnit.Framework; namespace WebAddressbookTests { [TestFixture] public class ContaktCreationTests : AuthTestBase { [Test] public void ContaktCreationTest()...
// dnlib: See LICENSE.txt for more info using System; using System.Diagnostics; using dnlib.IO; namespace dnlib.DotNet.Pdb.Portable { struct LocalConstantSigBlobReader { readonly ModuleDef module; DataReader reader; readonly GenericParamContext gpContext; RecursionCounter recursionCounter; public LocalCon...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class isHistoryPressed : MonoBehaviour { // Start is called before the first frame update public static bool isPressed = false; public void changePressed() { if (isPressed) { isPressed = fals...
using System.Collections; using System.Collections.Generic; using UnityEngine; namespace Infiltrate { // Go to a noise distractions location and check it out public class EnemyInvestigateState : EnemyBaseState { static float maxStopDuration = 2f; float stopDuration; public override v...
namespace XPlat.Device.Geolocation.Extensions { using System; public static class PositionStatusExtensions { #if WINDOWS_UWP public static PositionStatus ToInternalPositionStatus(this Windows.Devices.Geolocation.PositionStatus status) { switch (status) { ...
using System; namespace SharpNeatLib.Maths { /// <summary> /// Summary description for ValueMutation. /// </summary> public class ValueMutation { static FastRandom random = new FastRandom(); /// <summary> /// Boundless mutation. /// </summary> /// <param name="v"></param> /// <returns></returns> s...
using System; using System.Threading; using System.Threading.Tasks; using ReactiveWebsocket.Model; namespace ReactiveWebsocket.PlatformAbstraction { public interface IPlatformWebsocket : IDisposable { Task ConnectAsync(Uri uri, CancellationToken token); Task SendAsync(ArraySegment<byte> buffe...
using Microsoft.VisualStudio.TestTools.UnitTesting; #if NET45 using Microsoft.Practices.Unity; #else using Unity.Extension; using Unity; #endif namespace Extending { [TestClass] public class UnityExtensionTests { UnityContainer container; MockContainerExtension mock; ...
// ------------------------------------------------------------------------- // Copyright © 2019 Province of British Columbia // // 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 // // ht...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Runtime.Serialization; using CTCT.Components.Contacts; namespace CTCT.Components.Activities { /// <summary> /// Add contacts import data class. /// </summary> [Serializable] [DataContract] public...
using System.Collections.Generic; namespace ENode.Infrastructure { /// <summary>Represents an exception which can be published. /// </summary> public interface IPublishableException : IMessage { /// <summary>Serialize the current exception info to the given dictionary. /// </summary> ...
using QSP.LibraryExtension; using QSP.UI.Controllers.ControlGroup; using QSP.UI.UserControls; using QSP.UI.UserControls.AircraftMenu; using QSP.UI.UserControls.TakeoffLanding.LandingPerf; using QSP.UI.UserControls.TakeoffLanding.TOPerf; using QSP.UI.Views.FuelPlan; using QSP.UI.Views.MiscInfo; using System.Collections...
namespace RecruitmentTool.WebApi.Infrastructure.ValidationAttributes { using System.ComponentModel.DataAnnotations; public class BirthDateAttribute : ValidationAttribute { private readonly DateTime earliestDate = DateTime.Now.AddYears(-99); private readonly DateTime latestDate = DateTime.N...
using Mvc517.DAL.Validator; using System; using System.ComponentModel; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Linq; using System.Web; namespace Mvc517.DAL.Models { public class Opera { [Key] [DisplayName("代號")] [Req...
using TabView.Sample.Views; using Xamarin.Forms; using Xamarin.Forms.PlatformConfiguration; using Xamarin.Forms.PlatformConfiguration.WindowsSpecific; using FormsApplication = Xamarin.Forms.Application; namespace TabView.Sample { public partial class App : FormsApplication { public App() { ...
using XFramework.Identity.Shared.Core.Interfaces; namespace XFramework.Identity.Shared.Core.Services { public class StateService : IStateService { public StateService(IActivityHistoryService activityHistoryService) { ActivityHistory = activityHistoryService; } publi...
using Microsoft.AspNet.Identity.EntityFramework; using ShopFI.DbContext.Migrations; using ShopFI.Entities.Common; using ShopFI.Entities.Models; using System; using System.Collections.Generic; using System.Data.Entity; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ShopFI.DbContext { ...
using NCurses.Lib; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace TestConsole { class Program { static void Main(string[] args) { //Curses.Data.Add("1", new CursesData("abc", 10, 10)); ...
using System; using System.Collections.Immutable; using IFVM.Execution; namespace IFVM.Core { public class CallFrame { private readonly Machine _machine; private readonly Function _function; private readonly ImmutableArray<uint> _arguments; private readonly uint[] _locals; ...
using CommandPattern.Code.Commands; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CommandPattern.Code { delegate void UnExecuteMethod(); class InvokerRemoteControl { const int capacity = 10; ICommand[] slotsOnC...
//----------------------------------------------------------------------- // <copyright file="CanvasSoundMarkerList.cs" company="Google"> // // Copyright 2019 Google Inc. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance w...
using Miru.Security; using Miru.Userfy; namespace AltBank.Config; public class AuthorizationRulesConfig : IAuthorizationRules { public async Task<AuthorizationResult> Evaluate<TRequest>(TRequest request, FeatureInfo feature) { await Task.CompletedTask; return AuthorizationResult.Succeed(); ...
using IF.Lastfm.Core.Json; using Newtonsoft.Json; namespace IF.Lastfm.Core.Objects { public class LastUserSession { [JsonProperty("name")] public string Username { get; set; } [JsonProperty("key")] public string Token { get; set; } [JsonProperty("subscriber"),...
namespace OregoFramework.App { /// <summary> /// <para>Request state.</para> /// </summary> public enum RequestState { PENDING, PROCESSING, CANCELED, FINISHED } }
using System; namespace GaslandsHQ.Models { public class Trailer { public string ttype { get; set; } public int slots { get; set; } public int cost { get; set; } public override string ToString() => ttype; } }
using NotificationApi.Common.Configuration; namespace Testing.Common.Configuration { public class Config { public AzureAdConfiguration AzureAdConfiguration { get; set; } public ConnectionStringsConfig DbConnection { get; set; } public ServicesConfiguration ServicesConfig { get; set; } ...
using System; using System.Collections.Generic; using HotChocolate; using HotChocolate.Types; namespace Metabase.GraphQl.DataX { public abstract class DataConnectionBase<TDataEdge, TData> { protected DataConnectionBase( IReadOnlyList<TDataEdge> edges, IReadOnlyList<TData> nodes, ...