text
stringlengths
13
6.01M
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.IO.Ports; using System.Threading; using System.Net.Http; // IMPORTANT ============================ // TODO: Change those threads with Async/Await pattern (Legacy Code) // IMPORTANT ========...
using FluentMigrator; namespace Profiling2.Migrations.Migrations { [Migration(201303121731)] public class RemovePersonPhotoTriggers : Migration { public override void Down() { //throw new NotImplementedException(); } public override void Up() { ...
using Assistenza.BufDalsi.Data.Models; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace Assistenza.BufDalsi.Web.Models.ImpiantoViewModels { public class ImpiantoIndexViewModel { public IEnumerable<Impianto> imp { get; set; } public IEnu...
using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace Sitemaker.Models { public class Site { public int Id { get; set; } public string UserName { get; set; } public string Logo { get; set; } public string Name { get; set; } publi...
using System; using System.Data; using System.Text; using System.Data.SqlClient; using Maticsoft.DBUtility;//Please add references namespace ITCastOCSS.DAL { /// <summary> /// 数据访问类:v_Score /// </summary> public partial class v_Score { public v_Score() { } #region BasicMeth...
using System; using System.Linq; using System.Linq.Expressions; using AutoMapper.QueryableExtensions; using NHibernate; using NHibernate.Linq; namespace NHibernateRepo.Repos { //Base repo is used so that all instances of the generic repo can be found through reflection without knowing the TEntity and TOverride. ...
using Repl.WebApi.Entities; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace Repl.WebApi.Storage { public class UserStore { private readonly WriteRedirect<User> _writeRedirect; public UserStore(WriteRedirect<User> writeRedirect) ...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using chat.Sources.Main; namespace chat.Controllers { [Authorize] public class GalleryController:Controller { [HttpGet] public ActionResult Items(long Uid) { ...
using System; using FluentMigrator; namespace Profiling2.Migrations.Migrations { [Migration(201511241118)] public class AddDocumentationFileEntities : Migration { public override void Down() { if (Schema.Table("PRF_DocumentationFile").Exists()) { Del...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using ByA; using Entidades; using DAL; using AutoMapper; using System.Data; using System.Data.Entity; namespace BLL { public class mTerceros: absBLL { public mTerceros(){ Mapper.CreateMap<vTerceros, TER...
using System; using FsCheck; using FsCheck.Fluent; using Microsoft.FSharp.Core; using Microsoft.FSharp.Collections; namespace FsCheckUtils { /// <summary> /// Extension methods for <see cref="FsCheck.Config" />. /// </summary> public static class ConfigExtensions { /// <summary> ///...
using System; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace Grains { [Table("UserInfo", Schema = "user")] public class UserInfoState { [Required, Key] public long UserId { get; set; } public string Name { get; set; } = "n...
using System; using SharpArch.Domain.DomainModel; namespace Profiling2.Domain.Prf.Sources { public class Reliability : Entity, IComparable { public const string NAME_HIGH = "High"; public const string NAME_MODERATE = "Moderate"; public const string NAME_LOW = "Low"; public vir...
using Autodesk.AutoCAD.Runtime; using Autodesk.AutoCAD.DatabaseServices; using Autodesk.AutoCAD.Geometry; using Autodesk.AutoCAD.EditorInput; using Autodesk.AutoCAD.ApplicationServices; using System; using System.IO; using System.Xml.Serialization; using fi.upm.es.dwgDecoder.dwgElementos; using fi.upm.es.dwgDecoder....
/** * Definition for singly-linked list. * public class ListNode { * public int val; * public ListNode next; * public ListNode(int val=0, ListNode next=null) { * this.val = val; * this.next = next; * } * } */ public class Solution { public ListNode AddTwoNumbers(ListNode l1...
using Order.Domain.Common; using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Threading.Tasks; namespace Order.Application.Interfaces { public interface IGenericRepository<T> where T : BaseEntity { Task<IReadOnlyList<T>> GetAllAsync(Func<IQue...
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Linq; using System.Web; namespace CRUD_With_CF.Models { public class Emp { [Key] [DatabaseGenerated(DatabaseGeneratedOp...
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 HW2 { public partial class Create_New_Profile : Form { int counterIm...
using Newtonsoft.Json.Linq; using System; using System.Collections; using System.Collections.Generic; using System.Linq; using UnityEngine; public class Tierra : MonoBehaviour { public Material MaterialBase; public Material MaterialRegado; private MeshRenderer[] Surcos; private bool regado; priva...
public class Solution { public string AddBinary(string a, string b) { string res = ""; bool addOne = false; int m = Math.Max(a.Length, b.Length); for (int i = 0; i < m; i ++) { int x = a.Length - i - 1 >= 0 ? a[a.Length - i - 1] - '0' : 0; in...
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; namespace SMG.Common.Code { /// <summary> /// Stackable singleton object serving as a location to store simplified gates. /// </...
using ApartmentApps.Data; namespace ApartmentApps.Api.Modules { public class UserModuleConfig : UserEntity, IModuleConfig { public bool Enabled { get; set; } } }
using System; using System.Collections.Generic; using System.Data; using System.Windows; using _5tg_at_mediaPlayer_desktop.connection; namespace _5tg_at_mediaPlayer_desktop { /// <summary> /// Interaction logic for AddToPlaylistWindow.xaml /// </summary> public partial class AddToPlaylistWindow : Wind...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class DragonFly : EnemyMove { protected override void Start(){base.Start();} protected override void Update() { if (transform.position.y <= gameManager.MinPosition.y) gameObject.SetActive(false); if(isDead...
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.Diagnostics; namespace _3._5_System_event_log { public partial class Form1 : Form ...
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 PROG1_PROYECTO_FINAL { public partial class Reporte_Proveedores : Form { publi...
using FluentValidation.TestHelper; using NUnit.Framework; using SFA.DAS.ProviderCommitments.Web.Models.Apprentice; using SFA.DAS.ProviderCommitments.Web.Validators.Apprentice; using System; using System.Linq.Expressions; using SFA.DAS.ProviderCommitments.Infrastructure.OuterApi.Types; namespace SFA.DAS.ProviderCommit...
using System; namespace Problem_Days_To_Minutes { class Program { static void Main(string[] args) { int days = int.Parse(Console.ReadLine()); int minutes = days * 24 * 60; Console.WriteLine(minutes); } } }
using System; using System.Collections.Generic; using System.Data.Entity; using System.Linq; using System.Web; namespace CRUD_With_CF.Models { public class Emp_Context :DbContext { public Emp_Context() :base ("name=EmpContext") { } public DbSet<Emp> Emp { get; set; } ...
using UnityEngine; namespace DChild.Gameplay.Objects.Characters { public interface ITurningCharacter { void Turn(); } }
using Welic.Dominio.Models.Users.Mapeamentos; using Welic.Dominio.Utilitarios.Entidades; using Welic.Dominio.Validacao; namespace Welic.Dominio.Models.Users.Scope { public static class UserScope { public static bool ValidarEscopoNomeUsuarioESenha(this AspNetUser user, string nomeUsuario, string senha)...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace EBS.Application.DTO { public class StocktakingPlanModel { public int Id {get;set;} public int Method {get;set;} public int EditedBy {get;set;} public strin...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using DocumentFormat.OpenXml; using Model = DocGen.ObjectModel; using DocumentFormat.OpenXml.Wordprocessing; namespace DocGen.OOXML { //Feature extension /// <summary> /// Responsible for converting a given L...
/* * ------------------------------------------------------------------------------------------------ * DateFunctions.cs * * Author: Henrik Nielsen (nielsen.henrik@gmail.com) * Date: 06-03-2008 11:07 * * Purpose: * - Static class containing many date and business date functions not found in the DateTi...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.PlayerLoop; using UnityEngine.SceneManagement; using UnityEngine.UI; public class UI_Script : MonoBehaviour { private Text messageText; private AudioSource audioSource; [Header("Story Audio")] public Au...
using System; using System.Collections.Generic; using System.Text; using System.Threading.Tasks; using AutoMapper; using Communicator.Core.Domain; using Communicator.Core.Extension; using Communicator.Infrastructure.Dto; using Communicator.Infrastructure.IRepositories; using Communicator.Infrastructure.IServices; nam...
using System; using System.Collections.Generic; using System.Linq; using Autofac; using Comics.Core.Downloaders; using Comics.Core.Import; using Comics.Core.Persistence; namespace Comics.Web { public static class ComicTypes { /// <summary> /// Autofac will call this each time ...
using System; using System.Text; namespace Apache.Shiro.Codec { public class Hex { private Hex() { } public static byte[] FromHexCharArray(char[] chars) { return FromHexString(new string(chars)); } public static...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Dapper; using Assistenza.BufDalsi.Data.Models; using System.Data.SqlClient; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using Assistenza.BufDalsi.Web.Models.ImpiantoViewModels; /*______ ...
using Assets.Scripts.Controllers.InteractiveObjects.MiningObjects; using UnityEngine; namespace Assets.Scripts.Controllers { public class AlienBallController : MonoBehaviour { public int Damage; public RFX4_RaycastCollision Collision; public RFX4_PhysicsForceCurves CollisionCurve; ...
/* IncomingChatBubble.xaml.cs Copyright (C) 2015 Belledonne Communications, Grenoble, France This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any ...
using kata_payslip_v2.DataObjects; namespace kata_payslip_v2.Interfaces { public interface IPayslipInformationCalculator { PayslipInformation CreatePayslipInformation(UserInputInformation userInputInformation); } }
using System.Linq; namespace Assignment3.Models { public interface IMovieRepository { //get the movie response form IQueryable<MovieResponse> Movies { get; } } }
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.HttpsPolicy; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Exten...
using NewRimLiqourProject.BusinessLogic; using NewRimLiqourProject.Models; using RimLiqourProject.Models; using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; namespace NewRimLiqourProject.Controllers { [Authorize(Roles = "Customer")] public class Or...
using System; using System.ComponentModel.DataAnnotations; namespace ProjetoMVC.Models { public class Fornecedor { public int Id { get; set; } [Required(ErrorMessage = "O campo nome é obrigatório.")] public string Nome { get; set; } [Display(Name = "Cpf / Cnpj")] [Re...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Imaging;...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace MmPort { public class MmException: ApplicationException { private string error; //无参数构造函数 public MmException() { } //带一个字符串参数的构造函数,作用:当程序员用Exception类获取异常...
using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Todolist.Web.Domain.Entities; namespace Todolist.Web.Controllers { [ApiController] [Route("todo")] public class TodoController : ControllerBase { public async Task<IEnumerabl...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Platform : MonoBehaviour { public string key; public GameManager gameManager; // Start is called before the first frame update void Start() { gameManager = FindObjectOfType<GameManager>(); } ...
// Copyright (c) 2017 Gwaredd Mountain, https://opensource.org/licenses/MIT #if !UNIUM_DISABLE && ( DEVELOPMENT_BUILD || UNITY_EDITOR || UNIUM_ENABLE ) using NUnit.Framework; //////////////////////////////////////////////////////////////////////////////////////////////////// public class TestScratchPad { ...
using RoboticMovementType.Interface; namespace NASARover.MovementManager { /// <summary> /// Any plateau related to any rover is also used to perform process. /// </summary> /// <typeparam name="R"></typeparam> /// <typeparam name="P"></typeparam> public class MovementControl<R, P> where R : I...
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using HMUI; using JetBrains.Annotations; using TMPro; using UnityEngine; using UnityEngine.UI; using VRUI; using Image = UnityEngine.UI.Image; namespace TwitchIntegrationPlugin.UI { public class TwitchIntegrationUi : Mono...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.Events; [ExecuteInEditMode] public class PostManager : MonoBehaviour { public bool editorMode; public bool log; public RenderTexture renderTextureTemplate; private RenderTexture t; public Camera rende...
using TAiMStore.Domain; namespace TAiMStore.Model.Repository { public interface IRoleRepository : IRepository<Role> { } }
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.Data.SqlClient; namespace editortext { public partial class Form_SaveToDatabase : Form ...
using System.Drawing; namespace SharpMap.UI.Mapping { public class TrackerSymbolHelper { /// <summary> /// GenerateSimpleTrackerImage creates a rectangular image. Please note /// the offset of 2 pixels to counter a mismath in sharpmap? /// </summary> /// <param name="pen...
namespace ApiSoftPlan.Core { using ApiSoftPlan.Models; using Extensions; using Microsoft.Extensions.Options; /// <summary>The math core.</summary> public class MathCore : IMathCore { /// <summary> /// The settings. /// </summary> private readonly Settings settings; /// <summary>Initializes a new inst...
using System.Threading.Tasks; namespace Uintra.Core.User { public interface IIntranetUserService<T> { T GetByEmail(string email); T GetById(int id); void Disable(int id); void Enable(int id); Task<T> GetByEmailAsync(string email); Task<T> GetByIdAsync(int id); } }
//using System; //using System.Collections.Generic; //using System.Text; //using gView.MapServer; //using System.Xml; //using gView.Framework.system; //using gView.Framework.Carto; //using gView.Framework.Data; //using gView.Framework.Geometry; //using System.IO; //using System.Threading.Tasks; //namespace gView.Inte...
using Irony.Parsing; namespace Bitbrains.AmmyParser { public class AstObjectPropertySettingData : IBaseData, IAstObjectSetting { public AstObjectPropertySettingData(string name, object value, SourceSpan span) { Name = name; Value = value; Span = span; ...
using JhinBot.Enums; using JhinBot.Interface; using JhinBot.GlobalConst; using System.Collections.Generic; using JhinBot.Convo.Validators; using JhinBot.DiscordObjects; using JhinBot.Validators.Implementation; using JhinBot.Services; namespace JhinBot.Providers { public class ConvoValidatorProvider { ...
using System; using System.Collections.Generic; using System.Linq; using DelftTools.Hydro; using DelftTools.Hydro.CrossSections; using DelftTools.Hydro.Helpers; using GeoAPI.Geometries; using GisSharpBlog.NetTopologySuite.Geometries; using NetTopologySuite.Extensions.Networks; using NUnit.Framework; namespace DelftTo...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ModificatoriAccesso { class Program { internal string[] a = { "Hola" }; static void Main(string[] args) { PrivateClass priv = new PrivateClass(); ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using BLL.Interfaces; using DAL.Interfaces; namespace BLL.Models { public class RoomLogic : IRoomLogic { public bool AddBed(IBed bed) { throw new NotImplementedExcep...
namespace RosPurcell.Web.ViewModels.Forms { public class ContactFormSuccess { public string Message { get; set; } } }
using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Text; using System.Web.Mvc.Html; using System.Web.Routing; using System.ComponentModel.DataAnnotations; using System.Reflection; using System.ComponentModel; using System; using CAPCO.Infrastructure.Domain; usin...
namespace SportsPro.Migrations { using System; using System.Data.Entity; using System.Data.Entity.Migrations; using System.Diagnostics; using System.Linq; using Microsoft.AspNet.Identity; using Microsoft.AspNet.Identity.EntityFramework; using SportsPro.Models; internal sealed class ...
using RiverPuzzle1.Models; namespace RiverPuzzle.Factories { public static class CharacterFactory { public static Character Build(string name) { switch (name) { case "Farmer": return new Farmer(); case "Fox": ...
using System; using System.Collections; using System.Collections.Generic; using UnityEngine; public class uisoCircleGesture : MonoBehaviour { public Transform target; public Vector3 targetStart; public float previous; public float current; public UISprite sprite; public UILabel label; p...
using System.Windows.Input; using MvvmCross.Core.ViewModels; using ResidentAppCross.ViewModels; using static ResidentAppCross.Resources.SharedResources; namespace ResidentAppCross { public class HomeMenuItemViewModel : MvxViewModel { public string Name { get; set; } public Icons Icon { get; se...
using System; using System.Collections.Generic; using System.Text; namespace lsc.Model.Enume { /// <summary> /// 项目状态 /// </summary> public enum ProjectStateEnum { /// <summary> /// 进行中 /// </summary> Ongoing=0, /// <summary> /// 成功 /// </sum...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using com.Sconit.Utility; using Telerik.Web.Mvc; using com.Sconit.Web.Models.SearchModels.BIL; using com.Sconit.Web.Models; using com.Sconit.Entity.BIL; using com.Sconit.Service; using com.Sconit.Entity.Exception...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Crypto { class Program { static void Main(string[] args) { Console.WriteLine(); Console.Read(); } public static string xor_encod...
using System; using System.Collections.Generic; using System.Text; namespace SOLIDPrinciples.OCP.Example2.Worst { public enum TipoEmail { Texto, Html, Criptografado } public class EnviadorDeEmail { public void Enviar(string mensagem, string assunto, TipoEmail tipo)...
using System; using System.Collections.Generic; namespace KemengSoft.UTILS.RemoteDebug { public class RemoteDebugOption { /// <summary> /// 当前是否已打开远程调试 /// </summary> public bool IsOpen { get; set; } /// <summary> /// 信任的IP /// </summary> public ...
// // Test.cs // // Author: // nofanto ibrahim <nofanto.ibrahim@gmail.com> // // Copyright (c) 2011 sejalan // // This library is free software; you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as // published by the Free Software Foundation; either v...
using Common; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace FunctionRegression { public class RegressionTaskV3 : RegressionTaskV2 { public RegressionTaskV3() { LearningRange = new Range(0, 1, ...
using System; using Assets.src.services; namespace Assets.src.contexts { public interface IGameLoopService : IService { //void AddOnUpdateListner(Action onUpdate); //void RemoveOnUpdateListner(Action onUpdate); } }
using LiveTest.Models; namespace LiveTest.Data { using System; using System.Data.Entity; using System.Linq; public class StoreContext : DbContext { public StoreContext() : base("StoreContext") { } public IDbSet<User> Users { get; set; } public I...
using Domain.Entities; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Application.Services { public interface IUserService { Task<User> RegisterAsync(User user); Task<User> AuthenticateAsync(string username, string ...
using MyHeroKill.Model.Wepons; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace MyHeroKill.Model.Weapons { public abstract class BaseWeapon : IWeapon { #region 属性 public string Name { get; ...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class GameMenu : MonoBehaviour { private const int USERCOUNT = 2; public GameObject[] playerList = new GameObject[USERCOUNT]; public GameObject currentPlayer; public GameObject gameLog; ...
using System; using Utilities; namespace EddiEvents { [PublicAPI] public class SRVTurretEvent : Event { public const string NAME = "SRV turret"; public const string DESCRIPTION = "Triggered when you deploy or retract your SRV's turret"; public const string SAMPLE = null; [...
using System; namespace WorkingWithDelegates { public class Demo1 { public static void Run() { Console.WriteLine("\n=== Simple Delegate ==="); /************************************ # Create a SimpleMathDelegate delegate object that "points to" Simpl...
using UnityEngine; using System.Collections; public class CollisionState : MonoBehaviour { private InputState inputState; public LayerMask collisionLayer; public bool onGround; public bool moving; public bool onWall; public bool touchingWall; public bool pushing; public Vector2 ground...
using BieProduccion.Models; using Prism.Commands; using Prism.Navigation; namespace BieProduccion.ViewModels { public class OrderItemViewModel : OrdenProduccion { private readonly INavigationService _navigationService; private DelegateCommand _selectOrderCommand; public OrderItemViewM...
using System; using System.Collections; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; //TODO: Add other using statements here namespace com.Sconit.Entity.MRP.TRANS { [Serializable] public partial class MrpExPlanItemRate : EntityBase, IAuditable { #region O/R Mappi...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace DecoratedTeacher { public class UnmodifiableTeacher : ITeacher { private readonly ITeacher _teacher; private string _name; private int _salary; public ...
using System.Net; using UBaseline.Core.Node; using UBaseline.Shared.Node; using Uintra.Features.Links; using Uintra.Features.Links.Models; namespace Uintra.Core.UbaselineModels.RestrictedNode { public abstract class UintraRestrictedNodeViewModelConverter<TNodeModel, TNodeViewModel> : INodeViewModelConverter<TNode...
using System.Collections.Generic; namespace Euler_Logic.Problems.AdventOfCode.Y2017 { public class Problem21 : AdventOfCodeBase { private Dictionary<int, Dictionary<ulong, ulong>> _translation; private Dictionary<int, ulong[]> _rotate; private Dictionary<int, ulong[]> _flip; publi...
public class Solution { public int UniquePathsWithObstacles(int[][] obstacleGrid) { int m = obstacleGrid.Length, n = obstacleGrid[0].Length; var dp = new int[n]; for (int j = 0; j < n; j ++) { if (obstacleGrid[0][j] == 1) { while (j < n) { ...
using Enviosbase.Data; using Enviosbase.Model; using System.Collections.Generic; namespace Enviosbase.Business { public class UsuarioBusiness { public UsuarioModel Create(UsuarioModel item) { return new UsuarioDataMapper().Create(item); } public void Update(Usuario...
using System; using GameSparks.Api.Messages; using GameSparks.Api.Requests; using Newtonsoft.Json; using UnityEngine; namespace NetworkFramework.Parser.ScriptMessageParserCore { public abstract class AScriptMessage { public abstract void Inject(string targetId); public abstract void Parse(ScriptMessage message)...
using System; using System.Diagnostics; namespace clustering { public static class Globals { public static float Undefined = -1; public static float ClusteringScore (String inputFile) { ProcessStartInfo psi = new ProcessStartInfo(); psi.FileName = "PA3.exe"; psi.Arguments = inputFile.Replace(".txt",...
using System; using System.Collections.Generic; using Profiling2.Domain.Prf.Persons; namespace Profiling2.Domain.Contracts.Queries.Audit { public interface IPersonRevisionsQuery { IList<Person> GetPersons(DateTime date, ProfileStatus profileStatus); } }
using Entidades; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Datos { public class PlanesDAL { public List<PlanesDTO> ListarPlanes() { List<PlanesDTO> lista = new List<PlanesDTO>(); using (AutomatTelef...
using System.Collections.Generic; namespace test1_task2 { /// <summary> /// Class contains methods for counting duplicates in collection. /// </summary> public class CollectionCounter { /// <summary> /// Method returns the calculated number of repeating elements using LastIndex ...
namespace Meetup.Errors.Contracts { public interface CallExternalProcess { int Index { get; } } }
using System; using System.Collections.Generic; using System.Threading.Tasks; using EntMob.Models; namespace EntMob_Xamarin { public interface IHumidityService { Task<Humidity> AddHumidity(Humidity humidity); Task<List<Humidity>> GetHumiditiesForSession(Session session); } }