content
stringlengths
23
1.05M
using AutoMapper; using DAL.Entities; namespace API.TransferData.Profiles { internal class SimpleEntityProfile : Profile { public SimpleEntityProfile() { CreateMap<DataEntity, EntityDto>(); CreateMap<UpdateEntityDto, DataEntity>(); } } }
@using Microsoft.AspNetCore.Identity @using PicturesShop.Areas.Identity @using PicturesShop.Areas.Identity.Pages @addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers @using PicturesShop.Models
using System.Linq; using Marten.Services; using Marten.Testing.Documents; using Marten.Testing.Harness; using Xunit; namespace Marten.Testing.Linq { [ControlledQueryStoryteller] public class query_with_float_Tests : IntegrationContext { [Fact] public void can_query_by_float() { ...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class GameManager { public IPlayer player; public GameManager(IPlayer player) { this.player = player; } public void GameOver() { player.OnGameOver(); } }
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using System.Threading; namespace mulitThread { public partial class Form1 : Form { Form2 _f2; public Form1()...
using UnityEngine; public class PlayerAnimatorController : MonoBehaviour { public GameObject SpriteHolder; private Animator animator; private Vector3 scale; void Start() { animator = SpriteHolder.GetComponent<Animator>(); scale = transform.localScale; } private void Flip...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Spaceship : MonoBehaviour { public GameObject Bomb; public Sprite No_Work; void Update () { if (GameObject.Find("Canvas").GetComponent<GameMaster>().Life <= 0) { this.gameObject.GetComponent<SpriteRenderer>().sprite =...
#region Copyright Syncfusion Inc. 2001-2021. // Copyright Syncfusion Inc. 2001-2021. All rights reserved. // Use of this code is subject to the terms of our license. // A copy of the current license can be obtained at any time by e-mailing // licensing@syncfusion.com. Any infringement will be prosecuted under // applic...
using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using Netcool.Api.Domain.Menus; using Netcool.Core.AspNetCore.Controllers; using Netcool.Core.Services.Dto; namespace Netcool.Api.Controllers { [Route("menus")] [Authorize] public class MenusController : QueryControllerBase<MenuDto,...
namespace dotnetcore { public class MySettings { public string CouchbaseBucket { get; set; } public string CouchbaseServer { get; set; } } }
namespace DbKeeperNet.Engine { public interface IUpdateStepExecutedMarker { void MarkAsExecuted(string assembly, string version, int stepNumber); } }
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using Mono.Linker.Tests.Cases.Expectations.Assertions; using Mono.Linker.Tests.Cases.Expectations.Metadata; using Mono.Linker.Tests.Cases.LinkAttributes.Dependencies; namespace Mono...
using Newtonsoft.Json; using Newtonsoft.Json.Converters; using System; using System.Collections.Generic; using System.Linq; using System.Runtime.Serialization; using System.Threading.Tasks; namespace GoogleMapsComponents.Maps { /// <summary> /// Animations that can be played on a marker. /// Use the setA...
using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Reflection; using System.Xml; using System.Xml.Schema; using Mono.Options; namespace Mono.Documentation { public class MDocValidator : MDocCommand { XmlReaderSettings settings; long errors =...
namespace StripeTests { using System; using System.IO; using System.Reflection; using System.Text; using Newtonsoft.Json; using Stripe; using Xunit; public class StripeAccountTest : BaseStripeTest { [Fact] public void Deserialize() { string json ...
using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Newtonsoft.Json; using NSubstitute; using Wolfberry.TelldusLive.Models.Client; using Wolfberry.TelldusLive.Repositories; using Xunit; namespace Wolfberry.TelldusLive.Tests.Repositories { public class ClientRepositoryTests ...
using System; using System.Collections.Generic; using JetBrains.Annotations; using Perfolizer.Common; using Perfolizer.Mathematics.Common; using Perfolizer.Mathematics.QuantileEstimators; using Perfolizer.Mathematics.Sequences; namespace Perfolizer.Mathematics.Functions { public class GammaEffectSizeFunction : Qua...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Windows.Forms; namespace ScriptCenter.Controls { public class Wizard : Form { private WizardPage currentPage; public void ShowPage(WizardPage c) { if (this.curr...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.HtmlControls; using System.Data.SqlClient; using System.Data; public partial class Admin_Default : System.Web.UI.Page { SqlConnection con = new SqlConnectio...
using System; using System.Linq; using System.Reflection; using FluentAssertions; using Xunit; namespace Ploch.Common.Tests.Reflection { public class AttributeHelpersTests { [Fact] public void GetAttributes_Inherited_From_ParentTest() { var attributes = typeof(TestTypes.Cla...
using System; using System.Linq; using Microsoft.AspNetCore.Mvc; using NSwag.Annotations; namespace DataService.Controllers { /* Don't know why, but nswag generates an empty path here and the UI blows up */ [Route("[Controller]")] public class HealthCheckController : Controller { publ...
#if Full || App using Microsoft.AspNetCore.Http; namespace Netnr.SharedApp { /// <summary> /// 客户端信息 /// </summary> public class ClientTo { /// <summary> /// 构造 /// </summary> /// <param name="content"></param> public ClientTo(HttpContext content) {...
using UnityEngine; namespace Fjord.Common.Utilities { /// <summary> /// Utility methods for UnityEngine.Color. /// </summary> public static class ColorUtility { public static Color MoveTowards(Color a, Color b, float maxAmount) { return new Color( Mathf....
using System; using ObjCRuntime; namespace Firebase.PerformanceMonitoring { [Native] public enum HttpMethod : long { Get, Put, Post, Delete, Head, Patch, Options, Trace, Connect } }
// Copyright (c) 2021 Yoakke. // Licensed under the Apache License, Version 2.0. // Source repository: https://github.com/LanguageDev/Yoakke using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Yoakke.Ir.Model; using Type = Yoakke.Ir.Model.Type; nam...
// This file has been generated by the GUI designer. Do not modify. namespace QS.Test.TestApp.Views { public partial class ButtonSubscriptionTabView { private global::Gtk.VBox vbox1; private global::Gtk.HBox hbox1; private global::Gtk.Button buttonSave; private global::Gtk.Button buttonCancel; protecte...
using Photon.Pun; using UnityEngine; public class MasterClientUi : MonoBehaviour { private void Start() { if (!PhotonNetwork.IsMasterClient) { Destroy(gameObject); } } }
#r "../../../Core/bin/debug/netcoreapp3.1/Core.dll" #r "System.Runtime.dll" #r "System.Collections.dll" using System; using System.Collections.Generic; using System.Text; using LCGuidebook.Core; using LCGuidebook.Core.DataStructures; public void InitNationalProperties() { ResourceManager.Me.MiscProperties.Add("Nuke...
using System.Collections.Generic; namespace SnipInsight.Forms.Features.Library { public class Grouping<K, T> : List<T> { public Grouping(K key) { this.Key = key; } public Grouping(K key, IEnumerable<T> items) : this(key) { this.AddRa...
using System; using System.Threading.Tasks; using System.Web; using OwnID.Extensibility.Cache; using OwnID.Extensibility.Configuration; using OwnID.Extensibility.Exceptions; using OwnID.Extensibility.Flow; using OwnID.Extensibility.Flow.Contracts.MagicLink; using OwnID.Extensibility.Providers; using OwnID.Extensibility...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using SBA_BACKEND.Domain.Models; using SBA_BACKEND.Domain.Services.Communications; using SBA_BACKEND.Domain.Services; using SBA_BACKEND.Domain.Persistence.Repositories; namespace SBA_BACKEND.Services { public cla...
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Text; using System.Threading.Tasks; namespace MauiWrapPanel.DebugTool { /// <summary> /// Because VS17.2 have bug, can't run net6-ios, so i add this for debug info to show at windows. /// When release...
using System.Collections.Generic; using System.Threading.Tasks; namespace AteraAPI.V3.Interfaces { /// <summary> /// Defines the API endpoint for tickets. /// </summary> public interface ITicketApiEndpoint : IReadCreateApiEndpoint<ITicket>, IReadUpdateApiEndpoint<ITicket>, ...
using Microsoft.AspNetCore.Mvc; namespace $safeprojectname$.Controllers { [Route("api/[controller]")] [ApiController] public class EmployeeController : ControllerBase { /// <summary> /// Retrieve the employee by their ID. /// </summary> /// <param name="id">The ID of th...
/* * ITSE 1430 * Shahla Ally * Final: 12/13/2017 */ using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Text; using System.Threading.Tasks; namespace MovieLib { /// <summary>Provides helpers for validating objects.</summary> public s...
using System; using System.Text.Json.Serialization; using System.Text.Json; namespace JsonExtended.Serialization { // var options = new JsonSerializerOptions(JsonSerializerDefaults.Web); // options.Converters.Add(new DateOnlyConverter()); // options.Converters.Add(new TimeOnlyConverter()); public cla...
using Barista.Shared.Entities.Enemy; using Barista.Shared.Entities.Hero; namespace Barista.Shared.Logic.UseCases { public interface IMoveEnemyTowardsHeroUseCase { bool CanMove(EnemyEntity enemyEntity, HeroEntity heroEntity, int range); void Move(EnemyEntity enemyEntity, HeroEntity heroEntity, ...
using System; using System.Collections.Generic; using System.Linq; using System.Runtime.Serialization; using System.ServiceModel; using System.Text; namespace ClienteService { [ServiceContract] public interface IClienteService { [OperationContract] String Insert(Cliente cliente); [...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Reader.SDK.Exception { public static class ReaderError { public const UInt32 INPUT_FILE_NOT_SUPPORTED = 0x20000000; public const UInt32 INPUT_FILE_OPEN_FAILED = 0x20000001; ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace uk.andyjohnson.ElephantBackup { /// <summary> /// Represents the result of a backup operation. /// </summary> public class BackupResult { /// <summary> /// Overall success/failure. ...
namespace PeNet.Structures.MetaDataTables { public class AssemblyRefOS : AbstractTable { public AssemblyRefOS(byte[] buff, uint offset, HeapSizes heapSizes, IndexSize indexSizes) : base(buff, offset, heapSizes, indexSizes) { OSPlatformID = ReadSize(4); OSMajo...
using System.Collections.Generic; using System.Threading.Tasks; using Tyres.Service.Constants; using Tyres.Shared.DataTransferObjects.Users; namespace Tyres.Service.Interfaces { public interface IUserService { Task<List<UserSummaryDTO>> AllAsync(int page = PageConstants.DefaultPage); } }
using UnityEngine; using System.Collections.Generic; using RtMidi.LowLevel; sealed class MidiInTest : MonoBehaviour { #region Private members MidiProbe _probe; List<MidiInPort> _ports = new List<MidiInPort>(); // Does the port seem real or not? // This is mainly used on Linux (ALSA) to filter aut...
namespace Bonsai.Shaders.Rendering { static class ShaderConstants { public static readonly string ModelViewMatrix = "modelview"; public static readonly string ProjectionMatrix = "projection"; public static readonly string NormalMatrix = "normalMatrix"; public static readonly str...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class IndexModel : Basemodel { //public int index; public Color color; public IndexModel(Color i) { color = i; } public IndexModel() { color = Color.red; } }
using System; using System.Collections.Generic; namespace Orleans.Runtime { internal class RuntimeTypeHandlerEqualityComparer : IEqualityComparer<RuntimeTypeHandle> { public static RuntimeTypeHandlerEqualityComparer Instance { get; } = new RuntimeTypeHandlerEqualityComparer(); RuntimeTypeHand...
using Microsoft.VisualStudio.TestTools.UnitTesting; namespace TP.Framework.Tests { [TestClass] public class TPAttributePackageTests { private TPAttribute health; private TPModifier healthIncreaser; private void Reset() { health = new TPAttribute(100); ...
using System; using System.Collections.Generic; namespace Structure { public class Map { private readonly Dictionary<Type, object> _layers = new Dictionary<Type, object>(); /// <summary> /// Add layer to map. Second typed parameter is a type of layer cell /// </summary> ...
using System; namespace Epam.Task3.Round { public class Program { public static void Main(string[] args) { Round round = new Round(); Console.WriteLine("Enter X coordinate: "); round.X = int.Parse(Console.ReadLine()); Console.WriteLine("Enter Y...
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using System.Data.Entity; using System.Data.Entity.Migrations; using System.Linq; using Microsoft.Its.Domain.Sql; namespace Microsoft.Its.Domain.Testing...
using System; using Terraria.ModLoader.IO; using Arcana.Reference; namespace Arcana.Spells.Elements { public class Arcane : Element { public Arcane() : base(Constants.Elements.ARCANE) { } public static readonly Func<TagCompound, Arcane> DESERIALIZER = Load<Arcane>; } }
using System.Windows; using Microsoft.Phone.Controls; using Coding4Fun.Toolkit.Controls; namespace Coding4Fun.Toolkit.Test.WindowsPhone.Samples { public partial class Slider : PhoneApplicationPage { public Slider() { InitializeComponent(); } private ...
/*=============================================================================== Copyright (C) 2020 Immersal Ltd. All Rights Reserved. This file is part of the Immersal SDK. The Immersal SDK cannot be copied, distributed, or made available to third-parties for commercial purposes without written permission of Immer...
namespace Axiverse.Interface.Graphics { /// <summary> /// Interface for resources which need to be disposed and recreated when the presenter is /// resized. /// </summary> public interface IPresenterResource { /// <summary> /// Recreate resources bound to the presenter. ...
using System; using System.Web.UI; using System.Collections.Generic; using System.Linq; using Microsoft.VisualStudio.TestTools.UnitTesting; using TypeMock.ArrangeActAssert; using Nucleo.Web.Templates; namespace Nucleo.Web.FormControls { [TestClass] public class FormItemSectionRendererTest { [TestMethod] publ...
@using System.Web.Optimization <!DOCTYPE html> <html data-ng-app="MicroBlogApp"> <head> <meta content="IE=edge, chrome=1" http-equiv="X-UA-Compatible" /> <title>MicroBlog</title> @Styles.Render("~/Content/Css") </head> <body> <div> <nav class="navbar navbar-default navbar-fixed-top" role="navigatio...
using System.Security.Cryptography; using System; using System.Text; public class Encryption { public static string Encrypt(string unencrypt,string key) { //密钥 byte[] keyArray = Encoding.UTF8.GetBytes(key); //待加密明文数组 byte[] UnencryptArray = Encoding.UTF8.GetBytes(unen...
using System.Collections.Generic; using SharpGLTF.Schema2; namespace Toe.ContentPipeline.GLTFSharp { public class ReaderContext { public ModelRoot ModelRoot { get; set; } public ContentContainer Container { get; set; } public IReadOnlyList<IImageAsset> Images { get; set; } publ...
using System; namespace IR { public abstract class ValueInteractor<R, V> : Interactor<R>, IValueInteractor<V> where R : ValueRepository<V>, new() { public virtual event Action<V> Changed; public virtual V Value { get => Repository.Value; set ...
namespace Discord.API.Client.GatewaySocket { public class ChannelUpdateEvent : Channel { } }
using System; using System.Windows; using System.Windows.Controls; using System.Reflection; using Microsoft.Xna.Framework; namespace System.Windows.Media.Animation { public class ValueChangedEventArgs : EventArgs { public ValueChangedEventArgs ( float value ) : base ( ) { this.Value...
using Jotunn.Utils; namespace AsgardLegacy { class SE_Ability3_CD : SE_Stats { public SE_Ability3_CD() { base.name = "SE_Ability3_CD"; base.m_ttl = 2f; } public override bool CanAdd(Character character) { return character.IsPlayer(); } } }
using System.Diagnostics.CodeAnalysis; using HarmonyLib; using SolastaCommunityExpansion.Features; using SolastaModApi.Extensions; namespace SolastaCommunityExpansion.Patches.CustomFeatures { [HarmonyPatch(typeof(GameLocationCharacter), "StartBattleTurn")] [SuppressMessage("Minor Code Smell", "S101:Types shou...
namespace Pact.Palantir.Usecase { /// <summary> /// The base response. /// </summary> public abstract class BaseResponse { /// <summary> /// Response Code used to express the success or failure of a usecase. Base of all responses /// </summary> public ResponseCode Code { get; set; } } }
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Demo04.Models; using Gods.Foundation; namespace Demo04.ViewModels { public class FileInfoViewModel : NotificationObject { public FileInfoEntity FileInfoEntity { get; private set; } public ...
namespace SharpDoop.Core.Tests { using System; using System.Collections.Generic; using System.Linq; using System.Text; using Microsoft.VisualStudio.TestTools.UnitTesting; [TestClass] public class MapContextTests { [TestMethod] public void EmptyKeyValues() ...
using System; namespace Xendor.QueryModel.Converts { internal abstract class Convert<TOut> : IConvert { public object Parse(string value) { return ToConvert(value); } public Type Type => typeof(TOut); protected abstract TOut ToConvert(string value); } }
using System; using System.Collections.Generic; using System.Linq; using System.Runtime.InteropServices; using System.Text; using NativeFace = Sbt.NativeCoreTypes.Face; namespace Sbt.CoreTypes { public class Brep : Solid { private readonly List<Face> faces; public IList<Face> Faces { get { re...
using Jp.Database.Context; using JPProject.AspNet.Core; using JPProject.Domain.Core.ViewModels; using MediatR; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using IConfiguration = Microsoft.Extensions.Configuration.IConfiguration; namespace JPProject.Admin.Api.Configuration...
using Leeax.Web.Builders; using System; using Microsoft.AspNetCore.Components; namespace Leeax.Web.Components.Modals { public partial class LxModalRenderer : IDisposable { public const string ClassName = "lx-modalrenderer"; protected override void BuildAttributeSet(AttributeSetBuilder builder...
// // QueryUnaryExpression.cs // // Copyright (c) 2017 Couchbase, Inc 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/LICENS...
namespace Lykke.Service.IntrinsicEventIndicators.Core.Domain.Model { public interface IIntrinsicEventIndicatorsRow { string RowId { get; } string AssetPair { get; } string PairName { get; } string Exchange { get; } } public class IntrinsicEventIndicatorsRow : IIntrinsic...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Trigger_Wall : MonoBehaviour, ITriggerable { public Cube_Behavior.Direction Direction; private Cube_Behavior cube_Behavior; private void Awake() { cube_Behavior = GetComponentInParent<Cube_Behavior>()...
// Scatter Plot with Errorbars // An array of values can be supplied for error bars and redering options can be customized as desired var plt = new ScottPlot.Plot(600, 400); int pointCount = 20; Random rand = new Random(0); double[] xs = DataGen.Consecutive(pointCount); double[] ys = DataGen.RandomWalk(rand, pointCoun...
// <copyright file="FtpShellCommandAutoCompletion.cs" company="Fubar Development Junker"> // Copyright (c) Fubar Development Junker. All rights reserved. // </copyright> using System; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; namespace TestFtpServer.She...
// Copyright (c) 2021 DrBarnabus using Microsoft.Extensions.Hosting; using System; using System.Threading; using System.Threading.Tasks; namespace Servly.Core.Internal { internal class ServlyHost : IServlyHost { private readonly IHost _host; public ServlyHost(IHost host) { ...
using System; using QuantoAgent.Database; namespace QuantoAgent.Models { public class GContext { public string Path { get; set; } public string Method { get; set; } public DBUser User { get; set; } } }
namespace EasyMobile.Internal { /// <summary> /// Simple serializable version of <see cref="System.Collections.Generic.KeyValuePair{string, string}"/> /// </summary> public class StringStringKeyValuePair : SerializableKeyValuePair<string, string> { public StringStringKeyValuePair(string key...
/* ==================================================================== Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for Additional information regarding copyright ownership. The ASF licenses this file to Y...
// ------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See License.txt in the repo root for license information. // ------------------------------------------------------------ namespace Microsoft.Azure.I...
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Collections.Specialized; using System.ComponentModel; namespace PIT.Core { public class ObservableCollectionEx<T> : ObservableCollection<T> where T : INotifyPropertyChanged { public ObservableCollectionE...
using System.ComponentModel.DataAnnotations; namespace SavingMoney.WebApi.Model; /// <summary> /// Entity recording costs records entered by the users /// </summary> public class Cost { /// <summary> /// Entity id /// </summary> public int Id { get; set; } /// <summary> /// Organization ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using VotingCommon.Enumerations; using VotingCommon.Properties; namespace VotingCommon.Converts { public class VoteConvert { private static readonly List<Tuple<int, string>> voteList = n...
using System.ComponentModel; using BoC.InversionOfControl; namespace BoC.ComponentModel.TypeExtension.DefaultSetupTasks { public class RegisterTypeDescriptor : IContainerInitializer { public void Execute() { TypeDescriptor.AddProvider(new ExtendedTypeDescriptionProvider(typ...
using System; using MediatR; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using System.Collections.Generic; using Application.Features.GetProducts.Queries; namespace Api.Controllers { [ApiController] [Route("api/[controller]")] public class ProductsController...
using Iced.Intel; using System; using MBBSEmu.Extensions; using Xunit; using static Iced.Intel.AssemblerRegisters; namespace MBBSEmu.Tests.CPU { public class ROR_Tests : CpuTestBase { [Fact] public void ROR_AX_IMM16_1() { Reset(); mbbsEmuCpuRegisters.AX = 2; ...
using FluentValidation; using Shared; using Shared.Entity; using Shared.Validator; namespace Domain.Entidade { public class TurmaDisciplina : EntityCrud<TurmaDisciplina> { public override AbstractValidator<TurmaDisciplina> Validador => new TurmaDisciplinaValidator(); public string DisciplinaId...
using System; using System.Collections.ObjectModel; using System.Linq; using Microsoft.Extensions.Configuration; namespace SeleniumGridManager.Web.Services.Configuration { public class AppConfigurationService : IAppConfigurationService { private IConfiguration _config; public ReadOnlyCollection<NodeConf...
#pragma warning disable 4014 namespace Unosquare.Labs.EmbedIO.Tests { using System.Threading.Tasks; using NUnit.Framework; [TestFixture] public class EasyRoutesTest { private const string Ok = "Ok"; [Test] public async Task AddOnAny_ResponseOK() { var s...
using UnityEngine; using UnityEngine.UI; using System.Collections; using UnityEngine.Events; public class MenuOption : MonoBehaviour { public Menu Menu; public Text OptionText; public Text ValueText; public Menu.Option OptionInfo; public void OnClick() { if (OptionInfo.Enabled...
using System; using System.Collections.Generic; using Newtonsoft.Json; namespace ExRatesSharp.Objects { public class CustomResponse { [JsonProperty("rates")] public Dictionary<string, Dictionary<string, double>> Rates { get; set; } [JsonProperty("start_at")] public DateTimeOffs...
using GetcuReone.MvvmFrame.Wpf; using GetcuReone.MvvmFrame.Wpf.Commands; using GetcuReone.MvvmFrame.Wpf.EventArgs; using GetcuReone.MvvmFrame.Wpf.Models; using MvvmFrame.Wpf.TestWpf.Pages; using System.Threading.Tasks; namespace MvvmFrame.Wpf.TestWpf.ViewModels { public sealed class MainViewModel : ViewModelBase ...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading.Tasks; using AppService.Core.Interfaces; using AppService.Core.Models; using AppService.Models; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using Microsoft.EntityFrameworkCore; namespace AppS...
namespace LmkPhotoViewer.Model { using System; using LmkImageLib; public class FileInfo : ModelBase { public FileInfo(string filePath) { this.FilePath = filePath; if (System.IO.File.Exists(this.FilePath)) { this.Info = new System.IO....
using System; using AutoMapper; using CleanArchitecture.Application.ViewModels; using CleanArchitecture.Domain.Models; namespace CleanArchitecture.Application.AutoMapper { public class DomainToViewModelProfile : Profile { public DomainToViewModelProfile() { CreateMap<Course, Course...
@using Microsoft.AspNetCore.Identity @using WebAppLuisMendozaSamuel @using WebAppLuisMendozaSamuel.Models @using WebAppLuisMendozaSamuel.Models.AccountViewModels @using WebAppLuisMendozaSamuel.Models.ManageViewModels @addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
var provider = ArchiveProviderFactory.Create(PersonProvider.ProviderName); provider.SetDesiredColumns("firstName", "CountAll(firstName)", "Count(middleName)", "Sum(rank):HideDetail", "GroupBy(middleName):Header,Footer,1", "GroupBy(lastName):Header,Footer,2"); provider.SetDesiredEntities("person"); provider.SetPagi...
using System; using System.Linq; using System.Threading.Tasks; using NpuRozklad.Core.Entities; using NpuRozklad.Core.Interfaces; using NpuRozklad.Telegram.BotActions; using NpuRozklad.Telegram.Services.Interfaces; namespace NpuRozklad.Telegram.Handlers.CallbackQueryHandlers.SpecificHandlers { public class ShowTime...
using UnityEngine; using System.Collections; public class ChunkGenerator : MonoBehaviour { ChunkSettings chunkSettings; public ChunkGenerator(ChunkSettings chunkSettings) { this.chunkSettings = chunkSettings; } public void GenerateChunk(Chunk<Voxel> chunk, Vector3 worldPos) { ...
using System.Text.Json; using AutoMapper; using MediatR; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Mvc.Authorization; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microso...