text
stringlengths
13
6.01M
 using System; using System.Drawing; namespace Carapace { class WVanishingPoint { public WVector Pos; public int Density; public WVanishingPoint() { Pos = new WVector(0, 0); Density = 0; } public void Draw( int _Idx, Graphics _G, bool _bScreenshot ) { WW...
using System; using System.Diagnostics; using System.Drawing; using System.IO; using System.Windows.Forms; namespace SharpColossus { public partial class ALLMODELS : Form { string models = ""; string animations = ""; string place_list = ""; public ALLMODELS() {...
using Newtonsoft.Json.Linq; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; namespace NameSearch.Utility.Interfaces { /// <summary> /// Interface for Import Utility /// </summary> public interface IImport { /// <summary> /// Froms the text. ...
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="LoggingContextActionFilterAttribute.cs" company="CGI"> // Copyright (c) CGI. All rights reserved. // </copyright> // ------------------------------------------------------------...
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Web; namespace Store_Mvc.Models { public class Store { //omarjaab [Required] public int Id { get; set; } [Required,MaxLength(20)] public string N...
// ---------------------------------------------------------------------------------------------------------------------------------------- // <copyright file="TcpConnectionListener.cs" company="David Eiwen"> // Copyright © 2016 by David Eiwen // </copyright> // <author>David Eiwen</author> // <summary> // This file c...
using System; using System.Collections.Generic; using System.Linq; using System.Text; class MergeSort { static void Sort(int[] data, int left, int right) { if (left < right) { int middle = (left + right) / 2; Sort(data, left, middle); ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace BPiaoBao.AppServices.DataContracts.SystemSetting { public class BusinessmanDataObject { /// <summary> /// 商户名称 /// </summary> public string Name { get; set; } /// <summary> ...
using System; using System.Collections.Generic; using System.Text; namespace MySchool.Domain.Core.Events { public interface IDomainEvent { string EventKey { get; } DateTime OccurredOn { get; } Guid CommandUniqueId { get; set; } } }
using System; using System.IO; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace OPTI_Experiment { public class SessionManager { public static SessionManager Instance { get; private set; } public List<String> SamplePhrases = new Li...
namespace _4._Copy_Binary_File { using System; using System.IO; class Program { static void Main(string[] args) { string inputPath = "copyMe.png"; string outputPath = "copyMe_Copied.png"; using (FileStream inputFile = new FileStream(inputP...
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Web; namespace LateOS.Models { [MetadataType(typeof(cTipoPago))] public partial class tbTipoPago { } public class cTipoPago { [Display(Name = "ID Tipo pago")] ...
using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; using Microsoft.Xna.Framework.Input; using System; using System.Collections.Generic; //JaJuan Webster //Professor Cascioli //Playing With Forces namespace Webster_MonoGame_PlayingWithForces { /// <summary> /// This is the main type for yo...
using Opc.Ua; using Opc.Ua.Server; using System; using System.Collections.Generic; namespace OpcPlc { using static Program; public class PlcNodeManager : CustomNodeManager2 { public UInt32 RandomUnsignedInt32 { get => (UInt32)_randomUnsignedInt32.Value; set ...
using Events.Models; namespace Events.Web.Helpers { public static class EnumHelpers { public static string GetPluralizedName(this AudienceType me) { switch (me) { case AudienceType.Developer: return "Developers"; case...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CombinatorialAlgorithms { class SubsetOfStringArr // we are searching for combinations without repetitions { private static int countOfPerm = 0; private stat...
using Clases; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Test { public class Program { static void Main(string[] args) { Warehouse w = Warehouse.Get_Warehouse(); Console...
using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Http; using System.Web.Http; using API1.Models; namespace API1.Controllers { [RoutePrefix("api/usuario")] public class UsuarioController : ApiController { private static List<UsuarioModel> listaUs...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Blog.Application.Queries; using Blog.Application.Queries.Model; using Microsoft.EntityFrameworkCore; namespace Blog.Database.Query { public class BlogQuery : IBlogQuery { private readonly BlogContext...
using System; using System.Collections.Generic; namespace RazorSampleText.Models { public class Genre { public int Id{get;set;} public string Title { get; set; } public ICollection<GenreMovie> GenreMovies { get; set; } } }
using System; namespace WagahighChoices.Utils { internal static class Log { public static void WriteMessage(string message) { try { Console.WriteLine("[{0}] {1}", DateTime.Now, message); } catch { } } } }
namespace ConsoleWebServer.Application.Controllers { using Framework; using Framework.ActionResults.ContentActions; public class HomeController : Controller { private const string HomePageSmile = "Home page :)"; private const string LivePageWithNoCaching = "Live page with no caching"; ...
using System; using System.Collections.Generic; using buildings; using UnityEngine; using UnityEngine.UI; using peasants; public class WorkManager : MonoBehaviour { public Transform peasantAppearancePoint; private int _availableCounter; private Dictionary<Profession, int> _requiredCounters; private ...
using UnityEngine; using System.Collections; public class DontRecreateScript : MonoBehaviour { public GameObject prefab; private static GameObject instance; void Awake(){ if (instance == null) { instance = Instantiate (prefab); } else { Destroy (gameObject); } DontDestroyOnLoad (this); } }
using ShimDemoDataAccessLayer; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ShimDemoBusinessService { public class GetDemoData { DataContext dataContext = new DataContext(); DataLoader dataLoader = new DataLoader(...
using GetLabourManager.ActionFilters; using GetLabourManager.Helper; using GetLabourManager.Models; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using System.Web; using System.Web.Mvc; namespace GetLabourManager.Controllers { [Authorize] [RBAC] publi...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading.Tasks; using DHTChord.Node; using DHTChord.NodeInstance; using DHTChord.Server; using Microsoft.AspNetCore.Http; using Microsoft.Extensions.Caching.Memory; namespace AIRflyWebApp.AIRfly { public enum Downloa...
// Accord Statistics Library // The Accord.NET Framework // http://accord-framework.net // // Copyright © César Souza, 2009-2015 // cesarsouza at gmail.com // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as p...
using System; using System.Linq; using System.Linq.Expressions; using API.Domain.Models; using Tango.Types; using API.Shared.Models; namespace API.Persistence.Repository { public interface IBaseRepository<T> { T Incluir(T entidade); Either<Falha, IQueryable<Documento>> Obter(Expression<Func<T, b...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace GlobalDevelopment.Helpers { public static class SqlHelper { public static string CreateDatabase(string name) { return "CREATE DATABASE \"" + name + "\";"; ...
using System; //For MethodImpl using System.Runtime.CompilerServices; namespace Unicorn { /*=========== Key Codes for all buttons. Still can use regular Virtual Codes, Just not registered here. =============*/ public enum VK : int { // Mouse Input IMOUSE_LBUTTON = 0x01, IMOUSE_RBUTTON = 0x02, IMOUSE_MBUTTON...
/******************************************************************** * FulcrumWeb RAD Framework - Fulcrum of your business * * Copyright (c) 2002-2009 FulcrumWeb, ALL RIGHTS RESERVED * * * * THE SOURCE CODE CONTAINED WITHIN THI...
using System; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace yocto.tests { [TestClass] public class CleanupTests { [TestMethod, ExpectedException(typeof(ArgumentNullException))] public void Cleanup_Fail() { Cleanup.SafeMethod(null); } [Te...
using System.Collections.Generic; using FakeItEasy; using FatCat.Nes.OpCodes.Logical; using FluentAssertions; using Xunit; namespace FatCat.Nes.Tests.OpCodes.Logical { public class BitwiseLogicOrTests : OpCodeTest { public static IEnumerable<object[]> NegativeData { get { yield return new object[] ...
using System; using Xunit; namespace NetFabric.Hyperlinq { public static partial class TestData { public static TheoryData<int[]> Multiple => new TheoryData<int[]> { { new int[] { 1, 2, 3, 4, 5 } }, }; public static TheoryData<int[], int> Ski...
using CrazyPost.Context; using CrazyPost.Controllers; using CrazyPost.Models; using CrazyPost.Repository; using Microsoft.AspNetCore.Mvc; using Microsoft.VisualStudio.TestTools.UnitTesting; using Moq; using System; using System.Collections.Generic; using System.Threading.Tasks; namespace CrazyPost.Test { [TestClas...
using System; using System.Collections.Generic; using System.Data.SqlClient; using System.Linq; using System.Text; using System.Threading.Tasks; namespace bank_server { class Database { SqlConnection conn; public Database(string db_account, string db_name, string db_password) { ...
using AutoMapper; using RFI.TimeTracker.ViewModels.Entities; using Model = RFI.TimeTracker.Models; namespace RFI.TimeTracker.ViewModels { public static class ModuleController { public static void Init() { Mapper.CreateMap<Model.TimesheetEntry, TimesheetEntry>(); Mapper....
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using System.Web.Routing; using System.Web.Http; using K_Systems.APIService; using System.Web.Helpers; using System.Security.Claims; namespace K_Systems.Presentation.Web { public class MvcApplication : Syste...
using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Http; using System.Web.Http; using Master.Contract; using Master.BusinessFactory; namespace LogiCon.Areas.Master.Controllers { [RoutePrefix("api/Master/Port")] public class PortController : ApiController ...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using Microsoft.EntityFrameworkCore; using MyPage.Data.DAL; using MyPage.Models; using MyPage.Models.Infra; namespace MyPage.Controllers { [Aut...
using eLearning.Domain; using Microsoft.EntityFrameworkCore; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace eLearning.DAL { public class UnitOfWork : IDisposable { protected eLearningContext _context; public UnitOfWork(eLearningContext context ...
using System.Collections; using UnityEngine; public class DeadZone : MonoBehaviour { void OnTriggerEnter(Collider col) { GM.instance.Death (); } }
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Diagnostics; using System.Drawing; using System.Linq; using System.Net; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace NhlDownload { public partial class Form1 : For...
using UnityEngine; using System.Collections; using System.IO; using UnityEngine.UI; /** * Script for the message that appears below the input field on the main menu * If something is wrong with path in the field, this will apepar and explain the problem * Also disables the launch button if there is an error */ pu...
// // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the MIT License. See LICENSE file in the project root for full license information. // #region Usings using System; using System.Web.UI; #endregion namespace DotNetNuke.Web.UI.WebControls { public class DnnTabCollection : ControlColl...
using Espades.Domain.Entities.Base; namespace Espades.Domain.Entities { public class Produto : BaseEntity { public string Descricao { get; set; } //Descricao VARCHAR(100) NOT NULL } }
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.Tasks; using System.Windows.Forms; namespace SudokuSolverAI { public partial class Form1 : Form { Grid gri...
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="LandscapeQuery.cs" company="CGI"> // Copyright (c) CGI. All rights reserved. // </copyright> // ---------------------------------------------------------------------------------...
using System; using System.IO; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; namespace RipplerES.CommandHandler { public abstract class BootstrapperBase { private readonly IServiceCollection _serviceCollection; private readonly IConfigurati...
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Threading.Tasks; namespace WebApiPais.Models { public class Pais { //para que la lista de provincia no se presente en null, para que muestre un arreglo vacio. public Pai...
using NServiceBus; using NServiceBus.Installation.Environments; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace CenterPublisher { public class EndpointConfig : IConfigureThisEndpoint, AsA_Publisher, IWantCustomInitialization { public void Init() ...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class TrainCtrl : MonoBehaviour { public int dir; private float MoveSpeed; private float MAP_WIDTH = 52f; // Start is called before the first frame update void Start() { MoveSpeed = Random.Range(0.1...
using PDV.CONTROLER.Funcoes; using PDV.CONTROLER.FuncoesRelatorios; using PDV.DAO.Entidades; using System.Data; using System.Drawing; using System.IO; namespace PDV.REPORTS.Reports.DAV { public partial class ImpressaoDAV : DevExpress.XtraReports.UI.XtraReport { public ImpressaoDAV(decimal IdVenda) ...
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using NSL.TextProcessing.Common; namespace NSL.TextProcessing { public class Text : IEnumerable<string> { #region private private const int defaultCapacity = 1024; #endregion #region inter...
//------------------------------------------------- // <copyright file="IWORServiceImpl.cs" company=""> // </copyright> // <author>andrei.stoica</author> // <date>2012.02.09 03:49</date> // <summary> // </summary> //------------------------------------------------- using System.ServiceModel; using System.ServiceModel....
using cn.bmob.config; using cn.bmob.http; using System; using System.Collections; using System.IO; using System.Reflection; using System.Text; using cn.bmob.exception; namespace cn.bmob.tools { internal class Utilities { // 代码格式化 ctrl + k + d public static String Version() { #if WIN8_1...
using Microsoft.SharePoint; using System; using System.Collections.Generic; using System.IO; using System.Reflection; using System.Text; using System.Web; using System.Web.UI; namespace Waffles { public partial class patch : Page { public static WDataOutput Output; protected vo...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using BLL.Interface.Services; using DAL.Interface.Repository; using DAL.Interface.DTO; using BLL.Interface.Entities; using BLL.Mappers; namespace BLL.Services { public class TestService : ITestServi...
using Smart.Distribution.Station.Domain; using System; using System.Collections.Generic; using System.ComponentModel; using System.Diagnostics; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace Smart.Distribution.Station.Controls { public partial class UserS...
using mTransport.Models; 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 Syst...
namespace Triton.Game.Mapping { using ns26; using System; using Triton.Game.Mono; [Attribute38("TwistingNetherLiftInfo")] public class TwistingNetherLiftInfo : MonoClass { public TwistingNetherLiftInfo(IntPtr address) : this(address, "TwistingNetherLiftInfo") { } ...
using LAP_PowerMining.Core.Enums; using LAP_PowerMining.Core.ToastrComponents; using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; namespace LAP_PowerMining.Core.Controllers { public class MyBaseController :Controller { public MyBaseController() ...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Globalization; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; namespace Panacea.Multilinguality { public class TranslatableObject : INotifyPropertyChanged { private stri...
using System; using System.Collections.ObjectModel; using System.ComponentModel; using System.Linq; using System.Threading.Tasks; using Trabalho2.Models; using Xamarin.Forms; using Xamarin.Forms.Xaml; namespace Trabalho2.Views { [XamlCompilation(XamlCompilationOptions.Compile)] public partial class ListaPedi...
namespace PlatformRacing3.Web.Utils; internal static class EventIds { internal static readonly EventId DataAccess2Failed = new(1, nameof(EventIds.DataAccess2Failed)); }
namespace Dotnet.Script.NuGetMetadataResolver { using System.Collections.Generic; using System.IO; using System.Text; using Newtonsoft.Json; /// <summary> /// Represents a "project.json" files that can be saved to disc. /// </summary> public class ProjectJson { /// <summary...
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.Med...
using iTextSharp.text; using iTextSharp.text.pdf; using System; using System.Collections.Generic; using System.Data; using System.Diagnostics; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ConsoleAppGeneratePDFFile { public class TestPDF { public stati...
using KnapsackProblem.Common; using KnapsackProblem.DecisionVersion; using Microsoft.VisualStudio.TestTools.UnitTesting; using System.Collections.Generic; namespace KnapsackProblemTests { [TestClass] public class UnitTest1 { public KnapsackInstance CreateKnapsackInstance() { var...
namespace WebMarkupMin.Web.HttpModules { using System; using System.Web; using Core; /// <summary> /// Base class of HTTP module for markup minification /// </summary> public abstract class MarkupMinificationModuleBase : IHttpModule { /// <summary> /// Initializes a module and prepares it to handle reque...
using System; using System.Collections.Generic; using System.Text; namespace CRM_Api { public class Order { public int OrderId { get; set; } public int CustomerId { get; set; } public int AddressId { get; set; } public int prodQuantity { get; set; } } }
using console; using Microsoft.VisualStudio.TestTools.UnitTesting; using System; using System.Collections.Generic; namespace ConsoleTestProj { /// <summary> ///This is a test class for _006_AnagramTest and is intended ///to contain all _006_AnagramTest Unit Tests ///</summary> [TestClass...
using System.Collections.Generic; using Aqueduct.SitecoreLib.Domain; namespace Aqueduct.SitecoreLib.Examples.SampleApplication.Business.Domain.Widgets { public class BaseWidgetPage : DomainEntity { public IList<IWidget> Widgets { get; set; } } }
using Infnet.Engesoft.SysBank.Model.Dominio; using NUnit.Framework; namespace Infnet.Engesoft.SysBank.Model.Teste { [TestFixture] public class TelefoneTeste { Telefone fone = new Telefone(); [Test] public void Teste_DDD() { var expected = "021"; ...
namespace ns25 { using System; using System.Collections.Generic; using Triton.Game.Mono; internal class Class253<T> : MonoClass where T: class { internal Class253(IntPtr address) : base(TritonHs.MainAssemblyDir + @"\mscorlib.dll", "System.Collections.Generic", "Dictionary<" + typeof(T).Ful...
using Newtonsoft.Json; using Newtonsoft.Json.Serialization; using Yandex.Dialogs.Models.Buttons; namespace Yandex.Dialogs.Models.Cards { [JsonObject(NamingStrategyType = typeof(SnakeCaseNamingStrategy))] public class Footer : Header { public CardButton Button { get; set; } } }
using System.Collections.Generic; namespace DartsTracker.Interfaces { public interface IGameView { /* * Set recyclerView Adapter */ public void SetAdapter(List<string> header); public void AddTableRow(); /* * Updates table at position with new value. ...
using DataLayer.Entities; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata.Builders; using System; namespace DataLayer.Configuration { /** * Класс конфигурации начальных данных по категориям * Используется для заполнения таблицы Категории */ public class Categor...
using PDV.DAO.DB.Utils; using PDV.RETAGUARDA.WEB.AppContext; using System; namespace PDV.RETAGUARDA.ANDROID { public partial class PainelInicial : System.Web.UI.Page { protected override void OnPreInit(EventArgs e) { base.OnPreInit(e); } protected void Page_Load(ob...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class LoadGameManager : MonoBehaviour { // Start is called before the first frame update public GameLoadSaveSelectionButton save1; public GameLoadSaveSelectionButton save2; public GameLoadSaveSelectionButton...
// Copyright 2017-2019 Elringus (Artyom Sovetnikov). All Rights Reserved. using UnityEngine; namespace Naninovel { [System.Serializable] public class LocalizationConfiguration : Configuration { public const string DefaultLocalizationPathPrefix = "Localization"; [Tooltip("Configuration of...
using System; using System.Collections.Generic; using System.Drawing; using System.Drawing.Imaging; namespace WF.SDK.Common.Imaging { /// <summary> /// Summary description for ImageInfo. /// </summary> public class ImageInfo { public int PageCount = 0; public string FilePath = "(From Memory)"...
// Pseudo-random number generator written in 2015 by gumi Sweden. // No copyright is claimed, and you may use it for any purpose you like. // No warranty for any purpose is expressed or implied by the authors. using UnityEngine; namespace Gu3 { public static class PRandom { public const float denominator = 1f / (f...
using UnityEngine; using System.Collections; using UnityEngine.UI; using UnityEngine.SceneManagement; /** * Script for the "Launch" button on the main menu. * Sets the Sprite manager's path to the path in the input field * and loads the main scene. */ public class LaunchButton : MonoBehaviour { public InputFiel...
/******************************************************************** * FulcrumWeb RAD Framework - Fulcrum of your business * * Copyright (c) 2002-2009 FulcrumWeb, ALL RIGHTS RESERVED * * * * THE SOURCE CODE CONTAINED WITHIN THI...
// Copyright (C) 2017 Kazuhiro Fujieda <fujieda@users.osdn.me> // // 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 re...
using Game2048; using Newtonsoft.Json; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Windows; using System.Windows.Controls; using System.Windows.Controls.Primitives; using System.Windows.Input; using System.Windows.Media; namespace _2048Game { public partial cl...
using System; using System.Net.Http; using System.Text; using System.Threading.Tasks; using Newtonsoft.Json.Linq; namespace Dictionary { class DataServices { private static readonly DataServices _dataService = new DataServices(); private HttpClient _client = new HttpClient(); private readonly HttpClient _http...
using KRF.Core.DTO.Employee; using KRF.Core.Repository; using KRF.Web.Models; using System; using System.Linq; using System.Web.Mvc; namespace KRF.Web.Controllers { [CustomActionFilter.CustomActionFilter] public class EmployeeController : BaseController { // // GET: /Employee/ pub...
using Library.DataAccess.Interface; using Library.DomainModels; using Library.Services.Interface; using Microsoft.AspNetCore.Mvc; using System; using System.Collections.Generic; using System.Text; using System.Threading.Tasks; namespace Library.Services { public class BookService : IBookService { ...
using UnityEngine; using Photon.Pun; using Photon.Realtime; using UnityEngine.UI; public class Launcher : MonoBehaviourPunCallbacks { [Tooltip("The Ui Panel to let the user enter name, connect, and play")] [SerializeField] private GameObject controlPanel; [Tooltip("The UI Label to inform the user th...
using UnityEngine; using System.Collections; public class GetCordFromGrid : MonoBehaviour { Gridsystem gridSystem; Transform obj_gridSystem; public Vector2 cordinates; public Vector3 gameObjectPosition; void Start () { obj_gridSystem = GameObject.FindGameObjectWithTag ("Grid").transform; gridSystem ...
using System; using System.Collections; namespace QuitSmokeWebAPI.Controllers.Entity { public class AppUser { public string email { get; set; } public string password { get; set; } public string name { get; set; } public string smoker_indicator { get; set; } public strin...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class World : MonoBehaviour { public float scaleFactor = 0.01f; GameManager gameManager; // Use this for initialization void Start() { gameManager = GameManager.managerInstance; } // Update is cal...
namespace ForumSystem.Web.ViewModels.Posts { using System; using System.Collections.Generic; using System.Linq; using AutoMapper; using ForumSystem.Data.Models; using ForumSystem.Services.Mapping; using Ganss.XSS; public class PostViewModel : IMapFrom<Post>, IMapTo<Post>, IHaveCustomMa...
using ProManager.Entities.Base; using System.ComponentModel.DataAnnotations; namespace ProManager.Entities.Common { public class ApplicationModules : BaseModel { [StringLength(150)] public string Title { get; set; } [StringLength(500)] public string Description { get; set; } ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Bezlebub { public delegate void Act(); public delegate void StateAct(Room currentRoom, CharacterValues stats); public delegate void RoomAct(Room room); public delegate bool Int...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class GamePointUI : MonoBehaviour { public void OnMouseDown() { if (!GameManager.Instance.m_scoreBoardPopup.gameObject.activeSelf) { GameManager.Instance.m_scoreBoardPopup.gameObject.SetActive(tr...
using System; using System.Collections.Generic; using System.Linq; using System.Data.Common; using Microsoft.Practices.EnterpriseLibrary.Data; using Master.Contract; namespace Master.DataFactory { public class ProcessDAL { private Database db; private DbTransaction currentTransaction = null; ...