content
stringlengths
23
1.05M
using System; #if ALTCOINS namespace BTCPayServer.Services.Altcoins.Stripe.UI { public class StripePaymentViewModel { public string Crypto { get; set; } public string Amount { get; set; } public string TransactionId { get; set; } public DateTimeOffset ReceivedTime { get; set; } ...
namespace ReadyPlayerMe { public enum ColorMode { SystemSetting = 0, DarkModeOff = 1, DarkModeOn = 2 } public enum WebkitContentMode { Recommended = 0, Mobile = 1, Desktop = 2 } public class WebViewOptions { public bool Transparen...
using CruiseManager.Core.App; using System; using System.Windows.Forms; namespace CruiseManager.WinForms { public partial class SettingsView : UserControl { public SettingsView() { InitializeComponent(); } private void _BTN_browseDefaultCruiseFolder_Click(object se...
using System.Collections.Generic; using UnityEngine; [RequireComponent(typeof(Rigidbody2D))] public class PlayerController : MonoBehaviour { private RythmCheck check; public GameObject blastPrefab; public Collider2D ground; public SoundMaster sm; private Rigidbody2D thisRigid; public HealthBarCont...
using System; using System.ComponentModel; namespace Gibbed.MassEffect2.FileFormats.Save { [TypeConverter(typeof(ExpandableObjectConverter))] public partial class Loadout : IUnrealSerializable { [UnrealFieldOffset(0x00)] [UnrealFieldDisplayName("Unknown #1")] public string Unknown0...
using System; using System.Collections.Generic; using UPT.BOT.Aplicacion.DTOs.BOT; namespace UPT.BOT.Distribucion.Bot.Acceso.Encuesta { [Serializable] public class EncuestaProxy : BaseProxy { public EncuestaProxy(string rutaApi) : base(rutaApi) { } public List<EncuestaDto...
using System; using System.Collections.Generic; using System.Linq; using JetBrains.Annotations; using Linq.Extras.Internal; namespace Linq.Extras { partial class XEnumerable { /// <summary> /// Returns a sequence with distinct elements from the input sequence based on the specified key and key...
namespace HttpServer { partial class ServerManager { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// ...
using Elsa.Models; using Elsa.Persistence.YesSql.Documents; using Elsa.Persistence.YesSql.Indexes; using YesSql; namespace Elsa.Persistence.YesSql { public static class WorkflowDefinitionDocumentExtensions { public static bool WithVersion(this WorkflowDefinitionDocument workflowDefinition, VersionOpti...
using System; namespace IsPrime { class Program { static void Main(string[] args) { double n; System.Console.WriteLine("Type a number:"); n = Double.Parse(System.Console.ReadLine()); System.Console.WriteLine(checkIsPrime(n) ? "Prime" : "Not Prime"); } internal static boo...
using System.Collections.Generic; using System.IO; using WireMock.Handlers; namespace WireMock.Net.ConsoleApplication { internal class CustomFileSystemFileHandler : IFileSystemHandler { private static readonly string AdminMappingsFolder = Path.Combine("__admin", "mappings"); /// <inheritdoc c...
using System.Threading; namespace Knapcode.ExplorePackages { public class UrlReporterProvider { private readonly AsyncLocal<IUrlReporter> _currentUrlReporter; public UrlReporterProvider() { _currentUrlReporter = new AsyncLocal<IUrlReporter>(); } public voi...
using System.Collections.Generic; using System.Text.RegularExpressions; using System.Threading.Tasks; using SlackNet.Interaction; using ActionElement = SlackNet.Interaction.ActionElement; using Button = SlackNet.Interaction.Button; namespace SlackNet.EventsExample { public class LegacyCounter : IInteractiveMessag...
using System; using UnityEngine; namespace GibFrame { /// <summary> /// Define a wrapper for an object that can safely be null /// </summary> /// <typeparam name="T"> </typeparam> [Serializable] public class Optional<T> where T : class { [SerializeField] private T obj; p...
using System.Data.Common; using System.Data.SqlClient; using Data; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Presentation.Settings; using Presentation.Windows; namespace Presentation.Extensions { public static class ServiceCollectionExtensions { pu...
using System; using System.Collections.Generic; static class LogLine { public static Dictionary<string, string> ParseLogLine(string logLine) { string[] logLineComponents = logLine.Split(":"); return new Dictionary<string, string>() { { "level", logLineComponents[0].Trim('[',...
using WeixinSDK.Work.Common; using WeixinSDK.Work.Models.Message; namespace WeixinSDK.Work.Apis { /// <summary> /// 消息发送接口 /// </summary> public class MessageApi : ApiBase { /// <summary> /// 实例化消息发送接口 /// </summary> /// <param name="client"></param> public ...
using osuElements.Helpers; using osuElements.Storyboards; namespace osuElements.Beatmaps.Events { public class BreakEvent : EventBase { public BreakEvent(int time, int endTime) { Type = EventTypes.Break; StartTime = time; EndTime = endTime; } ...
using System; using System.Diagnostics.CodeAnalysis; namespace ToolKit.DirectoryServices.ServiceInterfaces { /// <summary> /// Specifies available ADSI query dialects. /// </summary> [SuppressMessage( "Microsoft.Naming", "CA1707:IdentifiersShouldNotContainUnderscores", Justifica...
namespace SequelNet.SchemaGenerator { public enum DalIndexIndexType { None, BTREE, HASH, RTREE } }
 using System; using JetBrains.Annotations; using Newtonsoft.Json; namespace Crowdin.Api.Screenshots { [PublicAPI] public class Screenshot { [JsonProperty("id")] public int Id { get; set; } [JsonProperty("userId")] public int UserId { get; set; } [...
using CleanMedApi.Data.DTOs.EnderecoDTOs; namespace CleanMedApi.Data.DTOs.UsuarioDTOs { public class UsuarioCreateDto { public string? NomeCompleto { get; set; } public DateOnly? DataNascimento { get; set; } public string? CpfCnpj { get; set; } public string Email { get; se...
using System; using System.Collections.Generic; using System.Linq.Expressions; namespace Baseline.Validate { public abstract partial class BaseValidator<TToValidate> { /// <summary> /// Gets and returns an immediate child validation result with the keys combined with the key defined by the ...
using System.Collections; using System.Collections.Generic; using UnityEngine; using Cinemachine; public class SpaceShipController : MonoBehaviour { #region variables [Header("Ship Camera")] public CinemachineVirtualCamera shipCamFollow; [Header("Initialize")] [Space(15)] public ShipInitialize shipIni...
using System; using System.Diagnostics; namespace DevZest.Windows.Docking { partial class DockItem { private sealed class ToggleAutoHideCommand : CommandBase { public static void Execute(DockItem dockItem, DockItemShowMethod showMethod) { DockControl doc...
namespace kmd.Core.Explorer.Contracts { public enum ExplorerItemsStates { Default, Filtered, Expanded } }
using Dapper; using MedicalSystem.Services.Consultation.Api.Options; using MedicalSystem.Services.Consultation.Api.ViewModels; using Microsoft.Data.SqlClient; using Microsoft.Extensions.Options; using System.Collections.Generic; namespace MedicalSystem.Services.Consultation.Api.Queries { public class DoctorQuerie...
namespace Pathfinder.Event { public abstract class PathfinderEvent { public bool IsCancelled { get; set; } public void CallEvent() { EventManager.CallEvent(this); } } }
using System; using System.Globalization; using System.Windows.Data; namespace DotNetProjects.WPF.Converters.Converters { public class NullableDecimalToPercentageConverter : IValueConverter { //E.g. DB 0.042367 --> UI "4.24 %" public object Convert(object value, Type targetType, object paramet...
namespace ClientsRpki { public interface IRipeRpkiLocation { public string Url { get; set; } } public class RipeRpkiTestLocation : IRipeRpkiLocation { public string Url { get; set; } = "https://localcert.ripe.net/api/rpki"; } public class RipeRpkiProductionLocation : IRipe...
using Gw2_Launchbuddy.ObjectManagers; using System; using System.Windows; using System.Windows.Controls; namespace Gw2_Launchbuddy { /// <summary> /// Interaction logic for GUI_ApplicationManager.xaml /// </summary> public partial class GUI_ApplicationManager : Window { [System.Runtime.Int...
using System.Collections.Generic; namespace SnakeBattleNet.Core.Prototypes { internal class ChipBasedMind : IMind { public ChipBasedMind(IEnumerable<MindChip> mindChips) { } public MoveDirection GetMoveDirection(VisibleArea visibleArea) { throw new System.No...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Central : MonoBehaviour { public GameObject play_button, practice_button; public GameObject GM; public int cur_scene; private GameObject bonus_obj; public List<GameObject> bonus = new List<GameObject>(); ...
// This is an open source non-commercial project. Dear PVS-Studio, please check it. // PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com // ReSharper disable CheckNamespace // ReSharper disable CommentTypo // ReSharper disable InconsistentNaming // ReSharper disable MemberCanBePrivate.Global //...
using System; using RESTfull; namespace RESTClient.Responses { namespace Responses { [Serializable] public class TokenResponse : BaseRequestResponse { public string token; } } }
using System; using System.Collections.Generic; using System.Linq; namespace StansAssets.Foundation.Extensions { /// <summary> /// CSharp List extension methods. /// </summary> public static class ListExtensions { /// <summary> /// Resizes the list. In case of increase list size - ...
using System.Threading.Tasks; using MassTransit; namespace EntityDemo { public class UpdateEntityMetadataConsumer : IConsumer<UpdateEntityMetadata> { private readonly IEntityManager _entityManager; public UpdateEntityMetadataConsumer(IEntityManager entityManager) { ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Android.App; using Android.Content; using Android.Database; using Android.OS; using Android.Runtime; using Android.Views; using Android.Widget; using Uri = Android.Net.Uri; namespace MonoIO { class NotifyingAsyncQueryHandler...
using Microsoft.IdentityModel.Tokens; using System; namespace NetDevPack.Security.JwtExtensions { public sealed class JwkList { public JwkList(JsonWebKeySet jwkTaskResult) { Jwks = jwkTaskResult; When = DateTime.Now; } public DateTime When { get; set; }...
namespace NotatnikMechanika.Shared { public static class CrudPaths { public const string ByIdPath = "{id}"; public const string AllPath = "all"; public const string CreatePath = ""; public const string UpdatePath = "{id}"; public const string DeletePath = "{id}"; ...
// ------------------------------------------------------------------------------ // <auto-generated> // This file was generated by Extensibility Tools v1.10.211 // </auto-generated> // ------------------------------------------------------------------------------ namespace FileIcons { static class Vsix { publi...
using Godot; using System; public class Camera : Spatial{ Vector2 velocity = new Vector2(); [Export] public float Speed = 0.1f; private Godot.Camera camera; public override void _Ready() { camera = GetNode("Camera")as Godot.Camera; } public override void _PhysicsProcess(float delt...
// *** 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 Avalonia.Controls; using Avalonia.Interactivity; using Avalonia.Markup.Xaml; using Avalonia.Media.Imaging; using Timotheus.Utility; namespace Timotheus.Views { public partial class Settings : Dialog { private string _associationName = string.Empty; public string AssociationName { ...
namespace GameOfTournaments.Web.Cache.ApplicationUsers { using System.Collections.Generic; using GameOfTournaments.Data.Models; using GameOfTournaments.Shared; public class ApplicationUserCacheModel { public int Id { get; set; } public List<PermissionModel> Permissions { get; set;...
namespace OstoslistaData { public class ShopperFriendRequestEntity : BaseShopperFriendEntity { } }
using System; using System.Collections.Generic; using System.Linq; using System.Web; /// <summary> /// ManagerBase 的摘要说明 /// </summary> public abstract class ManagerBase<T> where T : class, new() { public abstract List<T> GetServerList(); /// <summary> /// 获得该表格的所有数据 /// </summary> /// <returns><...
using System; namespace iGeospatial.Geometries.IO { /// <summary> /// Summary description for GeometryGml3Reader. /// </summary> public class GeometryGml3Reader : MarshalByRefObject { public GeometryGml3Reader() { } } }
using System; using System.Xml; using System.IO; namespace DigitalPlatform.Xml { /* <?xml version='1.0' encoding='utf-8' ?> <stringtable> <s id="1"> <v lang="zh-CN">中文</v> <v lang="en">Chinese</v> </s> <s id="中文id"> <v lang="en">Chinese value</v...
namespace Nest { public interface IChangePasswordResponse : IResponse { } public class ChangePasswordResponse : ResponseBase, IChangePasswordResponse { } }
using System; using HL7Models; using CollectorFormatterSample.Collector; using CollectorFormatterSample.Formatter; using CollectorFormatterSample.Translator; namespace CollectorFormatterSample { public class Program { static void Main(string[] args) { // Collect or Gather Data ...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Reflection; using System.Text; using System.Threading.Tasks; namespace FlightORM.CommonTests { public static class Helpers { public static Stream GetInputFile(string filename) { Assembly thisAssembly = Assembly.G...
namespace ClassLibraryTvShows { public class Rating { public double? average { get; set; } } }
using System.IO; using Wave.Common; using Wave.Platform.Messaging; using Wave.Services; namespace Wave.Platform { public class MapPluginBlockDefinition : BlockDefinition, ICacheable { public bool IsZoomEnabled { get; private set; } public bool IsScrollEnabled { get; private set; } ...
using NUnit.Framework; using System.IO; using System; using System.Collections.Generic; using System.Text.Json; using System.Linq; using ExplainPowershell.SyntaxAnalyzer; using explainpowershell.models; namespace ExplainPowershell.SyntaxAnalyzer.Tests { public class GetParameterSetDataTests { private H...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using DotVVM.Framework.Compilation.ControlTree; using DotVVM.Framework.Controls; using DotVVM.Framework.ViewModel; using Newtonsoft.Json; namespace DotVVM.Samples.BasicSamples.ViewModels.ControlSamples.G...
namespace GildedRoseInn.Items { public sealed class SulfurasItem : AbstractItem { #region Public Constructor public SulfurasItem() : base("Sulfuras, Hand of Ragnaros", 0, 80, isSpeical: true) { } #endregion /*- "Sulfuras", being a legendary item, never has to ...
@using QuickStartTemplate @using Karambolo.AspNetCore.Bundling.ViewHelpers @namespace QuickStartTemplate.Pages @addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers @addTagHelper *, Karambolo.AspNetCore.Bundling
using System; #nullable enable namespace EventStore.Client { /// <summary> /// Exception thrown when an append exceeds the maximum size set by the server. /// </summary> public class MaximumAppendSizeExceededException : Exception { /// <summary> /// The configured maximum append size. /// </summary> public...
using System; namespace QuickNetChat.View.SplashScreen.Exceptions { public class SplashScreenProgressException : Exception { public SplashScreenProgressException(string message) : base(CustomExceptionMessage(message)) { } private static string CustomExceptionMessage(string mes...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.XR.ARFoundation; using System.Runtime.InteropServices; using System.Threading; using System; public class SSPStreamingThread : MonoBehaviour { [DllImport("__Internal")] public static extern int ssp_server( ...
using System; using System.Drawing; using System.Linq; using System.Runtime.InteropServices; using System.Security; using System.Threading; using System.Windows.Forms; using Uno.Diagnostics; using Uno.Platform.Internal; using Uno.AppLoader.WinForms; namespace Uno.AppLoader { public partial class MainForm : Form, ...
using System; using System.ComponentModel; using System.Resources; namespace ClaudiaIDE.Localized { internal class LocalManager { internal static ResourceManager _rm = null; private static ResourceManager GetInstance() { if (_rm == null) { _rm =...
using CodingArena.AI; using CodingArena.Annotations; using CodingArena.Common; using CodingArena.Main.Battlefields.Bots; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using System.Windows; namespace CodingArena.Main.Battlefields.Bullets { public class Bullet : Mo...
namespace KafkaFlow.Serializer { using System; using KafkaFlow.Dependency; /// <summary> /// The default implementation of <see cref="IMessageTypeResolver"/> /// </summary> public class DefaultMessageTypeResolver : IMessageTypeResolver { private const string MessageType = "Message-T...
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the MIT license. See License.txt in the project root for license information. using System.Threading.Tasks; using Microsoft.CodeAnalysis.Testing; using VerifyCS = Test.Utilities.CSharpSecurityCodeFixVerifier< Microsoft.NetFramework.Analyzers.DoNot...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace DeadManSwitch.Data { /// <summary> /// Repository for simple reference data information /// that had an Id and a description. /// </summary> /// <remarks> /// This brea...
// Copyright (c) 2019 SceneGate // 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, distr...
using Newtonsoft.Json; using Newtonsoft.Json.Linq; using OCM.API.Common.Model; using OCM.API.Common.Model.Extended; using OCM.Core.Settings; using System; using System.Collections.Generic; using System.Configuration; using System.Linq; using System.Net; using System.Text; namespace OCM.API.Common { [Serializable]...
using MasterDevs.ChromeDevTools; using Newtonsoft.Json; using System.Collections.Generic; namespace MasterDevs.ChromeDevTools.Protocol.Chrome.Profiler { /// <summary> /// Coverage data for a source range. /// </summary> [SupportedBy("Chrome")] public class CoverageRange { /// <summary> /// Gets or sets JavaS...
//--------------------------------------------------------------------- // <copyright file="DbExpressionVisitor.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> // // @owner Microsoft // @backupOwner Microsoft //------------------------------------------------...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class AbandonedAudioTrigger : MonoBehaviour { public AudioSource AbandonedAudioSource = null; //dont destroy info GameObject PositionPlayer; public DontDestroy dontdestroyinfo; //audio van puzzle memory kan nog ...
using System; using System.Collections.Concurrent; namespace com.bitscopic.hilleman.core.domain.hl7 { public class MemoryHL7MessageRouter : IHL7MessageRouter { ConcurrentQueue<HL7Message> _messageQueue; public MemoryHL7MessageRouter() { _messageQueue = new ConcurrentQueue<...
// // SimpleLUI Source // // Copyright (c) 2019 ADAM MAJCHEREK ALL RIGHTS RESERVED // using SimpleLUI.API.Util; using System; using UnityEngine; using Object = UnityEngine.Object; namespace SimpleLUI.API.Core.Components { public sealed class SLUICanvasGroup : SLUIComponent { public float alpha ...
using PerchikSharp.Events; using Telegram.Bot.Types.Enums; namespace PerchikSharp.Commands { class StartCommand : INativeCommand { public string Command => "start"; public async void OnExecution(object sender, CommandEventArgs command) { var bot = sender as Pieprz; ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace WindowsServiceTaskDemo.Codes { public class ConfigurationConstant { /// <summary> /// 日志记录名 /// </summary> public static string WIN_SERVICE_LOG_NAME = "...
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System.Collections.Generic; using System.Threading.Tasks; using Xunit; namespace System.Diagnostics.ProcessTests { public class ProcessTestBase : IDisposabl...
using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using TPS.ConsoleApp; namespace TPS.Test { [TestClass] public class TryParseAsTests { [TestMethod] public void NullValue() { String value = null; Object parsed = null; var isParsed...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Xml.Serialization; namespace wuffSonic.Models { [XmlRoot(ElementName = "subsonic-response", Namespace = "http://subsonic.org/restapi")] public class GetNewestPodcastsResponse { ...
using System; using System.Security.Principal; using WebSocketCore.Net.WebSockets; namespace WebSocketCore.Net { /// <summary> /// Provides the access to the HTTP request and response objects used by /// the <see cref="HttpListener"/>. /// </summary> /// <remarks> /// This class cannot be inher...
using System; using System.IO; using System.Linq; namespace Essentions.IO { internal static class DirectoryDeleter { /// <exception cref="IOException">The directory <paramref name="path.FullPath"/> does not exist. -or- /// Cannot delete directory <paramref name="path.FullPath"/> without recur...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using UnityEngine; using WeaverCore.Enums; using WeaverCore.Implementations; namespace WeaverCore.Utilities { /// <summary> /// Used for getting assets/resources from the WeaverCore Bundle /// </summary>...
/*********************************************************************** * Project: CoreCms * ProjectName: 核心内容管理系统 * Web: https://www.corecms.net * Author: 大灰灰 * ...
using UnityEngine; using System.Collections; public class FaceToObject : MonoBehaviour { public Transform objectToFollow = null; public bool followPlayer = false; private Transform theTransform = null; void Awake() { theTransform = GetComponent<Transform> (); if (!followPlayer) return; GameObject th...
using Filmstudion.Data.Entities; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace Filmstudion.Data { public interface IRentedFilmRepository { IEnumerable<RentedFilm> AllRentedFilms { get; } Task<IEnumerable<RentedFilm>> GetAllRentedFilm...
@* For more information on enabling MVC for empty projects, visit https://go.microsoft.com/fwlink/?LinkID=397860 *@ @{ } @ViewBag.Data <h2>raw info:</h2> @Html.Raw(ViewBag.Data)
<!DOCTYPE html> <html> <head> <link rel='stylesheet' href='https://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css'> <link rel="stylesheet" href="/css/styles.css"> <title>Contact List</title> </head> <body> <div class="container"> <div class="jumbotron"> <h1><strong> Addre...
#region Copyright (C) 2005-2020 Team MediaPortal // Copyright (C) 2005-2020 Team MediaPortal // http://www.team-mediaportal.com // // MediaPortal 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 ver...
using System; using System.Collections.Generic; using System.ComponentModel; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Text; namespace ManagementSystem.Models { public class Employee { [Key] public int Id { get; se...
@using Microsoft.AspNetCore.Identity @using eComplaints @using eComplaints.Models @using eComplaints.Models.AccountViewModels @using eComplaints.Models.ManageViewModels @using NonFactors.Mvc.Grid; @addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
namespace Kudu.Core.Deployment { internal class CascadeLogger : ILogger { private readonly ILogger _primary; private readonly ILogger _secondary; public CascadeLogger(ILogger primary, ILogger secondary) { _primary = primary; _secondary = secondary; ...
namespace IdSharp.Tagging.ID3v2.Frames { /// <summary> /// <para>Linked information</para> /// /// <para>From the ID3v2 specification:</para> /// /// <para>To keep space waste as low as possible this frame may be used to link /// information from another ID3v2 tag that might reside i...
using System.Linq; using BenchmarkDotNet.Attributes; namespace BODi.Performance.Tests.Benchmarks { public class ResolveAllFromType : SingleContainerBenchmarkBase { [Benchmark(Baseline = true, Description = "v1.4")] public object Version_1_4() { // v1.4 returned a ...
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; namespace AlgoraArt.WebApp.Models { public class RequestFunds { [Key] public int Id { get; set; } [Required] public string FundTitle { get; set; } [Required] public stri...
using UnityEngine.InputSystem; /// <summary> /// How you access Unity's Input System. You don't want to touch Input Master, /// that's a class generated by Unity and if you go messing with it things might break. /// This class gives you control over how to interact with the input system. /// </summary> public class In...
using System; using System.Threading.Tasks; using Advertise.ServiceLayer.Contracts; using Microsoft.AspNet.Identity; namespace Advertise.ServiceLayer.EFServices { public class SmsService : IIdentityMessageService,ISmsService { public void Create() { throw new NotImplementedExceptio...
namespace PocketGauger.Dtos { public enum RiverState { Rising = 0, Falling, Steady, Peak, Trough, Comments1 } }
using System.Collections.Generic; using NGraphQL.Core.Scalars; using NGraphQL.Server.Parsing; namespace NGraphQL.Model.Request { // equiv of Value in Gql spec public abstract class ValueSource : RequestObjectBase { public virtual bool IsConstNull() => false; } public class VariableValueSource : ValueSou...
using Ocelot.Configuration.Authentication; using Shouldly; using TestStack.BDDfy; using Xunit; namespace Ocelot.UnitTests.Configuration { public class HashMatcherTests { private string _password; private string _hash; private string _salt; private bool _result; private H...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class ShipChunkContainer : ChunkContainer { void Start() { InitializeNewShip(); } public void InitializeNewShip() { Chunk initialChunk = CreateChunk(new ChunkCoordinate(0, 0, 0)); if (ini...