text
stringlengths
13
6.01M
using Insurance.Model.Poco; namespace Insurance.Model.App.Osago { public class OsagoPlace { public string Name { get; set; } public string PlaceGoogleId { get; set; } public double K { get; set; } public static explicit operator OsagoPlace(Place place) { r...
using Avalonia.Controls; using Avalonia.Input; using Avalonia.Markup.Xaml; using Notepad.ViewModels; namespace Notepad.Views { public class MainView : UserControl { public MainView() { InitializeComponent(); AddHandler(DragDrop.DropEvent, DropHandler); AddHa...
/* * 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 appli...
using Espades.Api.Models.Base; using System; namespace Espades.Api.Models { public class DespesaModel : BaseModel { public DateTime Data_Despesa { get; set; } public decimal Valor { get; set; } public string Local { get; set; } public string Descricao { get; set; } } }
using Microsoft.AspNetCore.Mvc; using Sp_Medical_Group.Domains; using Sp_Medical_Group.Interfaces; using Sp_Medical_Group.Repositories; using System; using System.Collections.Generic; using System.IdentityModel.Tokens.Jwt; using System.Linq; using System.Threading.Tasks; namespace Sp_Medical_Group.Controllers { /...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.IO; using System.Threading.Tasks; using System.Diagnostics; namespace CandyCane { public class BootAndBuildBat { private static string _path; public BootAndBuildBat(string path) { ...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using ScriptManage.Models; using WebMatrix.WebData; namespace ScriptManage.Controllers { [Authorize] public class SiteController : Controller { public ActionResult Index(int? id)...
/* DotNetMQ - A Complete Message Broker For .NET Copyright (C) 2011 Halil ibrahim KALKAN 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 version 2.1 of the License, or (at your option)...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace DBManager.DBASES { public class ListStrings { public string item1 {get;set;} public string item2 { get; set; } public ListStrings(string item1, string item2) { this.item...
using PointOfSalesV2.Entities; using System; using System.Collections.Generic; using System.Text; namespace PointOfSalesV2.Repository.Helpers.BillServices { public class BillService : BillProductServiceBase { protected override Result<InvoiceDetail> ProcessDetail(long branchOfficeId, InvoiceDetail det...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using UnityEngine; internal abstract class AbstractAndroidAPI { private const string CurrentActivity = "currentActivity"; private const string ClassUnityPlayer = "com.unity3d.player.UnityPlayer"; private const string Cla...
using ReactiveUI; namespace FundManagerDashboard.Core.DataServices { public class FundSummaryService : BaseSummaryService<string, string>, ITotalSummaryService { public FundSummaryService(IStockService service) : base(service.All, service.All, RxApp.MainThreadScheduler) { } } }
using UnityEngine; using System.Collections; public class SimpleEnemyAI : MonoBehaviour { public int moveSpeed; public int rotationSpeed; public int maxDistance; private float distance; private Vector3 position; private GameObject[] objectList; private GameObject closest; private Transform myTran...
using Microsoft.AspNetCore.Mvc.Rendering; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace CarRental.Models { public class Car { public int CarId { get; set; } public string Plates { get; set; } public string Mark { get; set; } ...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Generator : InteractionObject { #region SINGLETON PATTERN private static Generator instance; public static Generator GetInstance() { return instance; } private void Awake() { insta...
using System.Collections; using System.Collections.Generic; using System.Security.Cryptography; using UnityEngine; //Kurtis Watson public class Notes_System : MonoBehaviour { [Header("Note Components")] [Space(2)] public GameObject note; private List<Transform> m_locations = new List<Transform>(); //L...
namespace E02_TraverseDirectory { using System; using System.IO; using System.Linq; public class StartUp { private const string Extension = ".exe"; public static void Main(string[] args) { try { TraverseDirectory(@"C:\WINDOWS"); ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Newtonsoft.Json.Linq; using System.IO; using Newtonsoft.Json; using Interview.Problem1.Domain; namespace ColeParmerCC { class Program { private static void Main(string[] a...
// AForge Machine Learning Library // AForge.NET framework // // Copyright © Andrew Kirillov, 2007-2008 // andrew.kirillov@gmail.com // namespace Accord.MachineLearning { using System; /// <summary> /// Epsilon greedy exploration policy. /// </summary> /// /// <remarks><para>The class impleme...
// Copyright 2018 Google Inc. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applica...
using BLL.Dtos; namespace PL.ViewModels { public class CategoryFormViewModel { public int? Id { get; set; } public string Name { get; set; } public string Description { get; set; } public string Title => Id == 0 ? "Create a category" : "Edit a category"; public Catego...
using SwapChainDX = ClearSight.RendererDX12.SwapChain; namespace ClearSight.RendererDX12.Memory { public class Resource : RendererAbstract.Memory.Resource { public SharpDX.Direct3D12.Resource ResourceD3D12 { get; private set; } internal Resource(ref Descriptor desc, RendererAbstract.Device de...
using System; using System.Collections.Generic; using System.Threading.Tasks; using DemoStandardProject.DTOs; using DemoStandardProject.Models.ServiceResponse; using DemoStandardProject.Services; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Logging; namespace DemoStandardProject.Controllers.Product { ...
namespace InterfaceSegregationWorkerAfter.Contracts { public interface ISleeper { void Sleep(); } }
using Entidades; using System; using System.Collections.Generic; using System.Data; using System.Data.SqlClient; using System.Linq; using System.Text; namespace datos { public class usuarioDAL { #region "Variables (Clases) de conexión" private SqlCommand ComandoSQL; private SqlDataAdap...
using System.Runtime.Serialization; namespace SearchFoodServer.CompositeClass { [DataContract] public class CompositeCommentaires { int _idCommentaires; int _idRestaurants; int _idUtilisateurs; string _commentaires; [DataMember] public int IdCommentairesVal...
// Problem 2. Float or Double? // Which of the following values can be assigned to a variable of type float and which // to a variable of type double : 34.567839023, 12.345, 8923.1234857, 3456.091 ? // Write a program to assign the numbers in variables and print them to ensure no precision is lost. using System; ...
using System.Collections; using System.Collections.Generic; using UnityEngine; using System; public class MyEventSystem : MonoBehaviour { public event Action<IHasHealth, float> Attack; // public event Action<Skills> ActivateSkill; // public event Action<Skills> DeactivateSkill; //public event Action<...
using Microsoft.EntityFrameworkCore.Migrations; namespace HINVenture.Shared.Migrations { public partial class AddOneToOneUsers : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.DropForeignKey( name: "FK_Messages_AspNetUse...
namespace SprintFour.Controllers { public interface IController { void Update(); void Pause(); void Unpause(); } }
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.IO; namespace K_Systems.Presentation.Web.Helper { public static class FileManipulation { internal static string SavePhoto(HttpPostedFileBase file, string path) { if (file == null || st...
 public class HolonGrabber : OVRGrabber { public OVRInput.Controller ReturnHand() { return m_controller; } }
using Bitcoin.Blox.Network; namespace Bitcoin.Blox.Protocol_Messages { /// <summary> /// The verack message, sent by a client accepting the version message they received from their peer. /// </summary> public class VersionAck : Message { public VersionAck(P2PNetworkParameters netParams) : base(new byte[] { }, ...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using System.Data.SqlClient; namespace YiXiangLibrary { public partial class user_tiwen : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) ...
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; namespace ProvinceMapper { public partial class CommentForm : Form { public CommentForm() { Initia...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Note : InteractionObject { private string text; public override void Interract() { base.Interract(); //TODO UI show. } }
using Windows.Storage.Streams; namespace Core.Common { public sealed class PostFileInfo { public PostFileInfo(string name, IRandomAccessStreamReference streamReference) { Name = name; StreamReference = streamReference; } public string Name { get; } public I...
namespace HCL.Academy.Model { public class KaliberUserAssessmentResults { public string Messege { get; set; } public string status { get; set; } public string emailID { get; set; } public string skillLevel { get; set; } public string technology { get; set; } pub...
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;...
// // - ApplyProviderTypeStep.cs - // // Copyright 2014 Carbonfrost Systems, Inc. (http://carbonfrost.com) // // 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/...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace TE18B_Loopar { class Program { static void Main(string[] args) { string answer = Console.ReadLine(); while (answer != "a" && answer != "b" && a...
using System; using System.Collections.Generic; using System.Text; namespace RestfulBookerSpecflowUITests { public class ContactUsMessage { public string Name { get; set; } public string Email { get; set; } public string PhoneNumber { get; set; } public string Subjec...
using System.Collections; using UnityEngine; [ExecuteInEditMode] public class CameraImageEffect : MonoBehaviour { public Shader curShader; public float fadeTime; public Color tint; [Range(-1f, 1f)] public float hue; [Range(-1f, 1f)] public float saturation; [Range(-1f, 1f)] publi...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Text; using System.Web.Mvc; using System.Web.Mvc.Html; namespace PESWeb { //public class ChangeViewAddress : WebFormViewEngine //{ //} public static class Html { publi...
namespace PDV.DAO.Entidades.MDFe { public class ContratanteMDFe { public decimal IDContratanteMDFe { get; set; } = -1; public decimal IDMDFe { get; set; } public string CPF { get; set; } public string CNPJ { get; set; } public ContratanteMDFe() { } } }
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Shoot : MonoBehaviour { public GameObject bullet; //public bool shooting = true; public float frequency = 1; private AudioSource audio; public Transform[] shootingPoints; public Animator[] GunsAnimat...
using Xamarin.Forms; using Xamarin.Forms.Xaml; namespace App1 { [XamlCompilation(XamlCompilationOptions.Compile)] public partial class MusicFolderViewCell : ViewCell { public MusicFolderViewCell() { InitializeComponent(); this.View.BackgroundColor = Col...
using System; using System.IO; using System.Web.Mvc; namespace ZiZhuJY.Web.UI.Controllers { [Authorize(Roles = "Administrators")] public class FileServiceController : Controller { // // GET: /FileService/ public ActionResult Index() { return View(); } ...
using System; using System.Collections.Generic; using System.Linq; using starkdev.spreadrecon.model; using starkdev.utils; namespace starkdev.spreadrecon.data { public class TipoPlanilhaDAL { private readonly _Contexto contexto; public TipoPlanilhaDAL() { contexto = new _C...
using UnityEngine; class MessengerUser : MonoBehaviour { private void Start() { Messenger.AddListener("game_start", GameStarted); Messenger.Broadcast("game_start"); } void GameStarted() { Messenger.RemoveListener("game_start", GameStarted); Debug.Log("game has started"); } }
using System.Security.Claims; using GraphQL.Types; using Im.Access.GraphPortal.Repositories; namespace Im.Access.GraphPortal.Graph.OperationalGroup.Subscriptions { public class OperationalSubscriptionType : ObjectGraphType { public OperationalSubscriptionType( ICircuitBreakerPolicyReposito...
using CoreFrameWork.Modularity.Abstraction; using Microsoft.Extensions.DependencyInjection; using System; using System.Collections.Generic; using System.Text; namespace CoreFrameWork.Modularity { /// <summary> /// 核心应用管理工厂 /// </summary> public static class CoreApplicationManagerFactory { ...
namespace Plus.HabboHotel.LandingView.Promotions { public class Promotion { public int Id { get; set; } public string Title { get; set; } public string Text { get; set; } public string ButtonText { get; set; } public int ButtonType { get; set; } public s...
using Store.Books.Domain; using System.Threading.Tasks; namespace Store.Books.Infrastructure.Interfaces { public interface IBookGenreRepository : IGenericRepository<BookGenre> { } }
using System.Net; using System.Net.Http; using System.Web.Http; using CloneDeploy_Entities; using CloneDeploy_Entities.DTOs; using CloneDeploy_Services; namespace CloneDeploy_App.Controllers { public class CdVersionController : ApiController { private readonly CdVersionServices _cdVersionServices; ...
using System; using Sample.Domain.Shared; namespace Sample.Domain.V5 { public class Appointment { public Guid Id { get; private set; } public Guid JobId { get; set; } public TimeSlot TimeSlot { get; private set; } public Guid? StaffMemberId { get; private set; } public ...
using API.Omorfias.AppServices.Dto.Base; using API.Omorfias.AppServices.Dto.Login; using API.Omorfias.AppServices.Dto.Services; using API.Omorfias.AppServices.Dto.Users; using API.Omorfias.Data.Models; using API.Omorfias.Domain.Handler; using API.Omorfias.Domain.Models; using AutoMapper; namespace API.Omorfias.AppSer...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace DbRestify.Data { public class QueryFilter { public string ColumnName { get; set; } public string Operator { get; set; } public string Value { get; set; } } ...
using System; namespace BLL.Validator { public static class MathRulesValidator { public static bool IsNoLetterSymbolsInMathPhrase(string phrase) { foreach (var item in phrase.ToCharArray()) { IsChar(item); } return true; }...
#region Copyright Syncfusion Inc. 2001-2015. // Copyright Syncfusion Inc. 2001-2015. All rights reserved. // Use of this code is subject to the terms of our license. // A copy of the current license can be obtained at any time by e-mailing // licensing@syncfusion.com. Any infringement will be prosecuted under // a...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Data; using System.Windows.Forms; using ENTITY; using OpenMiracle.DAL; namespace OpenMiracle.BLL { public class ServiceCategoryBll { ServiceCategorySP spServiceCatogory = new ServiceCategorySP(); //...
using System; using System.Collections.Generic; using System.Text; namespace ImmedisHCM.Data.Entities { public class Country : IBaseEntity { public virtual Guid Id { get; set; } public virtual string Name { get; set; } public virtual string ShortName { get; set; } public virtua...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; using UnityEngine.Audio; using TMPro; public class SettingsMenu : MonoBehaviour { [Header("Audio Mixers")] public AudioMixer audioMixer; //Audio mixer para la música de fondo. //GameObjects de los Hig...
/* * Bungie.Net API * * These endpoints constitute the functionality exposed by Bungie.net, both for more traditional website functionality and for connectivity to Bungie video games and their related functionality. * * OpenAPI spec version: 2.1.1 * Contact: support@bungie.com * Generated by: https://github.com...
using System; using System.Collections.Generic; using System.IO; using System.Linq; namespace TechTalk.JiraRestClient { public interface IJiraClient { /// <summary>Returns all projects that the user can see</summary> ProjectList GetProjects(); /// <summary>Returns all issues for the g...
using Newtonsoft.Json; using stottle_shop_api.Products.Models; using System.Net; using tests.Extensions; using tests.TestingFixtures; using Xunit; namespace tests.Server { public class Products : IClassFixture<ProductsTestingFixture> { private readonly ProductsTestingFixture _fixture; public P...
// Copyright 2021 Google Inc. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applica...
// Copyright 2021 Google LLC. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by...
using DemoAspNetCore.DAL; using System; using System.Collections.Generic; namespace DemoAspNetCore.DBControllers { public interface ITransactionDbController { void AddTransaction(Transaction model); void DeleteTransaction(int areaId); void EditTransaction(int transactionId, T...
using Microsoft.Extensions.DependencyInjection; using Microsoft.AspNetCore.Authentication.JwtBearer; using Microsoft.IdentityModel.Tokens; using System.Text; using System.Web; using Microsoft.AspNetCore.Http; using Microsoft.Extensions.Configuration; namespace server.Extensions { public static class ServiceExten...
//============================================================================= // // Copyright (c) 2017 QUALCOMM Technologies Inc. // All Rights Reserved. // //============================================================================== using UnityEngine; public class ...
using LuaInterface; using RO; using SLua; using System; using UnityEngine; public class Lua_RO_Photograph : LuaObject { [MonoPInvokeCallback(typeof(LuaCSFunction))] public static int constructor(IntPtr l) { int result; try { Photograph o = new Photograph(); LuaObject.pushValue(l, true); LuaObject.pus...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; using TMPro; public class Spawner : MonoBehaviour { public GameObject enemyOne, enemyTow, jefeFinal, bala1, bala2, speedObject, ammo; public TextMeshProUGUI gameOver; public TextMeshProUGUI vida; publi...
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Reflection; using System.Runtime.InteropServices; using System.Securit...
namespace CanYouCount.ObjectPooling { public interface IPoolable { void Activate(); void Deactivate(); } }
using System; using System.Collections; using System.Linq; using System.Web; using System.Web.UI.WebControls; public class CurrentAccount { //系统Session Key常量 private const string ACCOUNT = "Account"; private const string Purview = "Ac_Purview"; //常用的功能页面地址 public static string URL_INDEX = "/login...
using System.Linq; namespace _1.ListyIterator { using _1.ListyIterator.Models; using System; public class Startup { public static void Main(string[] args) { ListyIterator<string> listIterator = null; var inputLine = Console.ReadLine() .Split() ...
using Godot; using System; public class FPS : Label { public override void _Ready() { } public override void _Process(float delta) { Text = "FPS: " + Performance.GetMonitor(Performance.Monitor.TimeFps).ToString(); } }
using System.Windows; using System.Windows.Controls; using System.Windows.Media; namespace Tai_Shi_Xuan_Ji_Yi.Controls { /// <summary> /// RunPauseStopIcon.xaml 的交互逻辑 /// </summary> public partial class RunPauseStopIcon : UserControl { public enum ENUM_State { Run, ...
using Newtonsoft.Json.Linq; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace GlobalDevelopment.SocialNetworks.Facebook.Models { public class FacebookPage { /// <summary> /// The current page's ID. ...
 using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.SceneManagement; ///<summary> ///Script Manager: Drake ///Description: /// ///</summary> public class ScoreManager : MonoBehaviour { #region Make a Singleton Class private static ScoreManager instance ...
using UnityEngine; using System.Collections; using System.Linq; public class Tag : MonoBehaviour { public string Value = ""; public static GameObject FindObjectWithTag(string stag) { var e = GameObject.FindObjectsOfType<Tag>().FirstOrDefault(g => g.Value == stag); return ((e == null) ? null : e.gameObject); ...
using UnityEngine; using UnityEditor; public class StatMultMonitor : EditorWindow { bool enemyFoldout = false; bool playerFoldout = false; public EnemySet set; public PlayerStatistics player; // public PlayerAttack attack; Vector2 scrollPosition = Vector2.zero; Vector2 enemyScrollPositi...
using Assets.Level.Blocks; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Assets.Level { public class CheckpointManager { private static readonly List<CheckpointBlock> CHECKPOINTS = new List<CheckpointBlock>(); public static CheckpointBlock Ac...
using System; using Oak; using NUnit.Framework; using NSpec; using System.Dynamic; namespace DynamicTests.GhostMethods { class Foo : Gemini { dynamic MethodMissing(dynamic args) { //args.Name //args.Parameters //args.ParameterNames var whatToSay...
#define ENABLE_ERRORLOG #define ENABLE_WARNINGLOG using UnityEngine; using System; using System.Collections.Generic; using System.Text; public class ByteData { private byte[] m_src = null; private int m_start = 0; private int m_end = 0; public int GetLength() { return m_end - m_start; } public ByteData(byte...
using System.Collections.Concurrent; using System.Collections.Generic; using System.IO; using System.Linq; using System.Net; using System.Threading; using System.Threading.Tasks; using FlickrNet; using ImageGallery.API.Client.Service.Classes; using ImageGallery.API.Client.Service.Interface; using ImageGallery.API.Clie...
// ----------------------------------------------------------------------------- // <copyright file="Program.cs" company="NanoTaboada"> // Copyright (c) 2013 Nano Taboada, http://openid.nanotaboada.com.ar // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using dz5.dll; namespace dz5 { class Program { static void Main(string[] args) { Console.Write("Input n= "); Optional.Matrix(); Console.Write...
using System; namespace Micro.Net.Abstractions.Storage { public interface IPersistenceProvider<TData> where TData : class { } }
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class ProgessBarDash : ProgessBar { public Slider slider; public PlayerStateMachine dash; void Update() { GetCurrentFill(); } public override void GetCurrentFill() { ...
using System; using System.Linq; using System.Collections.Generic; namespace Merge { public class GraphMerger { /// <summary> /// Merge incoming instances based on every key in the mergeKeys list. /// </summary> /// <param name="mergeKeys">list of keys that instances are suppose...
using System; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; using Cogito.Kademlia.Core; using FluentAssertions; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Cogito.Kademlia.Tests { [TestClass] public class KFixedRoutingTableTests { cla...
using System; using System.Data; using System.Runtime.Serialization; using WebApiTemplate.ResourceAccess.Context; namespace WebApiTemplate.ResourceAccess.Uow { public interface IUnitOfWork : IDisposable { EntityContext Context { get; } void SaveChanges(); } public class UnitOfWork : ...
using System; namespace ContagemRegressiva_2 { class Program { static void Main(string[] args) { Console.WriteLine("-------------------"); Console.WriteLine("Contagem Regressiva"); Console.WriteLine("-------------------"); Console.WriteLine(); Co...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Kotak : MonoBehaviour { private Rigidbody2D rigidBody2D; public int scoreValue = 1; void Start() { rigidBody2D = GetComponent<Rigidbody2D>(); } private void OnTriggerEnter2D(Collid...
using System.Collections.Generic; using ObjectPooling; using UnityEngine; [CreateAssetMenu(menuName = "Scriptables/GORef")] public class SOGameObjectRef : ScriptableObject { public SOGameObjectRef Instance { get; private set; } public GameObject Value { get; private set; } public void CreateRun...
namespace StructureAssertions.Test.TestTypes { public class ClassWithNestedClassUsingString { class NestedClass { public string Text { get; set; } } } }
using System.Collections; using System.Collections.Generic; using UnityEngine; public class ForeachUpdate : MonoBehaviour { List<string> strs = new List<string>(); private void Start() { for(int i = 0 ; i < 1000000; i++){ strs.Add(i.ToString()); } } private void Updat...
 using System; namespace Set.Api.Models { public class NewGameDTO { public bool IsDaily { get; set; } public string UserLocalTime { get; set; } public DateTime UserLocalDateTime => DateTime.Parse(UserLocalTime); public Guid? GameId { get; set; } } }