text
stringlengths
13
6.01M
using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Xml.Serialization; namespace Game1 { [XmlInclude(typeof(List<BackgroundObject>))] [XmlInclude(typeof(Backgroun...
using System; using System.Collections.Generic; using System.Text; using System.Data; using Zhouli.DAL.Interface; using Zhouli.DbEntity.Models; namespace Zhouli.DAL.Implements { public class BlogArticleLikeDAL : BaseDAL<BlogArticleLike>, IBlogArticleLikeDAL { public BlogArticleLikeDAL(ZhouLiContext db, ...
using UnityEngine; using System.Collections; using UnityEngine.EventSystems; public class DropZone : MonoBehaviour, IDropHandler { public int max_size; private int size=0; public Control getControlInstance() { return GameObject.Find("Control").GetComponent<Control>(); } public void SetS...
 namespace FactoryMethodExample { public class SUVFactory : CarFactory { public override Car MakeCar() { return new SUVCar(); } } }
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Threading.Tasks; namespace WebApplication2.Models { public class PostInfo { [Key] public int id{get; set;} [Required] public string title{get; set;} ...
using System; using System.Collections.Generic; using System.Runtime.Serialization; namespace CloudinaryDotNet.Actions { [DataContract] public class SearchResult : BaseResult { [DataMember(Name = "total_count")] public int TotalCount { get; protected set; } [DataMember(Name = "tim...
using System; using System.Runtime.Serialization; namespace Fornax.Net.Util.IO { [Serializable] internal class FornaxAssemblyException : Exception { public FornaxAssemblyException() { } public FornaxAssemblyException(string message) : base(message) { } public Forn...
using ServerKinect.Shape; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ServerKinect.Clustering { public class DefaultMergeStrategy : IClusterMergeStrategy { private ClusterDataSourceSettings settings; public DefaultMergeStrategy(C...
using System; using System.Data; using System.Windows.Forms; using TruongDuongKhang_1811546141.BussinessLayer.Workflow; namespace TruongDuongKhang_1811546141.PresentationLayer { public partial class ListAddress : Form { private DataSet ds; private DataViewManager dsView; public ListAd...
using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; using System.Text; using System.Windows; using System.Windows.Controls; using VehiclesController; namespace VehiclesServiceView { /// <summary> /// Interaction logic for HistoryWindow.xaml /// </summary> public ...
using System; using System.Collections.Generic; using System.Reflection; using UnityEditor; using UnityEditorInternal; using UnityEngine; namespace HT.Framework { internal sealed class TaskEditorWindow : HTFEditorWindow { public static void ShowWindow(TaskContentAsset contentAsset) { ...
using System.Collections.Generic; namespace PropOhGate.Send { public interface ISender { string RepositoryHash { get; } void Update(byte[] data); void Update(IList<byte[]> data); } }
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Basicas { class Program { static void Main(string[] args) { Punto p = new Punto(2, 7); Console.WriteLine(p); Punto q = new Punto(2, ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace BIRDSFLYINGAROUNDAPP { class Program { static void Main(string[] args) { Bird penguin = new Penguin(15, 15); Duck duck = new Duck(30, 30, 1); ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ALM.Reclutamiento.Entidades { [Serializable] public class ETipoControl { public int IdTipoControl { get; set; } public string Nombre { get; set; } public sh...
using System; namespace OrderSimulator.Models { public abstract class Voucher { public string Code { get; protected set; } public decimal Value { get; protected set; } public abstract decimal Calculate(decimal amount); } public class PercentVoucher : Voucher { publi...
$WebTQ::Error::Jade::LevelFloodError = "You may only have 99 levels of indentation in Jade scripts"; $WebTQ::TabCharacter = " "; function WebTQ_Jade::displayFile(%fileObject, %calledBy) { %tab = $WebTQ::TabCharacter; %dataContainer = new scriptObject(); %level = 0; while(!%fileObject.isEOF()) { //%lastLevel =...
using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Logging; using System.Collections.Generic; using System.Linq; namespace ReturnOfThePioneers.Infrastructure { public class DbService : IDataService<RawData> { private readonly ApplicationDbContext dbContext; private readonly DbSet<RawData> dbSet;...
using System.Collections.Generic; using System.Diagnostics; namespace SnippetBoy { public static partial class Permutations { /// <summary> /// Generates (non-recursive) an lexicographic unordered sequence of permutations /// on a set of integers 0 to n-1 using Heap's algorithm (1963). /// </s...
using System; using System.Collections.Generic; using System.Data.Entity; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Voronov.Nsudotnet.BuildingCompanyIS.EF { public class BuildingCompanyModelConfiguration : DbConfiguration { public BuildingCompanyModelConfiguration() { this...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CoursIngesup._5___Event { class EventVoiture { public static void KmParcourus(object sender, EventArgs e) { Voiture tuture = (Voiture)sender; Co...
namespace MySOD.Core.Tests { using System.Transactions; using Microsoft.VisualStudio.TestTools.UnitTesting; [TestClass] public abstract class TransactionalUnitTest { private TransactionScope transactionScope; [TestInitialize] public void Initialize() ...
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 Final_ConnectFour { public partial class StatsForm : Form { private WelcomeFor...
using System; using System.Collections.Generic; using System.Linq; using Diff.Generic.Algorithm; using Diff.Generic.Model; namespace Diff.Generic { /// <summary> /// Generic implementation of the diffing algorithm. Operates on any type T for which equality /// can be defined. /// </summary>...
using System; using System.Collections.Generic; using System.Text; namespace BlackJack { interface IBlackjackPlayer { string GetName(); List<Card> GetCards(); int CountPoints(); bool IsGameCompleted(); bool WantCard(); void GiveCard(Card card); } }
using Serilog.Core; using Serilog.Events; namespace PaymentService.Infrastructure.Logging { class SerilogPropertiesEnricher : ILogEventEnricher { public void Enrich(LogEvent logEvent, ILogEventPropertyFactory logEventPropertyFactory) { logEvent.RemovePropertyIfPresent("SourceContext...
using System; public class Program { public static void Main() { Console.WriteLine("{0:F2}", 1.60934 * double.Parse(Console.ReadLine())); } }
using EmployeeStorage.Api.Models; using EmployeeStorage.DataAccess.Entities; using EmployeeStorage.Service.Infrastructure; using Microsoft.AspNetCore.JsonPatch; using Microsoft.AspNetCore.Mvc; using System; using System.Collections.Generic; namespace EmployeeStorage.Api.Controllers { [Route("api/[controller]")] ...
using System.Collections.Generic; using ws_seta.Models; namespace ws_seta.Controllers { public class FornecedorResponse { public List<Fornecedor> fornecedores { get; set; } } }
using APImongoDb.Data.Configuration; using APImongoDb.Entites; using MongoDB.Driver; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace APImongoDb.Data { public class ClientesDb { private readonly IMongoCollection<Cliente> _ClientesCollection; ...
using System; using System.Collections.Generic; using System.Text; namespace RefEOut { class Triplicador { public static void TriplicaPorReferencia(ref int origem) { origem = origem * 3; } public static void TriplicaPorSaida(int origem, out int resultado) { result...
using System; using System.ComponentModel; using System.Globalization; using System.Threading; using System.Windows; using System.Windows.Data; using System.Windows.Input; using BPiaoBao.Client.DomesticTicket.ViewModel; using GalaSoft.MvvmLight.Messaging; using JoveZhao.Framework; namespace BPiaoBao.Client.DomesticTi...
using System; using System.Collections.Generic; using SharpML.Recurrent.Activations; using SharpML.Recurrent.Models; namespace SharpML.Recurrent.Networks { [Serializable] public class LstmLayer : DropoutLayer, ILayer { int _inputDimension; readonly int _outputDimension; ...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class StageSelectManager : MonoBehaviour { public static StageSelectManager Instance { get; private set; } public int stageNum; public string stage; public List<int> enemyNum = new Li...
using System.Collections; using System.Collections.Generic; using UnityEngine; using System; [RequireComponent(typeof(Collider))] public class GoalController : MonoBehaviour { [SerializeField] private int playerNumber; private Collider GoalTriggerCollider; private GoalsManager goalsManager; priv...
using PlatformRacing3.Server.Game.Client; using PlatformRacing3.Server.Game.Communication.Messages.Incoming.Json; namespace PlatformRacing3.Server.Game.Communication.Messages.Incoming; internal class DashIncomingMessage : MessageIncomingJson<JsonDashIncomingMessage> { internal override void Handle(ClientSession sess...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace YzkSoftWare { /// <summary> /// 数据模型错误 /// </summary> public sealed class DataModelException : Exception { public DataModelException(string err) : ba...
using AutoMapper; using Football.API.ViewModels; using Football.DAL.Entities; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace Football.API.Profiles { public class ContractProfile:Profile { public ContractProfile() { CreateM...
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Text; using System.Xml; using System.Xml.Linq; using MongoDB.Driver; using BookStore.Data; using BookStore.Model; namespace BookStore.SearchByXml { public class SearchByXml { private const strin...
using FluentNHibernate.Mapping; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Modelos.Formulas { public class EstruturaProdutoMapping:ClassMap<EstruturaProduto> { public EstruturaProdutoMapping() { Id(e...
using DungeonCrawler.AutoLoad; using DungeonCrawler.Characters.NonPlayable; using DungeonCrawler.Components.States.Character.Enemy; using DungeonCrawler.Extensions; using Godot; namespace DungeonCrawler.Components.Behaviour { public class WanderComponent : Timer { [Export] public int WanderDistance = 1...
namespace JimBobBennett.JimLib.Collections { public enum CacheState { Found, NotFound, Failed } }
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; namespace YzkSoftWare.DataService { /// <summary> /// 锁定服务 /// </summary> public interface ICSLocks : IAppService { /// <summary> ...
using System; using System.Collections.Generic; namespace Micro.Net.Transport.KestrelHttp { public class KestrelReceiverConfiguration { public ICollection<string> BaseUris { get; set; } public Dictionary<string, (Type, Type)> PathMaps { get; set; } } }
using UnityEngine; using System.Collections; public class CameraFollow : MonoBehaviour { private Transform player; // transform of player to get its position void Start () { // gets players transform player = GameObject.FindGameObjectWithTag("Player").transform; } void FixedUpdate () { if(player) ...
using Dynamia.BillingSystem.Controller; using System; using System.Configuration; using System.Data.SqlClient; using System.Windows.Forms; namespace Dynamia.BillingSystem.TestProject { public partial class FormTest : Form { #region Consts public const string _SQL_FILL_TABLE_BILLING_CONFIGURATI...
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; namespace SGA.Models { public class Professor { [Key] public int ProfessorId { get; set; } public string Grau { get; set; } public int? AulaId { get; set; } public string Nome...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class SNOWANDBALLS : MonoBehaviour { public GameObject SnowballTemplate; public Sprite OongaBoonga; public float CoolDown; private float Timer; private AudioSource ASource; private SpriteRend...
using System; using System.Collections.Generic; namespace DataAccess.POCO { public partial class Addresses { public string AddressId { get; set; } public string CustomerId { get; set; } public string AddressType { get; set; } public string Name { get; set; } public stri...
using NUnit.Framework; namespace TypicalInterviewQuestions.Tests { [TestFixture] public class FibonacciPrintTests { private FibonacciPrint _fibonacciPrint; [SetUp] public void Setup() { _fibonacciPrint = new FibonacciPrint(); } [TestCase(0, 1)]...
using filter.data.entity; using filter.data.manager; using filter.data.model; using filter.data.model.Dto; using filter.framework.utility; using filter.framework.utility.Xport; using filter.framework.web; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using Syste...
using Microsoft.AspNetCore.Mvc; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace CONSULS_SYSTEM.Models { public partial class TB_Member { [Key] [DatabaseGeneratedAttribute(DatabaseGenerate...
using System.Collections; using System.Collections.Generic; using UnityEngine; [RequireComponent(typeof(GhostBehaviour))] public class Hurtable : MonoBehaviour { private GhostBehaviour ghostBehaviour; // Use this for initialization void Start () { ghostBehaviour = GetComponent<GhostBehaviour>(); } ...
using System.Collections; using System.Collections.Generic; using UnityEngine; using kitkat; namespace kitkat { public class EggScript : HueristicScript { float ManHattanHeuristic(Vector3 a, Vector3 b) { return (Mathf.Abs(a.x - b.x) + Mathf.Abs(a.y - b.y)); } publi...
using System; public class Program { public static void Main() { var materialsArr = Console.ReadLine().Split(); var materialQuantityArr = Console.ReadLine().Split(); var materialPriceArr = Console.ReadLine().Split(); while (true) { var currProductToPrint = ...
using System; using System.Collections; using System.Collections.Generic; using UnityEngine; using Random = UnityEngine.Random; public class WispManager : MonoBehaviour { private int wispCount; public GameObject wisp; private void Start() { wispCount = Random.Range(3, 6); print("Amoun...
// Copyright 2020 Google Inc. All Rights Reserved. // // 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 applica...
using System.Threading.Tasks; using Business.Abstract; using Entities.Concrete; using Microsoft.AspNetCore.Mvc; namespace WebAPI.Controllers { [Route("api/[controller]")] [ApiController] public class BasketsController : ControllerBase { private IBasketService _basketService; public Bas...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Web; namespace MVCApplication.Models { public class InvoiceViewModel { [DisplayName("Date")] public string InvoiceDate { get; set; } [DisplayName("Due date")] public s...
using System; using System.Collections.Generic; using System.Xml.Linq; using System.IO; namespace XMLtoCSV2 { class Program { static void Main(string[] args) { XDocument xdoc = XDocument.Load("C:\\Moje Projekty\\Zadania z XML\\test.xml"); File.WriteAllLines("C:\...
using System; using System.Data; using System.Data.SqlClient; using System.Collections.Generic; using System.Xml; using EPATEC.Models; namespace DatabaseConnection { /// <summary> /// The class responsible to the connection with the database /// </summary> public class Connection { private...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using AccountApi.Controllers; using AccountApi.Core; using AccountApi.Core.Models; using AccountApi.DataAccess; using Microsoft.AspNetCore.Mvc; using Moq; using NUnit.Framework; namespace AccountApi.Tests { public clas...
using System; using System.Net.Http.Headers; using System.Text; using System.Net.Http; using System.Web; namespace Projeto.Controller { static class ControllerReconhecedor { static void Main() { realizaReconhecimentoImagemAsync(); } private static async System.Thre...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Ivi.Visa.Interop; using System.Windows.Forms; namespace LibEqmtDriver { public class LibEqmtCommon { internal FormattedIO488 MyIo; internal Utility.HiPerfTimer waitTimer = ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using IOo; namespace Ejercicio_42 { class Program { static void Main(string[] args) { try { ClaseException exception = new ClaseException(...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Grupo5_Hotel.Entidades.Excepciones { public class CantHuespedesException : Exception { public CantHuespedesException () : base ("La cantidad de huespedes no puede ser mayor a l...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Prj.Respositories.Interfaces { public interface ITestRespository { string AlertMessage(); } }
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Senai.HRoads.WebApi.Domains; namespace Senai.HRoads.WebApi.Interfaces { interface IHabilidadeRepository { /// <summary> /// Lista todas as Habilidades /// </summary> /// <retu...
using UnityEngine; using System.Collections; using System.Collections.Generic; public class randomPosition : MonoBehaviour { public float minX = -9f, maxX = 9f; public float minY = -4.5f, maxY = 4.5f; private Vector3 Position; void Awake () { Position = transform.position; Position.x = Random.Range (minX, ...
using System; using System.Drawing; using System.Collections.Generic; using System.Collections.Specialized; using System.Text; namespace Zombie_Sim { abstract class Sentient { public const int DrawWidth = 5; public const int SpotDistance = 25; protected static UInt64 IDC= 0; pr...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace LudoManiac { //Ludo colors public enum GameColor { Gul, Blå, Rød, Grøn }; public enum GameState { InPlay, Finished }; public class Game { //Global stuff pu...
using CoachPosition.Data.Entities; using Microsoft.AspNet.Identity.EntityFramework; using System; using System.Collections.Generic; using System.Data.Entity; using System.Linq; using System.Web; namespace CoachPosition.Data.Concrete { public class EFContext : IdentityDbContext { public EFContext() : b...
using MemberManagement.Web.Models; using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; namespace MemberManagement.Web.Controllers { public class HomeController : Controller { public ActionResult Index() { var db = new Applicati...
using System.Collections.Generic; using System.Threading.Tasks; using VideoServiceBL.DTOs.MoviesDtos; using VideoServiceDAL.Models; namespace VideoServiceBL.Services.Interfaces { public interface IMovieService : IBaseService<MovieDto> { Task UpdateMovieAsync(int id, MovieDataDto movieData); Ta...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace EmailAppExample { public partial class Form1 : Form { List<Co...
using System; using Castle.DynamicProxy; namespace Simpler.Core.Tasks { public class ExecuteTask : InTask<ExecuteTask.Input> { public class Input { public Task Task { get; set; } public IInvocation Invocation { get; set; } } public override void Execute...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Wei_Tang__Chen_501_Exam_Week11 { class Program { static void Main(string[] args) { //Create a new object of Parallelogram class Par...
namespace NetworkToolkit.Http.Headers { /// <summary> /// The :status pseudo-header. /// </summary> internal sealed class StatusHeader : PreparedHeaderName { public StatusHeader() : base(":status", http2StaticIndex: 8) { OK = new PreparedHeader(this, "200", h...
using VirtualSwitch; using Microsoft.VisualStudio.TestTools.UnitTesting; using System; namespace Test { /// <summary> ///这是 SwitchDemoTest 的测试类,旨在 ///包含所有 SwitchDemoTest 单元测试 ///</summary> [TestClass()] public class SwitchDemoTest { private TestContext testContextInstan...
using TridevLoader.Debug; using TridevLoader.Mod.API.Event; using TridevLoader.Mod.API.Item; namespace TridevLoader.Core { public class ModLoader { private static ModList ModList; private static readonly EventBus.EventBus EventBus = new EventBus.EventBus(); private static readonly ModDiscov...
using System.Resources; namespace JKMServices.DAL { /// <summary> /// Class Name : ResourceManagerFactory /// Author : Vivek Bhavsar /// Creation Date : 20 Dec 2017 /// Purpose : to create isntance of resource manager and get key values from resource file using instance. ...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using ComputerShop_withAuth.DTO; using ComputerShop_withAuth.Models; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.RazorPages; using Newtonsoft.Json; namespace ComputerSho...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SSL { public class Player { public static List<Player> listPlayer = new List<Player>(); // Variables internes private string _nom; private int _score;...
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="AppHeaderAttribute.cs" company="CGI"> // Copyright (c) CGI. All rights reserved. // </copyright> // -----------------------------------------------------------------------------...
using System; namespace Fohjin.AppDomainLoader { [Serializable] public class CreateNewAssembliesAndUseThem { private readonly Compiler _compiler; public const string cShaprCode = @" using System; using Fohjin.AppDomainLoader; namespace Fohjin.AppDomainT...
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 UzayYolu { public partial class Form1 : Form { public Form1() ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace WindowsFormsApp8.Interfaces { interface IModel { void UpdateProjectList(); event Action<object> UpdatedProjectList; void GetCurrentUserProjects(); even...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using SQLite; using SQLite.Net.Attributes; using SQLiteNetExtensions.Attributes; using Xamarin.Forms; namespace MKGo { public class Item : IModel { public Item(){} [PrimaryKey, ...
namespace Triton.Game.Mapping { using ns25; using ns26; using System; using System.Collections.Generic; using Triton.Game.Mono; [Attribute38("CardEffectDef")] public class CardEffectDef : MonoClass { public CardEffectDef(IntPtr address) : this(address, "CardEffectDef") ...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class InverseGeometrical : MonoBehaviour { [Range(-3.7f, 3.7f)] public float inverseTargetX; [Range(0f, 2f)] public float inverseTargetY; [Range(-1.2f, 1.2f)] public float inverseTargetZ; // Start is ca...
using System; using System.Collections.Generic; using System.Text; using IRunes.Data.Models; namespace IRunes.Data.Models { public class User { public User() { this.Albums = new HashSet<Album>(); } public string Id { get; set; } public string Username { get...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace apiInovaPP.Models.Repository.Interface { public interface IPessoaRepository { IEnumerable<Pessoa> GetAll(); Pessoa GetById(int _Id); IEnumerable<Pessoa> GetByNo...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace NADD { class Disciplina { private int idDisciplina; private string nomeDisciplina; private Curso curso; public Disciplina(int idDisciplina, string nome...
using Microsoft.EntityFrameworkCore; using Students.Api.Models; namespace Students.Api.Brokers { public class StorageBroker : DbContext { public StorageBroker(DbContextOptions<StorageBroker> options) : base(options) => this.Database.Migrate(); public DbSet<Student> Students { get;...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using MP3ManagerBase.manager; using System.Windows; using MP3ManagerBase.helpers; using MP3ManagerBase.userinterface; using System.Windows.Controls; using System.IO; using System.Windows.Input; namespace MP3ManagerBase { public p...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class StateMachine<T> { //当前状态 public State<T> CurrentState { get; private set; } //上一个状态 //public State<T> PreviousState { get; private set; } //全局状态 public State<T> GlobalState { get; private...
using Microsoft.AspNetCore.Identity.EntityFrameworkCore; using Microsoft.EntityFrameworkCore; using MyPage.Areas.Treinamento.Models; using MyPage.Models; using MyPage.Models.Infra; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace MyPage { public class Cont...
using System; using System.Linq; using System.Collections.Generic; namespace Model { public class StrategyServerCounter : Strategy { protected static StrategyServerCounter Instance = new StrategyServerCounter(); public static StrategyServerCounter GetInstance() { return Instance; } protected StrategyServer...
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 Kino { public partial class PregledTerminaFilmova : Form { publi...
using Microsoft.EntityFrameworkCore; using System; using System.Collections.Generic; using System.Text; namespace Aeropuerto { class Contexto : DbContext { public Contexto() { this.Database.Migrate(); } public Contexto(DbContextOptions<Contexto> options) : base(opti...