content
stringlengths
23
1.05M
using Abp.Authorization; using Abp.Localization; namespace Satrabel.Starter.Web.Authorization { public class AuthorizationProvider : Abp.Authorization.AuthorizationProvider { public override void SetPermissions(IPermissionDefinitionContext context) { context.CreatePermission(Permis...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using NUnit.Framework; using Nylog.Utils; using Ploeh.AutoFixture; namespace Tests.Utils { [TestFixture] public class ObjectToDictionaryTests { private IFixture fixture = new Fixture...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace X.Models { /// <summary> /// 邮件发送设置 /// </summary> public class EmailConfig { public EmailConfig() { Port = 25; } /// <summary> ...
using System.Linq; using UnityEngine; public class GameState : MonoBehaviour { [SerializeField] private PieceSpawner pieceSpawner = default; [SerializeField] private GameObject pieces = default; public void MovePiece(Piece movedPiece, Vector3 newPosition) { // Check if there is already a piece...
using System; using System.Collections.Generic; using Ccf.Ck.Models.NodeSet; using Ccf.Ck.SysPlugins.Interfaces; using Ccf.Ck.Utilities.Generic; using Ccf.Ck.SysPlugins.Interfaces.ContextualBasket; namespace Ccf.Ck.SysPlugins.Iterators.DataNodes { internal class DataIteratorContext { public...
using System.Threading.Tasks; namespace FaucetSite.Lib { public interface IWalletUtils { Task<Transaction> SendCoin(string address); } }
using System; using System.Collections.Generic; using System.Text; using System.Xml.Serialization; namespace SoonLearning.Assessment.Data { [XmlInclude(typeof(MCQuestion))] [XmlInclude(typeof(MRQuestion))] [XmlInclude(typeof(MAQuestion))] [XmlInclude(typeof(FIBQuestion))] [XmlInclude(typeof(TFQues...
namespace Chest.Models.v2.Audit { public enum AuditDataType { Locale, LocalizedValue, } }
// Copyright (c) The Perspex Project. All rights reserved. // Licensed under the MIT license. See licence.md file in the project root for full license information. using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Perspex.Media { public ...
using System; using Microsoft.Extensions.Caching.Memory; namespace Memoization.MemCache { public static class MemoryCacheMemoizer { /// <summary> /// Memoizes provided function. Function should provide deterministic results. /// For the same input it should return the same res...
using System.Collections.Generic; using TwilightImperiumMasterCompanion.Core.DataAccess.Interfaces; using TwilightImperiumMasterCompanion.Core.Services.Interfaces; namespace TwilightImperiumMasterCompanion.Core.Services { public class PlanetService : IPlanetService { readonly IPlanetDataAccess planetD...
using NAudio.Wave; using NAudio.Wave.SampleProviders; using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace MusicalInstrument { public partial c...
using Microsoft.AspNetCore.Mvc; using OraEmp.Application.Services; using OraEmp.Domain.Entities; namespace Api.Controllers; [ApiController] [Route("[controller]")] public class DepartmentController : ControllerBase { private readonly IDepartmentService _service; public DepartmentController(IDepartmentService...
/* * Copyright (c) Adam Chapweske * * Licensed under MIT (https://github.com/achapweske/silvernote/blob/master/LICENSE) */ using DOM; using DOM.CSS; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Windows; using System.Windows.Media.TextFormatting; namespace Si...
using System; using System.Collections.Generic; using System.Text; using System.Reflection; namespace Maple.Core { /// <summary> /// Object的扩展方法 /// </summary> public static class PropertyInfoExtensions { public static bool HasAttribute<T>(this PropertyInfo info, bool inherit) ...
namespace XF.ChartLibrary.Utils { public class ChartColor { #if __IOS__ || __TVOS__ public readonly UIKit.UIColor Value; public ChartColor(UIKit.UIColor value) { Value = value; } public ChartColor(double r, double g, double b, double a) { ...
using System; using System.Collections.Concurrent; using Mono.Cecil; using Mono.Cecil.Cil; namespace OpenToolkit.Rewrite.Methods.Processors { /// <summary> /// Provides functionality for additional (epilogue) processing that is dependent /// on an earlier (prologue) rewriting step. /// </summary> ...
using Bonsai.RazorPages.Error.Services.LanguageDictionary; using Bonsai.RazorPages.Error.Services.LanguageDictionary.Languages; using Bonsai.Services.Interfaces; using DasContract.Editor.AppLogic.Facades; using DasContract.Editor.AppLogic.Facades.Interfaces; using DasContract.Editor.DataPersistence.DbContexts; using D...
using System.Collections.Generic; using TersoSolutions.Jetstream.Sdk.Objects.Events; namespace TersoSolutions.Jetstream.ServiceBase { /// <summary> /// Sort events by time /// </summary> public class EventComparer : IComparer<EventDto> { /// <summary> /// Compare the times ...
using System; using System.Collections.Generic; using System.Linq; using NUnit.Framework; using Plethora.Collections; namespace Plethora.Test.Collections { [TestFixture] public class ListIndexIterator_Test { private List<int> list; [SetUp] public void SetUp() ...
using System; using System.Collections.Generic; using System.Text; using TMDbApiDom.Dto.SidewayClasses.AbstractClasses; namespace TMDbApiDom.Dto.Authentication { public class RequestToken : BaseToken { } }
namespace BullsAndCows.Web.ViewModels { using BullsAndCows.Models; using BullsAndCows.Web.ViewModels.Validation; using System; using System.ComponentModel.DataAnnotations; using System.Linq.Expressions; public class GuessViewModel { public static Expression<Func<Guess, GuessViewMod...
using AutoMapper; using AutoMapper.QueryableExtensions; using Microsoft.EntityFrameworkCore; using Pokebook.core.Data; using Pokebook.core.Models; using Pokebook.core.Models.DTO; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Pokebook.core...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Oranikle.Studio.Controls { public interface IMsysBusinessBase { bool HasDataConflict { get; set; } bool CanAddObject(); bool CanDeleteObject(); ...
using Newtonsoft.Json; namespace PayU.Models.Base.Subcomponents { /// <summary> /// Describes the details of the Payer for the transaction. /// </summary> public class Payer { /// <summary> /// The Payer's identifier of the buyer in the shop’s system. /// </summary> ...
// ========================================================================== // Squidex Headless CMS // ========================================================================== // Copyright (c) Squidex UG (haftungsbeschränkt) // All rights reserved. Licensed under the MIT license. // ============================...
using LagoaVista.DeviceSimulator.Services; using System; using System.Collections.Generic; using System.Linq; using System.Net.Sockets; using System.Text; using System.Threading.Tasks; namespace LagoaVista.DeviceSimulator.UWP.Services { public class SocketClient : ISocketClient { TcpClient _client; ...
using System.Collections.Generic; namespace Windar.PlayerPlugin { class PlaydarResults { int _pollInterval; int _pollLimit; bool _solved; List<PlayItem> _playItems; public int PollInterval { get { return _pollInterval; } se...
using Akka.Actor; using Durian.IO; using System.Net; namespace Durian.Authentication { public class SessionService : ReceiveActor { IActorRef server; public SessionService() { // TODO configure server settings server = Context.ActorOf(Server.Props(null)); ...
// ReSharper disable once CheckNamespace namespace OpenPoseDotNet { public enum PoseCar12Part { FrontRightWheel = 0, FrontLeftWheel = 1, BackRightWheel = 2, BackLeftWheel = 3, FrontRightLight = 4, FrontLeftLight = 5, BackRightLi...
using Lidgren.Network; using System; using System.ComponentModel.DataAnnotations; namespace Gem.Network { /// <summary> /// How a message is sent /// </summary> public class PackageConfig { #region Required Fields [Required] public int SequenceChannel { get; set; } ...
using System; public class AutocompletionSettings { public Func<int, string, string[]> Match; public AutocompletionSettings (Func<string, string[]> match) { Match = (Func<int, string, string[]>) delegate(int index, string key) { if (index == 0) { return match(key); ...
namespace Leeax.Web { public enum Unit { Pixel, Percent, EM, REM, ViewportWidth, ViewportHeight } }
using System; using System.Collections.Generic; //using System.Linq; using System.Text; using Bio; using Bio.IO; using Bio.IO.FastA; namespace AlphabetSoup { class Program { static void Main(string[] args) { string filename = @"c:\users\mark\desktop\data\Simple_GenBank_DNA.genbank"...
/*===========================================================================*/ /* * * FileName : DestroyOtherBackground.cs * * * Author : Hiroki_Kitahara. */ /*===========================================================================*/ using UnityEngine; using System.Collections; public class Destr...
namespace Fumbbl.Ffb.Dto { public abstract class Report : ReflectedGenerator<string> { public Report(string key) : base(key) { } } }
using HarmonyLib; using System; using System.Collections.Generic; using System.Linq; using System.Text; using UnityEngine; /// <summary> /// See https://github.com/pardeike/Harmony/wiki for a full reference on Harmony. /// </summary> namespace PentaSaber.HarmonyPatches { [HarmonyPatch(typeof(ColorManager), nameof...
using System; using System.Runtime.Serialization; using ChineseDuck.Bot.Interfaces.Data; using Newtonsoft.Json; namespace ChineseDuck.Bot.Rest.Model { /// <summary> /// /// </summary> [DataContract] public class Score : BaseModel, IScore { /// <summary> /// Gets or Sets OriginalWo...
using System; using System.Collections; using System.Configuration; using System.Data; using System.Linq; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.HtmlControls; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Xml.Linq; using com.eforc...
using System; namespace Playground.Features.Userfy { public class PermissionAttribute : Attribute { public Permissions Permission { get; } public PermissionAttribute(Permissions permission) { Permission = permission; } } }
using System.ComponentModel.DataAnnotations.Schema; namespace api.Models { public class Topside { public Guid Id { get; set; } public string Name { get; set; } = string.Empty!; public Project Project { get; set; } = null!; public Guid ProjectId { get; set; } public Topsi...
using System; using System.ComponentModel; namespace DeltaCompressionDotNet.PatchApi { public sealed class PatchApiCompression : IDeltaCompression { public void CreateDelta(string oldFilePath, string newFilePath, string deltaFilePath) { const int optionFlags = 0; var op...
using Gunnsoft.Cqs.Events; using MongoDB.Bson; namespace Stubbl.Api.Events.TeamUpdated.Version1 { public class TeamUpdatedEvent : IEvent { public TeamUpdatedEvent(ObjectId teamId, string name) { TeamId = teamId; Name = name; } public string Name { get; ...
using System; namespace Yggdrasil.Scheduling { /// <summary> /// An exception that happened while executing a scheduled callback. /// </summary> public class CallbackException : Exception { /// <summary> /// Creates new exception. /// </summary> /// <param name="innerException"></param> public Callback...
using System; using System.Collections.Generic; using WinDbgDebug.WinDbg.Data; namespace WinDbgDebug.WinDbg.Results { public class StackTraceMessageResult : MessageResult { public StackTraceMessageResult(IEnumerable<StackTraceFrame> frames) { if (frames == null) thr...
using System; using System.Collections.Generic; using System.Text; namespace Shared.Models { public class ClassDetailsModel { public string Name { get; set; } public string Accessifier { get; set; } public Type Details { get; set; } public List<MethodDetailsModel> Methods { get...
using System; using System.Collections.Generic; using System.Numerics; using System.Text; using System.Threading.Tasks; using MineCase.Algorithm; using MineCase.Algorithm.Game.Entity.Ai.MobAi; using MineCase.Algorithm.World.Biomes; using MineCase.Engine; using MineCase.Graphics; using MineCase.Server.Components; using...
using Microsoft.AspNetCore.Html; using Microsoft.AspNetCore.Razor.TagHelpers; using System; using System.IO; using System.Text.Encodings.Web; namespace Polygon.TagHelpers { public class IndentHtmlContentBuilderWrapper : IHtmlContentBuilder, IDisposable { private readonly TagHelperContent _content; ...
using System; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata; namespace OPSMBackend.DataEntities { public partial class OPSMContext : DbContext { public OPSMContext() { } public OPSMContext(DbContextOptions<OPSMContext> options) :...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using week6.Model; namespace week6.Service { public class CountryService : EntityService<Country>, ICountryService { new IContext _context; public CountryService(IC...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace RubiksCubeSolver { /// <summary> /// identifies the position of an edge on a side /// </summary> public enum RelativeEdgePosition { Left, Top, Right, Bottom, NotExisting } }
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; using Valve.VR; public class ThrowingActionCanvas : ActionCanvasBase { public ActionCanvasElementBoolean prime; public ActionCanvasElementBoolean fire; public ActionCanvasElementSingle gripSqueez...
using System.Data.SqlClient; namespace Hotel { class DBConnConfig { public static SqlConnection GetDBConnection() { return new SqlConnection(); } } }
using System; using System.Collections.Generic; using UnityEngine; namespace UnityEngine.Ucg.Matchmaking { [Serializable] public class MatchmakingPlayer { [SerializeField] string id; [SerializeField] string properties; public string Id => id; public string...
/* * Licensed under the Apache License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0) * See https://github.com/aspnet-contrib/AspNet.Security.OAuth.Providers * for more information concerning the license and the contributors participating to this project. */ using Microsoft.AspNetCore.Authentication.Co...
using System.Collections.Generic; using System.Threading; using Edelstein.WvsGame.Fields.Objects.Users; namespace Edelstein.WvsGame.Fields { public class FieldObjPool { private int _runningObjectID = 1; private readonly List<FieldObj> _objects; public IEnumerable<FieldObj> Objects => _o...
// // StreamHeader.cs: Provides tagging and properties support for the DSD // (Direct Stream Digital) DSF properties. // // Author: // Helmut Wahrmann // // Copyright (C) 2014 Helmut Wahrmann // // This library is free software; you can redistribute it and/or modify // it under the terms of the GNU Lesser General...
using Microsoft.AspNetCore.Mvc; using Proyecto_Fia.Models; namespace Proyecto_Fia.Controllers { public class ProductosController : Controller { public IActionResult Lista() { return View(); } public IActionResult Ver(int id) { return View(); ...
using System.Threading.Tasks; namespace ComposableAsync { /// <summary> /// Asynchronous version of IDisposable /// For reference see discussion: https://github.com/dotnet/roslyn/issues/114 /// </summary> public interface IAsyncDisposable { /// <summary> /// Performs asynchro...
using DataLibrary.Enums; using DataLibrary.Models; using SeriesMVC.Models; namespace SeriesMVC.Factory { public interface IObjectFactory { ISeries CreateSeries(); ISeries CreateSeries(Gender gender, string title, string description, int year); ISeries CreateSeries(int id, Gender gender,...
using System; using System.Runtime.InteropServices; using System.Runtime.InteropServices.ComTypes; namespace IfacesEnumsStructsClasses { #region IOleControl Interface //MIDL_INTERFACE("B196B288-BAB4-101A-B69C-00AA00341D07") //IOleControl : public IUnknown //{ //public: // virtual HRESULT STD...
using System; using System.IO; using System.Reflection; using OptionKit.Exceptions; namespace OptionKit.Mapping { public abstract class MappingBase { protected internal object Object; protected internal string Usage = null; protected internal Options ExtractedOptions; protected internal readonly I...
using BuckarooSdk.Transaction; namespace BuckarooSdk.Services.Giftcards.VVVGiftcard { /// <summary> /// The Transaction class of payment method type: VVV giftcards. /// </summary> public class VVVGiftcardTransaction { private ConfiguredTransaction ConfiguredTransaction { get; } internal VVVGiftcardTransacti...
using System; using System.Collections.Generic; using System.Management.Automation; using System.Xml.Serialization; using TerritoryTools.Alba.Controllers.Kml; using TerritoryTools.Alba.Controllers.Models; namespace TerritoryTools.Alba.PowerShell { [Cmdlet(VerbsData.ConvertTo,"Kml")] [OutputType(typeof(GoogleM...
using System; using UnityEditor; using UnityEngine; namespace WeChat { class WXStandardLitParser : WXMaterialParser { enum RenderMode { Opaque = 0, Cutout = 1, Transparent = 2, Custom = 3 } public override void onParse (WXMaterial wxbb_materia...
using Abp.Modules; using System; using System.Collections.Generic; namespace Cinotam.FileManager { public class FileManagerModule : AbpModule { public static List<Type> FileManagerServiceProviders = new List<Type>(); protected FileManagerModule() { } } }
namespace MaxLib.Ini.Parser { public interface ITokenParser { IIniElement Parse(string source, ParsingOptions options); } public interface ITokenParser<T> : ITokenParser where T : IIniElement { new T Parse(string source, ParsingOptions options); } }
// <copyright file="Constants.cs" company="GeneGenie.com"> // Copyright (c) GeneGenie.com. All Rights Reserved. // Licensed under the GNU Affero General Public License v3.0. See LICENSE in the project root for license information. // </copyright> // <author> Copyright (C) 2016 Ryan O'Neill r@genegenie.com </author> n...
using System.Linq; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.OData.Query; using Microsoft.AspNetCore.OData.Routing.Controllers; using Microsoft.EntityFrameworkCore; using ODataExample.Entities; using ODataExample.EntityFramework; using ODataExample.Utilities; namespace ODataExample.Controllers { p...
using System; using ProtoBuf; namespace HarmonyIOLoader.NPC { [ProtoContract] [Serializable] public class SerializedNPCSpawner { [ProtoMember(1)] public int npcType; [ProtoMember(2)] public int respawnMin; [ProtoMember(3)] public int respawnMax; [ProtoMember(4)] public VectorData position; [...
using Microsoft.VisualStudio.TestTools.UnitTesting; using fxCoreLink; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.IO; using Common; namespace fxCoreLink.Tests { [TestClass()] public class AccumulatorMgrTests { Lo...
namespace GrandPrix.Models.Drivers { using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using GrandPrix.Models.Cars; public class AggressiveDriver : Driver { private const double A_D_FUEL_CONSUMPTION_PER_KM = 2....
using System; using System.Collections.Generic; namespace BackwardCompatibilityChecker.Infrastructure.Diagnostics { /// <summary> /// Create a static instance of each class where you want to use tracing. /// It does basically encapsulate the typename and enables fast trace filters. /// </summary> ...
namespace Shuttle.Abacus { public class SystemPermissions { public static class Manage { public const string Arguments = "abacus://arguments/manage"; public const string Formulas = "abacus://formulas/manage"; public const string Matrices = "abacus://matrices/...
namespace TriangulatedPolygonAStar.UI { public interface ILocationMarker : IDrawable { /// <summary> /// The position where this marker is currently put. /// </summary> IVector CurrentLocation { get; } /// <summary> /// Sets the position of thi...
using System; using System.Collections.Generic; using System.IO; using System.Text.Json; namespace TestDrivenDesign { enum FieldType { FloatingPoint, Integer, String, TimeOfDay, Boolean, BitField, Last = BitField, } interface AbstractField { ...
namespace UserService.Core.Entity { public enum UserState { Active, Unactive, Lock, } }
/* Copyright (C) 2004 - 2011 Versant Inc. http://www.db4o.com */ using Db4objects.Db4o.Internal; namespace Db4objects.Db4o.CS.Caching { public interface IClientSlotCache { void Add(Transaction transaction, int id, ByteArrayBuffer slot); ByteArrayBuffer Get(Transaction transaction, int id); } }
using AForge; using AForge.Imaging; using AForge.Imaging.Filters; using AForge.Math.Geometry; using System.Collections.Generic; using System.Drawing; using System.Drawing.Drawing2D; using System.Drawing.Imaging; namespace e_Clinica.ManejoImagen { public class Filter { public bool _elipse = false; ...
using System; using System.Collections.Generic; using System.Text; using Microsoft.Scripting; namespace Dlrsoft.VBScript.Compiler { public class VBScriptSyntaxError { public VBScriptSyntaxError(string fileName, SourceSpan span, int errCode, string errorDesc) { this.FileName = fileN...
using System.Reflection; using Basics.Containers; namespace FullStackTraining.CallMeBack.Repository { public static class ContainerSetup { public static void Register(IContainerBuilder builder) { builder.RegisterByConvention(new[] { Assembly.GetExecutingAssembly() }, ...
using System; using System.Linq; using UnityEditor.Experimental.GraphView; using UnityEditor.Graphing; using UnityEngine; using UnityEngine.UIElements; using ContextualMenuManipulator = UnityEngine.UIElements.ContextualMenuManipulator; using ContextualMenuPopulateEvent = UnityEngine.UIElements.ContextualMenuPopu...
namespace Tailviewer.Archiver.Plugins.Description { public interface IChange { /// <summary> /// A required short one sentence summary of the change. /// </summary> string Summary { get; } /// <summary> /// An optional (possibly longer) description of the change. /// </summary> string Descri...
using CampanhaBrinquedo.Domain.Entities.Child; using CampanhaBrinquedo.Domain.Interfaces; using System.Collections.Generic; using System.Threading.Tasks; namespace CampanhaBrinquedo.Domain.Repositories { public interface IChildRepository : IRepository<Child> { Task<IEnumerable<Child>> GetCriancasPorCam...
using System.Collections.Generic; using System.Net; using System.Threading.Tasks; using AutoMapper; using Lykke.Service.SellOutEngine.Client.Api; using Lykke.Service.SellOutEngine.Client.Models.Balances; using Lykke.Service.SellOutEngine.Domain; using Lykke.Service.SellOutEngine.Domain.Services; using Microsoft.AspNetC...
namespace Kigg.EF.Repository { using System; using Infrastructure; public class UnitOfWork : DisposableResource, IUnitOfWork { private readonly IDatabase _database; private bool _isDisposed; public UnitOfWork(IDatabase database) { Check.Argume...
using System; using System.ComponentModel; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace PKO.Models { public class Insurrance : BaseModel { public int Id { get; set; } [ForeignKey("Clinic")] public int ClinicId { get; set; } ...
using System; using System.Globalization; using System.Windows.Data; using Waves.Core.Base; namespace Waves.UI.WPF.Converters.Base { /// <inheritdoc /> public class WavesColorToHexStringConverter : IValueConverter { /// <inheritdoc /> public object Convert(object value, Type targetType, ob...
using System; using HotChocolate.Types; namespace HotChocolate.Internal { internal readonly struct TypeInfo { public TypeInfo(Type nativeNamedType, Func<IType, IType> typeFactory) { NativeNamedType = nativeNamedType; TypeFactory = typeFactory; } ...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Drawing; using System.Text; using System.Windows.Forms; using NilremUserManagement.CustomSteps; namespace NilremUserManagement { partial class UserManagementForm : Form { private List<User> users; ...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; using static Oire.Notika.Helpers.Tr; namespace Oire.Notika { public partial class MainForm: Form { pr...
using System; using System.Collections.Generic; //using System.Linq; using System.Text; namespace MyAss.Framework.BuiltIn.Procedures { public static class RandomGenerators { private static Dictionary<int, Random> generators = new Dictionary<int, Random>(); public static Random GetR...
using Microsoft.VisualStudio.TestTools.UnitTesting; using System.Collections.Generic; using System.Linq; namespace NHazm.Test { [TestClass] public class LemmatizerTest { [TestMethod] public void LemmatizeTest() { Lemmatizer lemmatizer = new Lemmatizer(); st...
using System; using System.Collections.Generic; using System.Threading.Tasks; using Smp.Web.Models; using Smp.Web.Repositories; namespace Smp.Web.Services { public interface IPostsService { Task CreatePost(Post post); Task<IList<Post>> GetPostsByReceiverId(Guid receiverId, int count); } ...
using System.Collections.Generic; using System.Linq; using UnityEngine; namespace Eflatun.UI.TabView { /// <summary> /// Manager for a tabbed UI view. /// </summary> public class TabView : MonoBehaviour { [Header("Highlighter")] [SerializeField] private RectTransform _highlighter; ...
using System.IO; namespace Assets.Scripts.LfdReader { /// <summary> /// Other record. Not really doing anything with this, so just read and move on. /// </summary> public class BmapRecord : LfdRecord { public byte[] Data { get; protected set; } protected override void ReadRecordDa...
// File: GAFAnimationAssetEditor.cs // Version: 5.2 // Last changed: 2017/3/31 09:57 // Author: Nikitin Nikolay, Nikitin Alexey // Copyright: © 2017 GAFMedia // Project: GAF Unity plugin using UnityEditor; using GAF.Assets; using GAF.Core; using GAFEditorInternal.Assets; using UnityEngine; using System.L...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Media; namespace EmptyKeys.UserInterface.Designer { public static class AnimatedImageBrush { priva...
using System.Collections; using System.Collections.Generic; using TMPro; using UnityEngine; public class UIPlayerPrefsText : MonoBehaviour { [SerializeField] string _key; // Start is called before the first frame update private void OnEnable() { int value = PlayerPrefs.GetInt(_key); Ge...
namespace Tralus.Framework.Migration.Migrations { using System; using System.Data.Entity.Migrations; public partial class KpiModuleAdded : DbMigration { public override void Up() { CreateTable( "dbo.KpiDefinitions", c => new ...