text
stringlengths
1
932k
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace LoLStatsAPIv4_GUI { public class Champ { public string Name { get; set; } public int ID { get; set; } // Ctor public Champ(int _id) { ID = _id...
@using Web.Snippets @using Web.Snippets.System @model NeedsMatchViewModel @{ string statusVueName = Html.NameFor(m => m.Status); string supplierIdVueName = Html.NameFor(m => m.SupplierId); string statusIsMetOrInProgress = $"({statusVueName} == 2 || {statusVueName} == 3)"; string statusIsMet = $"({stat...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using UnityEngine; using UnityEngine.UI; using YourBitcoinController; using YourCommonTools; namespace YourBitcoinManager { /****************************************** * * ScreenMainMenuView * * Main screen of the system ...
using System.Linq; using System.Net.Http; using System.Threading.Tasks; using Inshapardaz.Api.Tests.Asserts; using Inshapardaz.Api.Views; using Inshapardaz.Domain.Models; using NUnit.Framework; namespace Inshapardaz.Api.Tests.Library.GetLibraries { [TestFixture] public class WhenGettingLibrariesAsReader : Tes...
using System; namespace NUnit.Framework { /// <summary> /// NotEqualAsserter is the asserter class that handles /// inequality assertions. /// </summary> public class NotEqualAsserter : EqualityAsserter { /// <summary> /// Constructor for NotEqualAsserter /// </summary> /// <param name="expected">The ex...
// <auto-generated /> using System; using EPlast.DataAccess; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; namespace EPl...
using LuceneServerNET.Parse.Lexer.Abstrations; namespace LuceneServerNET.Parse.Lexer { public class CSharpSyntax : ISyntax { #region Const private string[] _keywords = new[] { "abstract", "as", "base", "bool", "break", "by", "byte", "case", "catch", "char", "checked", "class", "co...
#region BSD License /* * * Original BSD 3-Clause License (https://github.com/ComponentFactory/Krypton/blob/master/LICENSE) * © Component Factory Pty Ltd, 2006 - 2016, (Version 4.5.0.0) All rights reserved. * * New BSD 3-Clause License (https://github.com/Krypton-Suite/Standard-Toolkit/blob/master/LICENSE) * ...
using System.Threading.Tasks; namespace PuppeteerSharp.Contrib.Should { /// <summary> /// Unsafe should assertions for <see cref="ElementHandle"/>. /// </summary> public static class ElementHandleShouldExtensions { // Exist /// <summary> /// Asserts that the element exists....
using System; using System.Threading.Tasks; using Microsoft.AspNetCore.Http; namespace MicroApi.Handlers { public class ExceptionHandler : HandlerBase { public ExceptionHandler(IHttpContextAccessor httpContextAccessor) : base(httpContextAccessor) { } public async Task P...
namespace PureDITest.RootObjectTestCode { public class NonBean { } }
namespace JobFinder.Web.Models.AccountViewModels { using System.ComponentModel.DataAnnotations; public class ResetPasswordViewModel { [Required] [Display(Name = "First name")] public string FirstName { get; set; } [Required] [Display(Name = "Last name")] pu...
namespace WingTipGamesWebApplication.Models { public class Album { public Artist Artist { get; set; } public decimal DiscountPrice { get; set; } public string ImageSource { get; set; } public string[] ListenerGenres { get; set; } public decimal StandardPrice { get; s...
using System; using System.Collections.Generic; using System.Xml.Serialization; [Serializable] public class ABMD5 { [XmlElement("ABMD5List")] public List<ABMD5Base> ABMD5List { get; set; } } [Serializable] public class ABMD5Base { [XmlAttribute("Name")] public string Name { get; set; } [XmlAttrib...
using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Threading.Tasks; using Baseline; using Marten.Linq; using Marten.Testing.Documents; using Marten.Testing.Harness; using Marten.Transforms; using Shouldly; using Xunit; namespace Marten.Testing.Linq { pub...
using Microsoft.CodeAnalysis.CSharp.Syntax; namespace Yardarm.Names { public interface ITypeNameProvider { TypeSyntax TypeName { get; } } }
// *** WARNING: this file was generated by the Pulumi SDK Generator. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Threading.Tasks; using Pulumi.Serialization; namespace Pulumi.Azur...
/* * Copyright Amazon.com, Inc. or its affiliates. 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. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" fi...
/* * DAWN OF LIGHT - The first free open source DAoC server emulator * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later ver...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.RazorPages; using Microsoft.AspNetCore.Mvc.Rendering; using Microsoft.EntityFrameworkCore; using Library.Models; namespace Library.Pages.Copies { public c...
namespace PcapNgNet.Options; public enum EnhancedPacketFlags { None = 0x0, Outbound = 0x1, Inbound = 0x2, Unicast = 0x4, Multicast = 0x8, Broadcast = Unicast | Multicast, Promiscuous = 0x10 }
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System; using System.Collections; using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Threading; using System.Threading.Tasks; using A...
// This file is licensed under the MIT open source license // https://opensource.org/licenses/MIT namespace Daemos { using System; public interface ITimeService { DateTime Now(); } public sealed class UtcTimeService : ITimeService { public DateTime Now() => DateTime.UtcNow; ...
using OceanChip.Queue.Protocols.Brokers; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace OceanChip.Queue.Broker.Client { public class GetTopicConsumeInfoListService { private readonly ConsumerManager _consumerManager; ...
namespace Oldmansoft.ApplicationLibrary.WechatOpen.Service.Pay.Data { /// <summary> /// 企业付款到零钱请求 /// </summary> public class TransferToWechatRequest : Request { /// <summary> /// 商户账号appid /// 申请商户号的appid或商户号绑定的appid /// </summary> public string mch_appid { ...
/* Copyright (c) 2015 Ki Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublic...
// ------------------------------------------------------------------------------------------------- // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See LICENSE in the repo root for license information. // -----------------------------------------------------------...
using Machine.Specifications; namespace Dolittle.DependencyInversion.for_BindingBuilder.given { public class a_null_binding { protected static Binding binding; protected static BindingBuilder builder; Establish context = () => { binding = new Binding(typeof(object)...
using AMO.IoC.Implementation; using AMO.IoC.Test.HelperClasses; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace AMO.IoC.Test { [TestClass] public class RegisterFactoryTests { [TestMethod] public void RegisterFactorySingletonResolveTest() { var container = ...
namespace Model { using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Data.Entity.Spatial; using System.Data.Entity; using System.Linq; [Table("Experiencia")] public partial cla...
using System; using System.IO; using System.ComponentModel; using System.Collections.Generic; using System.Text; using System.Runtime.Serialization; using System.Runtime.Serialization.Formatters.Binary; using System.Reflection; using DaggerLib.UI; using DaggerLib.Interfaces; namespace DaggerLib.Core { [Serializab...
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:2.0.50727.1433 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //---...
#region Copyright information // <copyright file="FullyQualifiedResourceKeyBase.cs"> // Licensed under Microsoft Public License (Ms-PL) // http://wpflocalizeextension.codeplex.com/license // </copyright> // <author>Justin Pihony</author> // <author>Uwe Mayer</author> #endregion using System.Linq; namespace W...
using Godot; using System; public class LightSource : Area2D { public Sprite sprite; public override void _Ready() { sprite = GetNode<Sprite>("Sprite"); sprite.Frame = 0; } public void OnBodyEntered(Node2D body) { if (body is Player) { Player player = (Player)body; player.leve...
using System; using System.Data.Common; using JetBrains.Annotations; using MAVN.Persistence.PostgreSQL.Legacy; using MAVN.Service.Kyc.MsSqlRepositories.Entities; using Microsoft.EntityFrameworkCore; namespace MAVN.Service.Kyc.MsSqlRepositories { public class KycContext : PostgreSQLContext { private co...
/** Copyright (c) 2017-2018 Y56380X Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribu...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace SporeMods.Core { public static class Cmd { public static string InstallModsArgument = "-install"; public static string UninstallModsArgument = "-uninstall"; public static string ConfigureModArgument = "-configure...
using Dragon.Framework.Core.DependencyInjection; using Dragon.Framework.Data.Dapper.Metadata; namespace Dragon.Framework.Data.Dapper.Abstractions { /// <summary> /// 实现 Dapper 元数据提供程序。 /// </summary> public interface IDapperMetadataProvider : ISingletonDependency { /// <summary> //...
using System.Text.Json.Serialization; namespace Advisor.Configuration { /// <summary> /// Configuration model for Advisor. /// </summary> public class ConfigurationModel { /// <summary> /// The prefix used for command execution. /// </summary> [JsonInclude] ...
/* * Copyright Amazon.com, Inc. or its affiliates. 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. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" fi...
using System.Collections.Generic; using Essensoft.Paylink.Alipay.Response; namespace Essensoft.Paylink.Alipay.Request { /// <summary> /// alipay.ebpp.flow.status.query /// </summary> public class AlipayEbppFlowStatusQueryRequest : IAlipayRequest<AlipayEbppFlowStatusQueryResponse> { /// <su...
using HotChocolate.Types; namespace HotChocolate.StarWars.Types { public class MutationType : ObjectType<Mutation> { protected override void Configure(IObjectTypeDescriptor<Mutation> descriptor) { descriptor .Field(t => t.CreateReview(default, default, defau...
#pragma checksum "..\..\..\ListViews\Donor_ListView - Copy.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "FD2E2EE703FB062E4285824DD8E6B3482DBA4163" //------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0....
@model WalkingTec.Mvvm.Core.IBasePagedListVM<WalkingTec.Mvvm.Core.TopBasePoco,WalkingTec.Mvvm.Core.BaseSearcher> @using WalkingTec.Mvvm.Core.Extensions; @using Newtonsoft.Json; @{ var tempvar = $"var_{Guid.NewGuid().ToNoSplitString()}"; } <script> function submitSelect() { var res = [] ,m...
// The MIT License (MIT) // // Copyright (c) 2018 - 2019 Lutando Ngqakaza // https://github.com/Lutando/Akkatecture // // // Permission is hereby granted, free of charge, to any person obtaining a copy of // this software and associated documentation files (the "Software"), to deal in // the Software without restri...
#region License // Copyright (c) 2007 James Newton-King // // Permission is hereby granted, free of charge, to any person // obtaining a copy of this software and associated documentation // files (the "Software"), to deal in the Software without // restriction, including without limitation the rights to use, // copy,...
namespace FutMobile.Migrations { using System; using System.Data.Entity.Migrations; public partial class RetiradaRequiredTime : DbMigration { public override void Up() { } public override void Down() { } } }
/**************************************************************************** * Copyright (c) 2017 ~ 2021.1 liangxie * * http://qframework.io * https://github.com/liangxiegame/QFramework * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentat...
using System; namespace HashLib.Crypto.SHA3 { internal class Shabal224 : Shabal { public Shabal224() : base(HashLib.HashSize.HashSize224) { } } internal class Shabal256 : Shabal { public Shabal256() : base(HashLib.HashSize.HashSize256) ...
/* dotNetRDF is free and open source software licensed under the MIT License ----------------------------------------------------------------------------- Copyright (c) 2009-2013 dotNetRDF Project (dotnetrdf-developer@lists.sf.net) Permission is hereby granted, free of charge, to any person obtaining a copy of this ...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using Nucleo.Presentation; using Nucleo.Views; using Nucleo.Web.Views; using Nucleo.Routing; using Nucleo.Web.Routing; namespace Nucleo.Demos.MvpSamples.RoutingSamples { public ...
using System; using System.Text; using System.Collections.Generic; namespace PowerForensics.Ntfs { #region IndexEntryClass public class IndexEntry { #region Properties public ulong RecordNumber; // Low 6B: MFT record index, High 2B: MFT record sequence number public bool Di...
using Elasticsearch.Net; using Nest; using Tests.Core.ManagedElasticsearch.Clusters; using Tests.Framework; using Tests.Framework.Integration; namespace Tests.Cat.CatPendingTasks { public class CatPendingTasksApiTests : ApiIntegrationTestBase<ReadOnlyCluster, CatResponse<CatPendingTasksRecord>, ICatPendingTasksReq...
namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801 { using static Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Extensions; /// <summary>A setting difference between two deployment slots of an app.</summary> public partial class SlotDifference : Microsoft.Azure.PowerSh...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("WEB...
using System; using Innoactive.Creator.Core.SceneObjects; using Innoactive.Creator.Core.Properties; namespace Innoactive.Creator.BasicInteraction.Properties { public interface IUsableProperty : ISceneObjectProperty, ILockable { event EventHandler<EventArgs> UsageStarted; event EventHandler<Eve...
using System.Runtime.Serialization; namespace ClientCertificateSample.Models { public class SampleItem { public int Id { get; set; } public string StringValue { get; set; } public override string ToString() { return Id + "," + StringValue; } } }
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System; using System.Threading; using Microsoft.Identity.Client; using Microsoft.Identity.Client.Cache; using Microsoft.Identity.Client.Cache.Items; using Microsoft.Identity.Client.Internal; using Microsoft.Identity....
// ---------------------------------------------------------------------------- // <copyright file="Speaker.cs" company="Exit Games GmbH"> // Photon Voice for Unity - Copyright (C) 2018 Exit Games GmbH // </copyright> // <summary> // Component representing remote audio stream in local scene. // </summary> // <author>...
using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; using Ovow.Framework.Messaging; using Ovow.Framework.Scenes; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Ovow.Framework { /// <summary> /// Represents that t...
using System.Collections.Generic; using System.Linq; using System.Reflection; using sampleApi.Controllers; namespace sampleApi.Utils.EntityLinking { public class LogicCDResourceVisitor : CommonResourceVisitor, IResourceVisitor { public ICollection<Entity> visit(SampleRelatedResourceController sampleRel...
/* * Copyright Amazon.com, Inc. or its affiliates. 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. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" fi...
using Shop.Module.Reviews.Models; using System; using System.Collections.Generic; namespace Shop.Module.Reviews.ViewModels { public class AdminReviewListResult { public int Id { get; set; } public int Rating { get; set; } public string Title { get; set; } public string Comme...
using System.Text.Json.Serialization; namespace nerderies.TelegramBotApi.DTOS { public class ShippingQuery { //complete API as of 2019-01-10 [JsonPropertyName("id")] [JsonInclude] public string Id; [JsonPropertyName("from")] [JsonInclude] public User F...
using Microsoft.AspNetCore.Mvc; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Http; using Monitorario_API.Data; using Monitorario_API.Models; namespace Monitorario_API.Controllers { [Route("api/[controller]")] [ApiController] public class Usua...
namespace myAbp.Models.TokenAuth { public class AuthenticateResultModel { public string AccessToken { get; set; } public string EncryptedAccessToken { get; set; } public int ExpireInSeconds { get; set; } public long UserId { get; set; } } }
// // Copyright (c) Microsoft and contributors. 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 requi...
/* Copyright (C) 2014-2016 de4dot@gmail.com This file is part of dnSpy dnSpy is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any late...
using System; using System.Windows.Forms; namespace Palaso.UI.WindowsForms.Widgets.BetterGrid { /// ---------------------------------------------------------------------------------------- public class CalendarCell : DataGridViewTextBoxCell { public enum UserAction { BeginEdit, CellMouseClick, CellEnt...
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. namespace Microsoft.Data.Entity.Design.DatabaseGeneration.OutputGenerators { using System; using System.Activities; using System.Activities.Hosting; using System.Collect...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Nerdbank.GitVersioning.Tasks; using Xunit; public class AssemblyInfoTest : IClassFixture<MSBuildFixture> { [Fact] public void FSharpGenerator() { var info = new AssemblyVersion...
/* * Copyright 2020 James Courtney * * 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...
/* * Copyright 2010-2014 Amazon.com, Inc. or its affiliates. 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. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "l...
// ----------------------------------------------------------------------- // <copyright file="DebugDeclare.cs" company="Ubiquity.NET Contributors"> // Copyright (c) Ubiquity.NET Contributors. All rights reserved. // Portions Copyright (c) Microsoft Corporation // </copyright> // --------------------------------------...
namespace Bookman.Tests.Controllers { using System.Web.Mvc; using Microsoft.VisualStudio.TestTools.UnitTesting; using Bookman.Services.Abstractions; using Bookman.Web.Controllers; using Moq; [TestClass] public class CategoriesControllerTests { private Mock<ICategoryService> se...
using System; using System.Collections.Generic; using System.Linq; namespace VehicleCatalogue { class Program { static void Main(string[] args) { string input = Console.ReadLine(); List<Vehicle> vehicles = new List<Vehicle>(); List<string> vehicleTypes = new...
// c:\program files (x86)\windows kits\10\include\10.0.22000.0\shared\d3dkmdt.h(1777,9) using System; using System.Runtime.InteropServices; namespace DirectN { [StructLayout(LayoutKind.Sequential, Pack = 1)] public partial struct _DXGKMDT_OPM_CONFIGURE_PARAMETERS { public _DXGKMDT_OPM_OMAC omac; ...
// Copyright(c) Microsoft Corporation. // All rights reserved. // // Licensed under the MIT license. See LICENSE file in the solution root folder for full license information. using GoLocal.TimeWise.AzureFunctions.Abstractions; using GoLocal.TimeWise.AzureFunctions.Helpers; using GoLocal.TimeWise.AzureFunctions.Mode...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // Les informations générales relatives à un assembly dépendent de // l'ensemble d'attributs suivant. Changez les valeurs de ces attributs pour modifier les informations // associées à un assembly. [assembly: Assemb...
/* Copyright 2011-2020 Rolf Michelsen 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 ...
/* * Copyright 2010-2014 Amazon.com, Inc. or its affiliates. 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. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "l...
using System; using NetOffice; using NetOffice.Attributes; namespace NetOffice.OfficeApi.Enums { /// <summary> /// SupportByVersion Office 9, 10, 11, 12, 14, 15, 16 /// </summary> ///<remarks> MSDN Online Documentation: http://msdn.microsoft.com/en-us/en-us/library/office/ff864036.aspx </remarks> [SupportByVe...
 using Microsoft.VisualStudio.TestTools.UnitTesting; using Topics.Radical.ChangeTracking.Specialized; using SharpTestsEx; namespace Test.Radical.Model { [TestClass()] public class ItemMovedDescriptorTest { [TestMethod] public void itemMovedDescriptor_ctor_normal_should_set_expected_values() { var item = n...
using UnityEngine; using System; using Smooth.Dispose; public class SmoothDisposer : MonoBehaviour { private static SmoothDisposer _instance; private void Awake() { if (_instance) { Debug.LogWarning("Only one " + GetType().Name + " should exist at a time, instantiated by the " + typeof(DisposalQueue).Name + "...
namespace Domain.Design.Foundations.Testing.Email.Clients { public enum EmailClientProvider { Gmail, GuerrillaMail } }
using System.Collections; using System.Collections.Generic; using UnityEngine; public class TMove : Move { public Cell cell; public TMove(Cell cell) { this.cell = cell; } }
// Copyright (c) Brock Allen & Dominick Baier. All rights reserved. // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. using IdentityModel; using IdentityServer4.Test; using System.Collections.Generic; using System.Security.Claims; namespace IdentityServer4.Q...
using System; using System.Collections.Generic; using Unity.Jobs; using UnityEngine.Assertions; namespace UnityS.Physics { // A container of user callbacks, to run during scheduling of the simulation jobs public class SimulationCallbacks { // Callbacks that are invoked after each simulation phase (...
using AutoMapper; using MultiplayerAvalon.AppDomain.Players; namespace MultiplayerAvalon.Players.Dto { public class PlayerMapProfile : Profile { public PlayerMapProfile() { CreateMap<PlayerDto, Player>().ReverseMap(); CreateMap<CreatePlayerDto, Player>().ReverseMap(); ...
// The MIT License (MIT) // // Copyright (c) Andrew Armstrong/FacticiusVir & xuri 2021 // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitatio...
using System.Collections.Generic; using System.Data; using System.Linq; using System.Text.RegularExpressions; namespace aoc_runner { public record Day07(Day07.BagRule[] BagRules) { public Day07(string[] input) : this (input.Select(BagRule.Parse).ToArray()){} public int Part1() { ...
using System.Buffers; using System.Security.Cryptography; namespace FlyByWireless.GitCore; internal sealed class HashStream : Stream { private readonly Stream _stream; private readonly HashAlgorithm _ha; private readonly bool _leaveOpen; private byte[]? _buffer; private int _read; public...
namespace Sdl.Tridion.Api.IqQuery.Model.Field { /// <summary> /// Base Field /// </summary> public abstract class BaseField { public bool Negate { get; set; } protected BaseField(bool negate) { Negate = negate; } } }
using Platform_Racing_3_Common.Server; using Platform_Racing_3_Web.Controllers.DataAccess2.Procedures; using Platform_Racing_3_Web.Utils; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using System.Xml.Serialization; namespace Platform_Racing_3_Web.Responses.Procedure...
namespace Vezel.Cathode.Text.Control; public enum KeyboardLevel { Basic = 0, Normal = 1, Extended = 2, }
// *** WARNING: this file was generated by the Pulumi SDK Generator. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Threading.Tasks; using Pulumi.Serialization; namespace Pulumi.Azur...
using System; namespace MvvmCross.Plugin.Validation { public class ShouldBeLongAttribute : ValidationAttribute { public ShouldBeLongAttribute(string message = null) : base(message) { } public override IValidation CreateValidation(Type valueType) { ...
// THIS IS A COPY OF https://github.com/aspnet/AspNetCore/blob/v2.2.4/src/Security/Authorization/Core/src/IAuthorizationService.cs // USED FOR DOCUMENTAION // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license informati...
// Fill out your copyright notice in the Description page of Project Settings. using UnrealBuildTool; using System.Collections.Generic; public class cppHowToAutoCameraTarget : TargetRules { public cppHowToAutoCameraTarget(TargetInfo Target) : base(Target) { Type = TargetType.Game; ExtraModuleNames.AddRange( ne...
@model QOAM.Website.ViewModels.Journals.ScoreCardsViewModel @foreach (var scoreCard in Model.ValuationScoreCards) { var nextPage = Model.ValuationScoreCards.IsLastPage ? (int?)null : (Model.ValuationScoreCards.PageNumber + 1); <tr data-next-page="@nextPage"> <td>@Html.ActionLink(scoreCard.UserProfile...