content
stringlengths
23
1.05M
using System; namespace ExRandom.MultiVariate { public class InsideCircularRandom : Random<double> { readonly MT19937 mt; public InsideCircularRandom(MT19937 mt) { if (mt is null) { throw new ArgumentNullException(nameof(mt)); } this.mt = mt; ...
using System; namespace ServiceStack.Authentication.Azure.ServiceModel.Entities { public class Me { #region Properties and Indexers public System.Guid ID { get; set; } public string Email { get; set; } public string FirstName { get; set; } public string FullName => $"{...
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Reflection; namespace Unity.Entities { public class World : IDisposable { private static readonly List<World> allWorlds = new List<World>(); private bool m_AllowGetManager = true; //@TOD...
using System; using System.Collections; using System.Collections.Generic; using System.ComponentModel; using System.Reflection; namespace System.Configuration { internal static class IniSerializer { private static readonly Predicate<Type> PropertyTypeVerifier = IniKey.IsSupportedValueType; ...
using ICSharpCode.SharpZipLib.Core; using ICSharpCode.SharpZipLib.Zip; using Microsoft.Extensions.Logging; using System; using System.IO; using System.Net; using System.Threading.Tasks; namespace Wikiled.Common.Utilities.Resources { public class DataDownloader : IDataDownloader { private readonly ILog...
using C43COOL.Domain.Base; using C43COOL.Models.Modules.Management; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace C43COOL.Service.Permission.Strategy { public interface IAuthStrategy { List<ModuleViewModel> Modules { get; ...
using CameraDataUtilities; using System.Collections; using System.Collections.Generic; using UnityEngine; public class PlayerPositionMarker : MonoBehaviour { [SerializeField] Pan pan; [SerializeField] RectTransform uiXform; [SerializeField] float pedding; FollowTargetLocator locator; Transfo...
using Entitas; using System.Collections.Generic; namespace FineGameDesign.Entitas { public sealed class HealthTriggerSystem : ReactiveSystem<GameEntity> { private readonly GameContext m_Context; public HealthTriggerSystem(Contexts contexts) : base(contexts.game) { m_Context...
using System.Collections.Generic; using System.Linq; namespace UnMango.Rest.Internal { internal static class EnumerableExtensions { public static Dictionary<T1, T2> ToDictionary<T1, T2>(this IEnumerable<KeyValuePair<T1, T2>> enumerable) { return enumerable.ToDictionary(x => x.Key, x...
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Xml.Linq; using Core.Text; using HolisticWare.Xamarin.Tools.Bindings.XamarinAndroid.AndroidX.Migraineator.Generated; using Mono.Cecil...
using System.Collections.Generic; using System.IO; using RenderStack.Math; using I1 = System.SByte; using I2 = System.Int16; using I4 = System.Int32; using U1 = System.Byte; using U2 = System.UInt16; using U4 = System.UInt32; using F4 = System.Single; using S0 = System.String; using VX = System.UInt32; using COL4 = ...
namespace Client { public static class ClientFactory { private const string Url = "http://{0}/Service.svc"; public static IClient Create(string host) { return new ServiceClient(string.Format(Url, host)); } } }
// ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== namespace System.Runtime.Remoting.Channels { using System.Security.Permissions; public interface ISecurableChannel { bool IsSecured { [System.Security.SecurityCritical] // auto-gener...
using System; using System.Collections.Generic; using Newtonsoft.Json; namespace WXZ.GCC.LAWExport.Common { public class ActivityLogRoot{ [JsonProperty("value")] public List<ActivityLog> ActivityLogs; } public class ActivityLog { public DateTime TimeGenerated { get; set; } ...
namespace SOLIDplate.Domain.Entities.Interfaces { public interface ICompositeEntity<TIdentityEntity1, TIdentityEntity2> where TIdentityEntity1 : class, new() where TIdentityEntity2 : class, new() { } public interface ICompositeEntity<TIdentityEntity1, TIdentityEntity2, TIdentityEntity3> where TI...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Bullet : MonoBehaviour { public GameObject boomPrefab; private Vector2 _direction = new Vector2(); private float _speed = 2000f; private void Start() { } private void Update() { this.Ge...
using System; namespace FabricAdcHub.Frontend.Models { public class CustomRole { public CustomRole() { RoleId = "role-" + Guid.NewGuid(); } public string RoleId { get; set; } public string RoleName { get; set; } public string NormalizedRoleName { ...
using BeekeepingDiary.Data; using BeekeepingDiary.Data.Models; using System; using System.Collections.Generic; using System.Linq; namespace BeekeepingDiary.Services.Inspections { public class InspectionService : IInspectionService { private readonly BeekeepingDbContext data; public InspectionS...
namespace Pancake.Core { public class ResourcePair { public Resource Should { get; set; } public Resource System { get; set; } } }
namespace Owin.Scim.v2.Model { using Canonicalization; using Configuration; using Extensions; using Validation; public class ScimGroup2Definition : ScimResourceTypeDefinitionBuilder<ScimGroup2> { public ScimGroup2Definition(ScimServerConfiguration serverConfiguration) : b...
using UnityEngine; using Mirror; public class MenuToggler : MonoBehaviour { public bool visible = true; NetworkManagerHUD hud = null; GameObject mainMenu = null; void Start() { hud = GameObject.Find("NetworkManager").GetComponent<NetworkManagerHUD>(); mainMenu = Game...
// // Copyright (c) 2019-2022 Angouri. // AngouriMath is licensed under MIT. // Details: https://github.com/asc-community/AngouriMath/blob/master/LICENSE.md. // Website: https://am.angouri.org. // namespace AngouriMath { partial record Entity { /// <summary>Generates Python code that you can use with ...
using CoreEngine.APIHandlers; using CoreEngine.Model.DBModel; using GalaSoft.MvvmLight.Command; using Mobile.Core.Engines.Services; using Mobile.Core.Models.Core; using System; using System.Collections.Generic; using System.Windows.Input; namespace Mobile.Core.ViewModels { public class CourseDetailViewModel : Bas...
using BO; using System; using System.Collections.Generic; namespace api.Properties.Handlers { public interface IClientesHandler { Guid Save(Cliente model); IEnumerable<Cliente> GetAll(out int totalPages, int pageNumber, int pageSize); Cliente GetOne(Guid id); Cliente Update(Gui...
using System.Windows.Forms; namespace GPSoft.Tools.ReaderMe.Forms { public partial class FormHelp : Form { public FormHelp() { InitializeComponent(); } } }
/*--------------------------------------------------------------------------------------------- * Copyright (c) Dolittle. All rights reserved. * Licensed under the MIT License. See LICENSE in the project root for license information. *--------------------------------------------------------------------------------...
using System; using System.Collections.Generic; using System.Linq; using System.ServiceProcess; using System.Text; using System.Diagnostics; using System.Runtime.InteropServices; namespace InfoService { static class Program { /// <summary> /// The main entry point for the application. ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Blazor.ECharts.Options { public record BMap { public double[] Center { get; set; } public int Zoom { get; set; } public bool Roam { get; set; } public M...
using System; namespace Weikio.ApiFramework.Abstractions { public class PluginForApiNotFoundException : Exception { private readonly string _name; private readonly Version _version; public PluginForApiNotFoundException(string name, Version version) { _name = name; ...
using System; using UnityEngine; using System.Collections; using UniRx; using UnityEngine.UI; namespace UniRxWorkBook.Operators { public class Lesson_9_CombineLatest : MonoBehaviour { [SerializeField] private InputField leftInput; [SerializeField] private InputField rightInput; [Serial...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Windows; using NRC_Code_Designer.src.UI.Class; namespace NRC_Code_Designer.src.Core.Project { /// <summary> /// Give capacity to display. /// </summary> interface IDisplayAble { /// <summary>...
namespace PayXpertLibrary { public enum TransactionTypes { AUTHORIZE, CAPTURE, SALE, REFUND, REBILL, CANCEL, CREDIT, _3DSCHECK, _3DSPARSE, TODITO_SALE, BLACKLIST_TRANSACTION, BLACKLIST_VALUE, CANCEL_SUBSCRIPTION, STATUS_SUBSCRIPTION, EXPORT_SUBSCRIPTION, EXPORT_S...
namespace Benchmark.Base { public enum SorterCategories { System, Serial, Parallel } }
using Unity.Collections; using Unity.Entities; using Unity.Jobs; using UnityEngine; using UnityEngine.Jobs; public class Rotation2DSystem : JobComponentSystem { private EntityQuery rotations; protected override void OnCreate() { rotations = GetEntityQuery(ComponentType.ReadOnly<Rotation2D>(), ComponentType.Read...
using FluentAssertions; using Moq; using Xunit; namespace Floatingman.CommandLineParser.xUnit { public class CommandLineTests { [Fact] public void Parse_accepts_commands() { var args = new string[] { "azalea" }; var parameters = CommandLine.Instance.Parse<Comman...
using System.Collections.Generic; using System.Windows.Automation; using FluentAssertions; using NUnit.Framework; namespace UIA.Extensions.AutomationProviders.Tables { abstract class ProviderTest<TProvider> where TProvider : AutomationProvider { private readonly ControlType _expectedControlType; ...
// Copyright (c) zhenlei520 All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. using Autofac; using EInfrastructure.Core.Config.Entities.Configuration; using EInfrastructure.Core.Config.Entities.Ioc; using Microsoft.Extensions.DependencyInjection; nam...
// Licensed to the .NET Foundation under one or more agreements. // See the LICENSE file in the project root for more information. // // ConfigurationSaveTest.cs // // Author: // Martin Baulig <martin.baulig@xamarin.com> // // Copyright (c) 2012 Xamarin Inc. (http://www.xamarin.com) // // Permission is hereby gra...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; using UnityEngine.SceneManagement; using System.Text.RegularExpressions; public class LevelManager : MonoBehaviour { private const float loadSceneDelay = 1f; public bool hurryUp; // within last 100 secs? public i...
// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt) // This code is distributed under the GNU LGPL (for details please see \doc\license.txt) using System; using System.Collections.Generic; namespace ICSharpCode.Scripting { public class TextSentToScriptingConsole {...
/* Copyright ©2020-2021 WellEngineered.us, all rights reserved. Distributed under the MIT license: http://www.opensource.org/licenses/mit-license.php */ using System; namespace WellEngineered.TextMetal.Model.Database { public static class SchemaInfoConstants { #region Fields/Constants public con...
using System.Threading.Tasks; using AutoMapper; using HobbyPortal.Infrastructure.Services; using HobbyPortal.WebApp.ViewModels; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; namespace HobbyPortal.WebApp.Controllers { [Produces("application/json")] [Route("api/account")] [Authori...
/* INFINITY CODE 2013-2017 */ /* http://www.infinity-code.com */ using System; using System.Collections.Generic; using UnityEngine; /// <summary> /// The base class of queries to Google API. /// </summary> public abstract class OnlineMapsGoogleAPIQuery: OnlineMapsTextWebService { /// <summary> ...
using System.Windows; using System.Windows.Controls; using System.Windows.Input; namespace MichaelBrandonMorris.DirectoryPermissionTool { /// <summary> /// Class MainWindow. /// </summary> /// <seealso cref="Window" /> /// <seealso cref="System.Windows.Markup.IComponentConnector" /> /// TO...
using System; using System.Collections.Generic; using System.Text; namespace Vehicles { public class Car : Vehicle { private const double INCREASEBYSUMMER = 0.9; public Car(double fuelQuantity, double fuelConsuption, double tankCapacity) : base(fuelQuantity, fuelConsuption, tankCa...
using System; using System.Net; using System.Net.Mail; using System.Threading.Tasks; namespace FeatureNinjas.LogPack.NotificationServices { public class EmailNotificationService : INotificationService { private readonly string _to; private readonly string _from; private readonly string ...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Toolbox.Tools; namespace DashboardMgmt.Application { public class DatabaseOption { public string ConnectionString { get; set; } = null!; } public static class DatabaseOptionExtensions { ...
namespace Tangle.Net.Mam.Entity { using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Newtonsoft.Json; using Tangle.Net.Entity; using Tangle.Net.Mam.Services; using Tangle.Net.Repository; /// <summary> /// The mam channel subscription. /// </s...
using FluentAssertions; using HousingSearchListener.V1.Infrastructure.Exceptions; using System; using Xunit; namespace HousingSearchListener.Tests.V1.Infrastructure.Exceptions { public class AssetNotIndexedExceptionTests { [Fact] public void AssetNotIndexedExceptionTest() { ...
using Data.Entities; using Microsoft.EntityFrameworkCore; using System; using System.Collections.Generic; using System.Linq; using System.Security.Cryptography.X509Certificates; namespace Data { public class Repository : IRepository { SuperHeroContext _Context; public Repository(SuperHeroConte...
namespace ValueObjects { public enum TipoProduto { } }
namespace Laraue.EfCoreTriggers.Tests { public static class CollectionNames { public const string MySql = "MySqlCollection"; public const string PostgreSql = "PostgreSqlCollection"; public const string SqlServer = "SqlServerCollection"; public const string Sqlite = "SqliteCollec...
// Copyright (c) Bynder. All rights reserved. // Licensed under the MIT License. See LICENSE file in the project root for full license information. using Bynder.Sdk.Query.Decoder; namespace Bynder.Sdk.Query.Asset { /// <summary> /// Query used to get media information including media items /// </summary>...
using Business.Communication; using Business.Domain.Services; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using System.IO; using System.Threading.Tasks; namespace API.Controllers { [Route("api/v1/image")] [ApiController] public class ImageCont...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Git.Data { public class DataConstants { public const int UsernameMinLength = 5; public const int UsernameMaxLength = 20; public const int PasswordMinLength = 6;...
using UnityEngine; using Photon.Pun; public class OtherClientsObjects : MonoBehaviour { // Start is called before the first frame update void Update() { if (PhotonNetwork.IsMasterClient) gameObject.SetActive(false); } }
using System; using System.Windows; using FluiTec.CDoujin_Downloader.UserInterface.WpfCore.ViewModels; namespace FluiTec.CDoujin_Downloader.UserInterface.WpfCore.Views { /// <summary> /// Interaction logic for MainWindow.xaml /// </summary> public partial class MainView : Window { public M...
namespace Innofactor.Xrm.Common.SDK { using Microsoft.Xrm.Sdk; using System; public class Message { #region Public Properties public MessageFilter Filter { get; set; } public string FriendlyName { get; se...
using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Refit; using SGDb.Common.Infrastructure; using SGDb.Common.Infrastructure.Extensions; using SGDb.Creators.Gateway.Infras...
using System.Collections.Generic; using KeySndr.Base; using KeySndr.Common.Providers; using KeySndr.Console.Providers; namespace KeySndr.Console { class Program { static void Main(string[] args) { var providers = new List<IProvider>(); providers.Add(new LoggingProvider(...
using System; using System.Collections.Generic; using Microsoft.EntityFrameworkCore; using DesignPatterns.Domain; namespace DesignPatterns.Infra.Repository.EF { public class DesignContext : DbContext { public DesignContext(DbContextOptions<DesignContext> options) : base(options) {} pu...
using System.Linq; using Microsoft.VisualStudio.TestTools.UnitTesting; using RedWillow.Extensions; using FluentAssertions; using System.Text.RegularExpressions; using System.Collections.Generic; namespace TypeExtensions.Tests { [TestClass] public class StringExtensionTests { [TestMethod] p...
using System; namespace Czar.Gateway.Configuration { /// <summary> /// 金焰的世界 /// 2018-11-15 /// 是否存在的实体,缓存使用 /// </summary> public class ClientRoleModel { /// <summary> /// 缓存时间 /// </summary> public DateTime CacheTime { get; set; } /// <summary> ...
// /****************************** DynamicReports ******************************\ // Project: DynamicReports.Tests // Filename: FakePluginConstants.cs // Created: 02.05.2017 // // <summary> // // </summary> // \**************************************************************************...
using System; using SFA.DAS.DownloadService.Api.Types.Roatp; using Swashbuckle.AspNetCore.Examples; namespace SFA.DAS.DownloadService.Api.Roatp.SwaggerHelpers.Examples { public class ProviderExample : IExamplesProvider { public object GetExamples() { return new Provider ...
using System; namespace Ghostly.Uwp.Controls { public sealed class QueryClearedEventArgs : EventArgs { } }
// Copyright (C) 2017 Dmitry Yakimenko (detunized@gmail.com). // Licensed under the terms of the MIT license. See LICENCE for details. namespace TrueKey { public class Account { public readonly int Id; public readonly string Name; public readonly string Username; public readonly...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; using MeleeLib.DAT.Script; namespace Smash_Forge.GUI.Melee { public partial class MeleeCMDEditor : F...
using MongoDB.Driver; using Services.API.Data; using Services.API.Entities; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace Services.API.Repositories { public class ServiceRepository : IServiceRepository { private readonly IServiceContext _co...
namespace BankCloud.Models.ViewModels.Home { public class HomeCategoriesViewModel { public string Type { get; set; } public decimal InterestRate { get; set; } public int Period { get; set; } public decimal Amount { get; set; } public decimal Commission { get; set; }...
using UnityEngine; using System.Collections; using DG.Tweening; public class PlayerMesh : MonoBehaviour { private Quaternion _initialRotation; public void ResetRotation() { transform.localRotation = _initialRotation; } // Use this for initialization void Start () { _initialRotatio...
/* * Free FFT and convolution (C++) * * Copyright (c) 2014 Project Nayuki * https://www.nayuki.io/page/free-small-fft-in-multiple-languages * * (MIT License) * Permission is hereby granted, free of charge, to any person obtaining a copy of * this software and associated documentation files (the "Software"),...
using Android.App; using Xamarin.Forms.Xaml; #if DEBUG [assembly: Application(Debuggable = true)] #else [assembly: Application(Debuggable=false)] #endif [assembly: XamlCompilation(XamlCompilationOptions.Compile)]
using System.ComponentModel.DataAnnotations; using System.Threading.Tasks; using Modulr.Controllers.Auth; namespace Modulr.Models; public class RegisterUser { public string CaptchaToken { get; set; } public string Name { get; set; } public string Email { get; set; } public string Password { get; set;...
// Papercut // // Copyright © 2008 - 2012 Ken Robertson // Copyright © 2013 - 2020 Jaben Cargman // // 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...
using System; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; using Manatee.Trello.Internal; using Manatee.Trello.Internal.Caching; using Manatee.Trello.Internal.DataAccess; using Manatee.Trello.Internal.Eventing; using Manatee.Trello.Internal.Synchronization;...
namespace Caliburn.PresentationFramework.Filters { using System; /// <summary> /// Used to track property paths for change notification. /// </summary> public interface IChangeMonitorNode : IDisposable { /// <summary> /// The parent node. /// </summary> I...
// Copyright (c) True Goodwill. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace FFT.TimeStamps.Benchmarks { using System; using System.Linq; using BenchmarkDotNet.Attributes; using static FFT.TimeStamps.Benchmarks.TimeZones; ...
// Copyright (c) 2020 Yann Crumeyrolle. All rights reserved. // Licensed under the MIT license. See LICENSE in the project root for license information. using System; using System.Diagnostics.CodeAnalysis; namespace JsonWebToken { /// <summary>Represents a cache for <see cref="JwtHeaderDocument"/>.</summary> ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Hotcakes.Commerce.Catalog; namespace Hotcakes.Commerce.Tests.IRepository { public interface IXmlProductChoicesRepository : IDisposable { #region Product Choice Repository Service /// <summary> ...
using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Logging; using StoreAppModelsLayer.EFModels; using StoreAppModelsLayer.Interfaces; using StoreAppModelsLayer; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace StoreAppU...
// Copyright (c) CodeSmith Tools, LLC. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; namespace CodeSmith.SchemaHelper { /// <summary> /// The .NET Framework Version. /// </summary> public enum Framewo...
using SkiAnalyze.Core.Common; namespace SkiAnalyze.Util; public class MappingProfile : Profile { public MappingProfile() { CreateMap<Gondola, GondolaDto>() .ForMember(x => x.Used, x => x.MapFrom(g => g.Runs.Any()));; CreateMap<GondolaNode, GondolaNodeDto>(); ...
using System; using Microsoft.AspNetCore.Authentication.Cookies; using Microsoft.Extensions.Caching.SqlServer; using Microsoft.Extensions.DependencyInjection; namespace DNT.Deskly.Web.Caching { public static class CustomTicketStoreExtensions { public static IServiceCollection AddCustomDistributSqlServ...
using System; using System.Windows.Input; using ActivityAnalysis.WPF.State.Navigators; namespace ActivityAnalysis.WPF.Commands { public class RenavigateCommand : ICommand { private readonly IRenavigator _renavigator; public event EventHandler CanExecuteChanged; public RenavigateComman...
@using CarManager.Models @using CarManager.Web.Areas.LoggedUser.Models.ViewModels @using CarManager.Web.Areas.LoggedUser.Models.BindingModels @using CarManager.Web.Areas.LoggedUser.Pages @namespace CarManager.Web.Areas.Admin @addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
using System.Collections.Specialized; using System.IO; using System.Windows.Forms; using ExtractorSharp.Core; using ExtractorSharp.Core.Command; using ExtractorSharp.Core.Model; using ExtractorSharp.Json; namespace ExtractorSharp.Command.ImageCommand { public class CutImage : ICommand { private Album _alb...
using MailKit.Net.Smtp; using MailKit.Security; using Microsoft.Extensions.Options; using MimeKit; using MimeKit.Text; using System; using System.Collections.Generic; using System.Text; using System.Threading.Tasks; using static eShopSolution.Utilities.Constants.SystemConstants; namespace EmailService { public cl...
using System.Threading.Tasks; using Fulgoribus.Luxae.Entities; using Fulgoribus.Luxae.Repositories; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.RazorPages; namespace Fulgoribus.Luxae.Web.Pages.Books { public class IndexModel : PageModel { [BindProperty(SupportsGet = true)] p...
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //---------------------------------...
using Microsoft.EntityFrameworkCore; using Noppes.Fluffle.Database; namespace Noppes.Fluffle.Api.AccessControl { /// <summary> /// Generic database context which supports access control. /// </summary> public abstract class ApiKeyContext<TApiKey, TPermission, TApiKeyPermission> : BaseContext w...
using System; using System.Text.RegularExpressions; namespace MoneyArchiveDb.QifImport { public abstract class Field { public static Field Create(string line) { string data = line[1..]; if (string.IsNullOrWhiteSpace(line)) throw new Exception("Blank Line"); return line[0] switch { ...
using System; using Xunit; //// using Models; //namespace TestCases //{ // public class UnitTest1 // { // [Fact] // public void OrderShouldHaveValidId() // { // Order _orderTest = new Order(); // string orderProduct = "fifa"; // _orderTest.Order = orderProdu...
using UnityEngine; using System.Collections; using UnityEngine.SceneManagement; using System; public class CameraSize : MonoBehaviour { void Awake() { if (SceneManager.GetActiveScene() == SceneManager.GetSceneByName("Game")) { Application.targetFrameRate = 60; float as...
namespace Plus.Guids { /// <summary> /// Describes the type of a sequential GUID value. /// </summary> public enum SequentialGuidType { /// <summary> /// The GUID should be sequential when formatted using the <see cref="Guid.ToString()" /> method. /// Used by MySql and Postg...
using System; using System.Collections.Generic; namespace ESFA.DC.JobContext.Interface { public interface IJobContextMessage { long JobId { get; } DateTime SubmissionDateTimeUtc { get; } IReadOnlyList<ITopicItem> Topics { get; } int TopicPointer { get; } IDictionary...
namespace UnityEngine.Analytics { [EnumCase(EnumCase.Styles.Lower)] public enum SocialNetwork { None, Facebook, Twitter, Instagram, GooglePlus, Pinterest, WeChat, SinaWeibo, TencentWeibo, QQ, Zhihu, VK, ...
//<snippet16> using System; using System.Runtime.InteropServices; //<snippet17> // Declares a class member for each structure element. [StructLayout(LayoutKind.Sequential, CharSet=CharSet.Auto)] public class FindData { public int fileAttributes = 0; // creationTime was an embedded FILETIME structure. publ...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System.Diagnostics; using System.IO; using System.Runtime.InteropServices; namespace Microsoft.NET.HostModel { internal static class HostModelUtils { private c...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using Kesco.Web.Mvc; using BLToolkit.Reflection; using Kesco.Persons.BusinessLogic; namespace Kesco.Persons.Web.Models.Synchronize { /// <summary> /// Модель представления синхронизации сотрудника и лица /// </summary> public cl...