text
stringlengths
13
6.01M
using PWA_Maesai.Models; using PWA_Maesai.Repositories; using System; using System.Collections.Generic; using System.Data.Entity; using System.Globalization; using System.Linq; using System.Net; using System.Net.Http; using System.Threading.Tasks; using System.Web.Http; using System.Web.Http.Results; using...
using FluentValidation; namespace ZooApp.Application.Animal.Queries.GetAnimalWithPagination { public class GetAnimalWithPaginationQueryValidator : AbstractValidator<GetAnimalWithPaginationQuery> { public GetAnimalWithPaginationQueryValidator() { //RuleFor(x => x.PageNumber) ...
using UnityEngine; using Zenject; namespace GFG { [CreateAssetMenu(fileName = "GameSettingsInstaller", menuName = "Installers/GameSettingsInstaller")] public class GameSettingsInstaller : ScriptableObjectInstaller<GameSettingsInstaller> { public GameManager.Settings Settings; public overri...
using UnityEngine; using System.Collections; public class Sugar : MonoBehaviour { public Vector3 Direction; public float Speed; public GameObject ParticulaCafé; public GameObject ParticulaPrato; // Use this for initialization void Start () { Direction.Normalize(); // equivalente a fazer a Direçã...
using System; using System.Collections.Generic; using System.Text; namespace SpaceShip.Models.SpaceCraftSystems { interface IModule { string GetModuleInfo(); } }
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SnakeGame { public class ConsoleRenderer : IRenderer { public ConsoleColor Color { get; set; } public IDictionary<string, ConsoleColor> Colors { get; set; } p...
using System; using Xamarin.Forms; namespace tryfsharpforms { public class App : Application { public static int ScreenWidth; public static int ScreenHeight; public App () { // The root page of your application MainPage = new NavigationPage (new HomePage ()){ BarBackgroundColor = MyColors.WetAs...
using System.ComponentModel; using Webcorp.unite; namespace Webcorp.Model.Quotation{ public class VitesseDecoupeLaserInitializer : IEntityProviderInitializable<VitesseDecoupeLaser, string>{ public void InitializeProvider(EntityProvider<VitesseDecoupeLaser, string> entityProvider) { ...
using System; public class Program { public static void Main() { var inputNumber = int.Parse(Console.ReadLine()); for (int i = 0; i < inputNumber / 2; i++) { Console.WriteLine("{0}x{1}x{0}", new string(' ', i), new string(' ', inputNumber - (2 + i * 2))); } ...
using System; using System.Collections.Generic; using System.Threading.Tasks; using System.Timers; using Foundation; using UIKit; namespace ChuckNorris { public partial class MainViewController : UIViewController { private bool OverwriteNotAllowed = false; public List<Chuck> mainList; ...
using Microsoft.VisualStudio.TestTools.UnitTesting; using ExperianOfficeArrangement.ViewModels; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Moq; using System.Windows.Input; namespace ExperianOfficeArrangement.ViewModels.Tests { [TestCla...
using System; namespace RealEstate.BusinessObjects { public class Banner { #region ***** Fields & Properties ***** private int _BannerID; public int BannerID { get { return _BannerID; } set { _BannerID = value; } } private string _BannerType; public string BannerType ...
namespace ZeroFormatter.Internal { internal static class SR { public const string InvalidOperation_EnumFailedVersion = "InvalidOperation_EnumFailedVersion"; public const string InvalidOperation_EnumOpCantHappen = "InvalidOperation_EnumOpCantHappen"; public const string ArgumentOutOfRang...
using System.Collections; using System.Collections.Generic; using UnityEngine; //Trigger script for fail condition for Circuit 5 public class C5failcon : MonoBehaviour { public EndTriggerFront trigger; public void OnTriggerStay(Collider other) { trigger.settrigfail1 = true; ...
#region namespace using static Sitecore.Configuration.Settings; #endregion namespace EMAAR.ECM.Foundation.SitecoreExtensions.Settings { /// <summary> /// This class provides the common setting for Banner projects /// </summary> public static class SitecoreSettings { /// <summary> //...
using System; using System.Collections.Generic; using System.Linq; using zoologico.Interfaces; using zoologico.Models; namespace zoologico { class Program { static void Main (string[] args) { Console.Clear (); var codigo = 0; var encerrouPrograma = false; ...
using FastSQL.API.ViewModels; using FastSQL.Core; using FastSQL.Sync.Core; using FastSQL.Sync.Core.Enums; using FastSQL.Sync.Core.Indexer; using FastSQL.Sync.Core.Models; using FastSQL.Sync.Core.Puller; using FastSQL.Sync.Core.Pusher; using FastSQL.Sync.Core.Repositories; using Microsoft.AspNetCore.Mvc; usin...
using System; using System.Collections.Generic; using System.IO; using Bosdyn.Api; using Grpc.Core; using Grpc.Core.Logging; using SpotServer.services; namespace SpotServer { internal class Program { private const int Port = 443; public static void Main(string[] args) { Gr...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Entidades { public class DirectorTecnico : Persona { private int aniosExperiencia; /// <summary> /// Constructor Director Tectino /// <param name="nomb...
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 System.Drawing.Imaging; using SiscomSoft.Models; using SiscomSoft.Comun; using SiscomSoft.Controll...
using System; using TechTalk.SpecFlow; using NUnit.Framework; namespace Feature { [Binding] public class ViewTVGuideSteps { [Given(@"I Have selected channel (.*)")] public void GivenIHaveSelectedAChannel(string chName) { ScenarioContext.Current.Set<string>(chName); ...
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Threading.Tasks; namespace BrighterFutures.Models { public class UserAccount : BaseModel { [Required] //[MinLength(6)] //[MaxLength(30)] //[RegularExpres...
using System.IO; using UnityEditor; using UnityEngine; public class CreateAssetBundles { [MenuItem("Stencil/Build Asset Bundles")] static void BuildAllAssetBundles() { const string dir = "AssetBundles"; var ios = $"{dir}/ios"; if (!Directory.Exists(ios)) Directory.CreateDir...
using Lfs.Web.Api.Filters; using Ninject.Modules; using Ninject.Web.WebApi.FilterBindingSyntax; using System.Web.Http.Filters; namespace Lfs.Web.Api.NinjectModules { public class FiltersModule : NinjectModule { public override void Load() { Bind<IExceptionFilter>().To<ExceptionFilt...
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 DAL; using BUS; using ControlLocalizer; namespace GUI { public partial class f_themkiemke : For...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using KPI.Model.helpers; namespace KPI.Model.DAO { public class KPIDAO { KPIDbContext _dbContext = null; public KPIDAO() { this._dbContext = new KPIDbContext()...
using ApiRest2.Models; using ApiRest2.Repository; using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Http; using System.Web.Http; namespace ApiRest2.Controllers { public class DoctorController : ApiController { //objeto de lectura para acceder al repo...
using BaseClass; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace BackTracking { public class HamiltonianCycle { /*http://www.geeksforgeeks.org/backtracking-set-7-hamiltonian-cycle/ * Hamiltonian Path in an undirecte...
 using Yeasca.Metier; using Yeasca.Mongo; namespace Yeasca.Requete { public class AdminEstCreeRequete : Requete<IAdminEstCreeMessage> { public override ReponseRequete exécuter(IAdminEstCreeMessage message) { IEntrepotUtilisateur entrepot = EntrepotMongo.fabriquerEntrepot<IEntrepotU...
using System; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace Ecommerce.Entity { [Table("OrderDetails")] public class OrderDetail : IBaseModel { [Key] public Guid OrderDetailId { get; set; } public Guid OrderId { get; set;...
using System.Collections.Concurrent; using System.IO; using Nancy.ViewEngines.Razor; namespace Nancy.Markdown.Blog { public static class HtmlHelperExtensions { private static readonly ConcurrentDictionary<int, IHtmlString> Cache = new ConcurrentDictionary<int, IHtmlString>(); private static I...
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 HtmlAgilityPack; namespace GetData { public partial class CC1: Form { DataTable ta...
using Foundation; using UIKit; using Flurry.Analytics; using HockeyApp; using System; using System.Threading.Tasks; using Facebook.CoreKit; using System.Collections.Generic; namespace Lettuce.IOS { // The UIApplicationDelegate for the application. This class is responsible for launching the // User Interface of th...
// Accord Math Library // The Accord.NET Framework // http://accord-framework.net // // Copyright © César Souza, 2009-2015 // cesarsouza at gmail.com // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as publish...
// Copyright (c) 2019 Siegfried Pammer // // Permission is hereby granted, free of charge, to any person obtaining a copy of this // software and associated documentation files (the "Software"), to deal in the Software // without restriction, including without limitation the rights to use, copy, modify, merge, // pub...
using System; using System.Collections.Generic; using System.Text; namespace PoweredSoft.Docker.PostgresBackup.Backup { public class BackupOptions { public string BasePath { get; set; } = "postgres_backups"; public string Databases { get; set; } = "*"; } }
using ServiceDesk.Api.Systems.RequestSystem.Dtos.Comment; namespace ServiceDesk.Api.Systems.RequestSystem.DtoBuilders.Comment { public class CommentDtoBuilder : ICommentDtoBuilder<CommentDto> { public CommentDto Build(Core.Entities.RequestSystem.Comment entity) { var commentDto = n...
using System; using System.Windows; using DevExpress.Xpf.Core; using log4net; namespace InsightsAnalyser.ViewModels { public static class ErrorReporter { public static void Report(ILog logger, Exception ex) { logger.Error(ex); DXMessageBox.Show("An error has occurred.\n...
using LuaInterface; using SLua; using System; public class Lua_UnityEngine_ProceduralProcessorUsage : LuaObject { public static void reg(IntPtr l) { LuaObject.getEnumTable(l, "UnityEngine.ProceduralProcessorUsage"); LuaObject.addMember(l, 0, "Unsupported"); LuaObject.addMember(l, 1, "One"); LuaObject.addMemb...
using System.Linq; using NSubstitute; using Shouldly; using Xunit; namespace Howff.Navigation.Tests { public class NavigationTests { [Fact] public void GetItems_RootItemNull_ReturnsEmptyItemCollection() { var navigation = MakeDefaultNavigationFake(); var navigationItems = navigation.GetItems(null, Subs...
using Checkout.Payment.Command.Domain.Models; using Checkout.Payment.Command.Seedwork.Extensions; using System; using System.Threading.Tasks; namespace Checkout.Payment.Command.Domain.Interfaces { public interface IPaymentRepository { Task<ITryResult<PaymentRequest>> TryCreatePayment(CreatePaymentComm...
using System.Collections.Generic; using RimWorld; using Verse; using Verse.AI; namespace sd_luciprod; public class JobDriver_sd_luciprod_TakeLuciOutOfDistillery : JobDriver { private const TargetIndex BarrelInd = TargetIndex.A; private const TargetIndex sd_luciprod_rawBatchToHaulInd = TargetIndex.B; pri...
namespace SGDE.Domain.Entities { #region Using using System; using System.Collections.Generic; #endregion public class User : BaseEntity { public string Name { get; set; } public string Surname { get; set; } public string Username { get; set; } public string D...
using System; using System.IO; using NUnit.Framework; using GildedRose.Console; namespace GildedRose.Tests { [TestFixture] public class TestAssemblyTests { private Program _prog; [SetUp] public void SetUp() { _prog = Program.GetApp(); } ...
// Accord Imaging Library // The Accord.NET Framework // http://accord-framework.net // // Copyright © César Souza, 2009-2015 // cesarsouza at gmail.com // // Copyright © Peter Kovesi, 1995-2010 // Centre for Exploration Targeting // // This library is free software; you can redistribute it and/or // modify it u...
namespace Pyramidic { using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; public class Pyramidic { public static void Main(string[] args) { //var for number of strings; var n = int.Parse...
using System.Collections; using System.Collections.Generic; using UnityEngine; using Platformer.Mechanics; using UnityEngine.UI; public class SkillButton : MonoBehaviour { public GameObject[] previousReq; public GameObject[] nextReq; bool skillPlus1 = false; public int abilityLevel = 0; public GameObject skillT...
using UnityEngine; using System.Collections; using System.Collections.Generic; using System; using System.Xml.Serialization; using System.IO; public class AchievementList { List<Achievement> m_AchievementList; private static AchievementList m_sInstance = null; private AchievementList() ...
using System; using System.IO; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Server.Kestrel; namespace Promact.Oauth.Server { public static class Program { public static void Main(string[] args) { var host = new WebHostBuilder() .UseKest...
namespace _02.OneToManyRelation { using _02.OneToManyRelation.Data; using Microsoft.EntityFrameworkCore; public class AppDbContext : DbContext { public DbSet<Employee> Employees { get; set; } public DbSet<Department> Departments { get; set; } protected override void OnConfigu...
using UnityEngine; public class RigidPaperAirplane : MonoBehaviour { private const float killHeight = -10.0f; private Rigidbody rigidBody; public bool isSpinning = false; void Start() { rigidBody = GetComponent<Rigidbody>(); rigidBody.maxAngularVelocity = 0.0f; rigidBody.free...
using System; using Logs.Common; using Logs.Providers.Contracts; using Ninject.Extensions.Interception; namespace Logs.Web.Infrastructure.Interception { public class CachingInterceptor : IInterceptor { private readonly ICachingProvider cachingProvider; private readonly IDateTimeProvider dateTi...
namespace FeedsProcessing.Common.Models { public class BackingStoreInfo { public BackingStoreInfo(NotificationSource source, int index, string id) { FileId = id; Source = source.ToString().ToLowerInvariant(); DirIndex = index; } public strin...
using System; using Xamarin.Forms; using Xamarin.Forms.Xaml; using App1.Services; namespace App1 { [XamlCompilation(XamlCompilationOptions.Compile)] public partial class Page2 : ContentPage { public Page2() { InitializeComponent(); btnScan.Clicked += BtnScan_Clicke...
using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Cors; using Microsoft.AspNetCore.Mvc; using Microsoft.EntityFrameworkCore; using System; using System.Collections.Generic; using System.Data.SqlClient; using System.Linq; using System.Threading.Tasks; using TourApi.Models; using TourApi.Repos; names...
using System; using System.Collections.Generic; using System.Text; using DataAccess.POCO; namespace DataAccess.Interfaces { public interface IAddressesRepository : IRepository<Addresses> { IEnumerable<Addresses> GetByCustomer(string id); } }
using System.Threading.Tasks; using WooliesChallenge.Application.Helpers; using WooliesChallenge.Application.Interfaces; using WooliesChallenge.Application.Models; namespace WooliesChallenge.Application.Services { public class UserService: IUserService { public async Task<User> GetUser() { ...
using AutoMapper; using Microsoft.AspNet.Identity.Owin; using Microsoft.AspNet.Identity; using Microsoft.Owin.Security; using MyCashFlow.Domains.DataObject; using MyCashFlow.Identity.Context; using MyCashFlow.Web.ViewModels.Account; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; usi...
namespace ModelAndroidApp.ModelAndroid { using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Data.Entity.Spatial; [Table("Movimento")] public partial class Movimento { publi...
using Microsoft.AspNetCore.Mvc; using Microsoft.EntityFrameworkCore; using TrackBack.Data; using TrackBack.Models; namespace TrackBack.Controllers { public class BookmarksController : Controller { private readonly DataContext _context; public BookmarksController(DataContext context) {...
using System; using System.Collections.Generic; using System.Configuration; using System.Linq; using System.ServiceModel; using System.Web; using System.Web.Mvc; using KT.ServiceInterfaces; using KnowledgeTester.Helpers; using KnowledgeTester.Models; using KnowledgeTester.Ninject; using KnowledgeTester.WCFServices; us...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CoursIngesup._3___Héritage { class Point { #region variable int x; int y; #endregion #region constructeur #endregion ...
using System; using tryfsharplib; using Xamarin.Forms; using System.Threading.Tasks; using System.Collections.Generic; namespace tryfsharpforms { public class AnalyzingStockMarketsPage : BasePage { GetDataButton obtainListOfIndicatorsButton = new GetDataButton(Borders.Thin,1){ Text = "Obtain Indicators" }; pu...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Net.Sockets; using System.Net; using System.IO; using System.Threading; using System.Diagnostics; using System.Collections; using CHashLab1; namespace CHashLab2 { class HTTPServer { pri...
using System; using System.Collections.Generic; using FitBox.DomainModel; using FitBox.Helper; using FitBox.Logic; namespace FitBox { public static class Program { public static void Main(string[] args) { Service.DisplayHeader(); // Read measuring unit ...
using Mis_Recetas.Controlador; 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 Mis_Recetas.Vista { public partial class FormModificarUsuar...
using System.Collections; using System.Collections.Generic; using UnityEngine; public static class GameProperties { public static int HaveShoes { get; set; } = 0; public static int HaveScarf { get; set; } = 0; }
using System.Collections; using System.Collections.Generic; using UnityEngine; public class RotationSensor : PlcInput { public Transform target; public Vector3 rotationOffset; // Offset from initial local position when the sensor state is set to 1 public float threshold = 0.5f; // [degree] public boo...
using System; using Microsoft.AspNetCore.Identity.EntityFrameworkCore; using Microsoft.EntityFrameworkCore; using Ambassador.Entities; using Ambassador.Models; using System.Threading.Tasks; using System.Reflection; using System.ComponentModel; namespace Ambassador.Data { public class DatabaseContext : IdentityDbC...
using LuaInterface; using SLua; using System; public class Lua_UnityEngine_MaterialGlobalIlluminationFlags : LuaObject { public static void reg(IntPtr l) { LuaObject.getEnumTable(l, "UnityEngine.MaterialGlobalIlluminationFlags"); LuaObject.addMember(l, 0, "None"); LuaObject.addMember(l, 1, "RealtimeEmissive");...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; using System.IO; using CardLib; using System.Diagnostics; namespace Durak_Game { class Durak { private Deck deck; private List<CardBox>...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class FreezeDurationBufferPowerup : BufferPowerup { // Start is called before the first frame update void Start() { powerup = SaveLoad.playerProgress.freeze; level = SaveLoad.playerProgress.freeze.duratio...
using System.Text.Json.Serialization; namespace OrderService.Models { [JsonConverter(typeof(JsonStringEnumConverter))] public enum Currency { Ru = 1, Eu = 2, Usd = 3 } }
using System.Collections.Generic; using System.Linq.Expressions; using System.Reflection; namespace Bb.Expressions.Statements { public class ConditionalStatement : Statement { public ConditionalStatement() { } public Expression ConditionalExpression { get; set; } ...
using System.Collections.Generic.V40; namespace System.Collections.Immutable { using System; using System.Collections; using System.Collections.Generic; using System.ComponentModel; using System.Diagnostics; using System.Diagnostics.CodeAnalysis; using System.Reflection; using System.R...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class PlayerCtrlBJY : MonoBehaviour { [Header("UI 관련")] [SerializeField] private GameObject m_G_ButtonPanel; [SerializeField] private Text m_T_CommandText; [SerializeField] private Image m_I_But...
//using System.Collections; //using System.Collections.Generic; //using UnityEngine; //using UnityEditor; //public class DotAlignmenter : MonoBehaviour { // public int hDistance=75; // public int vDistance=54; // public int hCount; // public int vCount; // [MenuItem("Karuna/Renamer %#R")] // publi...
using System; using System.Collections; using System.Collections.Generic; using ReadyGamerOne.Common; using ReadyGamerOne.Script; using UnityEngine; using UnityEngine.Assertions; using Object = UnityEngine.Object; namespace ReadyGamerOne.MemorySystem { public class AssetBundleResourceLoader: Singleton<Asse...
using System; using System.Collections.Generic; using System.Configuration; using System.Linq; using System.Web; namespace BuildFeed { public static class DatabaseConfig { public static string Host { get; private set; } public static int Port { get; private set; } public static long Da...
using System; using System.Runtime.CompilerServices; [assembly: InternalsVisibleTo("iQuest.VendingMachine")] namespace VendingMachineDomain.Exceptions { public class InsufficientStockException : Exception { private const string DefaultMessage = "We are out of stock !!"; public InsufficientS...
namespace CarDealer.Client { using Data; using Models; using Newtonsoft.Json; using System; using System.Collections.Generic; using System.IO; using System.Linq; class Startup { #region Startup static void Main(string[] args) { CarDealerContext c...
using System.Linq; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace FollowDirections.Test { [TestClass] public class RobotTests { [TestMethod] public void RobotTest() { var commands = new[] { "Move 2", "Turn right...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Ivi.Visa.Interop; using System.Threading; using System.Windows.Forms; namespace LibEqmtDriver.SA { public class E4440A : IISigAnalyzer { public static string ClassName = "E4440A MXA Class"; private Form...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class AgoraJoiner : MonoBehaviour { // when I become in range with someone, display button to ask them to join my party public GameObject inviteButton; public GameObject joinButton; public GameObject remoteVideoSu...
using System; namespace NotaValida { class Program { static void Main(string[] args) { Console.WriteLine("Validação de notas entre 0 a 10 \n"); bool notaValida = false; do { Console.WriteLine("Qual é a nota que vc recebeu?"); ...
using DDDSouthWest.Domain; using DDDSouthWest.Domain.Features.Account.RegisterNewUser; using DDDSouthWest.Domain.Features.Public.Page; using MediatR; using StructureMap; namespace DDDSouthWest.UnitTests { public static class ResolveContainer { public static IMediator MediatR { get ...
 using System.Text; using Android.App; using Android.Content; using Android.OS; using Android.Views; using Android.Widget; using StudyEspanol.Data.Managers; using StudyEspanol.Data.Models; using StudyEspanol.Droid; using StudyEspanol.Res; using StudyEspanol.Utilities; namespace StudyEspanol.UI.Screens { [Activity()]...
using LAP_PowerMining.Core.Controllers; using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; namespace LAP_PowerMining.Controllers { public class WalletController : MyBaseController { // GET: Wallet [Authorize] public ActionResult I...
using System.Collections.Generic; using Microsoft.AspNet.Identity; using Microsoft.AspNet.Identity.EntityFramework; using SaleShop.Common; using SaleShop.Model.Models; namespace SaleShop.Data.Migrations { using System; using System.Data.Entity; using System.Data.Entity.Migrations; using System.Linq; ...
using MediatR; using Publicon.Infrastructure.DTOs; using System; namespace Publicon.Infrastructure.Queries.Models.Publication { public class DownloadPublicationQuery : IRequest<BlobInfoDTO> { public Guid PublicationId { get; set; } public DownloadPublicationQuery(Guid publicationId) {...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using AutoMapper; using BLL.Dtos; using BLL.Interfaces; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using PL.Models; namespace PL.Controllers { [Route("api/librarycards")] [ApiController] ...
 using System.Collections.Generic; using System; using System.Text; using BrainDuelsLib.utils.json; using System; using UnityEngine; namespace BrainDuelsLib.model.entities { public class User : Entity { public String login { get; set; } public int id { get; set; } public int rank { ge...
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Text; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Microsoft.OpenApi.Models; namespace QI.WikiScraping.Api.Infrastructure.Models.ApiExplorerQi { /// <summary> /// Option pattern to a...
using GeniyIdiot.Common; using System; using System.Collections.Generic; using System.Windows.Forms; namespace GeniyIdiotWinFormsApp { public partial class GetCurrentUserName : Form { private User newUser; public GetCurrentUserName(User user) { InitializeComponent(); ...
/* * Copyright 2014 Technische Universität Darmstadt * * 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 appl...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace _2do_Proyecto_Analisis { class Aula { string nombre; List<int[]> horasRestringidas; public Aula(string nombre) { this.nombre = nombre; ...
using System; public class FibonacciGenerator { public static void Main(string[] args) { int n1=0,n2=1,n3=1,number; Console.Write("Enter the number of elements: "); number = int.Parse(Console.ReadLine()); Console.Write(n1+" "+n2+" "); ...
using Microsoft.AspNetCore.Mvc; using PlacesBeen.Models; using System.Collections.Generic; namespace PlacesBeen.Controllers { public class PlacesController : Controller { [HttpGet("/places")] public ActionResult Index() //Common RESTful route name when you want to display list of all objects (...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using System.Data; using System.Text; using BLL.SYSTEM; public partial class BaseData_ExpenseSet : BasePage.WebPage { protected void Page_Load(object sender, Event...
using System; using System.Collections; using System.Collections.Generic; using UnityEngine; [Serializable] public class WindClass { //TODO: maybe switch the particle systemes and wind direction arrays here } public class ObstacleBehaviour : MonoBehaviour { public enum ObstacleType { Spikes, ...