content
stringlengths
23
1.05M
namespace Phoenix.Infrastructure.Wpf.Controls { using System.Windows.Media; public delegate Visual CreateContentDelegate(); }
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Logging; using Tago.Extensions.Http; namespace cookies_backend.Controllers { [ApiController] [Authorize] [Ro...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; using VictorBush.Ego.NefsLib.DataTypes; namespace VictorBush.Ego.NefsLib.Header { /// <summary> /// A record for an item in an archive. Contains details relating to the item's ...
namespace Antd2.Configuration { /// <summary> /// Informazioni sugli utenti di sistema, da applicare al boot della macchina /// </summary> public class SystemUser { public string Name { get; set; } = string.Empty; /// <summary> /// La password deve essere applicata come hashin...
using System; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using GR.Core; using GR.Core.Attributes.Documentation; using GR.Core.Exceptions; using GR.Core.Helpers; using GR.Dashboard.Abstractions.Helpers.Enums; namespace GR.Dashboard.Abstractions.Models { [NotMap...
using System; namespace Pharmatechnik.Nav.Language { public static partial class DiagnosticDescriptors { public static DiagnosticDescriptor NewInternalError(Exception ex) { return new DiagnosticDescriptor( id : DiagnosticId.Nav0001, messag...
using System; using DarkLanguage.Bases.Source; namespace DarkLanguage.Versioning.Source { public static class CodeTranslator { public static string TranslateScript(string script) { script = script.Replace("\r\n",""); var lines = CODE_READER.GetScriptLines(script); int index = 0; foreach(var line in ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using shoppinstore.Models; using shoppinstore.Persistence; namespace shoppinstore.Repository { public interface IOrderRepository:IRepository<Order> { void AddRanges(IEnumerable<Order> en...
using DbContextPagination.Test.Models; using DbContextPagination.Test.Providers; using NUnit.Framework; using System.Linq; namespace DbContextPagination.Test { public class BasePaginationProviderTesting { public DataProvider DataProvider { get; } public BasePaginationProviderTesting() ...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using EasyAbp.EShop.Orders.Orders; using Microsoft.Extensions.DependencyInjection; using Shouldly; using Xunit; namespace EasyAbp.EShop.Products.Products { public class InventoryRollbackTests : ProductsDomainTestBase ...
using System.Collections.Generic; using Voltaic; namespace Akitaux.Twitch.Identity.Requests { public class AuthorizationParams : Rest.QueryMap { public Utf8String ClientId { get; set; } public Utf8String RedirectUri { get; set; } public Utf8String ResponseType { get; } = new Utf8String...
#region License // Copyright (c) 2011, ClearCanvas Inc. // All rights reserved. // http://www.clearcanvas.ca // // This software is licensed under the Open Software License v3.0. // For the complete license, see http://www.clearcanvas.ca/OSLv3.0// #endregion // This file is auto-generated by the ClearCanv...
using System; using System.Collections.Generic; using System.ComponentModel; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Linq; using System.Web; namespace BES.Areas.Procurement.Models { [Table("SCManagement", Schema = "Proc")] public class SCMa...
using ServerEntities; using System; using System.Collections.Generic; using System.Text; namespace ServerCore.Engine { public class ServerEngine { public static Response Process(Request request) { var parsedUri = UriParser.Parse(request.Uri); var message = "Hello Serve...
using System; using cAmp.Libraries.Common.Interfaces; using LiteDB; namespace cAmp.Libraries.Common.Records { public abstract record AbstractcAmpRecord : IcAmpObject { protected AbstractcAmpRecord() { Id = Guid.NewGuid(); } [BsonId] public Guid Id { get; in...
namespace InterReact; public sealed class Position { public string Account { get; } = ""; public Contract Contract { get; } = new(); public double Quantity { get; } public double AverageCost { get; } internal Position() { } internal Position(ResponseReader r) { r.RequireVersion(3...
using System; namespace Sikiro.Tookits.Files { /// <summary> /// 异常 /// </summary> public class TookitsFilesException : ApplicationException { public TookitsFilesException(string msg) : base(msg) { } } }
using System.ComponentModel.DataAnnotations; namespace Spira.Text { //0x13 public enum FFXTextTagCharacter : byte { Tidus = 0x30, Yuna = 0x31, Auron = 0x32, Kimahri = 0x33, Wakka = 0x34, Lulu = 0x35, Rikku = 0x36, Seymour = 0x37, Vale...
namespace EtAlii.CryptoMagic { using System; using System.Threading; public partial class OneOffAlgorithmRunner : IAlgorithmRunner<OneOffTransaction, OneOffTrading> { private Client _client; private readonly OneOffTrading _trading; public event Action<IAlgorithmRunner<OneOffTran...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Terrain { public class OctaveNoise : INoiseGenerator { private INoiseGenerator innerGenerator; private int octaves; private double persistence; public ...
using System; using System.ComponentModel; namespace System.Windows { [TypeConverter(typeof(PointConverter))] public struct Point { public Point (float x, float y) { X = x; Y = y; } #region Operators public static bool operator ==(Point p1, Point p2) { return p1.Equals(p2); } public static boo...
using BookLovers.Auth.Application.WriteModels; using BookLovers.Base.Infrastructure.Commands; namespace BookLovers.Auth.Application.Commands.PasswordResets { public class GenerateResetTokenPasswordCommand : ICommand { public GenerateResetPasswordTokenWriteModel WriteModel { get; } public stri...
using FSL.eBook.RWP.ED2Core.DesignPatterns.RepositoryChapter; namespace FSL.eBook.RWP.ED2Core.DesignPatterns.LazyLoadingChapter { public sealed class ProductService { private IProductRepository _productRepository; public IProductRepository ProductRepository { get ...
using System; using System.Collections; using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Text; using Android.App; using Android.Content; using Android.OS; using Android.Runtime; using Android.Util; using Android.Views; using Android.Widget; using Cirrious.Conference.Core.Vi...
using Antura.Rewards; using Antura.UI; using UnityEngine; using UnityEngine.UI; namespace Antura.AnturaSpace.UI { /// <summary> /// Button for an item in a category in the Antura Space scene. /// </summary> public class AnturaSpaceItemButton : UIButton { public RawImage RewardImage; ...
namespace Mvc.Common { public interface IConfig { string Environment { get; } string Version { get; } } }
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Zyan.Communication.Delegates { /// <summary> /// Event filter for session-bound events. /// </summary> [Serializable] public class SessionEventFilter : EventFilterBase<SessionEventArgs> { /// <summary>...
namespace Sia.Connectors.Tickets.TicketProxy { public enum AuthenticationType { None, Certificate, CertificateFromKeyVault } }
using System; using System.Collections.Generic; using System.Text; namespace Rawr.HealPriest { public class ComparisonCalculationHealPriest : ComparisonCalculationBase { public ComparisonCalculationHealPriest() : base() { } public ComparisonCalculationHealPriest(string na...
using System; using System.IO; class pwd { static void Main() { Console.WriteLine(Directory.GetCurrentDirectory()); } }
using System; namespace OMSToSlack.Models { public struct MetricValue { public DateTime Date; public Double Value; public MetricValue(DateTime date, Double value) { Date = date; Value = value; } } }
using System.Collections.Generic; using Microsoft.Practices.Unity; using Nancy.ErrorHandling; using Nancy.ViewEngines; namespace Nancy.BootStrappers.Unity.Tests { using System.Linq; using Nancy.Tests; using Nancy.Tests.Fakes; using Xunit; public class UnityNancyBootstrapperFixture ...
namespace Fatty.Brain { using System; using System.Collections.Generic; using System.Reactive.Subjects; interface IBrain { IDisposable Start(IEnumerable<IObservable<Intent>> inputs, IEnumerable<IObserver<Intent>> outputs); } }
using System.Collections.Generic; using System.Threading.Tasks; namespace Vacscan.Net.Core.Immunization.Vaccination { public class VaccineProvider : IVaccineProvider { private readonly IEnumerable<IVaccineProvider> vaccineProviders; public VaccineProvider(IEnumerable<IVaccineProvider> vaccine...
using Xunit; using Microsoft.AspNetCore.Mvc; using FakeWebcomic.Client.Controllers; using System.Threading.Tasks; namespace FakeWebcomic.Testing.Controller { public class ApplyControllerShould { [Fact] public void ReturnViewForMainArchive() { var sut = new MainController(); ...
using System.Collections.Generic; using System.Linq; using Fody; using Xunit; public class WeaverUsingSymbols : BaseModuleWeaver { public override void Execute() { var methods = ModuleDefinition.GetTypes().SelectMany(t => t.Methods).ToArray(); Assert.NotNull(methods); Assert.True(metho...
using System; using System.Linq.Expressions; namespace IronVelocity.Compilation.AST { public class GlobalVariableExpression : VelocityExpression { public string Name { get; } public object Value { get; } public override Type Type => Value?.GetType() ?? typeof(object); public ov...
namespace Md.Tga.Common.Contracts.Models { using System.Collections.Generic; using Md.Common.Contracts.Database; /// <summary> /// Describes a game series. /// </summary> public interface IGameSeries : IDatabaseObject { /// <summary> /// Gets the countrie...
using System.Collections; using System.Collections.Generic; using UnityEngine; using io.daniellanner.indiversity; [TimelineDescription("game", true)] public class ShootingStarSpawner : MonoBehaviourInTimeline { #region properties #pragma warning disable 0649 [SerializeField] private GameObject _yellowStar; [Seria...
using Parse; namespace Kustobsar.Ap2.Data.ParseData.Model { [ParseClassName("Taxon")] public class ParseTaxon : ParseObject { [ParseFieldName("taxonId")] public int TaxonId { get { return GetProperty<int>(); } set { SetProperty<int>(value); } } ...
using System.Collections.Generic; using Framework.Config; using SsitEngine.Data; using Table; namespace Framework.Logic { public class DataAccidentProxy : DataProxy<AccidentTableModel> { public DataAccidentProxy( IDataManager dataManager ) : base(dataManager) { } public Accide...
using System; namespace TemplateAction.Label.Expression { public abstract class AbstractOp : IOp { public IOp NextOp { get; set; } public virtual TAVar Add(TAVar a, TAVar b) { return NextOp.Add(a, b); } public virtual TAVar And(TAVar a, TAVar ...
using System; using System.Collections.Generic; using System.Xml; using FubuCore; namespace FubuMVC.Core.Security.Authentication.Saml2.Xml { public class XmlElementStack : ReadsSamlXml { private readonly string _xsd; private readonly Stack<XmlElement> _elements = new Stack<XmlElement>(); ...
using Microsoft.AspNetCore.Mvc; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using DashService.Framework; namespace DashService.WebApi.Controllers { public class JobController : Controller { private readonly IJobContainer _jobContainer; public JobControll...
using System.Collections; using System.Collections.Generic; using UnityEngine; namespace Core.Data.Defs { public struct ObserverTypes { public const int ACTOR = 0; public const int PROGRESSION = 1; public const int ENVIRONMENT = 2; } public struct ObserverIdentiti...
using IFPS.Sales.Domain.Enums; using IFPS.Sales.Domain.Model; namespace IFPS.Sales.Domain.Seed.EmailDatas { public class EmailDataSeed : IEntitySeed<EmailData> { public EmailData[] Entities => new[] { new EmailData(EmailTypeEnum.ConfirmEmail) { Id = 1 }, new EmailData(E...
namespace LinqToDB.Data { /// <summary> /// Bulk copy implementation type. /// For more details on support level by provider see /// <a href="https://github.com/linq2db/linq2db/wiki/Bulk-Copy">this article</a>. /// </summary> public enum BulkCopyType { /// <summary> /// LINQ To DB will select cop...
using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace MagicCMS.Facebook { /// <summary> /// Class FbFrom. a Facebook member. /// </summary> public class FbFrom { /// <summary> /// Gets or sets the name. /// </summary> /// <value>The name.</value> public string N...
namespace Ncc.China.Http.Message { public class SucceededResponseMessage : BaseResponseMessage { public object Data { get; set; } public SucceededResponseMessage(object data) { Code = MessageStatusCode.Succeeded; Message = "succeeded"; Data = data; ...
#if !PORTABLE namespace System.Net { using System.Security.Authentication; /// <summary> /// Support for Tls 1.1+ /// </summary> public static class SecurityProtocolTypeExtensions { /// <summary> /// Flag for Tls 1.2 /// </summary> public const SecurityProtocolTy...
using System; using System.Collections.Generic; using VulpineLib.Util; using StarWander.Components; namespace StarWander { public class GameObject { public Region Region { get; } /// <summary> /// The object's transformation /// </summary> public Transform Transform { ...
using System; namespace Derafsh.Attributes { [AttributeUsage(AttributeTargets.Property,Inherited = false)] public class JoinAttribute:Attribute { public JoinAttribute(string foreignKey) { ForeignKey = foreignKey; } public string ForeignKey { get; set; } } }...
using System.Threading.Tasks; using Microsoft.Extensions.Logging; using Pwned.Core.Models; using Pwned.Core.Data; namespace Pwned.Core.Services { public interface IPasswordService { Task<PasswordModel> GetPasswordAsync(string hash); } public class PasswordService : IPasswordService { ...
using System; using System.Collections.Generic; using System.Linq; using Highway.Data; using TT.Domain.Exceptions; using TT.Domain.Messages.DTOs; using TT.Domain.Messages.Entities; namespace TT.Domain.Messages.Queries { public class GetMessagesInConversation : DomainQuery<MessageDetail> { public Guid...
// Copyright (c) 2016 Framefield. All rights reserved. // Released under the MIT license. (see LICENSE.txt) using Framefield.Core; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using Syst...
// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // re...
/*** * * Copyright (c) 1996-2001, Valve LLC. All rights reserved. * * This product contains software technology licensed from Id * Software, Inc. ("Id Technology"). Id Technology (c) 1996 Id Software, Inc. * All Rights Reserved. * * This source code contains proprietary and confidential information of * Valve ...
using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; using Clarifai.API.Responses; using Clarifai.DTOs; using Clarifai.DTOs.Inputs; using Clarifai.DTOs.Models; using Clarifai.DTOs.Models.OutputsInfo; using Clarifai.DTOs.Predictions; using NUnit.Framework; namespac...
using LetPortal.Core.Persistences; using LetPortal.Portal.Entities.Datasources; namespace LetPortal.Portal.Repositories.Datasources { public interface IDatasourceRepository : IGenericRepository<Datasource> { } }
using Networking; using UnityEngine; namespace Game { public class PlayerScore : PlayerBehaviour { [SerializeField] private int deaths; public int Deaths { get { return deaths; } } [SerializeField] private int kills; public int Kills { get { return k...
using Castle.Core.Range; using Sirenix.OdinInspector; using UnityEngine; namespace Castle.Core.TimeTools { [System.Serializable,InlineProperty,HideLabel] public struct TimeRange : IConditionalCastleRange<System.DateTime> { [FoldoutGroup("$Label")] public SimpleTime from, to; [ShowIn...
namespace Xtensions.ArgumentGuard.Fody.Tests.EnumGuardTests { using System; using System.Reflection; using Microsoft.CodeAnalysis; using Xtensions.ArgumentGuard.Fody.Tests.Helpers; using Xtensions.ArgumentGuard.Fody.Tests.Helpers.Enums; using Xunit; public class FlagsEnums : BaseModuleWeav...
using FactorioWebInterface.Data; using System; namespace FactorioWebInterface.Models { public class ParsedBan { public string Username { get; } public string Reason { get; } public string Admin { get; } public DateTime DateTime { get; } = Ban.dummyDate; public ParsedBa...
using System.Collections.Generic; using Newtonsoft.Json; namespace ZendeskApi_v2.Models.Groups { public class MultipleGroupMembershipResponse : GroupResponseBase { [JsonProperty("group_memberships")] public IList<GroupMembership> GroupMemberships { get; set; } } }
namespace Merchello.Web.Models.ContentEditing { using System; using Merchello.Core.Gateways.Taxation; using Newtonsoft.Json; using Newtonsoft.Json.Converters; /// <summary> /// The setting display. /// </summary> public class SettingDisplay { /// <summary> /// Gets o...
/****************************************************************************** * Foundation Framework * Created by: Travis J True, 2018 * This framework is free to use with no limitations. ******************************************************************************/ using System; using System.Collections.Generi...
// 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; namespace Microsoft.DotNet.Cli.Utils { public static class CommandContext { public static class Variables ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Student_Time_Tracker_1._0 { public interface Selected { //private Student Selected bool student1(); bool student2(); bool student3(); bool student...
using Framework.Core.Common.Contracts; using System.Collections.Generic; using System.Linq; namespace Framework.Core.Common.Models { public abstract class AggregateRoot { public AggregateRoot(string identity) { _eventQueue = new List<IDomainEvent>(); this.Identity = ide...
using System; using System.Threading; using System.Threading.Tasks; using Java.Util.Concurrent; namespace Microsoft.Maui { public static class FutureExtensions { public static Task<Java.Lang.Object?> AsTask(this IFuture future, CancellationToken cancellationToken = default) => future.AsTask<Java.Lang.Object>(c...
// Copyright (c) Microsoft Corporation. // Licensed under the MIT license. using System; using System.Reflection; namespace AuthJanitor.Providers { public class LoadedProviderMetadata { /// <summary> /// Library file where Provider was loaded from /// </summary> public string O...
using System.Collections.Generic; namespace Orchard.Environment.Configuration { public interface IShellSettingsManager { IEnumerable<ShellSettings> LoadSettings(); void SaveSettings(ShellSettings settings); } }
using System.Threading.Tasks; namespace forgeSample.Services.Interfaces { public interface IOAuthService { Task<dynamic> GetPublicAsync(); Task<dynamic> GetInternalAsync(); string GetSettings(string setting); } }
using System; using System.Xml.Serialization; namespace Aop.Api.Response { /// <summary> /// ZhimaCreditPayafteruseCreditagreementQueryResponse. /// </summary> public class ZhimaCreditPayafteruseCreditagreementQueryResponse : AopResponse { /// <summary> /// 开通状态,VALID: 有效...
using Nancy; using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace Sriracha.Web.api { public class ApiModule : NancyModule { public ApiModule() : base("api") { Get["/"] = _ => Response.AsJson(new { ...
// 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 /* BotCommand.cs -- * Ars Magna project, http://arsmagna.ru * ------------------------------------------------------- * Status: poor */ #region Using dir...
using Shouldly; using System; using Xunit; namespace Likecoder.Tests { public class DateTimeTest { public DateTimeTest() { } [Fact] public void TestDateTime() { var val = DateTime.Now; val.IsTrue().ShouldBeTrue(); val.IsFalse().ShouldBeFalse(); var val2 = DateTime.MinValue; val2.IsTrue...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace AccessControlMatrix { class LoginCommand : Command { public LoginCommand(String name) : base(name, null, "Logs into the system") { } public override void Execute(Comma...
using System; using Micky5991.Quests.Interfaces.Nodes; using Micky5991.Quests.Tests.Entities; using Microsoft.Extensions.DependencyInjection; using Serilog; using Serilog.Core; namespace Micky5991.Quests.Tests.TestBases { public abstract class QuestTestBase { protected IServiceProvider SetupServiceProv...
// Copyright © 2017-2020 Chromely Projects. All rights reserved. // Use of this source code is governed by MIT license that can be found in the LICENSE file. using Microsoft.Extensions.Logging; using System; using System.IO; using System.Reflection; using System.Text; namespace Chromely.Core.Logging { public cla...
#region file header // //////////////////////////////////////////////////////////////////// // /// // /// // /// 24.05.2015 // /// // //////////////////////////////////////////////////////////////////// #endregion using System; using System.Diagnostics; using System.IO; using System.IO.Compression; using ZeroMQ; n...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using WalkingTec.Mvvm.Core; using WalkingTec.Mvvm.Core.Extensions; using WalkingTec.Mvvm.Demo.Models; using WalkingTec.Mvvm.Demo.ViewModels.MajorVMs; namespace WalkingTec.Mvvm.Demo.ViewModels.SchoolVMs { public class ...
 namespace TriggersTools.DiscordBots.Utils { /// <summary> /// A string representation of a Url along with its location in text. /// </summary> public struct StringUrl { #region Constants /// <summary> /// Returns an empty non-url string url. /// </summary> public static readonly StringUrl None = new ...
using System; using OSGeo.GDAL; namespace OSGeo.GDAL.Test { public class StartPhase { public static string BogotaTiffPath; public static void Init() { Gdal.AllRegister (); var type = typeof(StartPhase); var manifestResourceStream = type.Assembly.GetManifestResourceStream ("OSGeo.GDAL.Test.bogota....
using Guppy.Network.Attributes; using Guppy.Network.Enums; using System; using System.Collections.Generic; using System.Text; namespace Guppy.Network.Components.Scenes { [NetworkAuthorizationRequired(NetworkAuthorization.Slave)] internal sealed class NetworkSceneSlaveCRUDComponent : NetworkSceneBaseCRUDCompon...
namespace demo { using System; using System.CommandLine; using System.CommandLine.Extensions; using System.Threading.Tasks; internal static class Program { private static async Task<int> Main(string[] args) { var app = new CommandLineApplication(); app.C...
using Rtp; using System; using NUnit.Framework; namespace TestRtp { [TestFixture] public class RtpMessageTest { [Test] public void ParseTest() { byte[] bytes1 = new byte[] { 0xff, 0xff, 0xff, 0xff, 0xb2, 0xEA, 0x46, 0x5C, 0x06, 0xE7, 0x95, 0xA7, 0x00, 0x01, 0x50, 0x61, 0x00, 0x00, 0...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace PassGen.View { class Display { public int FirstNumber { get; set; } public int SecondNumber { get; set; } public List<string> Passwords { get; set; } p...
using ContosoUniversity.Shared.Infrastructure; using FluentValidation; using MediatR; using System; using System.Collections.Generic; using System.ComponentModel; namespace ContosoUniversity.Shared.Features.Departments { public class Edit { public class Query : IRequest<Command> { ...
using System; using System.Collections.Generic; using System.Runtime.Serialization; namespace BTMU.APF.Services.Contracts { [Serializable] [DataContract] public class ListApplicationResponse { //[DataMember] //public List<Application> ApplicationCollection { get; set; } [DataMe...
using System; using System.Linq; using System.Net; using System.Threading.Tasks; using Hyperledger.Aries.Agents; using Hyperledger.Aries.Agents.Edge; using Hyperledger.Aries.Configuration; using Hyperledger.Aries.Extensions; using Hyperledger.Aries.Features.DidExchange; using Microsoft.AspNetCore.Http; using Microsoft...
using System.Collections.Generic; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Sample.AspNet5Api.Domain; using Sample.AspNet5Api.Logic; namespace Sample.AspNet5Api.Services { [ApiController] [Route("api/artists")] public class ArtistsController : ControllerBase { private ...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using Project0.Library; using Project0.WebApp.Models; namespace Project0.WebApp.Controllers { public class OrderController : Controller { pu...
namespace Miruken.Api { using System; using Callback; public abstract class StashAction : IFilterCallback { bool IFilterCallback.CanFilter => false; public sealed class Get : StashAction { public Type Type { get; } public object Value { get; set; } ...
using System.Data.Entity.ModelConfiguration; using TesteTecnofit.Domain; namespace TesteTecnofit.Data.EntityConfig { public class ClienteConfiguration : EntityTypeConfiguration<Cliente> { public ClienteConfiguration() { HasKey(c => c.ClienteId); Property(p =...
namespace Idoc.Lib { public enum Language { CS, C, Java, } }
 namespace DotNetXtensions.Globalization { public enum USCanadaState { None = 0, Alabama = 1, Alaska = 2, Alberta = 3, Arizona = 4, Arkansas = 5, British_Columbia = 6, California = 7, Colorado = 8, Connecticut = 9, Delaware = 10, Florida = 11, Georgia = 12, Hawaii = 13, Idaho = 14, Il...
using System; using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class LapComplete : MonoBehaviour { public GameObject LapCompleteTrig01; public GameObject HalfLapTrig01; public GameObject MinuteDisplay01; public GameObject SecondDisplay01; public GameObj...
using System.Threading.Tasks; using Zindagi.Domain.UserAggregate.Commands; using Zindagi.SeedWork; namespace Zindagi.Domain.UserAggregate { public interface IUserRepository { Task<User> GetAsync(OpenIdKey openIdKey); Task<User?> CreateAsync(User newUser); Task<User> UpdateAsync(OpenIdKe...
using Newtonsoft.Json; namespace Mopidy.Models.JsonRpcs { [JsonObject(MemberSerialization.OptIn)] internal class JsonRpcQueryNoticeWithParams : JsonRpcQueryNotice { [JsonProperty("params")] public object Params; public JsonRpcQueryNoticeWithParams(string method, object @params) : b...