text
stringlengths
13
6.01M
using Newtonsoft.Json; namespace BDTest.Example.Context; public class MyApiContext { public HttpClient HttpClient { get; } = new(); public HttpRequestMessage RequestMessage { get; set; } public HttpResponseMessage ResponseMessage { get; private set; } public async Task ExecuteRequest() { ...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using System.Web.Security; namespace ManageWeb.Controllers { public class AccountController : ManageBaseController { // // GET: /Account/ [AllowAnonymous] [HttpGet] ...
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Text; namespace CG.MovieApp.UI.Models { public class FilmModel { [Required(ErrorMessage ="Bu alan boş geçilemez.")] [StringLength(50, ErrorMessage = "Bu alana en fazla 50 karakter girilebi...
#if UNITY_2019_1_OR_NEWER using UnityEditor; using UnityEngine.UIElements; using UnityAtoms.Editor; namespace UnityAtoms.BaseAtoms.Editor { /// <summary> /// Event property drawer of type `AtomBaseVariable`. Inherits from `AtomEventEditor&lt;AtomBaseVariable, AtomBaseVariableEvent&gt;`. Only availble in `UNITY...
using UnityEngine; using System.Collections; using System.Collections.Generic; using UnityEngine.UI; public class manger : MonoBehaviour { private string start = "Submit"; private float Timer; public Text display; public List<bool> Generators; public List<GameObject> enemies; // Use this for in...
using Autofac; using EmberKernel.Plugins.Components; using EmberKernel.Services.Configuration; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Options; using System; using System.Collections.Generic; using System.Text; namespace EmberKernel.Plugins { public static class PluginConfigurationExt...
using Autofac; using EmberKernel.Services.Statistic.DataSource.Variables; using EmberKernel.Services.Statistic.Format; using EmberKernel.Services.Statistic.Formatter.DefaultImpl.FormatExpression; using Microsoft.Extensions.Logging; using System; using System.Collections.Generic; using System.Linq; using System.Text; u...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.SceneManagement; public class SpawnerTitle : MonoBehaviour { public GameObject benno; public GameObject iben; // Use this for initialization void Start() { StartCoroutine(SpawnBennoCoroutine(...
using Microsoft.AspNet.Identity.EntityFramework; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; namespace NoteManager.Models { public class ApplicationUser : IdentityUser { [Required] [StringLength(35)] [Display(Name = "First Name")] public strin...
using ProtoBuf; using System; namespace RRExpress.Service.Entity { [ProtoContract(AsReferenceDefault = true, ImplicitFields = ImplicitFields.AllFields, EnumPassthru = true)] public class Message { public long MessageID { get; set; } public string Subject { get; set; } public string...
using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace com.Sconit.Web.Models.SearchModels.SI.SAP { public class ItemSearchModel : SearchModelBase { //Id, Code, ReferenceCode, Description, Uom, Plant, IOStatus, InboundDate, OutboundDate public int Id { ge...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class SkillConnectionTest : MonoBehaviour { //TODO: If DraggableSkill script was renamed make sure to update this as well private DraggableSkill dragScript; // Start is called before the first frame update void ...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEditor; public class GameCore : MonoBehaviour { public static GameCore instance; [Header("UI Behaviours")] public MapUI mapUI; public VirusUI virusUI; public TimeManager timeUI; [Space()] [Header("B...
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Threading.Tasks; namespace NgNetCore.ViewModels { public class ArriendoRegistrarRequest { [Required(ErrorMessage = "La identificación es requerida")] public string Clien...
//----------------------------------------------------------------------- // <copyright file="IView.cs" company="4Deep Technologies LLC"> // Copyright (c) 4Deep Technologies LLC. All rights reserved. // <author>Darren Ford</author> // <date>Thursday, April 30, 2015 3:00:44 PM</date> // </copyright> //-----------...
using IdentityS4.Data; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace IdentityS4.Services { public interface IAdminService:IBaseService<Admin> { Task<Admin> GetByStr(string username, string pwd); } }
using System.Collections; using System.Collections.Generic; using UnityEngine; public enum characterStyle { Basic, Devil, GreenMan, Alien, Elvis, Thief, WhatMan, Gombo, CharacterStyleEnd } [RequireComponent(typeof(Animator))] public class CharacterView : MonoBehaviour { privat...
using System.Collections.Generic; using FluentAssertions; using NUnit.Framework; namespace Hatchet.Tests.HatchetConvertTests.DeserializeTests { [TestFixture] public class FloatListTests { [Test] public void Deserialize_AStringList_ShouldReturnAListOfFloats() { // Arrange...
/* * Created by SharpDevelop. * User: gheyret * Date: 2010/01/05 * Time: 16:25 * * To change this template use Tools | Options | Coding | Edit Standard Headers. */ using System; using System.Collections.Generic; using System.IO; namespace UyghurEditPP { /// <summary> /// Description of TstTre...
using System.Collections; using System.Collections.Generic; using UnityEngine; public interface IQuizPanel { void SetPiece(QuizPiece q); void SetPai(QuizManagerBehavior pai); void FadeOut(); void FadeIn(); }
#if UNITY_EDITOR using System; using DChild.Gameplay.Objects.Characters.Enemies; using UnityEngine; namespace DChildDebug { public abstract class BossAttackDebugger : MonoBehaviour { public abstract void Set(Boss minion); public abstract Type monsterType { get; } } } #endif
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using Efa.Domain.Entities; namespace Efa.Application.ViewModels { public class TurmaViewModel { public TurmaViewModel() { TurmaId = Guid.NewGuid(); } [Key] public G...
namespace NUnitPlugin { using System; using System.IO; using System.Linq; using System.Xml; using JetBrains.TeamCity.ServiceMessages.Write.Special; using NUnit.Engine.Extensibility; [Extension] [ExtensionProperty("Format", "TeamCityResume")] public class TeamCityResumeWriter : IResultWriter { private st...
using UnityEngine; using System.Collections; public class art_battery : MonoBehaviour { public int damage=500; public int range=1000; public float cooldown=20; public Vector3[] gun_points; public GameObject light_splash; public int light_range=10; public char command='0'; public bool right=true; public bool ...
using System.Windows.Input; namespace FPGADeveloperTools.Common { public interface IImportable { bool CanImport { get; } ICommand ImportCommand { get; set; } void Import(object obj); } }
using System; using Aquamonix.Mobile.Lib.Domain; using Aquamonix.Mobile.Lib.Domain.Responses; using Aquamonix.Mobile.Lib.Environment; namespace Aquamonix.Mobile.Lib.Utilities { /// <summary> /// Static helper class for showing UI alerts to users. /// </summary> public static class AlertUtility { ...
using UnityEngine; using System.Collections; using UnityEngine.UI; public class PreguntaBar : MonoBehaviour { public Camera camPregBar; public static bool visBar; public static int rtaBar; public Text tp, t1, t2, t3, t4; public GameObject globDogBar; public Text AnswerB; private string t...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using Foundry.SourceControl; using Foundry.Website.Models; using Foundry.Security; using Foundry.Domain; using Foundry.Website.Models.Project; namespace Foundry.Website.Controllers { [Authorize]...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Shake : MonoBehaviour { [SerializeField] private float ShakeAmount; [SerializeField] private float ShakeFrequency; private Vector3 mRestPosition; private float mShakeTime; private bool mIsShaking;...
using Microsoft.VisualStudio.TestTools.UnitTesting; using System; using System.Linq; using System.Threading.Tasks; using TrainingRooms.Model; using UpdateControls.Correspondence; using UpdateControls.Correspondence.Memory; namespace TrainingRooms.Tests { [TestClass] public class ModelTest { private...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Abhs.Model.MonitorMiddle { public class CourseIdModel { public CourseIdModel(string courseId) { //var courseId = $"{item.cla_SchoolID}-{classI...
using System.Text.RegularExpressions; namespace AGCompressedAir.Windows.Extensions { public static class StringExtension { private const string Pattern = @"^((([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+(\.([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00...
using UnityEngine; using System.Collections; public class Objeto : MonoBehaviour { public string img,img2; public static bool cambio,cambio2; public Camera camera; public Material mat,mat1; public static bool cambia_tv, cambia_lampara, cambia_cuadro, cambia_ventana, cambia_reloj; void start()...
using System; using System.Collections.Generic; using System.Linq; namespace EPollingApp { public class Database { List<RegistrationUserData> registrationDbs; public Database() { registrationDbs = new List<RegistrationUserData>(); } public void ...
using gView.Framework.Data.Fields.FieldDomains; using gView.Framework.Db.UI; using gView.Framework.system; using System; using System.Windows.Forms; namespace gView.Framework.Data.Fields.UI.FieldDomains { public partial class Control_LookupValuesDomain : UserControl, IInitializeClass { private LookupVa...
using gView.Framework.Data; using gView.Framework.Sys.UI; using gView.Framework.system; using gView.Framework.system.UI; using gView.Framework.UI; using gView.Framework.UI.Dialogs; using System; using System.Collections.Generic; using System.Threading.Tasks; using System.Windows.Forms; namespace gView.Framework.OGC.UI...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class PinballBumperScript : MonoBehaviour { public Transform ReflectionDirection; public bool OnCollision = false; public bool OnTrigger = false; public bool LimitVelocity = false; public float VelocityLimit = 1f; public v...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Web; using System.Web.Mvc; namespace CMS.Models { public class Course { public int Id { get; set; } public string Code { get; set; } public string Name { get; set; } pub...
using gView.DataSources.Fdb.MSAccess; using gView.Framework.Data; using System; using System.Threading.Tasks; using System.Windows.Forms; namespace gView.DataSources.Fdb.UI.MSSql { public partial class FormRebuildSpatialIndexDef : Form { private gView.DataSources.Fdb.MSAccess.AccessFDB _fdb; pr...
 using BankAppCore.Models; using Microsoft.EntityFrameworkCore; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace BankAppCore.Data.Repositories { public class AccountRepository { private EFContext.EFContext.ShopContext context; private...
/* Dataphor © Copyright 2000-2008 Alphora This file is licensed under a modified BSD-license which can be found here: http://dataphor.org/dataphor_license.txt */ #define NILPROPOGATION #define LOADFROMLIBRARIES using System; using System.IO; using System.Reflection; using System.Text; namespace Alpho...
namespace DataLayer { using BusinessLayer; using System; using System.Data; using System.Data.SqlClient; public class AdministrationManager { public void AddDonorReportCc(DonorReportCcObject donorReportCcObj, string username) { SqlParameter[] parameterArray = new Sq...
using System.Windows; using System.Windows.Controls; using System.Windows.Data; namespace Crystal.Plot2D.Charts { public class TemplateableDraggablePoint : DraggablePoint { private readonly Control marker = new() { Focusable = false }; public TemplateableDraggablePoint() { marker.SetBinding(Temp...
using System.ComponentModel.DataAnnotations; namespace Profiling2.Web.Mvc.Areas.Profiling.Controllers.ViewModels { public class MergeViewModel { [Range(1, int.MaxValue, ErrorMessage = "A valid ID to keep is required.")] public int ToKeepId { get; set; } [Range(1, int.MaxValue, ErrorMe...
using System; using System.Collections.Generic; using System.Diagnostics; using System.Net.Http; using System.Net.Http.Headers; using System.Threading.Tasks; using Newtonsoft.Json; using Newtonsoft.Json.Linq; using ParPorApp.Helpers; using ParPorApp.Models; using Xamarin.Forms; using System.Linq; using Acr.UserDialogs...
using System; using UnityEngine; using UnityEngine.UI; public class UIPanelEntityTalk : UIPanelBase { public Animator _Animator; public Transform _Parent; public Transform _DetectPoint; public Image _BgImg; public Text _Text; public Text _Text_Scale; public Vector2 _BgScaleOffset; pub...
using System; using Atc.Rest.Extended.Versioning; using Microsoft.ApplicationInsights; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.Versioning; using Microsoft.Extensions.Options; namespace Atc.Rest.Extended.Options { public class ConfigureApiVersioningOptions : IConfigureOptions<ApiVersioningOp...
using System; using System.Collections.Generic; using System.Data.SqlClient; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Data; namespace Capa_de_Datos_ONG_SYS { public class UsuarioD { private Conexion_DB conexion = new Conexion_DB(); int variable; ...
using CC.Web.Dto.System; using CC.Web.Model.System; using CC.Web.Service.Core; using System; using System.Collections.Generic; using System.Text; namespace CC.Web.Service.System { public interface IUserService : IBaseService<User> { /// <summary> /// 添加用户 /// </summary> /// <pa...
using System.Collections.Generic; using AuctionApi.Models; namespace AuctionApi.Repositories { public interface IAuctionRepository { IEnumerable<Auction> GetAllAuctions(); Auction GetAuction(int id); void Add(Auction auction); } }
using System; using System.Collections.Generic; using System.Text; namespace SolveMe_Riddle.Crypt { class Cipher { private string cipherFilename; private byte[] _ByteArray; public byte[] GetBytes { get { return this._ByteArray; }} public Cipher(string cipherFilename) ...
using System.Collections; using System.Collections.Generic; using System; [Serializable] public class SelfCareActivity { public string name; public string timeMinutes; public string timeSeconds; public string pathToAudio; }
using UnityEngine; using System.Collections; using System.Collections.Generic; using System; // VoxelPerformance/Scripts/VoxelMapFormat.cs // Copyright 2016 Charles Griffiths namespace VoxelPerformance { // This class is a C# interface to VoxelPerformance/Shaders/MeshGeneration.compute public class VoxelMapForma...
using Common.Exceptions; using System; using System.ServiceModel; namespace Contracts.Callback { [ServiceKnownType(typeof(AsyncDataLoadException))] public interface IAsyncItemCallback { [OperationContract(IsOneWay = true)] void Completed(object data, int instance, Exception e, bool cancelled); [OperationCon...
// ReSharper disable ConvertIfStatementToReturnStatement // ReSharper disable InvertIf // ReSharper disable UseDeconstructionOnParameter using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using ICSharpCode.Decompiler.CSharp.Syntax; namespace Atc.XUnit.Internal.AbstractSyntaxTr...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Les5Exercise2 { static class Message { //Вывести только те слова сообщения, которые содержат не более n букв. static public void StringSize(string str, int size) ...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Touch : MonoBehaviour { private bool touchable; private GameManager gameManager; private BoxCollider2D boxCollider; // ------------------ MONO_BEHAVIOR -------------------- // protected void Start() { if (box...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Euler_Logic.Problems { public class Problem21 : ProblemBase { public override string ProblemName { get { return "21: Amicable numbers"; } } public ove...
using System; using System.Collections.Generic; using System.Linq; using SNPG.Core; namespace SitecoreNugetPackageGenerator { class Program { static void Main(string[] args) { var options = new Options(); if (CommandLine.Parser.Default.ParseArguments(args, options)) ...
using System; using System.Collections.Generic; namespace CatalogGalaxies { public class StarService { public static List<Star> Stars { get; set; } = new List<Star>(); public static void AddStar(string name, string galaxyName, string mass, string size, string temperature, str...
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Threading.Tasks; using Microsoft.AspNetCore.Authorization; using Microsoft.OpenApi.Models; using Swashbuckle.AspNetCore.SwaggerGen; namespace MoulaCodingChallenge { public class AuthRequirementFilter : IOperat...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Xamarin.Forms; namespace ProjetoFiap { public partial class MainPage : ContentPage { public MainPage() { InitializeComponent(); BotaoSaldo.Clicked +...
namespace PizzaIngredients { using System; using System.Linq; public class StartUp { public static void Main() { var ingredients = Console.ReadLine() .Split(new char[] { ' ' }, StringSplitOptions.RemoveEmptyEntries) .ToArray(); va...
using System; using System.Collections.Generic; using System.Collections; using Quark.Attributes; namespace Quark { /* public enum Source { Caster, Target } /// <summary> /// This class is the building block of expressions. /// /// It can be an interaction, constant or...
using Brambillator.Infrastructure.Domain.Models; using Brambillator.Historiarum.Domain.Lookups; using System; namespace Brambillator.Historiarum.Domain.Model { public class ExtendedDate : Entity { public ExtendedDate() { } public ExtendedDate(DateTime dateTime) ...
using System; namespace Practice_17_01 { class Program { static void Main(string[] args) { CustomArray array = new CustomArray(-5, -1); for(int i = array.MinIndex; i <= array.MaxIndex; i++) { Console.WriteLine(array[i]); } ...
using System; using System.Collections.Generic; using System.Linq; using System.Numerics; using System.Text; using System.Threading.Tasks; using static ProgressQuest.GameStrings; namespace ProgressQuest.Models { public class ArmorItem { public string Name { get; set; } public BigInteger Value ...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using SslLabsLib.Objects; namespace TellMeMoreBlazor.Interfaces { public interface IQualysService { Task<Analysis> QualysReport(string domainUrl); } }
using System; using SMARTplanner.Entities.Domain; using SMARTplanner.Models; namespace SMARTplanner { public static class AutoMapperConfig { public static void RegisterMappings() { AutoMapper.Mapper.Initialize(cfg => { cfg.CreateMap<Project, ProjectListI...
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Text; namespace AnyTest.Model { public class Tutor { [Key] [DatabaseGenerated(DatabaseGeneratedOption.None)] public ...
using System.Reflection; using DatabaseManagement.Logging; using DatabaseManagement.Migrations; using DatabaseManagement.ProjectHelpers; using NHibernateRepo.Configuration; using NHibernateRepo.Migrations; using NHibernateRepo.Repos; using System; using System.Linq; namespace DatabaseManagement { /// <summary> ...
using System; using com.Sconit.Entity.INV; using com.Sconit.Entity.MD; using com.Sconit.Entity.ORD; using com.Sconit.Entity.SCM; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; //TODO: Add other using statements here namespace com.Sconit.Entity.PRD { public partial class ProductLine...
namespace Fingo.Auth.ManagementApp.Models.Enums { public enum ModalWidows { EditUserPolicyModalWindow , DeleteUser , AssignUsers , UnassignUser , ImportUsersFromCsv } }
using UnityEngine; using System.Collections; public class _STT_ : IState,IMessageObsever { #region Private Fields private CiaObject _owner; #endregion #region Constructors public CBahram_STT_First(){ _owner = null; } public CBahram_STT_First(CiaObject owner){ ...
using System.IO; using System.Collections.Generic; using Newtonsoft.Json; namespace Students.Services { public class JsonParser { public static IList<T> ReadList<T>(string path) { using (var reader = new StreamReader(path)) { string content = reader.ReadT...
using System.Threading.Tasks; using DFC.ServiceTaxonomy.GraphSync.GraphSyncers.Interfaces.Contexts; using DFC.ServiceTaxonomy.GraphSync.GraphSyncers.Interfaces.Parts; using DFC.ServiceTaxonomy.GraphSync.GraphSyncers.Interfaces.Results.AllowSync; using Newtonsoft.Json.Linq; using OrchardCore.ContentManagement.Metadata....
using System; using System.Collections; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Linq; using System.Net; using System.Net.Cache; using System.Net.Sockets; using System.Reflection; using System.Runtime.InteropServices; using System.Text; using System.Threading.Tasks; usi...
using NUnit.Framework; using System; using TeamCss__Registration.PageObject; using TechTalk.SpecFlow; namespace TeamCss__Registration.StepDefinition { [Binding] public class LogInSteps { LogInPage logInPage; public LogInSteps() { logInPage = new LogIn...
using System; using System.Collections.Generic; using System.Configuration; using System.Data; using System.Data.SqlClient; using System.Linq; using System.Text; using System.Threading.Tasks; using University.Data; using University.Repository.Interface; namespace University.Repository { public class LoginReposito...
using BlogSystem.API.Domain; using Microsoft.EntityFrameworkCore; namespace BlogSystem.API.Data { public class BlogDbContext : DbContext { public BlogDbContext(DbContextOptions<BlogDbContext> options) : base(options) { } protected override void OnModelCreating(ModelBuilder mod...
using System; class Chapitre4 { //LES MÉTHODES PERSONNALISÉES! /*Une méthode est un bloc de code destiné à accomplir une tâche en particulier. Le fait que cette tâche soit encapsulée à l'intérieur de cette méthode fait en sorte que cette dernière peut être appelée de différents endroits, ...
using System; using System.Collections.Generic; using System.Text; namespace DesignPatterns.State.Example1 { public class PlayingState : BaseState { public PlayingState(BaseState state) : base(state) { } public override void Lock() { player.SetState(new Loc...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Drawing; using System.Data; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; using ISE.UILibrary; using ISE.SM.Client.Common.Presenter; using ISE.SM.Client.View; using ISE.SM.Common....
namespace Inventory.ViewModels { public static class Messages { public const string AuthenticationChanged = "AuthenticationChanged"; public const string LogAdded = "LogAdded"; public const string StatusMessage = "StatusMessage"; public const string StatusMessageReady = "Ready";...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Ejercicio_33 { class Program { static void Main(string[] args) { Libro libro = new Libro(); libro[0] = "pag 1"; libro[1] = "pag 2"; ...
using AutoGrabberMod.Models; using Microsoft.Xna.Framework; using StardewValley; using StardewValley.TerrainFeatures; using System.Linq; namespace AutoGrabberMod.Features { class Fertilize : Feature { public override string FeatureName => "Auto Fertilize Soil"; public override string FeatureC...
using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace BelindaWrightCPA.Models { public class SiteWidgetsModel { public List<WidgetItemModel> WidgetItems { get; private set; } public SiteWidgetsModel() : this(new List<WidgetItemModel>()) ...
 using System; using System.Collections.Generic; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; using Terraria; using Terraria.ModLoader; namespace StarlightRiver.Dusts { public class Mist : ModDust { public override Color? GetAlpha(Dust dust, Color lightColor) { ...
using System; using System.Collections.Generic; using System.Linq; using System.Web.Http; using Uintra.Features.Media; using Uintra.Features.Media.Enums; using Uintra.Infrastructure.Extensions; namespace Uintra.Controllers { public class EnumController : ApiController { [HttpGet] public IEnume...
using System; using System.Collections.Generic; using WebsiteManagerPanel.Data.Entities.Base; using WebsiteManagerPanel.Framework.Interfaces; namespace WebsiteManagerPanel.Data.Entities { public class FieldValue : AuditEntity, IAggreegateRoot { public Field Field { get; protected set; } public...
using System; using System.ComponentModel.DataAnnotations.Schema; namespace TwitterLikeApp.Entity { public class Ribbit { public int Id { get; set; } public int AuthorId { get; set; } [ForeignKey("AuthorId")] public virtual User Author { get; set; } public string Status { ...
using Alabo.Cloud.School.SuccessfulCases.Domains.Entities; using Alabo.Datas.UnitOfWorks; using Alabo.Domains.Entities; using Alabo.Domains.Repositories; using Alabo.Domains.Services; using MongoDB.Bson; namespace Alabo.Cloud.School.SuccessfulCases.Domains.Services { public class CasesService : ServiceBase<Cases, ...
using Nac.Common.Control; using System; namespace Nac.Wpf.Common.Control { public class NacWpfTask : NacWpfObjectWithChildren { public NacWpfTask(NacTask nacTask) : base(nacTask) { } public new NacTask Base { get { return base.Base as NacTask; } } public TimeSpan CycleTime { g...
using UnityEngine; using System.Collections; public class Structures { public enum States { D1, D2, D3 }; }
using IWorkFlow.Host; using IWorkFlow.ORM; using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Data; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Web; namespace BizService.Services { public class StaticSvc : BaseDataHandler { ...
using eMAM.Data; using eMAM.Data.Models; using eMAM.Service.DbServices.Contracts; using System; using System.Collections.Generic; using System.Text; using System.Threading.Tasks; namespace eMAM.Service.DbServices { public class AttachmentService:IAttachmentService { private readonly ApplicationDbConte...
using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using SeaFight.Infrastructure; namespace SeaFight.Test { [TestClass] public class UnitTest1 { [TestMethod] public void TestMethod1() { var field = new Field(); Assert.AreEqual(field.Ships.Leng...
 using UnityEngine; public class StarDestroyer : MonoBehaviour { public StarMove starMove1; // Use this for initialization private void OnCollisionEnter(Collision collision) { if (collision.collider.tag == "Star" || transform.position.z < -40) { starMove1.enabled = false; ...
using System; namespace console_timer { public class Config { public Timer[] Timers { get; set; } public int Delay { get; set; } public bool ShowTimers { get; set; } public Config () { Timers = new [] { new Timer { Duration = 60, Name = "Default", F...
namespace dboEF6.EF { using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Data.Entity.Spatial; [Table("project")] public partial class project { [System.Diagnostics.CodeAnal...