content
stringlengths
23
1.05M
namespace TelegramClient.Core.Network.Confirm { using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; using log4net; using OpenTl.Schema; using TelegramClient.Core...
using System; using System.Linq; using System.Threading.Tasks; using DevExpress.Xpo; using IdentityServer4.Models; using IdentityServer4.Stores; using Microsoft.Extensions.Logging; using Xenial.Identity.Xpo.Storage.Mappers; using Xenial.Identity.Xpo.Storage.Models; namespace Xenial.Identity.Xpo.Storage.Stores { ...
using System; namespace SharpChat.Protocol.IRC.ServerCommands { public class ServerPongCommand : ServerCommand { public const string NAME = @"PONG"; public override string CommandName => NAME; private IRCServer Server { get; } private string Argument { get; } public Serv...
using System; using System.IO; using System.Net; namespace TSkgViewer { public class HttpWrapper { public static String getRequestData(String url) { String result = ""; WebRequest request = WebRequest.Create (url); request.Method = "GET"; WebResponse response = request.GetResponse (); using (...
namespace OpenGLBindings { /// <summary> /// Used in GL.GetTransformFeedback /// </summary> public enum TransformFeedbackParameter { /// <summary> /// Original was GL_TRANSFORM_FEEDBACK_PAUSED = 0x8E23 /// </summary> TransformFeedbackPaused = 36387, /// <summa...
using WinRT; using System; using System.Runtime.InteropServices; using static InteropCompositor.Interop.Win32; namespace InteropCompositor.Core { [Guid("AF86E2E0-B12D-4c6a-9C5A-D7AA65101E90")] [InterfaceType(ComInterfaceType.InterfaceIsIUnknown)] public interface IInspectable { [PreserveSig] ...
using System; namespace Apollo.Core.Model.Entity { public class Profile : BaseEntity { public string Username { get; set; } public bool IsAnonymous { get; set; } public string SystemName { get; set; } public bool IsSystemProfile { get; set; } public DateTime LastActivity...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using Azure.AI.MetricsAdvisor.Administration; namespace Azure.AI.MetricsAdvisor.Models { /// <summary> /// The frequency with which ingestion from a <see cref="DataFeedSource"/> will occur. /// </summary> ...
//////////////////////////////////////////////////////////////////////////////////////////////////// using System; using System.Collections.Generic; using System.Linq; using System.Numerics; using System.Text; using Ninject; using EnsureThat; ////////////////////////////////////////////////////////////////...
using Application.Devices.Commands.UpsertDevice; using Application.Devices.Queries.GetDeviceDetail; using Application.Devices.Queries.GetDevicesList; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using System.Threading.Tasks; namespace WebUI.Controllers { public class DeviceController ...
using Fabric.FHIR.Reader; using Nancy; using Nancy.Extensions; using Nancy.IO; namespace Fabric.FHIR.Modules { public class AnalyticsModule : NancyModule { public AnalyticsModule() { Get("/_analytics", parameters => { return new FhirReader().ReadPatient(...
using System.Collections; using System.Collections.Generic; using UnityEngine; //Manages a collection of MouseGrabbables that have a Renderer attached (or have one in its children) //When one is grabbed, the order in layer is adjusted to be in front of the other ones public class MouseGrabbableGroup : MonoBehaviour ...
using System.Collections.Generic; using System.Linq; using CMineNew.DataStructure.List; using CMineNew.DataStructure.Queue; namespace CMineNew.Map.BlockData { public static class BlockLightMethods { private const int Faces = 6; public static void ExpandFrom(Block from, BlockLightSource source, sby...
using Core.Interfaces; using Core.Services; using Core.UseCase; using Microsoft.Extensions.DependencyInjection; namespace Publisher { public static class InjectionServiceProvider { public static ServiceProvider Inject() { return new ServiceCollection() .AddTransient...
using System; namespace Kore.Web.Mvc.Resources { [Serializable] public class UnregisteredBundleException : Exception { private const string MessageFormat = "'{0}' is not a registered bundle."; public UnregisteredBundleException(string bundleUrl) : base(string.Format(...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Foundation; using Plugin.Xamarin.Controls; using Plugin.Xamarin.Controls.IOS.Controls; using UIKit; using Xamarin.Forms; using Xamarin.Forms.Platform.iOS; [assembly: ExportRenderer(typeof(PXC_WebView), typeof(PXC_WebViewRende...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Web.Mvc; namespace Framework.Web.MVC { public class RequiresSSLFilter : ActionFilterAttribute { #region| Events | public override void OnActionExecutin...
using FizzWare.NBuilder; using FluentAssertions; using NUnit.Framework; using VideoWeb.Common.Configuration; using VideoWeb.Mappings; namespace VideoWeb.UnitTests.Mappings { public class IdpSettingsResponseMapperTests : BaseMockerSutTestSetup<IdpSettingsResponseMapper> { [Test] public void shou...
using System; using System.Collections.Generic; using System.Text; namespace TypewiseAlert { public interface IAlerter { void AlertBreachType(Constants.BreachType breachType); } }
using System.Collections.Generic; namespace Kkts.Dynamic.Internal { internal class TreeEvaluationResult { public bool HasTheSameParent { get; set; } public List<MemberTree> Parents { get; set; } } }
using UnityEngine; using System.Collections; public class hitSound : MonoBehaviour { public AudioClip clip ; void OnCollisionEnter(Collision collision) { if (collision.relativeVelocity.magnitude > 3) { float relativeNormalVelocity = Mathf.Abs( Vector3.Dot (collision.relativeVelocity, collision.contacts[0].nor...
using Andover.Domain.Components.Database.Provider.Entities.Attributes; namespace Andover.Domain.Components.Database.Provider.Entities { public class IndexFragmentation { [DataField("database_id")] public int DatabaseId { get; set; } [DataField("OBJECT_ID")] public long ObjectId { get; set; } [DataField(...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Umbraco.Core.Models; using Umbraco.Core.Models.PublishedContent; namespace MSD.Nordics.WebHelpers.Umbraco { internal class DummyEmptyPublishedContent : IPublishedContent { ...
using System; using System.Collections.Generic; using System.Linq; namespace Octopus.Client.Model { public class ReleaseProgressionResource { public ReleaseResource Release { get; set; } public ChannelResource Channel { get; set; } public Dictionary<string, IList<DashboardItemResource>>...
@model WebMvcClient.ViewModels.CartComponentViewModel @{ ViewData["Title"] = "My Cart"; } <li> <a class="@Model.Disabled page-scroll" asp-area="" asp-controller="CartList" asp-action="Index"> @if (ViewBag.IsBasketInoperative == true) { <div>THE CART IS BROKEN</...
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; using System.Text; using System.Threading.Tasks; using HidWizards.UCR.Core.Models; using HidWizards.UCR.ViewModels.DeviceViewModels; namespace HidWizards.UCR.ViewModels.Controls { public class DeviceAddRemoveC...
// Copyright (c) 2015–Present Scott McDonald. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.md in the project root for license information. using System.Diagnostics.Contracts; namespace ApiFramework.Schema.Internal { /// <summary> /// This API supports the API Framework ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using NLog; namespace AInBox.Astove.Core.Logging { public class NLogLogger<T> : ILog<T> where T: class { private readonly Logger _log; public NLogLogger() { _log = LogManager.GetL...
namespace AnaparastasiGnosis { /// <summary> /// Constants /// </summary> public static class Constants { public const string File = "./schedule.xml"; } }
using System; using System.Collections.Generic; using System.Text; namespace RpgMath { public class Equipment { public String Name { get; set; } public long Attack { get; set; } public long AttackPercent { get; set; } public long Defense { get; set; } public long De...
using ITSWebMgmt.Controllers; using ITSWebMgmt.WebMgmtErrors; namespace ITSWebMgmt.Models { public abstract class MacWebMgmtError : WebMgmtError { public ComputerController computer; public int Id { get; set; } public string GroupName { get; set; } public string CaseLink { ...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class PixelToVoxel : MonoBehaviour { public Texture2D image; public MeshRenderer render; public MeshRenderer renderCurrept1 , renderCurrept2, renderCurrept3, renderCurrept4; public GameObject[] voxels; int xSize...
using System; namespace Zyan.Examples.DynamicEbcResponses.Shared { /// <summary> /// specialized request class /// explains how to encapsulate more then one service argument (dividend and divisor) /// explains how to return more then one value back to the client (Quotient, IntegerQuotient and In...
/* --------------------------- * SharePoint Manager 2010 v2 * Created by Carsten Keutmann * --------------------------- */ using System; using Microsoft.SharePoint; using Microsoft.SharePoint.Administration; using SPM2.Framework; namespace SPM2.SharePoint.Model { [Title(PropertyName="DisplayName")] [Icon(Small...
using Soulful.Core.Model.Cards; using System.Collections.Generic; using System.Threading.Tasks; namespace Soulful.Core.Services { public interface ICardLoaderService { Task<List<Pack>> GetPacks(); Task<BlackCard> GetBlackCardAsync(int id); Task<WhiteCard> GetWhiteCardAsync(int id); ...
using System; using FluentAssertions; using Infusion.Commands; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Infusion.Tests.Commands { [TestClass] public class CommandParameterParserTests { [TestMethod] public void Can_parse_ints_list_separated_by_space() { ...
using UnityEngine; namespace ScriptableEvents.Listeners { [AddComponentMenu("Scriptable Events/Float Scriptable Event Listener", 3)] public class FloatScriptableEventListener : BaseScriptableEventListener<float> { } }
using System; namespace AddinX.Ribbon.Contract.Command { public interface IDialogBoxLauncherCommand : ICommand { IDialogBoxLauncherCommand Action(Action act); IDialogBoxLauncherCommand Action(Action act, Func<bool> canExecute); IDialogBoxLauncherCommand IsVisible(Func<bool> condition...
using System; using System.Net; using Incoding.Core.Block.ExceptionHandling; using Microsoft.AspNetCore.Mvc.Filters; namespace Incoding.Web.MvcContrib { public class IncodingErrorHandlingFilter : ExceptionFilterAttribute { public override void OnException(ExceptionContext context) { ...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Diagnostics; using System.Reflection; using DependencyViewer.Common.Loaders; namespace DependencyViewer.Common.Model { [DebuggerDisplay("{Name}")] public class Project { private readonly HashSet<Guid> _project...
#pragma warning disable CS1998 // Async method lacks 'await' operators and will run synchronously using System; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; using Uno.Extensions; using Uno.Logging; using Windows.ApplicationModel; using Windows.Foundation; using Windows.Found...
#nullable disable namespace PasPasPas.Globals.Types { /// <summary> /// no type /// </summary> public interface INoType : ITypeDefinition { } }
using CollaborationEngine.Base; using UnityEngine.UI; namespace CollaborationEngine.UserInterface { public class RadioButtonView : Entity { public RawImage SelectedRawImage; public bool Selected { get { return SelectedRawImage.gameObject.activeI...
namespace Ecowitt.Models; /// <summary> /// The unit system /// </summary> public enum UnitSystem { Imperial, Metric, }
/************************************************************************************ Copyright : Copyright (c) Facebook Technologies, LLC and its affiliates. All rights reserved. Your use of this SDK or tool is subject to the Oculus SDK License Agreement, available at https://developer.oculus.com/licenses/oculussdk/ ...
/*this is 100% within 3 ≤ n ≤ 400, if n + 1 is a power of 2 then the answer is 3 except 7. and if n in 125, 127, 375 the answer is 5, otherwise the answer is 2. answer derived from a similar one here : https://oeis.org/A270026*/ int maxZeros(int n) { return 7 == n ? 7 : n % 125 < 3? 5 : (++n & (n - 1)) == 0? 3 : 2;...
using System.Net; using System.Collections.Generic; using System.Net.Sockets; using System; using System.Runtime.Serialization.Formatters.Binary; using System.IO; using Loxodon.Log.Log4Net; namespace Loxodon.Log.Editors.Log4Net { public class UdpLogReceiver : ILogReceiver { private bool started; ...
namespace TurtleChallenge.Data.Reporter.Dto { public class MovesResult { public int SequenceId { get; set; } public MovesResultPossibilities Result { get; set; } } }
using System.Collections; using System.Collections.Generic; using UnityEngine; public abstract class PoolableObject : MonoBehaviour { protected ObjectPool pool; public void setPool(ObjectPool pool) { this.pool = pool; } protected virtual void OnDisable() { if (pool != null) { ...
<TemplatedTable Items="@Items" Context="row"> <Header><tr><th>Col1</th><th>Col2</th><th>Col3</th></tr></Header> <Footer> @if (ShowFooter) { <tr><td>The</td><td></td><td>End</td></tr> } </Footer> <ItemTemplate> <tr><td>@row.Col1</td><td>@row.Col2</td><td>@row.C...
using System; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Linq; using System.Threading; using System.Threading.Tasks; using Microsoft.AspNetCore.Components; using Microsoft.AspNetCore.Components.Web; using MudBlazor.Utilities; namespace MudBlazor { public partial class Mu...
using System; using System.Text; using AirDropAnywhere.Core; using Xunit; namespace AirDropAnywhere.Tests { public class OctalParsingTests { [Theory] [InlineData("7645342", 2050786, true)] [InlineData("00004567", 2423, true)] [InlineData("0", 0, true)] [InlineData("", 0,...
using CAP.ApplicationCore.Entity; using System; using System.Collections.Generic; using System.Text; namespace CAP.ApplicationCore.Interfaces.Repository { public interface ICursoRepository : IRepository<Curso> { //métodos especificos para a entidade cursos } }
using System.Linq; using System.Reflection; using log4net; using Microsoft.VisualStudio.TestTools.UnitTesting; using Muwesome.DomainModel.Configuration; using Muwesome.DomainModel.Entities; using Muwesome.Persistence.Initialization; using Muwesome.Persistence.NHibernate; namespace Muwesome.Persistence.Initialization.T...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Grammophone.Linq; using Grammophone.Indexing; using Grammophone.LanguageModel.Provision; using Grammophone.Lexica.LexiconModel; using Grammophone.GenericContentModel; namespace Grammophone.Lexica...
namespace Assets.Scripts { public static class Constants { public static class SwipeEvents { public const string SwipeLeft = "swipeLeft"; public const string SwipeRight = "swipeRight"; public const string SwipeUp = "swipeUp"; public const string S...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Data; using System.Data.SqlClient; namespace DAL { public class DAL_TraSach:ConnectDB { public DataTable layDuLieuTraSach(DateTime ngayTraBatDau , DateTime ngayTraKetThuc) ...
// Copyright (c) 2014 - 2016 George Kimionis // See the accompanying file LICENSE for the Software License Aggrement using BitcoinLib.RPC.Specifications; namespace BitcoinLib.RPC.Connector { public interface IRpcConnector { T MakeRequest<T>(RpcMethods method, params object[] parameters); ...
using System; using UnityEngine; //TO-DO: Implement Codegen for serializable types //Use "[SaveObject]" attribute to find classes that gonna receive a wrapper class codegen namespace Subtegral.SaveUtility { [Serializable] public abstract class SaveService<T> : ScriptableObject { public abstract T ...
using System.Collections.Generic; namespace Emplonomy.Model { public class SurveyQuestion : IEntityBase { public SurveyQuestion() { SurveyResponses = new List<SurveyResponse>(); } public int ID { get; set; } public string Driver { get; set; } ...
using System.Collections.Generic; using Microsoft.Msagl.Core.Geometry; using Microsoft.Msagl.Core.Layout; namespace Microsoft.Msagl.Layout.Incremental { /// <summary> /// A vertical separation constraint requires a minimum separation between y coordinates of two nodes, /// i.e. u.Y + separation less or equ...
// ------------------------------------------------------------------------------------------------- // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See LICENSE in the repo root for license information. // ------------------------------------------------------------...
using Transbank.POS.Utils; using System.Collections.Generic; namespace Transbank.POS.Responses { public class BasicResponse { private readonly Dictionary<string, int> ParameterMap = new Dictionary<string, int> { { "FunctionCode", 0}, { "ResponseCode", 1}, }; ...
using System; using System.Collections.Generic; using UnityEngine; using UnityEngine.Events; [Serializable] public class GameObjectsPool { public string Name; public GameObject ItemPrefab; public List<GameObject> Items = new List<GameObject>(); public UnityEvent OnSpawnEvent = new UnityEvent(); ...
using System.Diagnostics; public class ProbabilityUpdate_User { public static void Run() { var sp = Stopwatch.StartNew(); foreach (var user in Sl.R<UserRepo>().GetAll()) Run(user); Logg.r().Information("Calculated all user probabilities in {elapsed} ", sp.Elaps...
@using AspNetCoreNthPrimeNumber.Web @using AspNetCoreNthPrimeNumber.Web.Models @addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
using System; using System.Collections.Generic; namespace Altbeacon.Beacon { // // Tracks Beacons or Regions // public class BeaconTracker { private HashSet<Region> TrackedRegions = new HashSet<Region>(); private HashSet<Object> added = new HashSet<Object>(); ...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class NutScript : MonoBehaviour { private readonly float MIN_SPAWN_TIME = 1f; private readonly float MAX_SPWN_TIME = 3f; public GameObject nutPrefab; public NutState nutState; private void Start() { ...
using SciChart.UI.Reactive.Observability; namespace SciChart.UI.Reactive.Tests.Traits { public class StubObservableObject : ObservableObjectBase { protected override void Dispose(bool disposing) { IsDisposed = true; base.Dispose(disposing); } public boo...
namespace eRestaurant.Services.ProductAPI.Dtos { public class ResponseDto { public bool? IsSuccess { get; set; } = true; public object? Result { get; set; } public string? DisplayMessage { get; set; } = string.Empty; public List<string>? ErrorMessages { get; set; } } }
public class CoffeeBeanProvider { public CoffeeBean GetInGram(int grams) { // ... } } public class MilkProvider { public CoffeeBean GetInOunce(int ounces) { // ... } } public static class LatteMaker { public static Latte Make(Func<int, CoffeeBean> getBeansInGram, Func<i...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using SalesWebMVC.Models; using SalesWebMVC.Models.Enums; namespace SalesWebMVC.Data { public class SeedingService { private SalesWebMVCContext _context; public SeedingService(SalesWebMVCContext c...
using MediatR; namespace ELearning.Application.Subjects.Queries.GetSubjectsList { public class GetSubjectsListQuery : IRequest<SubjectsListViewModel> { } }
using ConsulExec.ViewModel; using ReactiveUI; namespace ConsulExec.View { /// <summary> /// Interaction logic for CommandStartupView.xaml /// </summary> public partial class CommandStartupView : IViewFor<CommandStartupViewModel> { public CommandStartupView() { Initializ...
namespace Sample { class CustomSalesAccountFields { public string cf_external_id { get; set; } } }
using RPDB.Data.Entities.LinkingTables; using System; using System.Collections.Generic; using System.ComponentModel; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Threading.Tasks; using System.ComponentModel.DataAnnotations.Schema; namespace RPDB.Data.Entities { public class Queen: ...
using System; using System.Windows.Forms; using SmartPos.Ui.Handlers; namespace SmartPos.Ui { #region IFormBuilder public interface IFormBuilder { void Show(CloseFormResult result = null); } #endregion #region IFormBuilder<out TControl> public interface IFormBuilder<out TCont...
using System; namespace Dungeons.ASCIIDisplay.Presenters { public class LabelContent { public ConsoleColor Color = ConsoleColor.White; public string Text; public LabelContent() { } public LabelContent(string txt) { Text = txt; } } public class Label : Item { public Consol...
//----------------------------------------------------------------------- // ETP DevKit, 1.2 // // Copyright 2019 Energistics // // 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 // // ...
using UnityEngine; using UnityEditor; using System.Text; using System.IO; namespace Pie.Editor { public class BundleBuilder : EditorWindow { private static BundleBuilder _instance = null; private string _path; private BuildTarget _target = BuildTarget.NoTarget; public ...
/* * QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals. * Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect Corporation. * * 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 ...
namespace UpdateSocialMedia.Handlers; using System.Threading.Tasks; using PinSharp; using UpdateSocialMedia.Models; using UpdateSocialMedia.Options; public class PinterestHandler : IHandler { private readonly PinterestOptions pinterestOptions; public PinterestHandler(PinterestOptions pinterestOptions) => thi...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class PulseDissolveAnimationController : MonoBehaviour { //[SerializeField] private MeshRenderer[] _dissolvableObjectsMeshRenderers; //public MeshRenderer[] _DissolvableObjectsMeshRenderers => this._dissolvableObjectsMeshRenderers;...
using System; using System.Xml.Serialization; namespace Aop.Api.Domain { /// <summary> /// AlipayPassTemplateUpdateModel Data Structure. /// </summary> [Serializable] public class AlipayPassTemplateUpdateModel : AopObject { /// <summary> /// 模板内容信息,遵循JSON规范,详情参见tpl_c...
using System.Collections.Generic; using RippleDotNetCore.Rippled.Interfaces; using RippleDotNetCore.Rippled.Models.Shared; namespace RippleDotNetCore.Rippled.Models.Requests.Transactions { public class RipplePathFindRequestParams { public string SourceAccount { get; set; } public string Destin...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Text; using System.Threading.Tasks; namespace XExten.Office.Enums { /// <summary> /// bool类型映射值 /// </summary> public enum ExcelBoolType { /// <summary> /// 是 /// </...
using System; using Microsoft.Coyote; using System.Linq; namespace ClientServer { public class _TestRegression { public static void Main(string[] args) { } } }
namespace Cgxarrie.FluStMac.Transitions { using Extensions; using System; using System.Linq.Expressions; public class Transition<T, TStatus> : IEquatable<Transition<T, TStatus>> { public Transition(int order) { Order = order; } internal string ActionNam...
using System.Text; namespace Darkness.Maze { public static class GameMazeExtensions { public static string ToSimpleString(this GameMaze maze) { var builder = new StringBuilder(); var cells = maze.Cells; var numRows = cells.GetLength(0); var numCo...
using Dapper.Contrib.Extensions; namespace REC.Model { [Table("Cut")] public class Cut { public int IdClip { get; set; } public int IdVideo { get; set; } public float Start { get; set; } public float Finish { get; set; } public int Sequence { get; set; } } }...
using UnityEngine; namespace SODefinitions { [CreateAssetMenu(menuName = "Bullet", fileName = "bullet")] public class BulletSO : ScriptableObject { public GameObject vfx; public bool destroyOnFirstHit; } }
 //Author: Antonio Leonardo de Abreu Freire, Microsoft Certified ID: 13271836 //My profile: https://br.linkedin.com/in/antonio-leonardo //Contacts: antonio.leonardo@outlook.com.br using System; using System.Xml.Serialization; namespace CamlQueryApi { [Serializable] public class LogicalJoinsArrayBase { ...
using System; using System.Collections.Generic; using System.Text; namespace Generic.Ecom.Models { public class AddToCartViewModel { public Guid SKUGUID { get; set; } public int Quantity { get; set; } #nullable enable public Dictionary<string, object>? CustomFields { get; se...
namespace BusTicketsSystem.Models { using System.Collections.Generic; using System.ComponentModel.DataAnnotations; public class Company { public int CompanyId { get; set; } public string Name { get; set; } public string Nationality { get; set; } [Range(1, 10,...
using UnityEngine; namespace VRUtils.InputModule { public interface IInputDevice { //Trigger bool ClickDown(); bool Clicking(); bool ClickUp(); //Touchpad bool PadDown(); bool PadPressing(); bool PadUp(); bool UpSidePadPressing(...
using UnityEngine; public class ConversationComponent : MonoBehaviour { public Conversation[] Conversations; }
using System.Linq; using System.Threading.Tasks; using Microsoft.EntityFrameworkCore; using CloudCalendar.Data.Models; namespace CloudCalendar.Data.Repositories { public class ClassPlaceRepository : RepositoryBase<ClassPlace> { public ClassPlaceRepository(AppDbContext context) : base(context) { this.Tab...
using ApplicationCore.Entities; using System.Threading.Tasks; namespace ApplicationCore.Interfaces.Services { public interface IBuildingService { Task<int> GetCurrentBuildingLevel(int villageId, int buildingId); Task UpgradeBuilding(BuildingQueue buildingQueue); Task<bool> HasMaxLevel(...
using System; using System.Globalization; using System.Windows.Data; using System.Windows.Markup; namespace PresentationBase.Converters { /// <summary> /// Compares a given converter value to <see langword="null"/> and returns the result. /// </summary> [ValueConversion(typeof(object), typeof(bool))] ...
using System.Collections; using System.Collections.Generic; using UnityEngine; [CreateAssetMenu(menuName = "Items/Effect Controls", fileName = "Item_Effect_Controls")] public class ItemEffect_Controls : BaseItemEffect { public override float ModifyInput(float currentInput) { return -currentInput; }...