content
stringlengths
23
1.05M
// CS0723: `C<T>.t': cannot declare variables of static types // Line: 10 static class S<T> { } public class C<T> { S<T> t; }
// -------------------------------------------------------------------------------------------- // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT license. // -------------------------------------------------------------------------------------------- using System.Collections....
using System; using System.Net; using System.Text; using com.esendex.sdk.http; using com.esendex.sdk.rest; using NUnit.Framework; using Moq; namespace com.esendex.sdk.test.rest { [TestFixture] public class RestClientTests { internal class GetRestResourceContext : RestResource { ...
using System; using System.Collections.Concurrent; using System.ServiceModel; using System.Threading.Tasks; namespace WcfLib.Client { public interface IWcfChannelPool { Task<IClientChannel> GetChannel(); void ReleaseChannel(IClientChannel channel); } public class WcfChannelPool<TServ...
using System.Collections.Generic; using KSerialization; using STRINGS; [SerializationConfig(MemberSerialization.OptIn)] public class ResearchDestination : ClusterGridEntity { public override string Name => UI.SPACEDESTINATIONS.RESEARCHDESTINATION.NAME; public override EntityLayer Layer => EntityLayer.POI; public ...
using System.ComponentModel; namespace NotesPad { public interface IEditorController: IController { void Show(); void SpellCheck(); void Save(); void OpenFile(string path, string fileName); void SelectAllText(); void Cut(); void Copy(); void Past...
using System.Threading.Tasks; using Orleans; using Vertex.Abstractions.Actor; using Vertex.Abstractions.Snapshot; using Vertex.Transaction.Options; using Vertex.TxRuntime.Test.Snapshot; namespace Vertex.TxRuntime.Test.Biz.IActors { public interface IInnerTxAccount : IVertexActor, IGrainWithIntegerKey { ...
// Copyright 2018 Grigoryan Artem // Licensed under the Apache License, Version 2.0 using Sockets.Chat.Model.Data; using Sockets.Chat.Model.Data.Messages; using System.Linq; namespace Sockets.Chat.Client.GUI.Models { public class ProxyChatMessage : ChatMessage { public ProxyChatMessage(ChatMessage me...
using System.ComponentModel.DataAnnotations; namespace NetCoreBootstrap.Models.VOs { public class UserVO { public string UserName { get; set; } public string Email { get; set; } public string FirstName { get; set; } public string LastName { get; set; } public string Toke...
#if UNITY_IOS && !UNITY_EDITOR using System.Runtime.InteropServices; #endif // SwiftをObjective-CでexternしたのをUnityで使えるようにImportするよ namespace SpeechAPI { public static class SpeechRecognizer { #if UNITY_IOS && !UNITY_EDITOR [DllImport("__Internal")] private static extern void _sr_requestRecognizerAuth...
using UnityEngine; using UnityEngine.UI; using System.Collections; using System.Collections.Generic; using System; using System.IO; using System.Linq; public class ScrollView : MonoBehaviour { VideoManager sharedVideoManager; ReviewVideo reviewManager; GameObject practice; GameObject wordListExplanation; G...
using System; using System.Collections.Generic; using System.Text; namespace WebRTCme { public class PointsOfInterest { public PixelCoordinates Single { get; set; } public PixelCoordinates[] Array { get; set; } } }
using Microsoft.AspNetCore.Authorization; namespace DIGNDB.App.SmitteStop.API.HealthCheckAuthorization { /// <summary> /// Authorization requirement for health check endpoints /// </summary> public class HealthCheckAuthorizationRequirement : IAuthorizationRequirement { } }
namespace Surging.Hero.Auth.IApplication.Permission.Dtos { public class CreateOperationInput : OperationDtoBase { public long PermissionId { get; set; } public long[] ActionIds { get; set; } } }
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using EasyRpc.AspNetCore; using EasyRpc.AspNetCore.Attributes; namespace EasyRpc.TestApp.Filter { public class ExecuteFilter : ICallExecuteFilter, ICallExceptionFilter { /// <summary> /// Called be...
using Networking.Enums; namespace Networking.Messages.Inbound; public sealed record GenericMessage : IMessage { public PacketType PacketType { get; init; } }
using System.Data.Entity; using Microsoft.AspNet.Identity.EntityFramework; namespace TestWebEngine.Data.Contexts.Authorization { public class EfAuthorizationContext : IdentityDbContext<User> { public EfAuthorizationContext(string connectionStringOrName = "defaultConnection") : base(connect...
// // Copyright (c) TrueTalk LLC. All rights reserved. // namespace TrueTalk.Compiler { using System; using System.Collections.Generic; using System.IO; using TrueTalk.Analysis; using TrueTalk.Common; using TrueTalk.CompilerDiagnostics; using TrueTalk.Speech.Grammar; ...
#nullable enable using System; using System.Linq; using Core2D.Model; using Core2D.ViewModels.Containers; namespace Core2D.ViewModels.Editor.Factories; public class ContainerFactory : IContainerFactory { private readonly IServiceProvider? _serviceProvider; public ContainerFactory(IServiceProvider? servicePr...
using Newtonsoft.Json; using System; namespace Reddit.Things { [Serializable] public class Flair { [JsonProperty("text")] public string Text; [JsonProperty("text_editable")] public bool TextEditable; [JsonProperty("id")] public string Id; [JsonPro...
Action<string,string> ps = (cmd, args) => { StartProcess(cmd, new ProcessSettings { Arguments = args }); }; Task("Build").Does(() => { ps("cabal", "build"); }); Task("Run").Does(() => { ps("h-run", "src/Test.hs"); }); var target = Argument("target", "default"); RunTarget(target);
using Department.Base.Model.Common; namespace Department.Base.Model.Quote { public partial class QuoteRequestTotals { public QuoteRequestTotals() { } public QuoteRequestTotals(Currency currency) { OriginalSubTotalExlTax = new Money(currency); Sub...
using System; using ExcelDataReader.Log.Logger; namespace ExcelDataReader.Log { /// <summary> /// logger type initialization /// </summary> public static class Log { private static readonly object LockObject = new object(); private static Type logType = typeof(NullLogFactory); ...
using System; using System.Collections.Generic; using System.Text; namespace PetminderApp.Api.Api_Models { public class AuthenticateReturnModel { public string ApiKey { get; set; } public Guid AccountId { get; set; } } }
using MagazineStoreChallenge.Interfaces; namespace MagazineStoreChallenge.Models { public class ApiToken : IApiToken { /// <inheritdoc /> public bool Success { get; set; } /// <inheritdoc /> public string Token { get; set; } } }
using DragonSpark.Model.Commands; using Microsoft.AspNetCore.Authentication.OAuth.Claims; namespace DragonSpark.Application.Security.Identity.Claims.Actions; public sealed class EmptyClaimAction : Command<ClaimActionCollection>, IClaimAction { public static EmptyClaimAction Default { get; } = new(); EmptyClaimAct...
using SerialSample.DBLayer; namespace THTController.DBLayer { /// <summary> /// این کلاس نوع تشکیل دهنده صف اصلی برنامه در داشبورد می باشد /// یعنی در داشبورد صفی داریم شامل یک سری آبجکت از نوع شات /// حالا این آبجکت شات ممکنه توش درخواست زماندارش پر باشه یا لوکال فایر باشه یا از جنس فایر سایت /// ...
namespace FubuValidation.Tests.Models { public class AddressModel { [Required] public string Address1 { get; set; } public string Address2 { get; set; } [Required] public string City { get; set; } [Required] public string StateOrProvince { get; set; } ...
using Microsoft.VisualStudio.TestTools.UnitTesting; using System; using telledge.Models; namespace UnitTest.Rooms { [TestClass] public class RoomgetValuation { [TestMethod] public void getValuation() { Room room = new Room(); room.id = 1; ...
using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata.Builders; using System; using TrippingPortal.Core.Entities; namespace TrippingPortal.Data.Configurations { public class EventELConfiguration : IEntityTypeConfiguration<EventEL> { public void Configure(EntityTypeBuilder<E...
// Copyright 2005-2010 Gallio Project - http://www.gallio.org/ // Portions Copyright 2000-2004 Jonathan de Halleux // // 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.a...
// Licensed to Elasticsearch B.V under one or more agreements. // Elasticsearch B.V licenses this file to you under the Apache 2.0 License. // See the LICENSE file in the project root for more information using Elastic.Elasticsearch.Ephemeral; namespace Elastic.Elasticsearch.Xunit { /// <summary> /// Base class...
namespace WalletWasabi.Tests.UnitTests.EventSourcing.Dummy.Messages { public record CatMessage : MamalMessage { } }
namespace Communications.Business.Services.Abstractions { using System.Threading.Tasks; using Models; public interface ICommunicationService { Task<SendResult> Send(Message message); } }
using System; using System.Collections; namespace Edument.CQRS { public interface IEventStore { IEnumerable LoadEventsFor<TAggregate>(Guid id); void SaveEventsFor<TAggregate>(Guid? id, int eventsLoaded, ArrayList newEvents); } }
using System; using System.Collections.Generic; using System.ComponentModel; using System.ComponentModel.Design; using System.Drawing; using System.Data; using System.Linq; using System.Text; using System.Windows.Forms; namespace Shellscape.UI.Controls.Preferences { [DesignTimeVisible(false), Browsable(false)] [De...
namespace Apocalypse.Any.Domain.Common.Model.RPG { public interface ICharacterSheet { int Attack { get; set; } int Defense { get; set; } int Health { get; set; } int Strength { get; set; } int Technology { get; set; } int Charisma { get; set; } int Speed...
using System; using System.Threading; using Progressive.PecaStarter5.Models.YellowPages; namespace Progressive.PecaStarter5.Models.Broadcasts { class BroadcastTimer { private Timer timer; // スレッドタイマが最も軽量 private long count; public event Action<long, IYellowPages, string> Ticked; ...
using System.Threading; namespace ConsoleObjects.Sample { class Program { static void Main(string[] args) { var console = new ConsoleObject(125, 30, "Sample Console"); var section1 = new Section(console, Size.FromRatio(1), Layout.Horizontal); new Section(se...
// /******************************************************************************* // * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. // * Licensed under the Apache License, Version 2.0 (the "License"). You may not use // * this file except in compliance with the License. A copy of the Lice...
using Polyjuice.Extension; using static Polyjuice.Potions.Data.DataReader; namespace Polyjuice.Potions { /// <summary> /// Technology that shows the place where you are when using the internet or a mobile phone /// </summary> public static class Geolocation { public static double Latitude...
// // HexBokeh - A Fast DOF Shader With Hexagonal Apertures // // Copyright (C) 2014 Keijiro Takahashi // // 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 wit...
using BTD.Ecommerce.Core.Model; using BTD.Ecommerce.UI.WEB.Controllers; using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; namespace BTD.Ecommerce.UI.WEB.Controllers { public class CategoryController : BTDControllerBase { // GET: Cate...
using UnityEngine; using System.Collections; public class TrafficLight : MonoBehaviour { public GameObject[] trafficLights; public bool startWithRed = true; public float redLightTime = 15f; public float yellowLightTime = 2f; public float greenLightTime = 10f; IEnumerator RedStart() { trafficLights[0].SetAct...
 [System.Serializable] public class RangedUint { public uint minValue; public uint maxValue; public RangedUint(uint min, uint max) { minValue = min; maxValue = max; } }
using System; using System.Collections.Generic; using Bakery.Models; namespace Bakery.Models { public class Orders { public int OrderCost { get; set; } public static List<Orders> OrdersList = new List<Orders>{}; private Bread breadOrder; private Pastery pasteryOrder; public Orders(Bread b,...
using System; namespace RailDataEngine.Domain.Interactor.FetchServiceScheduleInteractor { public class FetchServiceScheduleInteractorRequest { public DateTime? Date { get; set; } public string TrainUid { get; set; } } }
using System; using Microsoft.EntityFrameworkCore.Migrations; using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata; namespace Doublelives.Migrations.Migrations { public partial class init_pgsql2 : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migration...
using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using CAS.Lib.CodeProtect; using CAS.Lib.CodeProtect.LicenseDsc; using System.Collections.Generic; namespace CAS.CodeProtect.UnitTests { [TestClass] public class IsLicensedUnitTest { [TestMethod] [ExpectedException(typeof(Appl...
namespace Playground.Content.Stage.Logic.Events { public class ShipCollidedWithDeadlyCollisionInEvent { public int ShipInstanceId { get; } public ShipCollidedWithDeadlyCollisionInEvent( int shipInstanceId ) { ShipInstanceId = shipInstanceId; ...
@{ ViewData["Title"] = "ASP .NET MVC Docking Example"; } <label>ASP .NET Core MVC Docking Example</label><br/><br/> <jqx-docking theme="@ViewData["Theme"]"> <jqx-docking-panel> <jqx-docking-window> <jqx-docking-window-header>Title 1.1</jqx-docking-window-header> <jqx-docking-win...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace StatusReport { public class Milestone : IMilestone { public Milestone(int id, string title, DateTime targetDate, DateTime actualDate, string url) { _id = id...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Locust.Json { public class JsonArrayOfArray<T>: JsonArray<T> where T: JsonArray<T>, new() { protected override bool OnArrayItemDetected(JsonReader reader) { ...
using UnityEngine; [CreateAssetMenu(fileName = "AudioEmitterData", menuName = "Audio/EmitterData")] public class AudioEmitterData : ScriptableObject { [FMODUnity.EventRef] public string[] events; }
using System; using System.Threading.Tasks; using NStore.Core.Logging; using NStore.Core.Persistence; using NStore.Core.Snapshots; using NStore.Core.Streams; namespace NStore.Domain.Experimental { public class DomainRuntime { private readonly IPersistence _persistence; private readonly IAggreg...
using System; namespace R5T.T0117 { /// <summary> /// IFileGenerator, IFileOperator, and other file-related extension method bases. /// </summary> public static class Documentation { } }
using System; namespace Linq2CouchBaseLiteExpression.Tests.Domain { public class EntityObject { /// <summary> /// Unique indentifier /// </summary> public string Id { get; set; } /// <summary> /// Creation date of the object in the Viewer repository ///...
using System.Collections.Generic; using System.Linq; using Newtonsoft.Json; using Oxide.Core.Plugins; using UnityEngine; /* * This update 1.1.5 * Updated old methods * Added new oxide hook * * This update 1.2.0 * Added Clans, Rustio Clans, Friends and team support. * Added Plant death prevention option * Adde...
namespace Catalog.API.Entities { public class Getlastcomments { public string id { get; set; } public string postid { get; set; } public string address { get; set; } public int time { get; set; } public int timeUpd { get; set; } public int block { get; set; } ...
namespace Gecko.WebIDL { using System; internal class PopupBlockedEvent : WebIDLBase { public PopupBlockedEvent(nsIDOMWindow globalWindow, nsISupports thisObject) : base(globalWindow, thisObject) { } public nsIDOMWindow RequestingW...
namespace BlazorPerformance.Client.Conferences { public partial class Conferences { protected override void UpdateCollection(int id, int count) { Collection = Collection.Select(x => { if (x.Id == id) { x.VisitorsCount = ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Verse; using RimWorld; using Verse.AI; using ProjectRimFactory.Common; using UnityEngine; using ProjectRimFactory.SAL3; namespace ProjectRimFactory.Drones { public class Pawn_Drone : Pawn { public Building_Dr...
using System.Collections.Generic; using System.Threading.Tasks; using ljepotaservis.Data.Entities.Models; using ljepotaservis.Infrastructure.DataTransferObjects.StoreDtos; using ljepotaservis.Infrastructure.DataTransferObjects.UserDtos; namespace ljepotaservis.Domain.Repositories.Interfaces { public interface ISt...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.EventSystems; public class MemoPile : MonoBehaviour, IDropHandler, IBeginDragHandler, IDragHandler, IPointerClickHandler { [SerializeField] protected bool createNewMemos = true; [SerializeField] protected ...
using QUp.Framework.Base; using OpenQA.Selenium; using OpenQA.Selenium.Support.PageObjects; using QUp.Framework.Extensions; namespace TestProject.Pages { class LoginPage : BasePage { [FindsBy(How= How.Id, Using ="UserName")] IWebElement txtUserName { get; set; } [FindsBy(How = How.Id,...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Irony.CompilerServices { //Parser class represents combination of scanner and LALR parser (CoreParser) public class Parser { public readonly LanguageData Language; public readonly Scanner Scanner; public r...
using Newtonsoft.Json; namespace Birko.SuperFaktura.Response { public class Subscription { [JsonProperty(PropertyName = "create_trial", NullValueHandling = NullValueHandling.Ignore)] public bool CreateTrial { get; set; } } }
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Blog.Models; using Blog.Models.Repositories; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; namespace Blog.Controllers { [Authorize(Roles = Roles.Editor)]...
using Sitecore.Mvc.Helpers; namespace Feature.FormsExtensions.Views { public static class HtmlHelper { public static bool IsExperienceFormsEditMode(this SitecoreHelper helper) { return Sitecore.Context.Request.QueryString["sc_formmode"] != null; } } }
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Paint : MonoBehaviour { public static Paint Instance; public GameObject Board; public GameObject obj; public float FadeTime = 10; // Use this for initialization void Start () { Instance = this; } // Update is call...
namespace BowlingDiceGameCP.Data; [SingletonGame] public class SingleDiceInfo : IBasicDice<bool>, IDiceContainer<bool> { public static bool Beginning { get; set; } public int HeightWidth { get; } = 60; public bool Value { get; set; } public bool DidHit { get; set; } public bool Visible { get; set; ...
using System; using System.Diagnostics; using System.Linq; using System.Runtime.InteropServices; using System.Windows; using HidWizards.UCR.Core; using HidWizards.UCR.Core.Utilities; using HidWizards.UCR.Utilities; using HidWizards.UCR.Views; using Application = System.Windows.Application; namespace HidWizards.UCR { ...
namespace FsXmlMigrator.App.Cs { using System; using FsXmlMigrator.Domain.Cs.Repositories; using FsXmlMigrator.Lib.Fs; public class Program { static void Main(string[] args) { // Initialize databases var migrationHistoryRepository = new MigrationHistory...
using System; using System.IO; namespace WebAssembly{ /// <summary>A single-byte unsigned integer indicating the kind of definition being imported or defined.</summary> public enum ExternalKind:int{ Function=0, Table=1, Memory=2, Global=3 } }
namespace Slantar.Architecture { public class BasicLogFormatter : ILogFormatter { public string Format(LogLevel level, string message) => $"{level.ToString().ToUpper()}: {message}"; } }
using System; using System.Security.Claims; using System.Threading.Tasks; using Microsoft.AspNetCore.Authentication; using Microsoft.AspNetCore.Authentication.Cookies; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using Zxw.Framework.NetCore.Attributes; usin...
using System; namespace BuildFeed.Model { public class ItemHistory<T> { public ItemHistoryType Type { get; set; } public DateTime Time { get; set; } public string UserName { get; set; } public T Item { get; set; } } }
using System.Collections; using System.Collections.Generic; using UnityEngine; public class CCP : MonoBehaviour { public GameObject NewCCP; public float timer = 20; int killed = 0; private Rigidbody2D rb; // Start is called before the first frame update void Start() { rb = GetCom...
using System.ComponentModel.DataAnnotations; using JPProject.Sso.Application.ViewModels.UserViewModels; namespace Jp.UI.SSO.Models { public class RegisterViewModel:RegisterUserViewModel { [Required] [Display(Name = "Accept Agreement")] [Range(typeof(bool), "true", "true", ErrorMessage ...
namespace YaBlewItCP.Data; public enum EnumGameStatus { None, Beginning, ProspectorDraws, ProspectorStarts, ProspectorContinues, //this means everybody tried. this means cannot play jumper ResolveFire, MinerRolling, GamblingDecision, StartGambling, FinishGambling, Safe, ...
namespace Reductech.Sequence.Connectors.Nuix.Steps.Helpers; /// <summary> /// Expand a collection of items using one of the expansion methods /// available in <see cref="Enums.SearchType"/>, e.g. descendants, /// families, conversation threads. /// </summary> public class NuixExpandSearch : IRubyHelper { /// <inh...
using Content.Shared.GameObjects.Components.Singularity; using Robust.Shared.GameObjects; namespace Content.Client.GameObjects.Components.Singularity { [RegisterComponent] [ComponentReference(typeof(IClientSingularityInstance))] class ClientSingularityComponent : SharedSingularityComponent, IClientSingular...
// Jeebs Unit Tests // Copyright (c) bcg|design - licensed under https://mit.bcgdesign.com/2013 using Xunit; namespace Jeebs.ROk_Tests { public class OkFalse_Tests : IOk_Boolean { [Fact] public void Returns_IOk_Bool() { // Arrange var r = Result.Ok(); // Act var f = r.OkFalse(); // Assert ...
// Copyright (c) .NET Foundation and contributors. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using Microsoft.DotNet.Interactive.ExtensionLab; using Microsoft.DotNet.Interactive.Formatting.TabularData; namespace Microsoft.DotNet.Interac...
using System.Collections.Generic; using Test.It.ApplicationBuilders; using Test.It.Starters; using Test.It.While.Hosting.Your.Console.Application.Consoles; namespace Test.It.While.Hosting.Your.Console.Application { public abstract class BaseConsoleApplicationStarter<TConsoleClient> : IApplicationStarter<TConsoleC...
// Copyright (c) .NET Foundation and contributors. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System.Threading.Tasks; using Microsoft.AspNetCore.SignalR; using Microsoft.DotNet.Interactive.Server; namespace Microsoft.DotNet.Interac...
using System; namespace lab_47_delegates { class Program { public delegate void Delegate01(); public delegate void Delegate02(int x, int y); static void Main(string[] args) { var delegate01 = new Delegate01(Method01); delegate01 += Method02; ...
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace DotNetty.Buffers.Tests { using System; using System.Text; using DotNetty.Common; using Xunit; public class AdvancedLeakAwareByteBufferTe...
using System; using System.Collections.Generic; using System.Linq; using AppFullStackDemo.Domain.Entities; using AppFullStackDemo.Domain.Entities.Security; using AppFullStackDemo.Domain.Queries; using AppFullStackDemo.Domain.Repositories; using AppFullStackDemo.Domain.Results.User; using AppFullStackDemo.Domain.ValueOb...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ConsoleTranslater { public class BaseTranslater { public static decimal TEN { get { return 10; } } public static decimal ONE_HUNDRED { get { return (decimal)Math.Pow(10...
using Xunit; namespace Simple.OData.Client.Tests.Reflection; public class MemberAccessorTests { private class TestClass { public string instanceField; public static string staticField = "staticFieldValue"; public static string staticFieldToSet = "staticFieldToSetValue"; public string InstanceProprety { ge...
using System.Linq; using System.Threading.Tasks; using AutoMapper.QueryableExtensions; using FinanceControl.Services.Users.Infrastructure.Extensions; using Microsoft.EntityFrameworkCore; namespace FinanceControl.Services.Users.Infrastructure.Pagination { public static class Pagination { public static ...
using NUnit.Framework; using System.ComponentModel.DataAnnotations; using System.Linq; namespace WhenItsDone.Models.Tests.ClientTests { [TestFixture] public class ClientIdTests { [Test] public void Id_ShouldHave_KeyAttribute() { var obj = new Client(); var ...
/* * Copyright (c) 2011-2014, Longxiang He <helongxiang@smeshlink.com>, * SmeshLink Technology Co. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY. * * This file is part of the CoAP.NET, a CoAP framework in C#. * Please see README for more information. */ usin...
using System; using System.IO; using System.Collections.Concurrent; using System.Threading; namespace MFractor.Logging { public sealed class FileLoggerFactory : ILoggerFactory { public ILogger Create(string context) { return new FileLogger(context, null); } public ...
using System; using System.Collections; using System.Collections.Generic; using System.IO; using System.IO.Pipelines; using System.Linq; using System.Threading; using System.Threading.Tasks; // ReSharper disable once CheckNamespace namespace Kafka.Protocol { public partial struct NullableMap<TKey, TValue> : IEnum...
using Bulletin.Storage; using Bulletin.Storage.File; using Xunit; namespace Bulletin.Tests.Storage.File { public class FileStorageTest { private static string GetDefaultUrl(FileStorage storage, string location) { return storage.DefaultUrlGenerator( new UrlGeneration...
using System; using System.Collections.Generic; using System.Text; namespace ServerlessTurkey.API.Models { public class TurkeyRecipeResponseDTO { public double SaltCups { get; set; } public double WaterInGallons { get; set; } public int BrownSugarCups { get; set; } public int S...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using TunBasedBattler.Models; using TunBasedBattler.Models.DTOs; using TunBasedBattler.Models.Entities; using TunBasedBattler.Models.Entities.Heroes; using TunBasedBattler.Views; namespace TunBasedBattler.Services { public class...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class GameBoardScript : MonoBehaviour { public int height = 10; public int width = 10; public GameObject tile; public GameObject foodPrefab; private GameObject food; [HideInInspector] public Vector3 foodPo...