text
stringlengths
13
6.01M
using System.Threading.Tasks; namespace CryptoInvestor.Infrastructure.Services.Interfaces { public interface IDataInitializer { Task SeedAsync(); } }
using Dapper; using Microsoft.AspNetCore.Mvc; using Microsoft.Data.SqlClient; using WebDataDemo.Dtos; namespace WebDataDemo.Option_03_Dapper_SQL; [Route("api/v03/[controller]")] [ApiController] [ApiExplorerSettings(GroupName = "3. Authors - Dapper SQL")] public class AuthorsController : ControllerBase { private re...
using SalaoG.Models; using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.ComponentModel; using System.Text; using System.Threading.Tasks; using Xamarin.Forms; namespace SalaoG.ViewModels { public class ListaAtendimentoViewModel { public List<ListaAtendimen...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using SubSonic.DataProviders; namespace SubSonic.Repository { public interface IGenericRepository<T> : IRepository where T : class, new() { //#region IRepository Members //bool Exists(Sy...
using System.IO; using System.Xml.Linq; namespace Converter.UI.Helpers { /// <summary> /// Helper class for various XML related read operations /// </summary> public static class XmlHelper { /// <summary> /// Reads the XML file. /// </summary> /// <para...
using System.Collections.Generic; namespace SplitPdf.Engine { public class ArgumentsInterpreter { public const string UsageMessage = "Usage:\r\n" + "======\r\n" + "\r\n" + "Split a single PDF f...
namespace Tookan.NET.Core { public interface IAgent { string Email { get; } int FleetId { get; } string FleetImage { get; } string FleetStatusColor { get; } string FleetThumbImage { get; } int IsAvailable { get; } string LastUpdatedLocationTime { get; } ...
using System; namespace WorldHardestGame.Core.Entities { public abstract class BaseEntity { protected BaseEntity(Position position, Rectangle boundingBox, Map map) { Map = map; BoundingBox = boundingBox; Position = position; } public virtual...
using AuthAutho.Extensions; using AuthAutho.Models; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using KissLog; using System; namespace AuthAutho.Controllers { [Authorize] public class HomeController : Controller { //private readonly ILogger<HomeController> _logger; ...
namespace RealEstate.Web.Api.Controllers { using Models.Users; using Infrastructure; using System.Web.Http; using Services.Data.Contracts; [Authorize] public class UsersController : ApiController { private readonly IUsersService users; private IUserIdProvider userIdProvider...
using System; using UnityEngine; using DG.Tweening; public class CardController : MonoBehaviour { CardView mCardView; CardData mCardData; public void SetupCard(CardData cardData) { mCardView = GetComponent<CardView>(); mCardData = cardData; mCardView.SetData(mCardData); } ...
using UnityEngine; using System.Collections; namespace Ph.Bouncer { public class TitleAnimation : MonoBehaviour { void Start() { // NGUI animation movement must be multipled by UI root scale // http://www.tasharen.com/forum/index.php?topic=671.0 iTween.MoveBy(gameObject, iTween.Hash("y", -400f * 0.00...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace _02_Bieco { public class ClaimRepository { protected readonly Queue<InsuranceCl> _claims = new Queue<InsuranceCl>(); public bool AddClaimToQu(InsuranceCl claim) ...
namespace HCL.Academy.Model { public class WikiPolicies { public string DocumentName { get; set; } public string DocumentURL { get; set; } public string PolicyOwner { get; set; } } }
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using TacticalMaddiAdminTool.Models; namespace TacticalMaddiAdminTool.Services { public abstract class ItemsProvider { protected IMaddiService maddiService; protected Func<IItem[...
using System; namespace ComputerBuilderClasses.Contracts { public interface IPcSystem : ISystem { void Play(int guessNumber, Random randomGenerator); } }
using System.Collections.Generic; namespace Allvis.Kaylee.Validator.SqlServer.Models.DB { public class Table { public string Schema { get; set; } = string.Empty; public string Name { get; set; } = string.Empty; public string Type { get; set; } = string.Empty; public bool IsTab...
using System; using Newtonsoft.Json; namespace Server { public interface IAuth0UserProfile { string Name { get; set; } string Nickname { get; set; } Uri Picture { get; set; } [JsonProperty("user_id")] string UserId { get; set; } string Email { get; set; } ...
using System.Collections.Generic; using Microsoft.AspNetCore.Identity; namespace Blog.Api.Models { public class ApplicationUser:IdentityUser<int>,IBaseEntity { public string FirstName { get; set; } public string LastName { get; set; } public int Age { get; set; } public ICollect...
namespace AddisonWesley.Michaelis.EssentialCSharp.Chapter03.Listing03_60 { public class Program { public static void Main() {} } }
namespace API.Omorfias.Data.Enumerator { public enum ServiceLocationEnum { Store = 1, Home = 2 } }
using System; using System.Collections.Generic; using System.Text; namespace homeworkCSharp2020 { class nal11 { public static void func(int userInput) { Console.Write("Vneseno celo stevilo {0} - Mesec ", userInput); switch (userInput) { cas...
using System.Collections; using System.Collections.Generic; using UnityEngine; [System.Serializable] public class Curve { public bool addictive; public AnimationCurve curve; public int duration; public float multiplier; public float constant; public float tax; [HideInInspector] public i...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class GameManager : MonoBehaviour { AudioSource audioSource; public AudioClip sfxBg; void Start() { audioSource = GetComponent<AudioSource>(); } public void PlayMusic () { Debug.Log("Co...
// Requirements: // - C# 4.0 // - Add System.Web.Extension.dll reference to your project so the code can compile. using System.Collections.Generic; using System.IO; using System.Net; using System.Web.Script.Serialization; using System.Diagnostics; namespace ConnectExample.Samples { public class RequestHeader ...
using System.Collections; using System.Collections.Generic; using UnityEngine; [RequireComponent(typeof(Rigidbody))] public class Ball : MonoBehaviour { Rigidbody rb; private void Awake() { rb = GetComponent<Rigidbody>(); } public float ballSpeed = 2f; private void FixedUpdate() {...
using Paydock.SDK.Extensions; using Paydock.SDK.Services.Base; using System; using System.Collections.Generic; namespace Paydock.SDK.Services { public class ChargeService : IChargeService { private IWebService _webService; public ChargeService(IWebService webService) { _we...
using First_Api_Project.Models; using First_Api_Project.Repositories; using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Http; using System.Web.Http; using System.Web.Mvc; namespace First_Api_Project.Controllers.api { public class ProductsController : ApiControll...
using DAL.DataSource; using DAL.Entity; using Dapper; using FirebirdSql.Data.FirebirdClient; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace DAL.Persistence { public class PacienteDAL { public IList<Paciente> ListaPacientes() { FbConn...
using System; using UnityEngine; public static class ComponentExtensions { public static T GetComponentInChildren<T>(this Component parent, bool includeInactive) { if (parent == null) throw new NullReferenceException(); var component = default(T); if (!includeInactive) ...
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Web; namespace CoachPosition.Web.Models { public class IndexModel { [Required(ErrorMessage = "Не заполнено поле 'Номер поезда'")] [Display(Name = "Номер поезда")] ...
using System; using System.Data; using System.Configuration; using System.Collections; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Web.UI.HtmlControls; using System.Linq; using System.Collections.Generic; usi...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using LibreriaAgapea.App_Code.Herramientas; using LibreriaAgapea.App_Code.Modelos; using LibreriaAgapea.App_Code.Controladores; namespace LibreriaAgapea.Vistas { public parti...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Masinsko_Ucenje { public class LinearRegression { public double k { get; set; } public double n { get; set; } public void fit(double[] x, double[] y) { // TODO 2: implementirati fi...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CoursIngesup._3___Héritage { class Polygone1 : Polygone { public Polygone1() : base() { points.Add(new Point()); points.Add(new Point()); ...
namespace React_Redux.Repositories { using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Threading.Tasks; using Microsoft.Azure.Documents; using Microsoft.Azure.Documents.Client; using Microsoft.Azure.Documents.Linq; using M...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Web; using System.Web.Mvc; namespace PluginStudy.WebUi.Controllers { public class BaseController : Controller { /// <summary> /// 视图调用之前 /// </summary> /// <param name="filterCont...
using System; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; using FluentAssertions; using NSubstitute; using OmniSharp.Extensions.JsonRpc.Testing; using OmniSharp.Extensions.LanguageProtocol.Testing; using OmniSharp.Extensions.LanguageServer.Protocol.Models; ...
using System; using System.Collections.Generic; using System.Data; using System.Linq; using System.Text; // using DriveMgr.BLL; using DriveMgr.Common; namespace DriveMgr.BLL { public class CoachBLL { private static readonly DriveMgr.IDAL.ICoachDAL dal = DriveMgr.DALFactory.Factory.GetCoachDAL(); ...
namespace Breezy.Sdk.Printing { public enum OutputColor { Unknown, Color, Grayscale, Monochrome } }
using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Http; using System.Web.Http; using PlayTennis.Bll; using PlayTennis.Model; namespace PlayTennis.WebApi.Controllers { public class TennisCourtController : ApiController { public TennisCourtController()...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using Negozio.Core; using Negozio.DataAccess.DbModel; using Negozio.DataAccess.Services; using Negozio.Dto; namespace Movie.Controllers { [Route("api/[c...
using System; namespace OCP.Files { /** * Class InvalidDirectoryException * * @package OCP\Files * @since 9.2.0 */ class InvalidDirectoryException : InvalidPathException { } }
using System.Collections.Generic; using System.Threading.Tasks; using ProductTest.Models; namespace ProductTest.Data { public interface IBulkUpload { Task<List<SkuTest>> UploadSku(List<SkuTest> skus); Task<List<PatternTest>> UploadPattern(List<PatternTest> patterns); Task<List<Test>> Te...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class NestingParent : BaseEnemy { [SerializeField] Vector2 _knockback = Vector2.zero; [SerializeField] Transform dest = null; [SerializeField] GameObject _child = null; [SerializeField] GameObject _c...
 namespace BookShopSytem.Models.BM { public class EditCatBM { public string Name { get; set; } } }
using System; using System.Linq; using Boo.Lang; using Game.Online.Manager; using UnityEngine; using UnityEngine.UI; namespace Game.Online.Web.Users { public class UserHandler : MonoBehaviour { [SerializeField] private GameObject _userPrefab; public Transform Parent; public List<User> U...
// -------------------------------- // <copyright file="Location.cs" > // © 2013 KarzPlus Inc. // </copyright> // <author>JOrtega</author> // <summary> // Location Entity Layer Object. // </summary> // --------------------------------- using System; using KarzPlus.Entities.Common; namespace KarzPlus.Entitie...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace EuclidianSpace3D { using System.IO; public static class Path { private static Random pointsGenerator = new Random(); public static List<Point3D> GenereteP...
namespace Homework2.Models.Configuration { public class ProductsRepositoryConfig { public string Database { get; set; } public string Collection { get; set; } } }
using IoUring.Internal; using Tmds.Linux; using static Tmds.Linux.LibC; using static IoUring.Internal.ThrowHelper; namespace IoUring { public unsafe partial class Ring { /// <summary> /// Adds a NOP to the Submission Queue without it being submitted. /// The actual submission can be def...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Infnet.EngSoft.SistemaBancario.Modelo { public class ServicosDeTransacoesBancarias { // método para realizar Deposito Bancario public decimal DepositoBancario(ContaCorrente conta, Decimal Valor) ...
using System; using System.Collections.Generic; namespace InfnetBanking { public abstract class Pessoa { private string cadastroPessoa; public string CadastroPessoa { get => cadastroPessoa; set { if (ValidarCadastroPessoa(value)) ...
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using Newtonsoft.Json; using Newtonsoft.Json.Converters; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Reflection; u...
using BPiaoBao.Client.UIExt.Helper; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Windows.Data; namespace BPiaoBao.Client.UIExt.Converter { /// <summary> /// 描述转换器 /// </summary> public class DescriptionConverter : IValueConverter { /// ...
using System.Threading; using System.Threading.Tasks; using SSW.DataOnion.Interfaces; namespace SSW.DataOnion.Core { public class UnitOfWork : IUnitOfWork { private readonly IDbContextScope dbContextScope; private readonly IRepositoryLocator repositoryLocator; public UnitOfWork(IDbC...
using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace FormularioCadastroCliente.Models { public class Cliente { [Key] [Display(Name = "Id")] public int Id { get; set; } [Display(Name = "Razão Social")] [Col...
using System; using System.Buffers; using System.Diagnostics; namespace NetFabric.Hyperlinq { public static partial class ArrayExtensions { static LargeArrayBuilder<TSource> ToArrayBuilder<TSource, TPredicate>(ReadOnlySpan<TSource> source, TPredicate predicate, ArrayPool<TSource> arrayPool) ...
using System.Collections; using System.Collections.Generic; using System.Resources; using Unity.Entities; using Unity.Jobs; using Unity.Mathematics; using Unity.Rendering; using Unity.Transforms; using UnityEngine; public class CreateCapsuleSystem : JobComponentSystem { protected override void OnCreat...
using UnityEngine; /// <summary> /// A meter with a minimum and maximum value, a current value, /// and a way to count up or down (by changing the current value) between the minimum and maximum. /// </summary> [System.Serializable] public class Meter { /// <summary> /// The current value. It can never be lo...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.SceneManagement; public class BackToMenu : MonoBehaviour { public void Menu() { SceneManager.LoadScene("MenuScene"); } public void Play() { SceneManager.LoadScene("GameScen...
using System; namespace Juego { class Program { static void Main(string[] args) { Console.CursorVisible = false; BaseJuego bj = new BaseJuego(new ParteVisual(),10); bj.Start(); } } }
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; using System.Threading.Tasks; using System.Windows.Forms; namespace XorEncoder { public partial class MainForm : Form...
using System; using System.Linq; using System.Threading.Tasks; using Shunxi.Business.Enums; using Shunxi.Business.Logic.Cultivations; using Shunxi.Business.Models; using Shunxi.Business.Models.cache; using Shunxi.Business.Models.devices; using Shunxi.Business.Protocols.Helper; using Shunxi.Business.Tables; using Shunx...
using Newtonsoft.Json; using System.Collections.Generic; using TQVaultAE.Domain.Search; using TQVaultAE.GUI.Components; namespace TQVaultAE.GUI.Models.SearchDialogAdvanced { public class BoxItem { ScalingCheckedListBox _CheckedList; [JsonIgnore] public ScalingCheckedListBox CheckedList { get => _CheckedL...
 #region Usings using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Windows; using System.Windows.Controls; using System.Windows.Navigation; using Microsoft.Phone.Controls; using Microsoft.Phone.Shell; using Zengo.WP8.FAS.Helpers; using Zengo.WP8.FAS.ViewModels; using Zen...
using System; using System.Drawing; using System.Collections; using System.ComponentModel; using DevExpress.XtraReports.UI; namespace GUI.Report.Phieuketoan { public partial class r_pkt : DevExpress.XtraReports.UI.XtraReport { public r_pkt() { InitializeComponent(); } } ...
using System; using System.Collections.Generic; using Aqueduct.Domain; using StructureMap; namespace Aqueduct.SitecoreLib.DataAccess { [Serializable] public class EntityCache { private const string Key = "EntityCacheKey"; private readonly Dictionary<EntityUniqueKey, ISitecoreD...
using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Http; using System.Web.Http; using MobileService45.DAL; using System.Threading.Tasks; using Oracle.ManagedDataAccess.Client; namespace MobileService45.Controllers { [RoutePrefix("DEL_PASSVersion1")] public cl...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Xamarin.Forms; namespace App1 { public partial class MainPage : ContentPage { List<TextSpinClass> textList; int position = 0; public MainPage() { ...
/************************************ ** Created by Wizcas (wizcas.me) ************************************/ using System; using System.Collections; using System.Collections.Generic; using UnityEngine; public interface IThinkGoto { Transform MoveTo { get; } } public interface IThinkWatch { Transform StareA...
using System; using System.Collections.Generic; using System.Text; namespace Ex03.GarageLogic { internal abstract class MotorCycle : Vehicle { private eLiceseType m_LicenseType; private float m_EngineVolume; internal MotorCycle(string i_Model, string i_LicenseNumber, eLiceseType i_Lic...
namespace Vega.Data.Models { using System.ComponentModel.DataAnnotations; using Common.Models; public class Feature : BaseModel { [Required] [MaxLength(100)] public string Name { get; set; } } }
using System; using System.Reflection; [assembly: AssemblyDescription("Realtime lightweight networking and entity streaming.")] [assembly: AssemblyProduct("NetCode")] [assembly: AssemblyTitle("NetCode")] [assembly: AssemblyVersion("0.0.*")]
using System; using System.Threading.Tasks; using Pubquiz.Domain; using Pubquiz.Domain.Models; using Pubquiz.Logic.Tools; using Pubquiz.Persistence; using Rebus.Bus; using TeamMembersChanged = Pubquiz.Logic.Messages.TeamMembersChanged; namespace Pubquiz.Logic.Requests { /// <summary> /// Notification to change...
using System.IO; namespace TQVaultAE.Domain.Entities; public partial class RecordId { #region IsBroken bool? _IsBroken; /// <summary> /// This <see cref="RecordId"/> leads to Broken content. /// </summary> public bool IsBroken { get { if (_IsBroken is null) _IsBroken = this.Normalized.Contains(@"...
namespace PluginB { using System.Collections.Generic; using System.Linq; using Shared; public class FooEFMepository : IFooRepository { private readonly PluginBDbContext _dbContext; public FooEFMepository(PluginBDbContext dbContext) { this._dbContext...
using Grupo5_Hotel.Entidades.Entidades; using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Collections.Specialized; using System.Configuration; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Grupo5_Hotel.Datos { public static class ReservaMapper ...
using System; using System.Collections.Generic; using SoSmartTv.VideoService.Dto; namespace SoSmartTv.VideoService.Store { public interface IVideoItemsStoreReader { IObservable<VideoItem> GetVideoItem(string title); IObservable<IList<VideoItem>> GetVideoItems(IEnumerable<string> titles); IObservable<VideoDet...
namespace MVC_HomeWork.Models { using DataTypeAttributes; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; [MetadataType(typeof(客戶銀行資訊MetaData))] public partial class 客戶銀行資訊 { } public partial class 客戶銀行資訊MetaData { [Required]...
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.Configuration; using System.Data.SqlClient; public partial class ParcelModule : System.Web.UI.Page { string obj_Authenticated; PlaceHolder m...
using System; using MvvmCross.Binding.BindingContext; using MvvmCross.iOS.Views; using VictimApplication.Core.ViewModels; using UIKit; namespace VictimApplication.iOS.Views { public partial class MenuView : MvxViewController<MenuViewModel> { public MenuView() : base("MenuView", null) { ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace FileImport.Common { public enum ImportEncodingType { Default = 1, ASCII = 2, UTF7 = 3, UTF8 = 4, UTF32 = 5, BigEndianUnicode = 6, Unicode = 7 } }
using NSubstitute; using NUnit.Framework; using System; using System.Collections.Generic; using Assert = NUnit.Framework.Assert; namespace SWT_20_ATM.Test.Unit { [TestFixture] class UnitTestDecoder { private Decoder uut; private IPlane CorrectPlane; private DateTime CorrectDateTim...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class CoinCollection : MonoBehaviour { public int value; private AudioSource sound; private Renderer rend; void Start() { sound = GetComponent<AudioSource>(); rend = GetComponent<Renderer>(); ...
using Iri.Plugin.Types; namespace Iri.Plugin.Tests.Types { interface ITestPlugin : IPlugin { int DoFoo(int a, int b); } }
using MahApps.Metro.Controls; using Prism.Regions; using System; using System.Collections.Generic; using System.Collections.Specialized; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls.Ribbon; namespace Webcorp.erp.Utilities { internal static...
using System; namespace Feilbrot.Graphics { public class ComplexCube3d { public ComplexPoint3d point; public decimal width; public decimal height; public decimal depth; public ComplexCube3d(ComplexPoint3d point, decimal width=0, decimal height=0, decimal depth=0) ...
using System; using System.Windows.Forms; using Acme.IONTestApp.Client.Model; namespace Acme.IONTestApp.Client.Controller { internal class ShellController { #region PRIVATE FIELDS private Shell shell; #endregion PRIVATE FIELDS #region CTOR internal ShellController(S...
// // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the MIT License. See LICENSE file in the project root for full license information. // namespace DotNetNuke.Web.Api { /// <summary> /// Enumeration that contains HTTP Status Codes that are not included in the HttpStatusCode enumerati...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Recursion { class Program { static void Main(string[] args) { int result = Factorial.FactorialFunc(5); Console.WriteLine($"Factorial of 5 is : {...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.Rendering.PostProcessing; using Managers; using System; using DG.Tweening; public class PostProcessingTweener : MonoBehaviour { [SerializeField] private PostProcessVolume _farPPV; [SerializeField] private PostProcessVol...
using Microsoft.AspNet.Identity; using Microsoft.AspNet.Identity.EntityFramework; using System.Data.Entity; using System.Data.Entity.ModelConfiguration.Conventions; using System.Security.Claims; using System.Threading.Tasks; namespace InforQui_17933.Models { // You can add profile data for the user by adding more...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Experian_CreditProfile_XMLtoSQLServer { public static class TableEnumerator { public enum TableNamesEnum { CreditProfile, Error, Header, ...
//################## //# Script_WebTQ # //# By # //# Slicksilver555 # //################## function WebTQ_Core::addClient(%this, %tcp) { for(%i=0;%i<100;%i++) { if(isObject(%this.client[%i])) continue; %this.client[%i] = %tcp; %tcp.clientNum = %i; %this.connectedClients++; break; } } fun...
using UnityEngine; namespace Light2D { public class Light2DOverlap { private ScalableArray<Collider2D> m_Results = null; public ScalableArray<Collider2D> results { get { return m_Results; } } public Light2DOverlap(int capacity) { m_Results = new ScalableArray<Collider2D>(capacity); } public voi...
//------------------------------------------------------------------------------ // // CosmosEngine - The Lightweight Unity3D Game Develop Framework // // Version 0.8 (20140904) // Copyright © 2011-2014 // MrKelly <23110388@qq.com> // https:/...
using System; using System.Collections; namespace QuitSmokeWebAPI.Controllers.Entity { public class GetingPendingPlanReq { public string email { get; set; } } }
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Person{ private string name; // 자바에서는 겟 셋 프로퍼티가 없어서 이렇게 사용 public string GetName(){ return name; } public void SetName(string name){ this.name = name; } // C#에서는 속성을 제공해줘서 이렇게 사용 ...
using System.Collections; using System.Collections.Generic; using UnityEngine; using Steamworks; using Mirror; using UnityEngine.SceneManagement; using System; using System.Linq; public class MyNetworkManager : NetworkManager { [Scene] [SerializeField] private string menuScene = string.Empty; [Header("Room")] ...