content
stringlengths
23
1.05M
//----------------------------------------------------------------------- // <copyright file="UserService.cs" company="QJJS"> // Copyright QJJS. All rights reserved. // </copyright> // <author>liyuhang</author> // <date>2021/9/1 16:09:43</date> //--------------------------------------------------------------------...
using Backlog.Domain.Models; using FluentValidation; using System; namespace Backlog.Domain.Dtos { public class ArticleSnapShotDtoValidator: AbstractValidator<ArticleSnapShotDto> { public ArticleSnapShotDtoValidator() { RuleFor(x => x.ArticleSnapShotId).NotNull(); RuleFo...
// <copyright file="UserGroupSearchResult.cs" company="Microsoft"> // Copyright (c) Microsoft. All rights reserved. // </copyright> namespace Microsoft.Teams.Apps.EmployeeTraining.Models { /// <summary> /// Represents model for search result consisting users and groups. /// </summary> public ...
using System.Threading.Tasks; using Orleans; namespace SimpleIoT.Grains.Interfaces { public interface IIntegrationGrain : IGrainWithGuidKey { Task InitiazeAsync(); Task AddDeviceAsync(IDeviceGrain device); Task<string[]> GetDevicesAsync(); } }
using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Reflection; using Windows.UI.Xaml; using Audiotica.Core.Windows.Helpers; namespace Audiotica.Windows.CustomTriggers { public class DeviceFamilyTrigger : StateTriggerBase { //private variables private De...
using vts.Shared.Entities.Master; using vts.Shared.Services; namespace vts.Shared.Repository { public interface IConstituencyRepository : IMasterRepository<Constituency> { QueryResult<Constituency> Query(QueryStandard query); } }
using Sitecore.Data; using Sitecore.Data.Fields; using Sitecore.Xml; using System; using System.Collections.Generic; using System.Xml; namespace Sitecron.Core.Jobs.Loader { public class ConfigJobLoader { public List<SitecronJob> SiteCronConfigJobs { get; private set; } public ConfigJobLoader(...
using System; using System.Collections.Generic; namespace mcc.Util { public static class Timer { private static Dictionary<string, DateTime> _timers = new Dictionary<string, DateTime>(); public static void Start(string name) { _timers.Remove(name); ...
using System; using XzySocketBase; namespace XzySocketServer { /// <summary> /// socket service interface. /// </summary> /// <typeparam name="TMessage"></typeparam> public interface ISocketService<TMessage> where TMessage : class, Messaging.IMessage { /// <summary> /// 当建立sock...
using Grpc.Net.Client; using IdentityClient.Protos; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace TestGrpcClient { class Program { static async Task Main(string[] args) { var grpcChannel = GrpcChannel.ForAddress("http://l...
// *** WARNING: this file was generated by test. *** // *** 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.Example { public sta...
namespace CoreLibrary.Ports.Out; using CoreLibrary.Entity; public interface IRepository { Task<int> Count(); Task Truncate(); Task<Friend> AddFriend(string lastName, string firstName, string? knownAs); Task<Friend?> GetFriend(string id); Task<List<Friend>> FindFriendOnLastName(string lastName); }...
using System.IO; using System.Linq; using Parsec.Helpers; namespace Parsec.Shaiya.Data { public static class DataBuilder { /// <summary> /// The path to the data directory (both data.sah and data.saf) /// </summary> private static string _path; /// <summary> //...
// $Id: MACAddress.cs,v 1.1.1.1 2007/07/03 10:15:18 tamirgal Exp $ /// <summary>************************************************************************ /// Copyright (C) 2001, Patrick Charles and Jonas Lehmann * /// Distributed under the Mozilla Public License * /// h...
using System; using System.Collections.Generic; using System.Text; namespace Alexa.NET.SkillFlow.CoreExtensions { public class Buy:SceneInstruction { public override string Type => nameof(Buy); public string Item { get; set; } public string SuccessScene { get; set; } public st...
using System; namespace Kros.Data { /// <summary> /// Interface for generating IDs for records in database. In general, IDs are just sequential numbers. /// </summary> /// <remarks>Usually one generator generates IDs for just one table.</remarks> /// <seealso cref="SqlServer.SqlServerIdGenerator"/...
using System.Collections.Generic; using System.Net; using System.Text; using System.Threading.Tasks; using Confluent.Kafka; using Next.Abstractions.Bus.Transport; using Next.Abstractions.Serialization.Json; using Next.Bus.Kafka.Configuration; namespace Next.Bus.Kafka.Transport { public class KafkaProducerTransport...
using System; using System.Runtime.InteropServices; namespace UHP.Lib { public static class RawDataSerialization { public static T RawDeserialize<T>(byte[] rawData) where T : struct { int rawsize = Marshal.SizeOf(typeof(T)); IntPtr buffer = Marshal.AllocHG...
namespace JB.Collections.Reactive { public interface IObservableCollectionChange<out T> { /// <summary> /// Gets the type of the change. /// </summary> /// <value> /// The type of the change. /// </value> ObservableCollectionChangeType ChangeType { get; } /// <summary> /// G...
namespace NewsSystem.Data.UnitOfWork { using System; using System.Collections.Generic; using NewsSystem.Data.Common.Models; using NewsSystem.Data.Common.Repository; using NewsSystem.Data.Models; using NewsSystem.Data.Repositories; public class NewsSystemData : INewsSystemData { ...
using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Linq; using System.Security.Cryptography; using System.Text; using System.Threading.Tasks; namespace Nanook.NKit { internal class IsoReader : IReader { public bool EncryptWiiPartitions { get; set; }...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Caliburn.Micro; using ShvTasker.Models; namespace ShvTasker.ViewModels { public class MouseItemViewModel : Screen, IAddItemPage { public bool LeftBtn { get => l...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; using HaveIBeenPwned.PwnedPasswords.Models; namespace HaveIBeenPwned.PwnedPasswords.Abstrac...
using GifImageView.FormsPlugin.Abstractions; using System; using Xamarin.Forms; using GifImageView.FormsPlugin.Android; using Xamarin.Forms.Platform.Android; using System.Net.Http; using System.Threading; using System.IO; using System.Threading.Tasks; [assembly: ExportRenderer(typeof(GifImageViewControl), typeof...
namespace KenneyAsteroids.Engine.Rules { public interface IGameRuleSystem : IUpdatable { } }
namespace Contract { public class AudioDemuxJob : FFmpegJob { public override JobType Type => JobType.AudioDemux; } }
using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using ProApiLibrary.Api.Queries; namespace ProApiLibraryTests.TestCases.ApiTests.QueryTests { /// <summary> /// Copyright @2015 Whitepages, Inc. /// </summary> [TestClass] public class QueryTest { [TestMethod] public void ItShoul...
using UnityEngine; namespace FPController { /// <summary> /// Preset for First Person Controller. /// </summary> [CreateAssetMenu(fileName = "FirsPersonPreset", menuName = "FP Preset", order = 1500)] public class FirstPersonPreset : ScriptableObject { /// <summary> /// Name, se...
#nullable enable using System.IO; using System.Text; using System.Text.RegularExpressions; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Options; using Newtonsoft.Json; using Newtonsoft.Json.Linq; using Utils; using Utils.Storage; using Wellcome.Dds.Common; namespace Wellcome...
namespace KnightBus.Messages { /// <summary> /// Enables <see cref="ICommand"/> to have large attachments. /// Both sender and receiver must register an implementation for transporting attachments. /// </summary> public interface ICommandWithAttachment { IMessageAttachment Attachment { ...
using System; namespace ProtoBuf.Meta { /// <summary> /// Indiate the variant of the protobuf .proto DSL syntax to use /// </summary> public enum ProtoSyntax { /// <summary> /// Use the global default /// </summary> Default = -1, /// <summary> /// ht...
using Microsoft.EntityFrameworkCore.Migrations; namespace TaskTronic.Statistics.Data.Migrations { public partial class InitialDatabase : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.CreateTable( name: "FolderViews", ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace KapheinSharp { public class FunctionToComparaerAdapter<T> : IComparer<T> { public FunctionToComparaerAdapter( Func<T, T, int> func ) { if(func == null) { ...
using UnityEngine; using System; using System.Collections; using System.Collections.Generic; using FuelSDKIntegration.Structures; //----------------------------------------------------------------- /* PUBLIC INTERFACE */ //----------------------------------------------------------------- public partial class...
using System.Collections.Generic; namespace Mondop.CodeDom { public class CodeTypeDeclaration: CodeExpression { public ScopeIdentifier Scope { get; set; } = ScopeIdentifier.Public; public string Name { get; set; } public List<AttributeReference> Attributes { get; set; } = new List<Att...
// nRed Unity Mobile Utilities // Copyright (c) nRed-kelta. For terms of use, see // https://github.com/nRed-kelta/UnityMobileUtilities using System.Collections; using System.Collections.Generic; namespace nRed.CollectionUtil { public static class ICollectionUtility { public static void SafeClear(this IList self)...
using Breeze.Sharp.Core; using System; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; namespace Breeze.Sharp { /// <summary> /// Interface for the backing information for any IEntity or IComplexObject. /// Implemented via an explicit inter...
using Xunit.Abstractions; #if XUNIT_CORE_DLL namespace Xunit.Sdk #else namespace Xunit #endif { /// <summary> /// Default implementation of <see cref="ITestOutput"/>. /// </summary> public class TestOutput : TestMessage, ITestOutput { /// <summary> /// Initializes a new instance of ...
using AudioToolbox; using System; using System.Diagnostics; using System.Runtime.InteropServices; using System.Threading.Tasks; namespace Plugin.AudioRecorder { internal class AudioStream : IAudioStream { const int CountAudioBuffers = 3; const int MaxBufferSize = 0x50000; // 320 KB const float TargetMeasuremen...
using System; using System.Globalization; using System.Windows; using System.Windows.Data; namespace Steganography { /// <summary> /// Converter between boolean value and Visibility. /// Used to convert between value IsProcessing flag of binding context and value on UI. /// </summary> public class...
using Silent.Practices.CQRS.Queries; namespace Silent.Practices.CQRS.Tests.Fakes { internal sealed class FakeUnregisteredQuery : IQuery<FakeResult> { } }
namespace Shapeshifter.WindowsDesktop.Services.Images.Interfaces { using System.Windows.Media.Imaging; using Infrastructure.Dependencies.Interfaces; public interface IImagePersistenceService: ISingleInstance { byte[] ConvertBitmapSourceToByteArray(BitmapSource input); byte[...
/* * GazeEventSource Unity Component * (c) Copyright 2017, 2018, Warwick Molloy * GitHub repo WazzaMo/UnityComponents * Provided under the terms of the MIT License. */ using System; using System.Collections.Generic; namespace Actor.GazeInput { public interface IGazeEventBroadcaster { void Register...
// // System.Security.Cryptography.X509Certificates.X500DistinguishedName // // Author: // Sebastien Pouliot <sebastien@ximian.com> // // Copyright (C) 2004-2006 Novell Inc. (http://www.novell.com) // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated doc...
using System; using System.Linq; namespace Vendstor.Backend.Objects { [Serializable()] public class Tax { public virtual string Id { get; set; } public virtual string Name { get; set; } public virtual string ShortName { get; set; } public virtual decimal Rate { get; set; }...
//<snippet1> using System; using System.Globalization; class Sample { public static void Main() { PersianCalendar jc = new PersianCalendar(); DateTime thisDate = DateTime.Now; //-------------------------------------------------------------------------------- // Properties //---...
using MpcCore.Commands.Base; namespace MpcCore.Commands.Queue { public class AddToQueue : SimpleCommandBase { /// <summary> /// <inheritdoc/> /// </summary> /// <param name="path">path of file or directory</param> public AddToQueue(string path) { Command = $"add \"{path}\""; } } }
using Hypermint.Base; using Prism.Commands; using Prism.Events; using Prism.Regions; using Hypermint.Base.Constants; using Hypermint.Base.Events; using Hypermint.Base.Services; using Hypermint.Base.Interfaces; using System.IO; using System.Windows.Input; using System; using Hypermint.Base.Extensions; namespace Hs.Hyp...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class AudioVisualizer : MonoBehaviour { public GameObject SampleCubePrefab; GameObject[] SampleCubes = new GameObject[512]; public float maxScale; // Start is called before the first frame update void Start() ...
using UnityEngine; using System.Collections; using System.Collections.Generic; namespace Hang { namespace AiryAudio { [CreateAssetMenu(fileName = "AiryAudioBank", menuName = "Hang/AiryAudio/AiryAudioBank", order = 1)] public class AiryAudioBank : ScriptableObject { [SerializeField] List<AiryAudioSnapshot> my...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.EventSystems; public class InventoryDrop : MonoBehaviour, IDropHandler { public void OnDrop(PointerEventData eventData) { if (eventData.pointerDrag != null) { InventoryItem newItem = ev...
namespace Unosquare.FFplayDotNet.Core { using FFmpeg.AutoGen; /// <summary> /// An AVDictionaryEntry wrapper /// </summary> internal unsafe class FFDictionaryEntry { // This ointer is generated in unmanaged code. internal readonly AVDictionaryEntry* Pointer; ...
using System; using System.Collections.Generic; namespace Persona2 { class Persona:IComparable { int id; string nombre; public Int32 CompareTo(Object o) { return this.id.CompareTo(((Persona)o).id); } /*public String CompareTo(Object o) { ...
using System; using System.Collections.Generic; using System.Net.Security; using System.ServiceModel; using CarRental.Domain; namespace CarRental.Service { [ServiceContract] public interface ICarService { [OperationContract(Name = "Add", ProtectionLevel = ProtectionLevel.EncryptAndSign)] C...
using UnityEngine; /// <summary> /// Simple script to set the playback speed of a particle system on application start /// Allows you to also lock that speed so it can't be changed by another script. /// </summary> [RequireComponent(typeof(ParticleSystem))] public class ParticleSystemSpeed : MonoBehaviour { publi...
using UnityEngine; using Unity.Entities; using Unity.Transforms; using Unity.Mathematics; using Unity.Collections; using UnityEngine.UI; public class GridSpawner : MonoBehaviour { //[SerializeField, Tooltip("number of entities to spawn (default 10)")] private int m_spawnCount = 10; [SerializeField, Tooltip("s...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class SimpleEffects2D : MonoBehaviour { EffectCurves curve; private void Start() { if (curve == null) curve = new GameObject().AddComponent<EffectCurves>(); ScaleEffect(transform, curve.bel...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace kernel { /* An offset element object represents one file offset item in a structure. */ public class OffsetElement { string _additionalOffset = ""; ...
using APIServices.DTOs; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace APIServices.Models { public class Person { public string FirstName { get; set; } public string LastName { get; set; } public int Age { get; set; } public stri...
using Bogus; using FluentAssertions; using Moq; using NUnit.Framework; using SocialCareCaseViewerApi.V1.Boundary.Requests; using SocialCareCaseViewerApi.V1.Gateways; using SocialCareCaseViewerApi.V1.Helpers; using System; using System.Collections.Generic; using System.Linq; #nullable enable namespace SocialCareCaseVie...
using System; using System.Configuration; using Forte.EpiCommonUtils.Infrastructure; using JavaScriptEngineSwitcher.ChakraCore; using JavaScriptEngineSwitcher.Core; using EpiDemo.Web.Features.ReactComponents; using Newtonsoft.Json; using Newtonsoft.Json.Serialization; using React; using WebActivatorEx; [assembly: PreA...
using System; using System.Collections.Generic; using System.Text; using Microsoft.Xna.Framework.Graphics; namespace FlatRedBall.Graphics { #region XML Docs /// <summary> /// Caches effects and effect parameters /// </summary> #endregion public class EffectCache { #region Static Mem...
namespace Cuemon.Data { /// <summary> /// Identifies the type of data operation performed by a query against a data source. /// </summary> public enum QueryType { /// <summary> /// Indicates that a query is used for a data operation that retrieves data. /// </summary> ...
using System; using System.Configuration; using System.Globalization; using ReMi.BusinessLogic.BusinessRules; using ReMi.Common.Constants.BusinessRules; using ReMi.Common.Utils; namespace ReMi.Api.Insfrastructure { public class ApplicationSettings : IApplicationSettings { private const int SettingsSess...
namespace MiddleMan.Exceptions { public class MultipleHandlersException : MiddleManExceptionBase { public MultipleHandlersException(string message) : base(message) { } } }
using System.Collections.Generic; namespace kanimal { using AnimHashTable = Dictionary<int, string>; // Spriter's object names are numbered sequentially from 0. // This is arguably useful if multiple of the same sprite is included in a single animation frame // Therefore, keep track of the objects in...
using System; /* * Да се напише програма, която чете 2*n-на брой цели числа, подадени от потребителя, * и проверява дали сумата на първите n числа (лява сума) е равна на сумата на вторите n числа (дясна сума). * * При равенство печата "Yes" + сумата; иначе печата "No" + разликата. * Разликата се изчислява кат...
using Atlas.Roleplay.Library.Models; namespace Atlas.Roleplay.Client.Environment.Jobs.Police { public class MalePoliceUniform : Style { public MalePoliceUniform() { Shirt.Current = 38; Torso.Current = 149; TorsoType.Current = 0; // Badge Decals.Cu...
// Copyright (c) MOSA Project. Licensed under the New BSD License. namespace System.Runtime.InteropServices { [ComVisible(true)] public enum UnmanagedType { Bool = 2, I1 = 3, U1 = 4, I2 = 5, U2 = 6, I4 = 7, U4 = 8, I8 = 9, U8 = 10, R4 = 11, R8 = 12, Currency = 15, BStr = 19, LPStr = 20, ...
using Chocolatey.Explorer.Commands; using Chocolatey.Explorer.Services; using Chocolatey.Explorer.Services.PackagesService; using NUnit.Framework; using Rhino.Mocks; namespace Chocolatey.Explorer.Test.Commands { public class TestClearCacheInstalledPackagesCommand { [Test] public void IfIPackag...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class PlayerInventory : Singleton<PlayerInventory> { WeaponSlotManager weaponSlotManager; public WeaponItem rightWeapon; public WeaponItem leftWeapon; public WeaponItem unarmedWeapon; public WeaponItem[] weapons...
using Blue.Menu; using UnityEngine; public class TestingPrefab : MonoBehaviour { public MenuController menu; // Use this for initialization void Start() { Instantiate(menu.gameObject); } }
using System; namespace Kekstoaster.Syntax { /// <summary> /// Empty syntax element, meaning it contains no nested Elements or the nested elements are not important. /// </summary> public sealed class EmptyElement:SyntaxElement { private CompileAction _compile = null; /// <summary> /// Initializes a new in...
//<Snippet1> using System; namespace DesignLibrary { public class NoInstancesNeeded { // Violates rule: StaticHolderTypesShouldNotHaveConstructors. // Uncomment the following line to correct the violation. // private NoInstancesNeeded() {} public static void Method1() {} public st...
@inherits RazorRenderer.BasePage<ChameleonForms.Templates.ChameleonFormsDefaultTemplate.Params.FieldConfigurationParams> @foreach (var html in Model.FieldConfiguration.AppendedHtml) {@html }
/* * Copyright 2014 Splunk, Inc. * * 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.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
using System; using Volo.Abp.Application.Dtos; namespace EasyAbp.EShop.Products.Categories.Dtos { public class CategoryDto : FullAuditedEntityDto<Guid> { public Guid? ParentCategoryId { get; set; } public string DisplayName { get; set; } public string Description { get; set; } ...
#define DO_AUTO_PAUSE //comment out this line to disable this script #if UNITY_EDITOR_WIN && DO_AUTO_PAUSE using System; using System.Runtime.InteropServices; using UnityEditor; namespace AutoPauseMusic { [InitializeOnLoadAttribute] public class PauseSystemMusicInPlayMode { public const int KEYEVE...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class hw2 : MonoBehaviour { bool noRedUnderLine = true; void Start() { if (noRedUnderLine) { Debug.Log("There is no error in your script."); } int count = 10; for (...
using System.Diagnostics; namespace EDTradeAdvisor.DomainObjects { [DebuggerDisplay("{Description,nq}")] public class Location { public Location(StarSystem system, Station station) { System = system; Station = station; } /// <summary></summary> public StarSystem System { get; set; } /// <summar...
// Copyright © 2020 The CefSharp Authors. All rights reserved. // // Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. namespace CefSharp.DevTools.Profiler { /// <summary> /// Coverage data for a source range. /// </summary> [System.Runtime.Serialization.D...
using System.Collections.Generic; using demos.Models.ViewModels.Courses; namespace demos.Services.Contracts { public interface IHomeService { IEnumerable<CourseViewModel> GetAllCourses(); } }
using System.Threading.Tasks; using DasBlog.Web.Models.BlogViewModels; using Microsoft.AspNetCore.Razor.TagHelpers; namespace DasBlog.Web.TagHelpers.Comments { public class CommentMailtoLinkTagHelper : TagHelper { public CommentAdminViewModel Comment { get; set; } private const string MAILTOLINK = "mailto:{0}?...
<div id="messageContainer"> <h4 class="text-center"><strong id="message" class="text-success"></strong></h4> </div>
using System; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc.ModelBinding; namespace GovUk.Frontend.AspNetCore.ModelBinding { public class DateInputModelBinderProvider : IModelBinderProvider { public IModelBinder GetBinder(ModelBinderProviderContext context) { if (con...
using Newtonsoft.Json; namespace PrimePenguin.CentraSharp.Entities { public class ShippingTerms { /// <summary> /// Id of the specific shipping terms object. /// </summary> [JsonProperty("id")] public int Id { get; set; } /// <summary> /// Name of the s...
using System.Threading.Tasks; namespace Aptacode.CSharp.Common.Persistence.UnitOfWork { public abstract class GenericUnitOfWork : IUnitOfWork { #region Repositories public abstract TRepo Get<TRepo>(); #endregion #region Unit Of Work public abstract void Dispose(); ...
namespace EuroHelp.Services.Damages { public enum DamageSorting { EventDate = 0, RegisterDate = 1, InsuranceCompany = 2 } }
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace UnsupervisedLearning.KMeans { /// <summary> /// Representa uma associção entre instância e cluster que significa que /// a instância está classificada naquele cluster. /// </summary> ...
using Newtonsoft.Json; namespace Tfl.Api.Presentation.Entities.JourneyPlanner { public class JourneyPlannerCycleHireDockingStationData { [JsonProperty(PropertyName = "originNumberOfBikes")] public int? OriginNumberOfBikes { get; set; } [JsonProperty(PropertyName = "destinationNumberOfB...
using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Reflection; using System.Text; using System.Threading.Tasks; namespace OSIResearch.Qillion.Functions { static class BindingRedirector { //Lifted from npiasecki's workaround for the lack of nativ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using ReactiveApp.Xaml.Controls; using Windows.UI; using Windows.UI.Xaml; using Windows.UI.Xaml.Controls; using Windows.UI.Xaml.Media; namespace ReactiveApp.Xaml.Services { public class SystemTrayMa...
// Licensed to Laurent Ellerbach under one or more agreements. // Laurent Ellerbach licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using Newtonsoft.Json; namespace Nabaztag.Net.Models { /// <summary> /// {"audio":audio_list,"choreography":ch...
// <auto-generated> This file has been auto generated by EF Core Power Tools. </auto-generated> using System; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata; namespace CurrencyApi.Models { public partial class DtbankdbContext : DbContext { public virtual DbSet<RATE> ...
namespace OPCAIC.Messaging.Messages { /// <summary> /// Result status of the job sent from broker to worker for execution. /// </summary> public enum JobStatus { /// <summary> /// Unknown status. /// </summary> Unknown, /// <summary> /// Job completed successfully. /// </summary> Ok, ...
using System; using System.Collections.Generic; using OpenSource.Data.HashFunction.Core; using OpenSource.Data.HashFunction.Core.Utilities; using System.Diagnostics; using System.IO; using System.Linq; using System.Runtime.CompilerServices; using System.Text; using System.Threading; using System.Threading.Tasks; name...
// Structure of heap using System; using System.Collections; using System.Collections.Generic; namespace Algolib.Structures { public class Heap<T> : IEnumerable<T> { private readonly List<T> heap; /// <summary>The comparer.</summary> public IComparer<T> Comparer { ...
using SchoolLocker.Core.Contracts; using SchoolLocker.Core.Entities; using System; using System.Linq; using SchoolLocker.Core.DataTransferObjects; using System.Threading.Tasks; using Microsoft.EntityFrameworkCore; namespace SchoolLocker.Persistence { public class BookingRepository : IBookingRepository { ...
using System; using System.Collections.Generic; using Caasiope.Explorer.Managers.NotificationManagers; using Caasiope.Explorer.Types; using Caasiope.Protocol.Types; using Helios.Common.Logs; using Helios.JSON; namespace Caasiope.Explorer.Managers { // subscription manager ? public class SubscriptionManager ...
using System.Text; using Newtonsoft.Json; using Newtonsoft.Json.Serialization; namespace Meiswinkel.NightScoutReporter.NightScoutContracts { [JsonObject] public class Entry { /// <summary> /// Internally assigned id. /// </summary> [JsonProperty(PropertyName = "_id", NullVa...