content
stringlengths
23
1.05M
namespace OmniXaml.ObjectAssembler { public class NullLifecycleListener : IInstanceLifeCycleListener { public void OnBegin(object instance) { } public void OnAfterProperties(object instance) { } public void OnAssociatedToParent(object instanc...
using System; using System.Windows.Input; using WalkCompanion.ViewModels; namespace WalkCompanion.Commands { public class StoreSession : ICommand { private TrackInformationViewModel _viewModel; public StoreSession(TrackInformationViewModel viewModel) { _viewModel = viewMod...
namespace Whodunit.Models { // Namespaces. using System; using Umbraco.Core.Persistence; using Umbraco.Core.Persistence.DatabaseAnnotations; /// <summary> /// A history entry to track an event (e.g., the publish event for a content node). /// </summary> [TableName(TableName)] [Pr...
using System; using System.Web; namespace Elliptical.Mvc { public partial class HtmlHelpers { public IHtmlString Import(string url) { string link = "<link rel=\"import\" href=\"" + url + "\"/>"; return new HtmlString(link); } public IHtmlSt...
namespace MiniLearningSystem.Models.Enums { public enum SetRole { Trainer, BlogAuthor } }
using Dapr.Actors; using Dapr.Actors.Runtime; using Basket.Interfaces; using System; using System.Threading.Tasks; using basket.svc.Models; namespace basketsvc; internal class BasketActor : Actor, IBasket { private readonly Dapr.Client.DaprClient _daprClient; private IConfiguration _configuration; public...
using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Linq; using PT.PM.Common; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CSharp; using PT.PM.Common.Exceptions; using System.Threading; using PT.PM.Common.Files; namespace PT.PM.CSharpParseT...
using System; using System.Collections.Generic; namespace DiLite { /// <summary> /// Dependency injection container. /// </summary> public interface IContainer { /// <summary> /// Resolves the given type (<i>alias</i>) from the container. /// </summary> /// <typepar...
#pragma warning disable S4016 namespace ArkeCLR.Runtime.Tables.Flags { public enum AssemblyHashAlgorithm : uint { None = 0x0000, Reserved = 0x8003, SHA1 = 0x8004 } }
using Skclusive.Mobx.Observable; using Xunit; namespace Skclusive.Mobx.StateTree.Tests { public interface ICounterPrimitive { int Count { set; get; } } public interface ICounterActions { void Increment(); } public interface ICounter : ICounterPrimitive, ICounterActions ...
[Serializable] public class TransformTweenClip : PlayableAsset, ITimelineClipAsset // TypeDefIndex: 6096 { // Fields public TransformTweenBehaviour template; // 0x18 public ExposedReference<Transform> startLocation; // 0x20 public ExposedReference<Transform> endLocation; // 0x30 // Properties public ClipCaps cli...
using System; using System.IO; using System.Text; using Newtonsoft.Json; using TriggersTools.SharpUtils.Text; using TriggersTools.Windows.Resources; using TriggersTools.CatSystem2.Utils; using TriggersTools.CatSystem2.Exceptions; namespace TriggersTools.CatSystem2 { /// <summary> /// A set of an executable file's ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Android.App; using Android.Content; using Android.OS; using Android.Runtime; using Android.Views; using Android.Widget; using System; using System.Diagnostics; using System.IO; using Xamarin.Forms; using Android.Content; us...
using System.Collections; using System.Collections.Generic; using UnityEngine; using Orbital.Input.XInput; using System; public class Demo_Input : MonoBehaviour { private Instance instance; private void Start() { instance = new Instance(); if (!instance.Init()) throw new Exception("ERROR: f...
// ----------------------------------------------------------------------- // <copyright file="DeDuplicatingMessageSerializer.cs" company="Petabridge, LLC"> // Copyright (C) 2015 - 2019 Petabridge, LLC <https://petabridge.com> // </copyright> // --------------------------------------------------------------------...
// ------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See License.txt in the repo root for license information. // ------------------------------------------------------------ namespace System.Fabric.Store ...
using System; using BLToolkit.TypeBuilder.Builders; namespace BLToolkit.Aspects { /// <summary> /// http://www.bltoolkit.net/Doc/Aspects/index.htm /// </summary> [AttributeUsage(AttributeTargets.Property | AttributeTargets.Method, AllowMultiple=true)] public class ClearCacheAttribute : AbstractTypeBuil...
using System; using Server; namespace Server.Misc { [AttributeUsage( AttributeTargets.Class )] public class DispellableAttribute : Attribute { } }
using System; using System.IO; using FileSystem.Fluent.Abstractions.Core; namespace FileSystem.Fluent.Abstractions.Physical { public class LocalFileSystem : IFileSystem { public LocalFileSystem() { } public IFileSystem AsReadOnly() { return new...
using System; using System.Threading.Tasks; using Lykke.Service.BlockchainApi.Contract.Transactions; using Lykke.Service.Decred.Api.Common; using Lykke.Service.Decred.Api.Common.Entity; using Newtonsoft.Json; namespace Lykke.Service.Decred.Api.Services { public interface IUnsignedTransactionService { ...
using System; using System.Collections; using System.Text; using System.Threading; namespace Meadow.TinyCLR.Modules.Rotary { /// <summary> /// Represents a 2 bit version of GrayCode (https://en.wikipedia.org/wiki/Gray_code) used to /// encode the current state of a rotary encoder. /// </summary> ...
/*************************************************************** * Author: Zhang Minglin * Note : 资源异步加载请求 ***************************************************************/ using UnityEngine; namespace zcode.AssetBundlePacker { public sealed class AssetLoadRequest : YieldInstruction { AssetBundleManag...
using System.Collections; using System.Collections.Generic; using UnityEngine; /* Unit脚本:实现所有坦克的基本属性(阵营,血量,死亡爆炸特效,伤害计算) */ public enum Team { Blue, Green, Red } //生命值系统 被其他类继承 public class Unit : MonoBehaviour { public int health = 100; public int curHealth; //当前生命值 public GameObjec...
// <copyright file="UserSchemaScenarios.cs" company="Okta, Inc"> // Copyright (c) 2020 - present Okta, Inc. All rights reserved. // Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information. // </copyright> using System; using System.Collections.Generic; using System...
using Api.Models; namespace Api.Domain { public interface ILoginService { Usuario Autentica(Credencial credencial); } }
namespace UnlockedData.Chartist.Blazor { /// <summary> /// Defines the Bar Chart Options /// </summary> /// <seealso cref="UnlockedData.Chartist.Blazor.ExtendedChartBaseOptions" /> public class BarOptions : ExtendedChartBaseOptions { /// <summary> /// Gets or sets the series bar...
using Verse; namespace RemoteTech { public class CompProperties_AutoReplaceable : CompProperties { public bool applyOnVanish; public CompProperties_AutoReplaceable() { compClass = typeof (CompAutoReplaceable); } } }
using Microsoft.Extensions.DependencyInjection; using Sidekick.Core; namespace Sidekick.Localization { public static class StartupExtensions { public static IServiceCollection AddSidekickLocalization(this IServiceCollection services) { // Http Services services.AddHttpCl...
/******************************************************************************** ** auth: DongliangYi ** date: 2017/8/23 13:21:01 ** desc: 尚未编写描述 ** Ver.: V1.0.0 *********************************************************************************/ using System; using System.Collections; using System.Collections.Ge...
using System; namespace ShoppingCart.Domains { public struct Event { public Event(long sequenceNumber, DateTimeOffset occuredAt, string name, object content) { SequenceNumber = sequenceNumber; OccuredAt = occuredAt; Name = name; Content = content...
using Fullstack.Data.Entities; using Fullstack.ViewModels; using System.Collections.Generic; namespace WebApi.Services { public interface IUserService { AuthenticateResponse Authenticate(AuthenticateRequest model); List<UserModel> GetAll(); UserModel GetById(int id); User CreateUser(User user,strin...
using Microsoft.CodeAnalysis; using System.Collections.Generic; using System.Linq; namespace DotvvmAcademy.Validation.CSharp { public class CompilationCSharpDiagnostic : IValidationDiagnostic { public CompilationCSharpDiagnostic(Diagnostic diagnostic, CSharpSourceCode source) { Dia...
using UnityEngine; using System.Collections; public class FollowPlayer : MonoBehaviour { private Transform player; private Vector3 offset = Vector3.zero; private bool haveChangeOffset = false; public float moveSpeed = 4; void Awake() { player = GameObject.FindGameObjectWithTag(...
using System; using System.Text; using GitRewrite.GitObjects; namespace GitRewrite.CleanupTask.Delete { public class FileSimpleDeleteStrategy : IFileDeletionStrategy { private readonly byte[] _fileName; public FileSimpleDeleteStrategy(string fileName) => _fileName = Encoding.UTF8.GetBytes(fil...
using System; using System.Drawing; using CoreAnimation; using CoreGraphics; using UIKit; namespace Comet.iOS.Controls { public class CUIContainerView : UIView { private UIView _mainView; private UIView _overlayView; private ShapeView _overlayShapeView; private CAShapeLayer _shadowLayer; private CAShapeLay...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // // Generated with Bot Builder V4 SDK Template for Visual Studio CoreBot v4.6.2 namespace CovidBot { public class UserProfile { public long Pincode { get; set; } public string Name { get; set; } ...
using System; using System.IO; using Microsoft.Extensions.Logging; using RabbitMQ.Client; using RabbitMQ.Client.Events; namespace Nuka.Core.Messaging.RabbitMQ { public class DefaultRabbitMQConnection : IRabbitMQConnection { private IConnection _connection; private readonly IConnectionFactory _c...
using System.ComponentModel.DataAnnotations; using Upnodo.BuildingBlocks.Application.Models; namespace Upnodo.Features.Mood.Application.GetMoodRecordByRecordId { public class GetMoodRecordByMoodRecordIdRequest { public GetMoodRecordByMoodRecordIdRequest(string moodRecordId, Cache? cache) ...
//------------------------------------------------------------------------------ // <copyright file="InitializationEventAttribute.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> //-----------------...
using System; using System.Collections.Generic; namespace Enexure.MicroBus { public class InvalidMessageTypeException : Exception { public InvalidMessageTypeException(Type getType, Type type) : base(string.Format("Message was of type '{0}' but an instance of type '{1}' was expected", getTy...
using Signum.Entities.Mailing; using System.Globalization; using Signum.Entities.Basics; using Signum.Engine.Templating; using Signum.Entities.Templating; using Signum.Entities.Reflection; using Signum.Engine.UserAssets; using Signum.Entities.UserAssets; namespace Signum.Engine.Mailing; public static class...
using System; using System.Diagnostics; using System.Text; using Murmur; using NLog; using NLog.LayoutRenderers; namespace Tauron.Application.Logging.impl { [DebuggerStepThrough] [LayoutRenderer("event-type")] public sealed class EventTypeLayoutRenderer : LayoutRenderer { protected override vo...
using System; namespace Thesis.BranchAndBound { public class RectangleBranch : Branch { /// <summary> The infimum of the x values in the rectangle </summary> public readonly double StartX; /// <summary> The supremum of the x values in the rectangle </summary> public readonly do...
using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace App.Models { public enum SourceDocumentFunction{ Allocation, Transfer } }
using System; using System.Windows.Input; using Plugin.MaterialDesignControls.Animations; using Plugin.MaterialDesignControls.Implementations; using Xamarin.Forms; using Xamarin.Forms.Xaml; namespace Plugin.MaterialDesignControls { [XamlCompilation(XamlCompilationOptions.Compile)] public abstract class BaseM...
using System; using System.Runtime.InteropServices; using System.Text; namespace Indented.SecurityPolicy { class UnsafeNativeMethods { private UnsafeNativeMethods() {} [DllImport("advapi32")] internal static extern int LsaClose(IntPtr PolicyHandle); [DllImport("advapi32", Char...
using System; using System.Collections.Generic; using System.Threading.Tasks; using SitecoreCognitiveServices.Foundation.SCSDK.Wrappers; using SitecoreCognitiveServices.Foundation.NexSDK.Import; using SitecoreCognitiveServices.Foundation.NexSDK.Import.Models; namespace SitecoreCognitiveServices.Foundation.SCSDK.Servi...
using GenericViewModels.Core; using System; using System.Collections.Generic; using System.Text; using System.Threading.Tasks; using Xunit; namespace Generic.ViewModels.Tests.Core { public class AsyncEventSlimTests { [Fact] public async Task SignalIsSet() { var ev = new Asy...
namespace eFastFood_UI.KorisniciUI { public class KorisniciDataView { public int KorisnikID { get; set; } public string ImePrezime { get; set; } public string Uloga { get; set; } public string Email { get; set; } public string BrojTelefona { get; set; } public in...
namespace Parz.Functions { public class FuncTokenType { /// <summary> /// A token that symbolizes a function name. /// </summary> public static readonly TokenType Function = nameof(Function); /// <summary> /// A token that is used to separate values, ///...
// <copyright file="DsvReaderTests.cs" company="David Federman"> // Copyright (c) David Federman. All rights reserved. // </copyright> namespace DelimiterSeparatedTextParser.Tests { using System.Text; using Microsoft.VisualStudio.TestTools.UnitTesting; [TestClass] public class DsvReaderTests { ...
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. using Model = Microsoft.Data.Entity.Design.Model.Entity; namespace Microsoft.Data.Entity.Design.EntityDesigner.ModelChanges { using Microsoft.Data.Entity.Design.EntityDesigner.Rule...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace LLVM { public unsafe class ExecutionEngine : IDisposable, IPointerWrapper { private LLVMExecutionEngineRef* m_handle; public ExecutionEngine(Module module) { StringBuilder sb = ...
using DeXrm.Win.Datos; using DeXrm.Win.Object; using Configuration = DeXrm.Win.Object.Configuration; namespace DeXrm.Win.Tools.Models { //using Microsoft.Crm.Sdk.Helper; public class ModelsFrmImport : SuperBase, IModelsFrmImport { public bool SaveConfig() { var obj...
using System; using System.Collections.Generic; using System.Linq; using System.Text; class Program { static void Main(string[] args) { var story = new InStory(); // Create a room var room1 = story.Cell(); var room2 = story.Cell(); room2.shortDescription="anteroom"; // room2 ...
namespace ThriveDevCenter.Client.Utilities { using System.Collections.Generic; public class ClientSideResourceStatus<T> where T : class, IDeletedResourceStatus, new() { private readonly Dictionary<long, T> statuses = new(); public T GetStatus(long resourceId) { ...
//--------------------------------------------------------------------------------------------------------- // ▽ Submarine Mirage Framework for Unity // Copyright (c) 2020 夢想海の水底より(from Seabed of Reverie) // Released under the MIT License : // https://github.com/FromSeabedOfReverie/SubmarineMirageFrameworkForUnity/...
namespace Cowboy.Utils; /// <summary> /// Contains a single <see cref="HttpClient"/> instance. /// </summary> internal static class Http { /// <summary> /// Global <see cref="HttpClient"/> instance. /// </summary> public static HttpClient Client { get; } = new HttpClient(); }
namespace Snittlistan.Test { using Castle.Windsor; using NUnit.Framework; using Snittlistan.Web.Infrastructure.Installers; using Snittlistan.Web.Services; [TestFixture] public class ServicesInstallerTest { private readonly IWindsorContainer container; public Se...
namespace DataAPI.Context { public partial class UniOpetDbContext { public System.Data.Entity.DbSet<Models.Course> Courses { get; set; } public System.Data.Entity.DbSet<Models.Grade> Grades { get; set; } public System.Data.Entity.DbSet<Models.Student> Students { get; set; } ...
using System; using System.ComponentModel; using System.ComponentModel.DataAnnotations; using IdokladSdk.Enums; namespace IdokladSdk.ApiModels { public class IssuedInvoiceItemBase : IssuedInvoiceItemWrite { [StringLength(20)] public string Code { get; set; } public DateTime DateLastCh...
// // Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. // using System; using System.Threading; using System.Threading.Tasks; namespace Microsoft.SqlTools.Utility { /// <summary> /// Provides a simple wrapper ov...
using System; namespace Sexy { internal class XNASoundConstants { public static uint MAX_SOUNDS = 256U; } }
using System; using System.Collections.Generic; using System.Threading.Tasks; namespace Resgrid.Model.Repositories { /// <summary> /// Interface IUserStatesRepository /// Implements the <see cref="UserState" /> /// </summary> /// <seealso cref="UserState" /> public interface IUserStatesRepository: IRepository<U...
using Microsoft.Xna.Framework; namespace CollisionBuddy { public interface ILine : ICollidable { Vector2 Start { get; set; } Vector2 End { get; set; } float Length { get; } Vector2 Direction { get; } Vector2 Normal { get; } } }
using UniRx; using UnityEngine; namespace Samples.Section3.FactoryMethods { public class ObservableWWWSample : MonoBehaviour { private void Start() { var url = "https://unity3d.com/jp"; //結果(www.text)のみを受け取る場合 ObservableWWW.Get(url) .Subscri...
using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Text; using System.Threading.Tasks; using System.Net.Sockets; namespace Shapp { /// <summary> /// Interface designed to be a carrier for Shapp internal messages. /// /// If you want add a new message typ...
namespace ReassureTest.AST.Expected { /// <summary> /// a '?' matcher /// </summary> class AstAnyMatcher : IAssertEvaluator { } }
namespace Bonsai.Code.Utils.Helpers { /// <summary> /// Helper methods for working with numbers. /// </summary> public static class NumberHelper { /// <summary> /// Returns the string formatted with the correct version of the word for it. /// </summary> public static...
using System.Collections.Generic; namespace ManageGo.Core.Managers.Models { public class User { public int UserID { get; set; } public string UserFirstName { get; set; } public string UserLastName { get; set; } public string UserFullName => $"{UserFirstName} {UserLastName}".Tr...
//----------------------------------------------------------------------------- // <copyright file="AwsXrayRecorderBuilderTests.cs" company="Amazon.com"> // Copyright 2016 Amazon.com, Inc. or its affiliates. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"). // Yo...
using System.Collections.Generic; using System.IO; using RhythmCodex.Cd.Model; namespace RhythmCodex.Cd.Streamers { public interface ICdSectorStreamReader { IEnumerable<ICdSector> Read(Stream stream, long length, bool keepOnDisk, int sectorLength = 2352); } }
using System.Linq; namespace Couchbase.Linq.Filters { /// <summary> /// Filter designed to be applied to a LINQ query automatically /// </summary> public interface IDocumentFilter<T> { /// <summary> /// Priority of this filter compared to other filters against the same type. Lower...
using System; using Perfusion; using Xunit; namespace PerfusionTest { public class TypeGuessingTests { [Fact] public void GuessType() { Container c = new Container(); object gt = c.GetInstance(typeof(GuessableType)); Assert.NotNull(gt); As...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Sharpnote.Interfaces { /// <summary> /// Interface encasing properties of a note from Simplenote. /// </summary> public interface INote { /// <summary> /// Note identifier created by Si...
namespace WeTools.SqlSugarMysqlConfigProvider.Options { /// <summary> /// 配置提供者选项 /// </summary> public class ConfigProviderOption { /// <summary> /// 连接字符串 /// </summary> public string ConnectionString { get; set; } /// <summary> /// 后台配置的应用名称,根据此项查询...
using System; using System.Collections.Generic; using System.Data; using System.Data.SqlClient; using System.Linq; using System.Text; using System.Threading.Tasks; using Data.Interfaces; using Models.Tables; namespace Data.Repo { public class ADORepo : IDvdsRepo { public void DeleteDvdId(int dvdId) ...
#region Copyright & License /* Copyright (c) 2005-2011 nJupiter 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, cop...
using System.Collections.Generic; namespace Umbraco.CodeGen.Configuration { public interface IDataTypeProvider { IEnumerable<DataTypeDefinition> GetDataTypes(); } }
using System; using System.Collections.Generic; using System.Text; using FluentMigrator.Builder.Create.Index; namespace DS.GeoRef.DataStore.Migrations.Repository { public class FluentMigratorRepository { } }
using System; namespace SujaySarma.Sdk.Azure.Common { /// <summary> /// Type of identity assigned to a resource /// </summary> [Flags] public enum ResourceIdentityTypeEnum { /// <summary> /// Is a user-assigned identity /// </summary> UserAssigned = 0, ...
using System.Collections.Generic; using osu.Framework.Allocation; using osu.Framework.Graphics; using osu.Framework.Graphics.Pooling; using osu.Framework.Utils; using osu.Game.Graphics; using osu.Game.Rulesets.Judgements; using osu.Game.Rulesets.Objects.Drawables; using osu.Game.Rulesets.Tau.Objects; using os...
/* * Copyright (c) Tomas Johansson , http://www.programmerare.com * Regarding the license (Apache), please find more information * in the file "LICENSE_NOTICE.txt" in the project root directory * and also license information at this URL: * https://github.com/TomasJohansson/adapters-shortest-paths-dotnet/ */ using Pr...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace _1.CharityMarathon { class Program { public static void Main(string[] args) { var marathonDays = long.Parse(Console.ReadLine()); var runners = l...
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Reflection; using Xunit; namespace Microsoft.AspNet.Mvc.ReflectedModelBuilder.Test { public class Refl...
using System; namespace ViennaNET.CallContext { public class EmptyCallContext : ICallContext { public string RequestId => Guid.NewGuid() .ToString("N"); public string UserId => Environment.UserName; public string UserDomain => Environment.UserDomainName; public string RequestCal...
 namespace YTMusicUploader.Providers.RequestModels { public class BrowsePlaylistsResultsContinuationContext { public Responsecontext responseContext { get; set; } public string trackingParams { get; set; } public Continuationcontents continuationContents { get; set; } public c...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Authorization; using NetCoreBBS.Infrastructure; using NetCoreBBS.Entities; // For more information on enabling MVC for empty projects, visit http://go.microsoft.c...
// ***START*** #region _BrowseName_ Enumeration #if (!OPCUA_EXCLUDE__BrowseName_) /// <summary> /// _Description_ /// </summary> /// <exclude /> [System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")] [DataContract(Namespace = _XmlNamespaceUri_)] public enum _BrowseName_ { // ListOfPrope...
namespace EntityFrameworkCore.Serialization { public interface IDbContextSerializer < in T > { IEntityEntryReader CreateReader ( T readable ); IEntityEntryWriter CreateWriter ( T writable ); } }
using System; using System.Collections.Generic; using System.Linq; using System.Text; public struct dbrushside_t //lump 19 : 8 bytes { public ushort planenum; // facing out of the leaf public short texinfo; // texture info public short dispinfo; // displacement info public short bevel; // is the side ...
// Copyright (c) Yaroslav Bugaria. All rights reserved. namespace MsiFinder.Model { public enum InstallState { NotUsed = -7, BadConfiguration = -6, Incomplete = -5, SourceAbsent = -4, MoreData = -3, InvalidArgument = -2, Unknown = -1, Broken = 0,...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SUMALI.TUT.ScissorsStonePaper.Enums { /// <summary> /// Auswahlliste für die Möglichkeiten zum Auswählen. /// Schere, Stein oder Papier /// </summary> public enum SelectedI...
using System.Collections.Generic; using System.IO; using Baidu.Aip.Face; namespace Baidu.Aip.Demo { public class FaceDemo { private readonly Face.Face client = null; public FaceDemo(string apiKey, string secretKey) { client = new Face.Face(apiKey, secretKey); } ...
using System; using System.Threading; using System.Threading.Tasks; using Microsoft.Extensions.Hosting; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Options; namespace SchedulerBot.Services { public class TelegramBackgroundService : BackgroundService { private readonly ILogger<Telegr...
#region license /* * [Scientific Committee on Advanced Navigation] * S.C.A.N. Satellite * * SCANtype - Enum for SCANsat scanner types * * Copyright (c)2013 damny; * Copyright (c)2014 technogeeky <technogeeky@gmail.com>; * Copyright (c)2014 (Your Name Here) <your email here>; see LICENSE.txt for licensing d...
// // Copyright 2010 Deveel // // 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 l...
using System; using FluentValidation; using Foundatio.Skeleton.Domain.Models; namespace Foundatio.Skeleton.Domain.Validators { public class NotificationValidator : AbstractValidator<Notification> {} }
//------------------------------------------------------------------------------ // <copyright file="CapabilitiesState.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> //------------------------------------------------------------------------------ namespace Sy...
using System; using System.Text; using RethinkDb.Spec; namespace RethinkDb.Newtonsoft.Test { public static class DebugExtensionsForDatum { public static string ToDebugString(this Datum d) { var sb = new StringBuilder(); d.PrintDatum(0, ref sb); return sb.ToS...