content
stringlengths
23
1.05M
using SeriousGameToolbox.I2D.Events; using System; using System.Collections.Generic; using System.Linq; using System.Text; using UnityEngine; namespace SeriousGameToolbox.I2D.Controls { public class ButtonControl : Control { private GUIContent guiContent = GUIContent.none; public GUIContent Gu...
 namespace LionFire.Coroutines { // public interface ICoroutineHostProvider // { // CoroutineHost GetCoroutineHost(object owner = null); // } public interface IHasCoroutineHost { CoroutineHost CoroutineHost { get; } } }
using FluentValidation; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using YukihiraKitchen.Domain; namespace YukihiraKitchen.Application.Recipes { public class RecipeIngredientValidator: AbstractValidator<RecipeIngredientParam> { p...
using SkiaSharp; using Xamarin.Forms; using Xamarin.Forms.Xaml; namespace Sample.SampleViews { [XamlCompilation(XamlCompilationOptions.Compile)] public partial class AnimationPage : ContentPage { private SkiaSharp.Elements.Rectangle _rectangle; private SKPoint _startLocation; publ...
using UnityEngine; using System.Collections; using UnityEngine.UI; public class statusbar : MonoBehaviour { private RectTransform rect; private Vector3 position; // Use this for initialization void Start () { rect = this.GetComponent<RectTransform>(); position = rect.position; } // Update is called on...
using UnityEngine; using System.Collections; using System.Collections.Generic; using System.Linq; public class PedestrianLoader : MonoBehaviour { Dictionary<int, List<PedestrianPosition>> pedestrianPositions = new Dictionary<int, List<PedestrianPosition>>(); PlaybackControl pc; GameObject parent; [S...
namespace Fabric.Authorization.Domain.Services { public interface IEventContextResolverService { string Username { get; } string ClientId { get; } string Subject { get; } string RemoteIpAddress { get; } } }
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System.ComponentModel; using System.Drawing; using WinForms.Common.Tests; using Xunit; namespace System.Wind...
using EvidenceCapture.Model.Base; using EvidenceCapture.Properties; using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Drawing; using System.IO; using System.Linq; using System.Runtime.InteropServices; using System.Text; using System.Text.RegularExpressions; using System...
using System.Collections.Generic; using System.Linq; using Microsoft.AspNetCore.Mvc.ModelBinding; namespace GFT_ClubHouse__Management.Libs.ExtensionsMethods { public static class ModelStateExtension { public static List<string> ListErrors(this ModelStateDictionary modelstate) { return modelstat...
using System.Collections.Generic; using WePay.Shared; namespace WePay.Risk.Common { /// <summary> /// All possible Normalized Address Statuses currently supported by WePay /// </summary> public static class NormalizedAddressStatuses { /// <summary> /// Indices for Values property f...
using System.Threading.Tasks; using Noise.RemoteServer.Protocol; namespace Noise.RemoteClient.Interfaces { interface IAlbumProvider { Task<AlbumListResponse> GetAlbumList( long artistId ); Task<AlbumListResponse> GetFavoriteAlbums(); Task<AlbumUpdateResponse> UpdateAlbumRatings( ...
using System; using System.Collections.Generic; using Autodesk.DesignScript.Runtime; namespace DynaShape.Goals { [IsVisibleInDynamoLibrary(false)] public class AngleGoal : Goal { public float TargetAngle = 0f; public AngleGoal(Triple A, Triple B, Triple C, float targetAngle, float weight...
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="ExceptionLogger.cs" company="Microsoft Corporation"> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT license. // </copyright> // <summary> /...
//----------------------------------------------------------------------- // <copyright file="ISupportNavigation.cs" company="Marimer LLC"> // Copyright (c) Marimer LLC. All rights reserved. // Website: http://www.lhotka.net/cslanet/ // </copyright> // <summary>Interface that defines template that Navigatgor <...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class ErrorInfo : MonoBehaviour { public MidiInput midiinput; public GameObject error; // Use this for initialization void Start () { midiinput = this.GetComponent<MidiInput>(); ...
using Zorbit.Features.Observatory.Core.Model; namespace Zorbit.Features.Observatory.Core.Indexing { public interface IIndexerTaskFactory { IIndexerTask CreateTask(IndexType indexType); } }
using System.Reflection; using System; using UnityEngine; public static class DebugHelper { //for debuging: public static string PrintGameMessage(GameMessage msg){ string output = ""; Type type = typeof(GameMessage); PropertyInfo[] properties = type.GetProperties(); /* if (prope...
using CaptivePortalAssistant.Helpers; using CaptivePortalAssistant.Models; using CaptivePortalAssistant.Services; using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Windows.ApplicationModel.Activation; using Windows.System; using Windows.UI.Xam...
using FastReport.Utils; using System; using System.Collections.Generic; using System.Net; using System.Text; using System.Web; using FastReport.Web.Application.Localizations; using FastReport.Web.Controllers; namespace FastReport.Web { partial class WebReport { internal string template_HtmlExportSe...
namespace Meadow.Foundation.Sensors.GPS { public class GSADecoder : NMEADecoder { #region Delegates and events /// <summary> /// Delegate for the GSA data received event. /// </summary> /// <param name="activeSatellites">Active satellites.</param> /// <param...
using System; using System.Threading.Tasks; using R5T.T0064; namespace R5T.D1001.D001.I001 { [ServiceImplementationMarker] public class ServiceA : IServiceA, IServiceImplementation { private IServiceZ ServiceZ { get; } public ServiceA( IServiceZ serviceZ) { ...
using System; using System.Globalization; using System.IO; using System.Reflection; using Mix.Attributes; namespace Mix.Commands { [Description("Shows the version of this application.")] public class VersionCommand : Command { public override int Execute() { WriteVersion(); ...
using System.Collections; using System.Collections.Generic; using System.Linq; using System.Text; namespace SimpleEssentials.ToQuery { public class QueryObject : IQueryObject { public string Query { get; set; } public Dictionary<string, object> Parameters { get; set; } = new Dictionary<string,...
using System; using System.Net; using System.Net.Http; using System.Threading.Tasks; using Moq; // ReSharper disable UnusedMember.Global namespace DevOpsTools.UnitTests { public static class TestHelper { // ReSharper disable once InconsistentNaming public const string RealOrganization = "upmc...
namespace IcyRain.Resolvers { internal enum ResolverType { Default, Union, UnionByte, UnionUShort, } }
using Microsoft.Win32; using System; using System.Collections.Generic; using System.Drawing; using System.IO; using System.Reflection; using System.Windows.Forms; using NEATNeuralNetwork; namespace NEATNeuralNetwork { public partial class Form1 : Form { public Form1() { InitializeC...
//********************************************************************************** //* Copyright (C) 2007,2016 Hitachi Solutions,Ltd. //********************************************************************************** #region Apache License // // Licensed under the Apache License, Version 2.0 (the "License"); // ...
using Moq; namespace HotelCalifornia.Tests.RepositoryFacts { public class Reservation { public class CreateReservation { public void WillThrowIfRoomIsNotAvailable() { var repository = new Mock<IReservationRepository>(); } ...
namespace Fidectus.Models { public class PipelineDetails { public DeliverableByBarge DeliverableByBarge { get; set; } public EntryPoint EntryPoint { get; set; } public IncoTerms IncoTerms { get; set; } public PipelineName PipelineName { get; set; } public PipelineCycles ...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class UIItemDemandController : MonoBehaviour { private Image panel; private Text text; private ItemController item; private ItemController.ItemType demand; private Color originalColor; // Start is c...
using FlowMock.Engine.Models.Trigger; using System.Collections.Generic; using System.Threading.Tasks; namespace FlowMock.Engine.Models.Rules { public abstract class NodeBase : INode { protected Element _element; public NodeBase(Element element) { _element = element; ...
using System.Collections.Generic; namespace TuFactura.co.Modelo { public class Suscriptor { public string Tipo { get; set; } public string CodigoTipo { get; set; } public string RazonSocial { get; set; } public string NombreComercial { get; set; } public strin...
using UnityEngine; using UnityEngine.Rendering; using System.Collections; #pragma warning disable 162 using ImprovedPerlinNoiseProject; namespace MarchingCubesGPUProject { public class MarchingCubesGPU_4DNoise : MonoBehaviour { //The size of the voxel array for each dimension co...
using System; using System.Drawing; using System.Media; using System.Threading; using System.Windows.Forms; namespace JRunner.Panels { public partial class NandTools : UserControl { public NandTools() { InitializeComponent(); } public int getNumericIterations() ...
using BankUserAccountManagmentDAL.Constants; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Reflection; using System.Threading.Tasks; namespace BankUserAccountManagementApplication.ValidationAttributes { public class ExceedMaxValueValid...
//--------------------------------------------------------------------- // <copyright file="IODataStreamListener.cs" company="Microsoft"> // Copyright (C) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information. // </copyright> //--------------------------------...
using UnityEngine; namespace pdxpartyparrot.Core.Effects.EffectTriggerComponents { public class CompareFloatEffectTriggerComponent : EffectTriggerComponent { [SerializeField] private string _name; [SerializeField] private float _value; [SerializeField] private ...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEditor; public class EditorUtils : Editor { private bool Change = false; private bool BoolField(ref bool Property, string LabelText) { bool Temp = Property; EditorGUILayout.BeginHorizontal(); ...
using System; using System.Windows.Controls; using System.Windows.Threading; namespace GitHub.UI.Login { public partial class Login2FaView : UserControl { public Login2FaView() { InitializeComponent(); IsVisibleChanged += (s, e) => { if (IsV...
// // Copyright (c) Microsoft Corporation. All rights reserved. // using System; using System.Text; namespace Bartok.MSIL { public class SignatureMethod: Signature { // Constructor Methods internal SignatureMethod(CallingConventions callingConvention, uint genericPar...
using System.Collections.Generic; using NSubstitute; using Visma.Sign.Api.Client.Settings; namespace Visma.Sign.Api.Client.UnitTests.Builders.Settings { sealed class ScopesStubBuilder { private List<string> m_required = new List<string>(); public ScopesStubBuilder WithRequired(params string[]...
// Copyright (c) Rapid Software LLC. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using Scada.Comm.Channels; using Scada.Comm.Config; using Scada.Forms; using System; using System.IO.Ports; using System.Windows.Forms; namespace S...
using MongoDB.Bson; using System.Collections.Generic; namespace Network.NetTools { /// <summary> /// A basic structure defining a 2D Position with <see cref="int"/> variables /// </summary> public class Point { /// <summary> /// The X position /// </summary> public ...
using Bing.Admin.Commons.Domain.Models; using FreeSql.Extensions.EfCoreFluentApi; namespace Bing.Admin.Data.Mappings.Commons.MySql { /// <summary> /// 文件 映射配置 /// </summary> public class FileMap : Bing.FreeSQL.MySql.AggregateRootMap<File> { /// <summary> /// 映射表 /// </summa...
 namespace DotCommerce.Persistence.SqlServer.Test.Infrastructure.Support { using System.Collections.Generic; using System.Configuration; using global::DotCommerce.Domain; using global::DotCommerce.Interfaces; using global::DotCommerce.Persistence.SqlServer.Test.Infrastructure.DTO; using Respawn; using Should...
@using Microsoft.AspNetCore.Mvc.Localization @inject IViewLocalizer Localiser <form method="POST" action="/login"> <h1>@Localiser["Title"]</h1> <fieldset> <label for="username">@Localiser["UsernameLabel"]</label> <div> <input id="username" type="text" ...
// // Copyright 2011 abhatia // // 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 ...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. #nullable enable namespace Microsoft.CodeAnalysis { // members of special types internal enum SpecialMembe...
//----------------------------------------------------------------------- // <copyright file="NodeDataActor.cs" company="Akka.NET Project"> // Copyright (C) 2009-2019 Lightbend Inc. <http://www.lightbend.com> // Copyright (C) 2013-2019 .NET Foundation <https://github.com/akkadotnet/akka.net> // </copyright> //...
namespace AllInPoker.Models { using System; using System.Collections.Generic; public class MasterclassModel { public int Id { get; set; } public DateTime Date { get; set; } public DateTime Time { get; set; } public int MinPlayers { get; set; } ...
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; using AspectCore.DynamicProxy; using Xunit; namespace AspectCore.Tests.DynamicProxy { // https://github.com/dotnetcore/AspectCore-Framework/issues/1...
namespace SwitchVsVersion { internal interface ISwitcher { bool IsMatch(string version); void Switch(string path, string version); } }
using System.IO; namespace UnshieldSharp.Cabinet { public class FileDescriptor { public uint NameOffset { get; private set; } public uint DirectoryIndex { get; private set; } public FileDescriptorFlag Flags { get; set; } public ulong ExpandedSize { get; private set; } p...
using LINGYUN.Abp.TenantManagement; using Volo.Abp.Caching; using Volo.Abp.Modularity; namespace LINGYUN.Abp.MultiTenancy.RemoteService { [DependsOn( typeof(AbpCachingModule), typeof(AbpTenantManagementHttpApiClientModule))] public class AbpRemoteServiceMultiTenancyModule : AbpModule { ...
using System.Drawing; using System.Windows.Forms; namespace ModBotInstaller { public class NewProgressBar : ProgressBar { Brush _orangeBrush; Brush _backgroundBrush; public int Padding = 1; public NewProgressBar() { SetStyle(ControlStyles.UserPaint, true);...
using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; using System; using System.Collections.Generic; namespace ShootTheTraps { public class Particle : GameObject { private Color color; private int alpha = 255; private int mImageIndex; private const double parti...
using System; using System.Runtime.InteropServices; namespace RecklessBoon.MacroDeck.GPUZ { [StructLayout(LayoutKind.Sequential, Pack = 1, CharSet = CharSet.Unicode)] public struct GPUZ_SH_MEM { public UInt32 version; public volatile Int32 busy; public UInt32 lastUpdate; } }
using System; using Timeline.Commands; namespace Sample.Application.Write { public class BoxPerson : Command { public BoxPerson(Guid id) { AggregateIdentifier = id; } } }
 namespace FastQuant { public static class IdArrayExtensions { public static T GetOrCreate<T>(this IdArray<T> array, int id, int size = 1024) where T : class, new() { var o = array[id]; if (o == null) array[id] = o = new T(); return o; ...
// SMARTTYPE int // SMARTTEMPLATE ReadSmartVarTemplate // Do not move or delete the above lines using System.Collections; using System.Collections.Generic; using UnityEngine; using SmartData.Abstract; namespace SmartData.SmartInt.Components { /// <summary> /// Automatically listens to a <cref>SmartInt</cref> and fi...
using BluebirdPS.APIV2.Objects; namespace BluebirdPS.APIV2.UserInfo.Metrics { public class Public : BaseMetrics { public long FollowersCount { get; set; } public long FollowingCount { get; set; } public long ListedCount { get; set; } public long TweetCount { get; set; } ...
using System.Collections.Generic; using System.IO; using System.Threading.Tasks; using IntelligentApp.Models; using Microsoft.ProjectOxford; using Microsoft.ProjectOxford.Emotion; namespace IntelligentApp.CognitiveServices { public class Emotion : IVisionService { public async Task<VisionResult> Analy...
using System; using System.IO; using System.Threading; using Rocket.Core.Logging; using SDG.Unturned; using UnityEngine; using ILogger = Rocket.API.Logging.ILogger; namespace Rocket.Unturned.Console { public class UnturnedConsolePipe : MonoBehaviour { public ILogger Logger { get; set; } } }
using System; namespace CurrencyCloud { class ParamAttribute : Attribute { } }
// Copyright (c) 2021 Jeevan James // This file is licensed to you under the MIT License. // See the LICENSE file in the project root for more information. using Datask.Providers.Scripts; using Microsoft.Data.SqlClient; namespace Datask.Providers.SqlServer; public sealed class SqlServerScriptGeneratorProvider : Sc...
// <auto-generated /> using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage; using Microsoft.EntityFrameworkCore.Storage.Internal; using MyMiniTra...
using MixERP.Net.VCards.Serializer; using MixERP.Net.VCards.Types; namespace MixERP.Net.VCards.Processors { public static class Base64StringProcessor { public static string SerializeBase64String(string value, string key, string type, VCardVersion version) { if (string.IsNullOrWhiteS...
using System; using UnityEngine; namespace Wowsome { public delegate T Delegate<T, U>(U t); public class CapacityData { public int Max { get; private set; } public int Cur { get; private set; } public float DecimalPercentage => (float)Cur / Max; public float Percentage => DecimalPercentage * 100f...
using Dockman.CLI.Commands; using Dockman.CLI.Commands.Projects; using Dockman.CLI.Platform; using Dockman.Environment.Providers; using System; using System.Linq; using System.Threading.Tasks; namespace Dockman.CLI { public class Program { public static int Main() => SecureRun().Result; priva...
using JsonApiDotNetCore.Configuration; using JsonApiDotNetCore.Controllers; using JsonApiDotNetCore.Controllers.Annotations; using JsonApiDotNetCore.QueryStrings; using JsonApiDotNetCore.Services; using Microsoft.Extensions.Logging; namespace JsonApiDotNetCoreExampleTests.IntegrationTests.RestrictedControllers { [...
/* Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT License. See License.txt in the project root for license information. */ using System; using System.Collections.Generic; using System.Linq; using System.Xml.Linq; using System.Xml.XPath; using Adxstudio.Xrm.Globalization; using Adx...
#if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR) #pragma warning disable using System; using BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Crmf; using BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509; namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Cmp { public class RevRepContentBuild...
namespace Tftp.NetStandard.Transfer { static class InitialStateFactory { /*public enum TransferInitiatedBy { LocalSystem, RemoteSystem } public enum TransferMode { Read, Write } public static ITftpState Ge...
// Copyright (c) Arctium. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Arctium.WoW.Launcher.Constants; enum MemProtection { NoAccess = 0x1, ReadOnly = 0x2, ReadWrite = 0x4, WriteCopy = 0x8, ...
using System; using System.ComponentModel.DataAnnotations; namespace Petminder_RestApi.Dtos { public class UserCreateDto : UserCreateUpdateBaseDto { [Required] [StringLength(250)] public string Username { get; set; } public Guid AccountId { get; set; } } }
using System; using Wanghzh.Prism.Regions.Behaviors; namespace Wanghzh.Prism.Regions { [AttributeUsage(AttributeTargets.Class | AttributeTargets.Interface, AllowMultiple = true, Inherited = true )] public sealed class RegionMemberLifetimeAttribute : Attribute { public RegionMemberLifetimeAttribute()...
#pragma warning disable 1591 using System; using System.ComponentModel; using System.ComponentModel.DataAnnotations; using System.Diagnostics.CodeAnalysis; using System.Linq.Expressions; using System.Reflection; namespace GenericSearch.Searches { public class TextSearch : AbstractSearch { public enum ...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.RazorPages; using Microsoft.Extensions.Logging; namespace ExamInvigilatorProject.Pages { public class RegisterModel : PageModel { ...
using NUnit.Framework; using Sonneville.Utilities.Reflection; namespace Sonneville.Utilities.Test.Reflection { [TestFixture] public class PropertyComparerTests { private PropertyComparer _propertyComparer; [SetUp] public void Setup() { _propertyComparer = new P...
using JetBrains.Annotations; namespace XyrusWorx.Threading { [PublicAPI] public enum SequenceErrorBehavior { Ignore, Continue, Abort } }
using System; using System.Collections.Generic; using System.Linq; using System.Web.Mvc; using MvcSolution.Data; using MvcSolution.Services.Admin; using MvcSolution.Web.ViewModels; namespace MvcSolution.Web.Admin.ViewModels { public class UserIndexViewModel: LayoutViewModel { public List<SelectListIte...
//using System; //using System.Collections.Generic; //using System.Linq; //using System.Text; namespace System.Reflection { public static class AttributeExtensions { public static bool HasAttribute<T>(this MemberInfo element) where T : Attribute { return Attribute.IsDefined(element...
using System; using System.Windows; using System.Windows.Threading; using Microsoft.Web.Media.SmoothStreaming; namespace Microsoft.SilverlightMediaFramework.Player { // shim SSME helper, does two things: 1) monitors the state of the SSME control // so it can be restored later, and 2) encapsulates the retry ...
using MVCCustomer.Entities; using MVCCustomer.Services; using Microsoft.AspNetCore.Mvc; using MVCCustomer.ViewModels; using System.Linq; using System; namespace MVCCustomer.Controllers { public class CustomerController : Controller { public ICustomerData _customerData; public CustomerControl...
using System; using System.Collections.Generic; namespace Eric.Morrison.Harmony.Chords { public class ChordFormulaFunctionalEqualityComparer : IEqualityComparer<ChordFormula> { public bool Equals(ChordFormula x, ChordFormula y) {//Don't compare keys, due to BorrowedChordHarmonicAnalysisRule dependence. var r...
using System.Diagnostics.CodeAnalysis; namespace Cake.Common.Tools.DotCover { /// <summary> /// Represents DotCover ReportType /// </summary> [SuppressMessage("ReSharper", "InconsistentNaming")] public enum DotCoverReportType { /// <summary> /// ReportType: <c>XML</c> /...
using UnityEngine; namespace Juniper.Animation { /// <summary> /// Performs a shrinking/growing animation on scene transitions. /// </summary> [DisallowMultipleComponent] public class AlphaTransition : AbstractTransitionController { /// <summary> /// The minimum opacity of the...
//----------------------------------------------------------------------- // <copyright file="PropertyChangingEventArgs.cs" company="Marimer LLC"> // Copyright (c) Marimer LLC. All rights reserved. // Website: http://www.lhotka.net/cslanet/ // </copyright> // <summary>Arguments object containing information ab...
using FatturaElettronica.Common; using FluentValidation; using FluentValidation.TestHelper; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace FatturaElettronica.Test.Ordinaria { [TestClass] public abstract class DenominazioneNomeCognomeValidator<TClass, TValidator> : BaseClass<TClass, TVal...
using System; using System.Collections; using System.Collections.Concurrent; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Linq; using System.Text; using System.Threading.Tasks; using Cake.Core; namespace Cake.Helpers.Tasks { internal class HelperTask : IHelperTask { in...
using System.Threading.Tasks; using Microsoft.AspNetCore.JsonPatch; using Microsoft.EntityFrameworkCore; using Nervestaple.EntityFrameworkCore.Models.Entities; using Nervestaple.EntityFrameworkCore.Repositories; namespace Nervestaple.WebService.Repositories { /// <summary> /// Extends the standard rep...
// Copyright (c) Microsoft Corporation. // Licensed under the MIT license. using System; using System.Collections; using System.Collections.Generic; using System.Diagnostics; using System.IO; using Microsoft.Xna.Framework; //using Microsoft.Xna.Framework.Audio; //using Microsoft.Xna.Framework.Content; //using Micros...
using System.Collections.Generic; namespace GridExplorerBot { public class Game { public const int numRoomRows = 8; public const int numRoomColumns = 8; public const int numCommandResponseRows = 1; public const int numInventoryRows = 1; public const int numSaveDataRows =...
using UnityEngine; public abstract class GenericPrefabFactory<T> where T : MonoBehaviour { protected T m_component; private GameObject m_prefab; public GenericPrefabFactory(GameObject prefab) { m_prefab = prefab; m_component = m_prefab.GetComponent<T>(); if (m_component == nul...
using ApplicationServices.DTOs; using MVC.CompanyService; using MVC.Units; using MVC.ViewModels; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using System.Web; using System.Web.Mvc; namespace MVC.Controllers { public class ProjectEmployeeController : Controller ...
// Copyright (c) 2019 .NET Foundation and Contributors. All rights reserved. // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for full license information. using System; using System.Col...
using Spear.Framework; using Spear.Sharp.Contracts; using Microsoft.VisualStudio.TestTools.UnitTesting; using System; using System.Threading.Tasks; namespace Spear.Sharp.Tests { [TestClass] public class DatabaseTest : DTest { private readonly IDatabaseContract _contract; public DatabaseTe...
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Text; namespace California.Creator.Service.Models.Core { public class Webfont { public int WebfontId { get; set; } [Required] public string Family { get; set; } [...
@page @model RegisterModel @{ ViewData["Title"] = "Регистрирай се"; } <section id="register"> <form id="register-form" method="post" enctype="multipart/form-data"> <div class="container"> <h1>Регистрация</h1> <label asp-for="Input.Email">Потребителско име</label> <i...