text
stringlengths
13
6.01M
//------------------------------------------------------------------------------ // The contents of this file are subject to the nopCommerce Public License Version 1.0 ("License"); you may not use this file except in compliance with the License. // You may obtain a copy of the License at http://www.nopCommerce.com/Lic...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.AI; using UnityEngine.UI; public class navMeshDestination : MonoBehaviour { public NavMeshAgent TargetAgent; public bool moveOnClick = true; Animator animator; //PATROLLING public bool isPatrolling; ...
using BPiaoBao.DomesticTicket.Domain.Models.Orders; using System; using System.Collections.Generic; using System.Data.Entity.ModelConfiguration; using System.Linq; using System.Text; namespace BPiaoBao.DomesticTicket.EFRepository.OrdersMap { public class CoordinationLogMap : EntityTypeConfiguration<CoordinationLo...
using System; using System.Collections.Generic; using System.Linq; using System.Net.NetworkInformation; using Microsoft.VisualStudio.TestTools.UnitTesting; using ORMHandsOn; using Test.ORM.Infrastructure; namespace Test.ORM.Exercises { [TestClass] public class WhenRetrievingAStudent : WithFreshDatabaseForEver...
using System; using System.Collections.Generic; using System.IO; using System.Net; using HtmlAgilityPack; using Newtonsoft.Json; namespace QuotesDb { public class Quote { public int Id { get; set; } public string Text { get; set; } public string Author { get; set; } public Quo...
using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using IBAN; using System.Diagnostics; namespace IBANTest { [TestClass] public class UnitTest1 { /// <summary> /// In diesem Beispiel wird die Zeichenlänge überprüft und ein "true" ausgegeben , wenn die Bedingung erfüllt ist....
using System; namespace Web.Models { public class Message { public int Id { get; set; } public string Subject { get; set; } public string Body { get; set; } public DateTime MessageDate { get; set; } //[RegularExpression("^[_a-z0-9-]+(\\.[_a-z0-9-]+)*@[a-z0-9-]+(\\.[a-z...
using System; using System.Linq; public class Program { public static void Main() { var inputList = Console.ReadLine().Split().Select(int.Parse).ToList(); Console.WriteLine($"Min = {inputList.Min()}"); Console.WriteLine($"Max = {inputList.Max()}"); Console.WriteLine($"Sum = {i...
using Autofac; namespace BusinessLogic.Core.DI { public class CoreModule : Module { protected override void Load(ContainerBuilder builder) { builder.RegisterAssemblyTypes(ThisAssembly) .AsImplementedInterfaces(); } } }
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Bat : MonoBehaviour { public int hp; public bool ishurt = false; public Animator anime; public GameObject damageuiprefab; // Start is called before the first frame update void Start() { anim...
using System; using IdentityServer4.Configuration; using IdentityServer4.Services.Default; using IdentityServer4.Stores; using IdentityServer4.Stores.InMemory; using IdsvrMultiTenant.Services; using IdsvrMultiTenant.Services.IdSvr; using IdsvrMultiTenant.Services.MultiTenancy; using Microsoft.AspNetCore.Builder; using ...
namespace Game.ConsoleUI { using System; using Infrastructure.Helpers; using Interfaces; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Serilog; class Program { static void Main() { ConfigureServices(); ...
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ChartControl { public class SeriesPointCollection : List<SeriesPoint> { #region Variables //List<SeriesPoint> points; #endregion ...
/* Copyright (c) 2010, Direct Project All rights reserved. Authors: Umesh Madan umeshma@microsoft.com Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: Redistributions of source code must retain the a...
///////////////////////////////////////////// // FuelCalculator.cs // // Created by: Markus Lidrot, 2015-10-24 // ///////////////////////////////////////////// using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namesp...
using System; using System.Collections; using System.Collections.Generic; using UnityEngine; //responsible for the logic on the button expressing an agreement public class AgreeSelector : MonoBehaviour { //inidicate if button is should be available for pushing and triggering actions private bool isColliding =...
namespace Assets.Scripts.Weapons.Interfaces { public interface IDamaging { int Damage { get; set; } } }
using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using Microsoft.Xrm.Sdk; using XrmMoq; namespace XrmMoqTestPlugin2016.Tests { [TestClass] public class ExamplePlugin2Tests { [TestMethod] [TestCategory("ExampleUnit")] public void Test_plugin_2016_trace_configuration...
using System.Collections.Generic; using UnityEngine; using System; #if UNITY_EDITOR using UnityEditor; #endif namespace HT.Framework { /// <summary> /// 任务内容基类 /// </summary> public abstract class TaskContentBase : ScriptableObject { /// <summary> /// 任务ID /// </summary> ...
using UnityEngine; using UnityEngine.SceneManagement; using UnityStandardAssets.CrossPlatformInput; public class PlayerController : MonoBehaviour { [Header("General")] [SerializeField] float ControlSpeed = 60f; [SerializeField] float ySpeed = 60f; [SerializeField] float yRange = 35f; [SerializeFi...
using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Windows; using System.Windows.Controls; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Animation; using System.Windows.Shapes; using Microsoft.Phone.Cont...
namespace OmniSharp.Extensions.LanguageServer.Protocol.Server { public interface IWorkspaceLanguageServer : ILanguageServerProxy { } }
using crud.Data; using crud.Models; using Microsoft.AspNetCore.Mvc; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace crud.Controllers { public class UserController : Controller { private readonly MySQLContext _db; public UserController(...
namespace akka_microservices_proj.Messages { public class GetProductsMessage { } }
using Newtonsoft.Json; using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Net.Http; using System.Text; using System.Threading.Tasks; using System.Web.Script.Serialization; namespace Traslator { class Program { static void Main(string[] args) ...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using System.Windows.Forms; using System.Drawing; using Jokedst.GetOpt; using System.Text; using WindowsFormsAppPaint; namespace WindowsFormsAppPaint { class Program { /// <summary> /// The main e...
using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace Web.Models { public class Recording { //There's a one-to-zero-or-one relationship between the Meeting and the Recording entities. //A Recording only exists in relation to the Meeting it...
using System; namespace FelixTheCat.BlackHole { class BlackHoleGenerator { public static string[,] GetBlackHoleSymbols() { string[,] symbols = { {"░░▒▒▓▓███████████████████████████████████████████████████████████████████████████████▓▓▒▒░░"}, ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace TQ.SaveFilesExplorer.Components { internal enum CopyKeysType { KeysOnly, KeysType, KeysTypeData, DistinctKeys, DistinctKeysType, DistinctKeysTypeData, } }
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI.WebControls; using AjaxPro; using SKT.MES.User.Model; using SKT.MES.User.BLL; using System.Text; using SKT.MES.Utility; namespace SKT.MES.Web.AjaxServices.User { /// <summary> /// 系统Ajax类 /// </summary...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using System.Timers; using System.Web; using DAL.Interface; using Microsoft.AspNetCore.SignalR; namespace DrawingGame.Hubs { public class RoomHub : Hub { private readonly IAnswer _answers; private ...
using System; using System.Windows; using System.Windows.Input; using BPiaoBao.Client.DomesticTicket.ViewModel; using GalaSoft.MvvmLight.Messaging; using JoveZhao.Framework; namespace BPiaoBao.Client.DomesticTicket.View { /// <summary> /// ChoosePolicyWindow.xaml 的交互逻辑 /// </summary> public partial cl...
using System; namespace NetworkToolkit.Connections { /// <summary> /// A read-only collection of connection properties. /// </summary> public interface IConnectionProperties { /// <summary> /// Gets a property. /// </summary> /// <param name="type">The type of the p...
using System; using System.Threading.Tasks; using MediatR; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using Realeyes.Application.DTOs; using Realeyes.Application.Sessions.Commands; namespace Realeyes.Api.Controllers { [ApiController] [Route("api/sessions")] public class SessionContro...
namespace OmniGui.Geometry { public struct Point { public Point(double x, double y) { X = x; Y = y; } public double X { get; } public double Y { get; } public static Point Zero => new Point(0, 0); public Point Offset(Point...
/* * Let d(n) be defined as the sum of proper divisors of n (numbers less than n which divide evenly into n). * If d(a) = b and d(b) = a, where a ≠ b, then a and b are an amicable pair and each of a and b are called amicable numbers. * * For example, the proper divisors of 220 are 1, 2, 4, 5, 10, 11, 20, 22, 44, ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace QualificationExaming.Entity { /// <summary> /// 成绩表 /// </summary> public class Score { /// <summary> /// 成绩主键 /// </summary> public...
using System; using static yocto.Preconditions; namespace yocto { public static class AsSingletonExtension { public static IRegistration AsSingleton(this IRegistration registration, bool eagerLoad = false) { CheckIsNotNull(nameof(registration), registration); return re...
namespace Tennis { public class TennisGame2 : ITennisGame { private int p1point; private int p2point; private string p1res = ""; private string p2res = ""; private string player1Name; private string player2Name; public TennisGame2(string player1Name, str...
using System.Collections.Generic; using System.ServiceModel; using CallCenter.Server.Helper; namespace CallCenter.ServiceContracts.Services { [ServiceContract] [ServiceKnownType("GetKnownTypes", typeof(KnownTypesHelper))] public interface IReopsitoryServiceBase<T> { [OperationContrac...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace AbstractClasses { abstract class myBaseClass { public abstract int myMethod(int arg1, int arg2); } }
// // commercio.sdk - Sdk for Commercio Network // // Riccardo Costacurta // Dec. 30, 2019 // BlockIt s.r.l. // // using System; using System.Text; using System.Collections.Generic; using System.Diagnostics; using commercio.sacco.lib; namespace commercio.sdk { public class MsgShareDocument : StdMsg { ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace AirCaddy.Domain.ViewModels.Privileges { public class PrivilegeRequestViewModel { public string CourseName { get; set; } public string CourseAddress { get; set; } ...
// ----------------------------------------------------------------------- // <file>World.cs</file> // <copyright></copyright> // <author>Aleksandar Jeremic</author> // <summary>Projekat Grafika 12.1</summary> // ----------------------------------------------------------------------- using System; using Assimp; using ...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using BreakAway.Domain; using BreakAway.Models; using BreakAway.Models.Customer; using ITCloud.Web.Routing; using Studentum.Infrastructure.Repository; using Studentum.Infrastructure.Repository.Specifications; na...
using System; namespace Arch.Data.Orm.FastInvoker { public interface IDynamicConstructorInfo { Object Invoke(Object[] parameters); } }
namespace Task02_Products { using System; public class Product : IComparable { public Product(string name, double price) { this.Name = name; this.Price = price; } public string Name { get; set; } public double Price { get; set; } p...
using System; using System.Collections.Generic; using System.Text; using System.ServiceModel; using System.ServiceModel.Security; using System.Security.Cryptography.X509Certificates; namespace ZiZhuJY.ServiceModel { /// <summary> /// A class that derive from the ServiceHost system class to automatically set th...
using System.Text; using System; using System.Collections.Generic; using Newtonsoft.Json.Converters; using Newtonsoft.Json; using System.Net.Http; using System.Drawing; using System.Collections.ObjectModel; using System.Xml; using System.ComponentModel; using System.Reflection; namespace LinnworksAPI { ...
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Text.Json.Serialization; #nullable disable namespace dk.via.ftc.dataTier_v2_C { [Table("vendor_admin", Schema = "SEP3")] public partial class VendorAdm...
using System.Threading.Tasks; namespace ScripterTestCmd { public interface IVariablesRepository { ITreeNode GetVariable(string parent, string name); Task<ITreeNode> GetFolderTree(); } }
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Quest_manager: MonoBehaviour { public Quest_object[] quests; public bool[] quest_completed; public Dialogue_manager the_DM; public string item_collected; public string enemy_killed; // Start is call...
using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; namespace UnityExtensions.UI.Components { [RequireComponent(typeof(ScrollRect))] public class ScrollList : MonoBehaviour { #region Attributes [SerializeField] private bool m_static; private RectTra...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Web; namespace DynamicsExtensions.Extensions { public static class MvcExtensions { public static string[] ReadAllLines(this HttpPostedFileBase httpPostedFileBase) { List<string> lines =...
using System; using System.Collections.Generic; using System.Text; namespace NBXplorer { public class WellknownMetadataKeys { public const string ImportAddressToRPC = nameof(ImportAddressToRPC); public const string Mnemonic = nameof(Mnemonic); public const string MasterExtKey = nameof(MasterExtKey); public ...
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using NameSearch.Models.Entities.Abstracts; namespace NameSearch.Models.Entities { /// <summary> /// Person Entity /// </summary> /// <seealso cref="NameSear...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class AnimationSE : MonoBehaviour { // Start is called before the first frame update void Start() { } // Update is called once per frame void Update() { } public void PlayElectronSE() { ...
using System.Collections.Generic; namespace FlipLeaf.Core { public interface IInputSource { IEnumerable<IInput> Get(IStaticSite ctx); } }
using Firebase.Database; using Firebase.Database.Query; using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using TravelertApp.Models; namespace TravelertApp.Services { public class EntrepreneurApiServices { private...
using System.Linq; using System; public static class Kata { public static bool XO (string inp) { int o = 0; int x = 0; int xo = 0; String input = inp.ToLower(); for(int i=0; i<input.Length; i++){ if(input[i] == 'o'){ o++; }else if(input[i] == 'x'){ ...
namespace Tensor.Test.BubbleGame { /// <summary> /// Точки /// </summary> public class Seed : GameUnit { public Seed(double x, double y, double Vx, double Vy) : base(x, y) { VelocityX = Vx; VelocityY = Vy; } public double Velocity...
using FastSQL.Core; using FastSQL.Sync.Core; using FastSQL.Sync.Core.Mapper; using FastSQL.Sync.Core.Processors; using FastSQL.Sync.Core.Repositories; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace FastSQL.Magento1.Integration.M...
using UnityEngine; public class GateCollisionController : MonoBehaviour { private GameObject _player; private PlayerController _playerController; private GameObject _bossGate; void Start() { _bossGate = GameObject.Find("BossGate"); _player = GameObject.Find("Player"); ...
using Beamore.API.BusinessLogics.Notification; using Beamore.API.BusinessLogics.UnitOfWorks; using Beamore.API.Models; using Beamore.Contracts.DataTransferObjects; using Beamore.DAL.Contents.Models; using Beamore.DAL.Repositories; using Microsoft.Azure.NotificationHubs; using Newtonsoft.Json; using System; using Syste...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Http.Dependencies; using Unity; namespace WebApplication.App_Start { public class UnityDependencyScope : IDependencyScope { protected IUnityContainer Container { get; set; } public UnityDep...
 using FLS.Business; using FuelSupervisorSetting.Helpers; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Controls; namespace FuelSupervisorSetting.ViewModel { class MqttServerViewModel : ViewModelBase { private r...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace OPC_UA_Library { public enum SecurityPolicy { None = 0, Basic128, Basic256 } public enum MessageSecurity { None, Sign, SignAndEncrypt } }
using System; using System.Collections.Generic; using Braspag.Domain.Entities; using MongoDB.Driver; using MongoDB.Driver.Builders; namespace Braspag.Domain.Update { public static class AdquirentesUpdate { public static UpdateDocument UpDateAdquirentes(this Adquirentes adquirente) { ...
namespace BitArray { using System; using System.Collections.Generic; class Program { static void Main(string[] args) { // Console.WindowWidth = Console.BufferWidth = 120; var numbers = new List<BitArray64> { new BitArray64(5), ...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.Animations; public class Player : MonoBehaviour { public AudioClip leaveBox; public AudioClip pickUpBox; public AudioClip pickUpHeavyBox; public PlayerUI playerUI; public RuntimeAnimator...
using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using Umbraco.Core; using Umbraco.Core.Configuration.Dashboard; using Umbraco.Core.Models.Membership; using Umbraco.Core.Services; namespace Umbraco.Web.Editors { /// <summary> /// A utility class for determine dash...
using System; namespace SparamTestLib { public class SparamBandwith : SparamTestCase.TestCaseAbstract { } }
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SFP.SIT.SERV.Model.RESP { public class SIT_RESP_HABILITAR { public int? rtpclave { set; get; } public int? araclave { set; get; } public long? solclave { set; g...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace BlazorJsFastDataExchangerDemo { public static class LocalFunctions { public static string GetShortenedItem(string item) { if (!string.IsNullOrEmpty(item)) { ...
using System; using System.Collections; using System.Collections.Generic; using System.Security.Cryptography; using System.Text; using Photon.Pun; using Photon.Realtime; using UnityEngine; public class Connected : MainApplicationReference { MainApplication application; bool joining = false; p...
using CommandLine; using Opbot.Core; using Opbot.Services; using System; using System.Diagnostics; using System.IO; using System.Net; using System.Threading; namespace Opbot { class Program { static void Main(string[] args) { Console.WriteLine(string.Join(";", args)); v...
namespace WMaper.Meta.Store { /// <summary> /// 图层尺寸信息类 /// </summary> public sealed class Nature { #region 变量 // Canvas横轴原点偏移量l private double l; // Canvas纵轴原点偏移量t private double t; // 图层范围宽度 private double w; // 图层范围高度 priva...
using System; using System.Web; using System.Web.UI; using System.Web.Configuration; namespace CurrencyConverter { public partial class ShowSettings : System.Web.UI.Page { protected void Page_Load(Object sender, EventArgs args) { if (this.IsPostBack == false) { ...
using MKService.Messages; using MKService.ModelFactories; using MKService.Updates; using System.Linq; using MKService.DefaultModel; namespace MKService.ModelUpdaters { internal class GameJoinedUpdater : ModelUpdaterBase<IUpdatableGame, GameJoined> { public GameJoinedUpdater( IModelFactoryR...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using TXTextControl; using TXTextControl.DocumentServer.Fields; namespace tx_inject_html { public partial class Form1 : Form {...
// ************************************************************************ // Copyright (C) 2001, Patrick Charles and Jonas Lehmann * // Distributed under the Mozilla Public License * // http://www.mozilla.org/NPL/MPL-1.1.txt * // ************...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Data.OleDb; namespace Proje { public class Giris:Client { private int kontrol = 0; OleDbConnection baglanti; OleDbCommand komut; Ol...
using System; using System.Collections.Generic; using System.Text; using Microsoft.Office.Interop.Excel; using Excel = Microsoft.Office.Interop.Excel; using System.IO; using System.Drawing; /// <summary> /// 该类用于导出经对比、合并等操作后的Excel文件及报告文件 /// </summary> public class ExportExcelFileHelper { /// <summary> /// 对比...
using System; using System.Collections.Generic; namespace SheMediaConverterClean.Infra.Data.Models { public partial class VArchivlagerort { public int ArchivId { get; set; } public string Bezeichnung { get; set; } public Guid? ArchivGuid { get; set; } public int? HausId { get; ...
using System; using System.Collections.Generic; using System.Text; namespace Maverick.Xrm.DI.CustomAttributes { public class DisplayAttribute : Attribute { internal DisplayAttribute(string displayName) { this.Name = displayName; } public string Name { get; private s...
using Android.App; using Android.Content; using Android.OS; using Android.Preferences; using Android.Support.V7.App; using Android.Views; using Android.Webkit; using Android.Widget; using JKMAndroidApp.Common; using JKMPCL.Model; using JKMPCL.Services; using System; using System.Linq; using System.Threading.Tasks; na...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; namespace kolok2_2018_grpB { class VozniPark<T> where T : Vozilo, new() { private List<T> vozila; private int maxBrojVozila; private double ...
using PMA.Store_Framework.Commands; namespace PMA.Store_Domain.Categories.Commands { public class AddCategoryCommand : ICommand { public string Name { get; set; } public long? ParentId { get; set; } public string PhotoUrl { get; set; } public int PhotoSize { get; set; } } }
using System.Collections; using System.Collections.Generic; using Cinemachine; using UnityEngine; public class playerMovementController : MonoBehaviour { public Camera cam; public float movementSpeed; public float speedLimit; public float lookSpeed; private CharacterController cc; private Vec...
namespace GetLabourManager.Migrations { using System; using System.Data.Entity.Migrations; public partial class ContributionSummary : DbMigration { public override void Up() { CreateStoredProcedure("ConstributionSummaryProc", @"SELECT datepart(year,I.Proc...
using System.Text; using System; using System.Collections.Generic; using Newtonsoft.Json.Converters; using Newtonsoft.Json; using System.Net.Http; using System.Drawing; using System.Collections.ObjectModel; using System.Xml; using System.ComponentModel; using System.Reflection; namespace LinnworksAPI { public class ...
namespace KRF.Core.Entities.ValueList { public class FleetStatus : ValueList { public int FleetStatusID { get; set; } public string StatusName { get; set; } public bool Active { get; set; } } }
using System.Collections; using System.Collections.Generic; using UnityEngine; using DG.Tweening; public class PlayerController : MonoBehaviour { [Header("Move Positions")] public float[] movePositionsX; public float sideMoveTime; [Header("Jump")] public float jumpPeak; public float jumpTime;...
//-------------------------------- // Skinned Metaball Builder // Copyright © 2015 JunkGames //-------------------------------- using UnityEngine; using System.Collections; public class SphereGun : Weapon { public ParticleSystem hitPS; protected override void DoShoot(DungeonControl2 dungeon, Vector3 from, V...
using System; using System.Collections.Generic; using System.Linq; namespace Requestrr.WebApi.RequestrrBot.Notifications.Movies { public class MovieNotificationsRepository { private class Notification { public string UserId { get; } public int MovieId { get; } ...
using System.Collections.Generic; using System.Linq; namespace W3ChampionsStatisticService.Matches { public class Team { public List<PlayerOverviewMatches> Players { get; set; } = new List<PlayerOverviewMatches>(); public bool Won => Players?.Any(x => x.Won) ?? false; } }
using System; using System.Collections.Generic; namespace Templates.Framework { public enum Privacy { Public, Protected, Private } public interface IClass : IComponent { IEnumerable<IConstructor> Constructors { get; } IEnumerable<IInterface> Implements { ge...
using Dao.Seguridad; using Dao.Mercadeo; using Ninject.Modules; using Dao.Solicitud; namespace BLO { public class NinjectBlo : NinjectModule { public override void Load() { //Seguridad Bind<IParametroDao>().To<ParametroDao>(); Bind<IUsuarioDao>().To<UsuarioD...
using Paint.Model.Models; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Paint.Data.Interface { public interface IManufacturerRepository { IEnumerable<Manufacturer> GetAll(); } }
using System.Collections.Generic; using UnityEngine; namespace ObjectPooling { public static class PoolManager { private static readonly int _DEFAULT_POOL_SIZE = 10; private static Dictionary<int, List<PoolableObject>> _Pools = new Dictionary<int, List<PoolableObject>>(); private stati...