content
stringlengths
23
1.05M
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Threading.Tasks; namespace Microsoft.MobileBlazorBindings.Authentication { /// <summary> /// Represents a contract for services th...
using UnityEngine; using System; namespace Yolo { public class SizeConfig : MonoBehaviour { [HideInInspector] public event EventHandler<ResizeEventArgs> RaiseResizeEvent; [SerializeField] int imageWidth = 416; Size size; public Size Initialize()...
using LanguageExt; using MediatR; namespace ErsatzTV.Application.Watermarks.Queries { public record GetWatermarkById(int Id) : IRequest<Option<WatermarkViewModel>>; }
namespace DgInitEFCore.Configuration.Startup { /// <summary> /// Used to provide a way to configure modules. /// Create entension methods to this class to be used over <see cref="IAbpStartupConfiguration.Modules"/> object. /// </summary> public interface IModuleConfigurations { /// <sum...
using System; using System.Net; using System.Net.Http; using System.Threading.Tasks; using Advanced.CMS.ExternalReviews.ReviewLinksRepository; using EPiServer; using EPiServer.Core; using EPiServer.Security; using Microsoft.Extensions.DependencyInjection; using TestSite.Models; using Xunit; namespace Advanced.CMS.Adva...
using System; using System.Collections; using UnityEngine; using DG.Tweening; public class AudioController : MonoBehaviour { public AudioSource BackgroundAudio; public AudioClip GenericClickSound; public AudioClip ArrowClickSound; public AudioClip SmallClickSound; public AudioClip NotificationSoun...
namespace Peach.Core.Debuggers.DebugEngine.Tlb { using System; public enum __MIDL___MIDL_itf_DbgEng_0001_0064_0030 { DEBUG_SYMINFO_IMAGEHLP_MODULEW64 = 1 } }
using System; using System.Collections.Generic; using System.Linq; using System.Runtime.Remoting.Messaging; using System.Text; using System.Threading.Tasks; using CopterDown.Core; using CopterDown.Core.Entities; using CopterDown.Core.Enums; using CopterDown.Enums; namespace CopterDown.Core { public abstract class...
using AutoMocker.PrimitiveFactories.Abstract; using AutoMocker.Utils; namespace AutoMocker.PrimitiveFactories { public class DecimalFactory : IPrimitiveFactory<decimal> { public decimal Create() { byte scale = (byte)RandomUtil.Instance.Next(29); bool sign = RandomUtil.Instance.Next...
namespace ValidationsTests { class TestClass { private readonly int _i; public TestClass(int i) => _i = i; public int I { get => _i; } } }
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class DamageSplasher : MonoBehaviour { private Image damageSprite; private Color spriteColor; void Start() { damageSprite = GetComponent<Image>(); spriteColor = new Color(0, 0, 0,...
namespace CacheConsumer.Controllers { using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Caching.Distributed; [Route("api/[controller]")] [ApiController] public class ValuesCont...
using EasyPost; using System; using System.Collections.Generic; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace EasyPostTest { [TestClass] public class CustomsInfoTest { [TestInitialize] public void Initialize() { ClientManager.SetCurrent("cueqNZUb3ldeWTNX7MU3Mel8UX...
@model FileTypeViewModel @{ Layout = "_FileTypes.cshtml"; } <fieldset> <legend>Edit File Type</legend> @using (Html.BeginForm()) { @Html.Partial("_FileType") } </fieldset>
using System; using System.Collections; using System.Collections.Generic; using UnityEngine; public class Pet : MonoBehaviour { [SerializeField] private float spawnRate = 0.10f; [SerializeField] private float catchRate = 0.10f; [SerializeField] private int attack = 0; [SerializeField] private int defe...
using System.Collections.Generic; namespace CarRental.Domain.Entities { public class CarModel : BaseEntity { public string Name { get; set; } public CarBrand Brand { get; set; } public VehicleType Type { get; set; } public bool HasAutomaticTransmission { get; set; } pub...
namespace Cloud.Governance.Samples.Sdk { #region using directives using System; using AvePoint.GA.WebAPI; #endregion using directives /// <summary> /// GaoApiClassFixtrue is a global initial class for GaoApi client context initializaion. /// </summary> public class GaoApiClassFixtrue...
using System; using System.Collections; using System.Reflection; namespace Moq.Sdk { /// <summary> /// Matches any argument with a given type /// including <see langword="null"/> if the type is a reference type /// or a nullable value type. /// </summary> public class AnyMatcher : IArgumentM...
using Attributes; using System; using System.Collections.Generic; using System.Threading; namespace TestProject1 { public class SimpleTests { [Test(Ignore = "ignore")] public void IgnoredTest() { } public void WithoutAttributeTest() { } [Test] ...
namespace Microsoft.ApplicationInsights.Extensibility.Implementation.Tracing.SelfDiagnostics { using System; using System.Diagnostics; using System.IO; using System.Text; using Microsoft.VisualStudio.TestTools.UnitTesting; [TestClass] public class MemoryMappedFileHandlerTest { ...
using System; using System.Windows.Controls; namespace MaterialDesignThemes.Wpf { internal class ComboBoxAssistManagedOverlayInfo { public ComboBoxAssistManagedOverlayInfo(ComboBox owner, TextBox originalTextBox, TextBox cloneTextBox) { if (owner == null) throw new ArgumentNullExcep...
using System.Collections.Generic; using System.Linq; using System.Windows.Automation; using Uial.Contexts.Windows; namespace Uial.Interactions.Windows { public class Resize : AbstractPatternInteraction<TransformPattern>, IInteraction { public const string Key = "Resize"; public override strin...
using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Http; using System.Web.Http; using dal.Models.Entities; using dal.Services.Abstract; using webapi.Infrastructure.Auth; using webapi.Models.Data; namespace webapi.Controllers { public class UserControlle...
// <copyright file="BufferMetadata.cs" company="Techyian"> // Copyright (c) Ian Auty and contributors. All rights reserved. // Licensed under the MIT License. Please see LICENSE.txt for License info. // </copyright> namespace MMALSharp.Common { /// <summary> /// This class contains metadata for a MMAL Buffer ...
namespace Bonsai.Vision.Design { public class IplImageOutputQuadrangleEditor : IplImageQuadrangleEditor { public IplImageOutputQuadrangleEditor() : base(DataSource.Output) { } } }
using System; using System.Collections.Generic; using System.Text; using System.Windows.Markup; using System.Windows; using System.Reflection; using System.Globalization; using System.Windows.Data; using System.ComponentModel; using System.Threading; using System.Windows.Threading; using System.Resources; namespace M...
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Text; namespace ConsoleApp1 { public class TwoDimArrayInts { public static void TwoDimArrayIntsT() { int e = 10; int ex0 = 3; int ex1 = 5; int[,] b...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using TreeViewDemo.DataModel; using System.Collections.ObjectModel; namespace TreeViewDemo.LoadOnDemand.ViewModel { class CountryViewModel { readonly ReadOnlyCollection<Regio...
using Newtonsoft.Json; using System.Collections.Generic; namespace RaskulPool.Models { public partial class Payments { [JsonProperty("name")] public string Name { get; set; } [JsonProperty("pending")] public Pending Pending { get; set; } [JsonProperty("payments")] ...
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using Microsoft.AspNetCore.Components; using System.Runtime.ExceptionServices; using System.Threading.Tasks; using WindowsDispatcher = Sys...
/* 작성자: 박용준 타이틀: 닷넷세일 - 카테고리 리포지토리 클래스 코멘트: 닷넷세일 - 카테고리 리포지토리 클래스 수정일: 2020-11-01 */ using Dapper; using Microsoft.Data.SqlClient; using System.Collections.Generic; using System.Configuration; using System.Data; using System.Linq; namespace DotNetSale.Models { public class CategoryRepository : ...
using System.Collections.Generic; namespace MK6.AutomatedTesting.Runner { public static class Extensions { public static void AddRange<T>(this IList<T> list, IEnumerable<T> newItems) { foreach (var newItem in newItems) { list.Add(newItem); } ...
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.IO; using System.Linq; using FluentAssertions; using NuGet.Test.Utility; using Xunit; namespace NuGet.Configuration.Test { public clas...
using System.Collections.Generic; using System.Linq; namespace GraphQL.Types { public class QueryArguments : List<QueryArgument> { public QueryArguments(params QueryArgument[] args) { AddRange(args); } public QueryArguments(IEnumerable<QueryArgument> list) ...
namespace MyWebApp_BikeShop.Services.Buyers { using MyWebApp_BikeShop.Services.Buyers.Model; public interface IBuyerService { public bool IsBuyer(string userId); public void Become(BecomeABuyerServiceModel model); } }
using System.Collections.Generic; namespace BinBuff.Test { class Player : ISerializable { public override bool Equals(object obj) { if (ReferenceEquals(null, obj)) return false; if (ReferenceEquals(this, obj)) return true; if (obj.GetType() != this.GetType(...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class ClickToOpenColorBar : MonoBehaviour { private GameObject ColorBar; private HorizontalLayoutGroup layoutGroup; private bool isColorBarShow = false; public float minSpacing = -1.83f; publ...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the Apache 2.0 License. // See the LICENSE file in the project root for more information. using Steeltoe.Messaging; using System; using System.Collections.Concurrent; namespace Steeltoe.Stream.Test...
using UnityEngine; using System.Collections; public class PlaySoundOnFirstCollisionWith : MonoBehaviour { private bool played = false; public GameObject with; void Start () { } void OnCollisionEnter(Collision collInfo) { if(played) return; if(collInfo.collider == null) return; if(collInfo.collider.game...
using System.Security.Principal; using System.Threading; using System.Threading.Tasks; namespace SimpleQA { public interface ICommand<TResult> { } public interface ICommandExecuter<TCommand, TResult> where TCommand : ICommand<TResult> { Task<TResult> ExecuteAsync(TCommand command...
using AutoMapper; using Store.Domain.DomainModel; using Store.Infra.MongoDB.DataModels; namespace Store.Infra.CrossCutting.Mappers; public class AddressProfile : Profile { public AddressProfile() { CreateMap<AddressDomain, AddressData>(); CreateMap<AddressData, AddressDomain>(); } }
#region using OStimAnimationTool.Core.Models; using Prism.Events; #endregion namespace OStimAnimationTool.Core.Events { public class OpenDatabaseEvent : PubSubEvent<AnimationDatabase> { } }
using System.Web.Mvc; using MaterialCMS.Helpers; using MaterialCMS.Website.Binders; using Ninject; namespace MaterialCMS.Web.Areas.Admin.ModelBinders { public class GetUrlGeneratorOptionsTypeModelBinder:MaterialCMSDefaultModelBinder { public GetUrlGeneratorOptionsTypeModelBinder(IKernel kernel) : base...
using AutoMapper; using EventBus.Messages.Events; using Ordering.Application.Features.Orders.Commands.CheckoutOrder; namespace Ordering.Api.Mapping { public class OrderMappingProfile:Profile { public OrderMappingProfile() { CreateMap<BasketCheckoutEvent, CheckoutOrderCommand>(); ...
using System; using System.Collections.Generic; using System.Linq; namespace Engine.Application { public class Group { private readonly Dictionary<object, List<object>> _data = new Dictionary<object, List<object>>(); public void Add(object key, object item) { if (!_data.Tr...
using Confuser.Core; using dnlib.DotNet; using System.Linq; namespace Confuser.Protections { public class AntiWatermarkProtection : Protection { public override string Name => "反水印保护(Anti Watermark)"; public override string Description => "此保护去除ProtectedBy水印,使查壳工具无法识别。"; public overrid...
using EPlast.Resources; using System; namespace EPlast.BLL.DTO.ActiveMembership { public class EntryAndOathDatesDTO { private DateTime _dateOath; private DateTime _dateEntry; public string UserId { get; set; } public int Id { get; set; } public DateTime DateOath ...
using System; using System.Collections.Generic; using System.Text; namespace BlazorDevToAnalytics.Shared { public class StatsArticles { public double TotalArticles { get; set; } public double TotalViews { get; set; } public double TotalReactions { get; set; } public double ...
using System; using System.Collections.Generic; using System.Linq; namespace P04_AddVAT { class AddVAT { static void Main(string[] args) { Func<double, double> addVAT = n => n += n * 0.2; var prices = Console.ReadLine() .Split(new string[] { ", " }, Str...
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="PngDecoder.cs" company="OxyPlot"> // Copyright (c) 2014 OxyPlot contributors // </copyright> // <summary> // Implements support for decoding png images. // </summary> // -----...
#nullable enable using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using CodeConnections.Presentation; using Microsoft.VisualStudio.Shell.Interop; namespace CodeConnections.Services { internal class OutputWindowOutputService : IOutputService { IVs...
using System; using UnityEngine; public class DeepPlaneScript : MonoBehaviour { void OnCollisionEnter(Collision collision) { if (collision.gameObject.tag == "Player") { Player player = collision.gameObject.GetComponent<Player>(); player.Respawn(); } ...
using MovieMeter.Model.Contracts; using MovieMeter.WebHarvester.Contracts; using MovieMeter.WebHarvester.Harvester; using MovieMeter.WebHarvester.Parsers; using SimpleInjector; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace MovieMeter.WebH...
using System; public class About { public About() { } public void OutputShort() { Console.WriteLine("LordOfMoney v0.1"); } public void OutputLong() { Console.WriteLine("LordOfMoney v0.1\nПерсональный менеджер финансов"); } }
using System.ComponentModel.DataAnnotations; namespace VirtualGroupEx.Server.Data { public class RegisteredQid { public int Id { get; set; } [Required] public long Qid { get; set; } public bool Used { get; set; } = false; } }
namespace IRunes.Services.Tracks { using IRunes.ViewModels.Tracks; public interface ITracksService { void CreateTrack(string albumId, string name, string link, decimal price); DetailsViewModel GetDetails(string trackId); } }
//--------------------------------------------------------------------- // <copyright file="TestDataServiceActionProvider.cs" company="Microsoft"> // Copyright (C) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information. // </copyright> //-----------------------...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace T7 { /// <summary> /// Holds information about the status of the fuel maps while autotuning /// </summary> public class FuelMapInformation { private FuelMap m_OriginalFuelMap = new FuelMap(); ...
using System; using System.Threading.Tasks; using Google.Cloud.Speech.V1; namespace VoiceScript.VoiceTranscription { /// <summary> /// Provides access to Google Cloud Speech long running operations API. /// </summary> public class LongRunningRecognizer { readonly RecognitionConfig config; ...
using Herald.Notification.Builder; namespace Herald.Notification.Sns.Configurations { public interface ISnsNotificationBuider : INotificationBuilder { } }
using System.Collections.Generic; using UnityEngine.SocialPlatforms; namespace Newtonsoft.Json.UnityConverters.Tests.GameCenter { public class RangeTests : ValueTypeTester<Range> { public static readonly IReadOnlyCollection<(Range deserialized, object anonymous)> representations = new (Range, object)[...
using Newtonsoft.Json; using Okex.Net.Converters; using System; namespace Okex.Net.RestObjects.Market { public class Okex24HourVolume { [JsonProperty("volUsd")] public decimal VolumeUsd { get; set; } [JsonProperty("volCny")] public decimal VolumeCny { get; set; } [Jso...
using System.Collections.Generic; using System.Linq; using System.Runtime.InteropServices.ComTypes; namespace ScoreSpace { /// <summary> /// Edge ratio or E-Ratio /// Ratio between MFE and MAE to identify if trades have bias towards profit /// N = Number of observations /// AvgEdge = ((MFE / MAE) +...
using System; using System.Collections.Generic; using System.Linq; using System.Runtime.Serialization; using System.Security.Permissions; using System.Text; using Rafy; using JXC.WPF.Templates; using Rafy.MetaModel; using Rafy.MetaModel.View; using Rafy.WPF; namespace JXC.WPF { public class BillQuer...
using Microsoft.AspNetCore.Mvc.ModelBinding; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; using System; namespace DevZest.Data.AspNetCore.Primitives { /// <summary> /// Creates <see cref="DataSetModelBinder{T}"/> instance. /// </summary> public class DataSetModel...
using System; using System.Windows; namespace Host { /// <summary> /// A custom entry point method, Main(), is required to use LoaderOptimizationAttribute, /// which ensures that WPF assemblies are shared between the main application's appdomain /// and the subsequent appdomains that are created to ho...
// CS0246: The type or namespace name `foo' could not be found. Are you missing an assembly reference? // Line: 5 struct bar { foo foo; }
using UnityEngine; namespace WhateverDevs.Core.Runtime.Serialization { /// <summary> /// Scriptable to get a json serializer for editor referencing. /// </summary> [CreateAssetMenu(menuName = "WhateverDevs/Serializers/Json", fileName = "JsonSerializer")] public class JsonSerializerScriptable : Seri...
using System; using System.Collections.Generic; using System.Linq; using System.Text; public class RaceTower { private List<Driver> drivers; private DriverFactory factory; private Stack<Driver> failiers; private int currentLap; private int totalLaps; private int trackLength; private string...
namespace TPUM.Shared.Logic.Core { public enum Format { JSON, YAML, XML } }
using System; using System.Diagnostics; using System.Windows; using Text_Grab.Properties; using Text_Grab.Utilities; using Text_Grab.Views; namespace Text_Grab { /// <summary> /// Interaction logic for FirstRunWindow.xaml /// </summary> public partial class FirstRunWindow : Window { public...
using System; using System.Threading.Tasks; using System.Windows.Forms; namespace Duck.Cameras.Windows.Controls { public static class ControlUtil { public static void RunOnUiThread(this Control control, Action action) { if (control.InvokeRequired) { cont...
 using NUnit.Framework; using System; namespace LogExpert.Tests { [TestFixture] public class LogWindowTest { // TODO: Add more tests when DI container is ready. [TestCase(@".\TestData\JsonColumnizerTest_01.txt", typeof(DefaultLogfileColumnizer))] public void Instantiate_...
using System.Collections; using System.Collections.Generic; using UnityEngine; namespace Bunashibu.Kikan { [System.Serializable] public class HitInfo { public int MaxTargetCount => _maxTargetCount; public int MaxHitCount => _maxHitCount; public float Interval => _interval; [SerializeField]...
using System.Collections.Generic; using System.Threading.Tasks; using Toggl.Phoebe.Data.DataObjects; using XPlatUtils; namespace Toggl.Phoebe.Data { public static class ForeignRelationExtensions { public static IEnumerable<ForeignRelation> GetRelations (this CommonData data) { var m...
@{ Layout = "~/Views/Shared/_Layout.cshtml"; ViewBag.SectionName = "Hub"; } @section menu { @*<li>@Html.ActionLink("Home", "Index", "Home")</li>*@ @*<li>@Html.ActionLink("Ping", "Ping", "Home")</li>*@ <li><a href="/Legacy/News/ReleaseManagement/Drafts/">News Releases</a></li> <li><a href="/Le...
namespace Mogo.RPC { using System; public enum DefCheckResult : byte { ENUM_LOGIN_CHECK_ENTITY_DEF_NOMATCH = 1, ENUM_LOGIN_CHECK_NO_SERVICE = 2, ENUM_LOGIN_CHECK_SUCCESS = 0 } }
public enum KamereonShaderControl.PlayType // TypeDefIndex: 7900 { // Fields public int value__; // 0x0 public const KamereonShaderControl.PlayType Default = 0; public const KamereonShaderControl.PlayType AlphaLoop = 1; public const KamereonShaderControl.PlayType Alpha = 2; public const KamereonShaderControl.Play...
namespace Pliant.Tree { public interface ITreeNode { TreeNodeType NodeType { get; } int Origin { get; } int Location { get; } void Accept(ITreeNodeVisitor visitor); } }
//----------------------------------------------------------------------- // <copyright file="ConsoleMethods.cs" company="TelerikAcademy"> // All rights reserved © Telerik Academy 2012-2013 // </copyright> //---------------------------------------------------------------------- namespace Utilities { using Syst...
namespace Societatis.Api.Data { using System.Collections.Generic; using Societatis.Api.Models; public interface IGroupRepository { Group GetGroup(long id); IEnumerable<Group> GetGroups(long userId); void AddGroup(Group group); void AddGroup(Group group, long parentId); ...
using OrbintSoft.Yauaa.Analyzer; namespace OrbintSoft.Yauaa.WebSample.AspNetCore.Utilities { public static class YauaaSingleton { private static UserAgentAnalyzer.UserAgentAnalyzerBuilder Builder { get; } private static UserAgentAnalyzer analyzer = null; public static UserAgentAnalyz...
namespace Records { public class WithExpression { public void Method() { Book one = new() { Title = "Fahrenheit 451", Author = "Ray Bradbury" }; Book two = one with { Title = "Fahrenheit 452" }; } } ...
namespace LoChip8 { public interface IDisplay { void Clear(); /// <summary> /// Draws sprite at specified position. /// Returns True if any set pixels are changed to unset (using XOR), and False otherwise /// </summary> /// <param name="sprite"></param> /...
using BinarySerialization; namespace ublox.Core.Messages { public class CfgMsgPoll : PacketPayload { [FieldEndianness(Endianness.Big)] public MessageId MessageId { get; set; } } }
namespace Activout.RestClient.Test.DomainExceptionTests { public enum MyDomainErrorEnum { Unknown = 0, AccessDenied, Forbidden, DomainFoo, DomainBar, ServerError, ClientError } }
namespace PostSharp.Engineering.BuildTools.Dependencies.Model; public record CiLatestBuildOfBranch( string Name ) : ICiBuildSpec;
namespace CommunityToolkit.Maui.Sample.Pages.Converters { public partial class StringToListConverterPage : BasePage { public StringToListConverterPage() { InitializeComponent(); } } }
using System.Collections.Generic; using System.Linq; using UnityEngine; namespace Dersei.Doto.Extensions { public static class RandomExtensions { public static T RandomItem<T>(this List<T> @this) { var index = Random.Range(0, @this.Count); return @this[index]; }...
using UnityEngine; using System.Collections; using System.Collections.Generic; public class AudioManager : MonoBehaviour { public static AudioManager Instance; [System.Serializable] public class SoundClass{ public string soundName; public AudioClip soundClip; [HideInInspector] public float lastPlayed = -...
namespace SqlStreamStore { using System.Diagnostics; using System.Threading.Tasks; using SqlStreamStore.Streams; using Xunit; public partial class StreamStoreAcceptanceTests { [Fact] public async Task Time_to_take_to_read_1000_read_head_positions() { using (...
using System.Runtime.Serialization; using MyAnimeList.ResponseObjects.General; namespace MyAnimeList.ResponseObjects.Anime; [DataContract] public class AnimeListNode : Node { public AnimeListNode(int id, string title, Picture mainPicture) : base(id, title, mainPicture) { } [DataMember] ...
using System.Collections.Generic; using System.Threading.Tasks; namespace Data.Users { public interface IUserRepository { Task<IEnumerable<User>> GetAsync(); Task<User> GetByIdAsync(int userId); } }
using GraphLab.Core.Algorithms.Utils; using System.Collections.Generic; using System.Linq; namespace GraphLab.Core.Algorithms.Search { /// <summary> /// Поиск в ширину /// </summary> /// <typeparam name="TVertex"></typeparam> /// <typeparam name="TEdge"></typeparam> public class BFS<TVertex, T...
using System; namespace Domain.Events { public class ShoppingCartCheckedOut { public Guid CartId { get; } public ShoppingCartCheckedOut(Guid cartId) { CartId = cartId; } } }
/// <summary> /// Interface for damagable object /// </summary> public interface IDamagable { /// <summary> /// Take the damage /// </summary> /// <param name="damage">Point of damage</param> void TakeDamage(float damage); }
using System.Collections; using System.Collections.Generic; using CGLA; namespace VLT { [System.Serializable] public class QuadNodeGenerator : System.IDisposable { class Request { QuadNode m_parent; bool m_static; /*QuadId*/int m_child_id; int m_child_no; public Request(QuadNode parent, bool is...
using ADHDmail.Config; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; namespace ADHDmail.API { /// <summary> /// The abstract, base class that represents a query used to retrieve messages from an email API. /// </summary> public abstract class Query { /// <summary...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using dreamscape; using LiteNetLib; using LiteNetLib.Utils; namespace dreamhost.lua { public class Client : NetObject { public NetPeer peer; public int Ping { get ...
#region "Imports" using System; using PayPal.Payments.Common.Utility; using PayPal.Payments.Common.Exceptions; #endregion namespace PayPal.Payments.DataObjects { /// <summary> /// Used for Magtek related information. /// </summary> /// <remarks>Use the MagtekInfo object for the Magtek /// encryp...