text
stringlengths
13
6.01M
using UnityEngine; using System.Collections; public class SkyOrbitor : MonoBehaviour { /// <summary> /// Denne funksjonen roterer et objekt på Y aksen til gitt fart /// Det gjør at objekter knyttet til dette objektet som child roterer i en omkrets tilsvarende (avstand til parent center * 2Pi) /// Altså jo lenger...
// ===== Enhanced Editor - https://github.com/LucasJoestar/EnhancedEditor ===== // // // Notes: // // ============================================================================ // using System; namespace EnhancedEditor { /// <summary> /// Class that exist only for the use of its <see cref="ScriptingDefineS...
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="WizardController.cs" company="Soloplan GmbH"> // Copyright (c) Soloplan GmbH. All rights reserved. // Licensed under the MIT License. See License-file in the project root for lice...
using System; using System.Collections.Generic; using System.Text; namespace SistemaToners.Entidades { public class Area { private int id; private string nombre_area; public int Id { get => id; set => id = value; } public string Nombre_area { get => nombre_area; set => nombre_...
namespace VoxelEngine.Utils { public enum RenderMode { None, Wire3D } }
// ===== Enhanced Editor - https://github.com/LucasJoestar/EnhancedEditor ===== // // // Notes: // // ============================================================================ // using System; using System.Collections; using System.Collections.Generic; namespace EnhancedEditor { /// <summary> /// Base col...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Xml; using System.Net; using OpenQA.Selenium; using OpenQA.Selenium.PhantomJS; using HtmlAgilityPack; using System.Threading; using System.Diagnostics; using SpiderStandard;...
using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Sockets; using System.Text; using System.Threading; using System.Threading.Tasks; namespace MessServer { class Program { const int port = 8888; static TcpListener listener; static void...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Input; using Gensokyo.Components.Primitives; using Gensokyo.Xaml.Commands; namespace Gensokyo.Components.Interactives { public class ToggleSwipeButton : P...
using CMS.Core.Model; using Microsoft.AspNet.Identity.EntityFramework; using System; using System.Collections.Generic; using System.Linq; namespace CMS.Data.Identity { public static class InitialData { public static List<User> GetAdminUsers() { var users = new List<User> ...
using Microsoft.AspNetCore.Hosting; using Serilog; namespace HelloUniverse { public class Program { public static void Main(string[] args) { Serilog.Log.Logger = new Serilog .LoggerConfiguration() .Minim...
using Logic; using StringSearch; using System; using System.Collections.Generic; namespace ConsoleView { static class Program { static void Main(string[] args) { string text = "1aeee2 1A2 1 a 2 1 A2"; string pattern = "1a2"; foreach (var sear...
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.Data.SqlClient; namespace WebApplication24 { public partial class WebForm1 : System.Web.UI.Page { protected void Page_Load(object ...
using JOBTIND21.Dominio; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace JOBTIND21.Servicio { public interface IUsuario { void Insertar(Usuario c); void Delete(Usuario c); void Buscar(Usuario c); ICollection<Usuario>...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Climbing : MonoBehaviour { public GameObject player; Animator animator; Rigidbody rb; public float v; private bool climable = false; private float climbSpeed = 0.05f; // Use this for initialization vo...
 using System.Runtime.InteropServices; namespace Service { /// <summary> /// Delegate handler for a command message subscription event. /// </summary> /// <param name="sender">The sender.</param> /// <param name="e">The <see cref="SubscribedEventArgs" /> instance containing the event data.</param...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class HarmonicAttack : MonoBehaviour { public AudioClip clip; public ParticleSystem particle; public bool changeColor; private SpriteRenderer sprite; private PitchManager pitch; [Range(0f, 1.0f)] publi...
using System.Data; using System.Threading.Tasks; using ApplicationCore.Interfaces; using Npgsql; namespace Infrastructure.Data { public class UnitOfWork : IUnitOfWork { private readonly string connectionString = "User ID=asp_user;Password=Password123;Host=localhost;Port=5433;Database=IdentityTest;Pool...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace LeetCodeCSharp { public class _005_WordLadder { /**/ public int FindWordLadderLength(string[] dict, string start, string end) { Queue<string> q = ne...
namespace Application.Articles.Commands.UpdateArticleCommands { public class UpdateArticleCommandValidator { } }
using GetLabourManager.Models; using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.IO; using ExcelDataReader; using System.Data; using ExcelDataReader.Log; namespace GetLabourManager.Helper { public class DataProcessingHelper { RBACDbContext db; p...
using System.Collections.Generic; namespace SGDE.Domain.Entities { public class Partida : BaseEntity { public string Codigo { get; set; } public string Orden { get; set; } public string Descripcion { get; set; } public string Unidades { get; set; } public double? Unidad...
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; using System.Net.Http; using System.Windows.Input; using City_Center.Models; using City_Center.Services; using GalaSoft.MvvmLight.Command; using Xamarin.Forms; using static City_Center.Models.NotificacionesRecibida...
using System.Collections; using System.Collections.Generic; using System.IO; using System.Linq; using System.Reflection; #if PSL_ENABLED using PlayGen.Orchestrator.PSL.Common.LRS; #endif using PlayGen.Unity.Utilities.Localization; using UnityEngine; using UnityEngine.Networking; public class PSL_LRSManage...
using Microsoft.Extensions.Logging; using OmniSharp.Extensions.DebugAdapter.Protocol.Events; using OmniSharp.Extensions.DebugAdapter.Protocol.Requests; using OmniSharp.Extensions.JsonRpc; using OmniSharp.Extensions.JsonRpc.Client; namespace OmniSharp.Extensions.DebugAdapter.Protocol { class DapOutputFilter : IOutp...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; namespace AsyncDelegates.Examples { public static class AsyncFuncExample { public static void ShowAsyncFunc() { Func<int, int> myDelegate = x ...
namespace ns17 { using System; internal interface Interface13 : Interface10 { string String_3 { get; } string String_4 { get; set; } string String_5 { get; set; } } }
using System; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; namespace System.Data.Linq.SqlClient { internal class SqlDeflator { SqlValueDeflator vDeflator; SqlColumnDeflator cDeflator; SqlAliasDeflator aDeflator; SqlTopSelectDeflator tsDeflator; S...
using MySql.Data.MySqlClient; using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace Stok_Takip_Otomasyonu { public partial class frmÜrünListele ...
using Aries.Core.Auth; using Aries.Core.Extend; using Aries.Core.Helper; using CYQ.Data; using CYQ.Data.Cache; using CYQ.Data.Tool; using System; using System.Collections.Generic; using System.IO; using System.Text; using System.Threading; using System.Web; namespace Aries.Core { /// <summary> ...
// // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the MIT License. See LICENSE file in the project root for full license information. // using DotNetNuke.Entities.Content.Workflow.Entities; using System.Collections.Generic; namespace DotNetNuke.Entities.Content.Workflow { /// <summary>...
// Copyright 2020 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 System; using System.Collections.Generic; using System.Text; namespace Converter.Units { class Byte : DataUnit { protected override double UnitDevidedByByte => 1; public override string ToString() { return nameof(Byte); } } }
using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; class Program { static void Main() { var validSingers = GetInput(); var validSongs = GetInput(); var singers = new List<Singer>(); while (true) { var in...
using CourseProject.Model; using CourseProject_WPF_.Repositories; using System; using System.ComponentModel; using System.Text.RegularExpressions; namespace CourseProject.ViewModel { public class RegistrationViewModel : INotifyPropertyChanged { EfUserRepository userRepository = new EfUserRepository();...
using System; using System.Collections.Generic; using System.Text; namespace Tarea.Models { public class Producto { public int idProducto { set; get; } public string nombreProducto { set; get; } public string tipoProducto { set; get; } public double precioUnidad { set; get; } ...
namespace E03_PrintNumbers { using System; public class PrintNumbers { public static void Main(string[] args) { // Write a program to print the numbers 1, 101 and 1001, each at a separate line. // Name the program correctly. Console.WriteLine(1 + "\n" +...
using SQLiteNetExtensions.Attributes; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations.Schema; using System.Linq; using System.Text; using System.Threading.Tasks; using ForeignKeyAttribute = SQLiteNetExtensions.Attributes.ForeignKeyAttribute; namespace ISKlinike.Model { ...
using System; using System.Collections.Generic; using System.Globalization; using System.IO; using System.Reflection; using System.Runtime.Serialization; using System.Xml; using UnityEditor; using UnityEngine; using UnityEngine.SceneManagement; using Object = UnityEngine.Object; using GenericObjectClipboard = InspectP...
using Webservice.helper; using PersianDate; using System; using System.Collections.Generic; using System.Linq; using System.Web; using Webservice.Models; namespace Webservice.Repo { public class OtherRepo { protected Service_DBEntities DBContext; public OtherRepo() { ...
namespace Contoso.KendoGrid.Api { public class ConfigurationOptions { #region Constants public const string DEFAULTBASEBSLURL = "http://localhost:53345/api"; #endregion Constants #region Properties public string BaseBslUrl { get; set; } = DEFAULTBASEBSLURL; #end...
using System; namespace Person { public class Male { public void MaleInfo() { Console.WriteLine("Male info"); } } }
using System.Collections.Generic; using System.Text; using System; namespace LinnworksAPI { public class OrderRefundLinesPaged { public Int32 Page; public Int32 TotalReferences; public Int32 ReferencesPerPage; public Int32 ActualItemsPerPage; public List<OrderRefundLine> OrderRefundLines; } }
 using MongoDB.Bson; using RecipeLibrary.Recipes; using MongoDB.Bson.Serialization.Attributes; namespace RecipeLibrary.MongoDB.Recipes { public class IMongoRecipe : IRecipe { [BsonId] public ObjectId ObjectId { get; set; } [BsonElement("recipeId")] public int RecipeId { get; ...
/* * Copyright 2021 Adobe * All Rights Reserved. * * NOTICE: Adobe permits you to use, modify, and distribute this file in * accordance with the terms of the Adobe license agreement accompanying * it. If you have received this file from a source other than Adobe, * then your use, modification, or distributio...
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using AutoMapper; using Dentist.Enums; using Dentist.Models; using Kendo.Mvc.UI; using Microsoft.Owin.Security.Google; namespace Dentist.ViewModels { public class SchedulerPracticeViewModel { public int Id { ...
using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Logging; using System; using System.Threading.Tasks; using Tadu.NetCore.Api.Extensions; using Tadu.NetCore.Data.CustomModel; using Tadu.NetCore.Data.Model; using Tadu.NetCore.Data.Services; namespace Tadu.NetCore.Api....
using System; using System.IO; using System.Linq; using System.Net; using System.Net.Http; using System.Net.Http.Headers; using System.Security.Claims; using System.Threading; using System.Web; using System.Web.Http; using CloneDeploy_App.Controllers.Authorization; using CloneDeploy_Entities.DTOs; using CloneDeploy_Se...
using System; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; using JIoffe.PizzaBot.Model; using Microsoft.Bot.Builder; using Microsoft.Bot.Builder.AI.Luis; using Microsoft.Bot.Builder.Dialogs; using Newtonsoft.Json; using PizzaBot.Accessors; using PizzaBot.Re...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Item : MonoBehaviour { private GameObject mPlayer; private void DistanceUpdate() { float _x = transform.position.x; float _y = transform.position.y; //float _z = transform.position.z; ...
using System; using System.ComponentModel; using System.Drawing; using System.Linq; using System.Windows.Forms; using Top_Down_shooter.Properties; using Top_Down_shooter.Scripts.Components; using Top_Down_shooter.Scripts.Controllers; using Top_Down_shooter.Scripts.GameObjects; using Top_Down_shooter.Scripts.Source; us...
using Hayalpc.Fatura.Data; using Hayalpc.Fatura.Data.Models; using Hayalpc.Fatura.Panel.Internal.Services.Interfaces; using Hayalpc.Library.Log; using Hayalpc.Library.Repository.Interfaces; using Microsoft.Extensions.Caching.Memory; namespace Hayalpc.Fatura.Panel.Internal.Services { public class TableDefinitionSe...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Game.Network { public class ClientPool<T> { private Stack<T> m_pool; public ClientPool(int capacity) { m_pool = new Stack<T>(capacity); } public void Push(T item...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using DataObject; namespace Service.Interface { public interface IDichVu { int ThemDichVu(DichVu dv); int CapNhatDichVu(DichVu dv); int XoaDichVu(int maDV); } }
using System; using System.Collections.Generic; using UnityEngine; namespace YoukiaUnity.View { public class CallbackEventInfo { public GameObject target; public bool isPlayEnd; public string currentAnimName; public CallbackEventInfo(GameObject target, string AnimName, bool ...
using System; using System.Collections.Generic; using UnityEngine; namespace RO { [CustomLuaClass] public class BusManager : SingleTonGO<BusManager> { private Dictionary<long, Bus> buses_ = new Dictionary<long, Bus>(); public static BusManager Instance { get { return SingleTonGO<BusManager>.Me; ...
//Created by: Manuel Muncaster //Date: February 14, 2017 //Purpose: This is a replica of the electronic game "Simon Says" using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using Syste...
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 solution1 { public partial class FormBonsDeTransfert : Form { string connectionString = System.Configuration...
using System; using System.Collections; using System.Collections.Generic; using Unity.Collections; using UnityEngine; using UnityEngine.Events; using UnityEngine.Jobs; public class BulletJobSystemFacadeMono : MonoBehaviour, IBulletJobSystemFacade { public uint m_numberOfBullets; public BulletsPoolMovingCompute...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Xml.Linq; namespace Tivo.Hmo { internal class UnknownTivoItem : TivoItem { internal UnknownTivoItem(XElement element) : base(element) { } } }
namespace ETLBox.Connection { /// <summary> /// The generic defintion of a connection string /// </summary> public interface IDbConnectionString { /// <summary> /// The connection string value, e.g. "Server=localhost;Database=etlbox;" /// </summary> string Value { ge...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class BuildingSetter : MonoBehaviour { MeshRenderer meshRenderer; Material[] materials; Material material; public static BuildingSetter instance; public float health, maxHealth, faction, ty...
using Hybrid.Data; using Hybrid.Extensions; using Hybrid.Swagger.Helpers; using Microsoft.AspNetCore.Mvc; using Swashbuckle.AspNetCore.Swagger; using Swashbuckle.AspNetCore.SwaggerGen; using System; using System.IO; namespace Hybrid.Swagger { /// <summary> /// Swagger 自定义功能 /// </summary> [ApiExplo...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class EnemyBullet : MonoBehaviour { [HideInInspector] public Vector3 direction; [HideInInspector] public float speed; private void Update() { transform.position += (direction.normalized * speed * Tim...
using System; using System.Collections.Generic; using System.Linq; using System.Runtime.Serialization; using System.Text; using System.Threading.Tasks; namespace Utilities.CustomException { /// <summary> /// Clase Excepcion para /// generar un error controlado /// cuando el formato del archivo no es...
using System; namespace Checkout.Payment.Identity.Domain.Models { public class MerchantApiKey { public string SubjectId { get; set; } public string Email { get; set; } public string UserName { get; set; } public string ApiKey { get; set; } } }
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using Offline.Payment.Business.Models; using Offline.Payment.Business.Services; namespace Offline.Payment.API.Controllers { [Route("api/[controller]")] ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Data.Core; namespace LearningEnglishWeb.Areas.Training.Services.Helpers { public static class Api { public static class Training { //public static string GetRe...
using System.Data.Entity.ModelConfiguration; using DDDStore.Domain.Entities; namespace DDDStore.Infra.Data.EntityConfig { public class CustomerConfiguration : EntityTypeConfiguration<Customer> { public CustomerConfiguration() { HasKey(c => c.CustomerId); Property(c => ...
namespace ns11 { using System; using System.Runtime.InteropServices; [StructLayout(LayoutKind.Sequential)] internal struct Struct14 { private readonly Struct12[] struct12_0; private readonly int int_0; public Struct14(int numBitLevels) { this.int_0 = num...
using System.Collections; using System.Collections.Generic; using UnityAssets.Standard_Assets.CrossPlatformInput.Scripts; using UnityEngine; namespace Game.Player.Controller { public class Spacecontrol : MonoBehaviour { public float MoveForce = 5, brakeforcemlp = -5; Rigidbody2D myBody; ...
using BattleUtil; [System.Serializable] public class EntityStat { public string name; public int curHP; public int baseHP; public int curSP; public int baseSP; public BattleEffect.StatusEffect statStatus; public EntityStat() { name = "Error"; curHP = 0; baseHP ...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using WebApp1.Pages; using Microsoft.EntityFrameworkCore; using System.ComponentModel.DataAnnotations; using WebApp1.Model; namespace WebApp1.Mo...
using Microsoft.AspNetCore.Mvc.Filters; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace IdentityServerAspNetIdentity { public class OnlineUserAuthorizationFilter : Attribute, IAsyncAuthorizationFilter { public Task OnAuthorizationAsync(Authori...
using System.ComponentModel.DataAnnotations.Schema; using PagedList; namespace LeaveRequestApp.Models { [NotMapped] public class PagedModel<TModel> where TModel : class { public PagedListMetaData MetaData { get; set; } public IPagedList<TModel> Data { get; set; } public int Total...
using JKMServices.DTO; using System.Collections.Generic; namespace JKMServices.DAL.CRM.common { public interface ICRMUtilities { Dictionary<string, string> ExecuteDeleteRequest(string entityName, string jsonFormattedData); Dictionary<string, string> ExecuteGetRequest(string entityName, string ...
namespace Frontend.Core.Converting.Operations { public enum AggregateOperationsResult { NotStarted, InProgress, Canceled, CompletedSuccessfully, CompletedWithWarnings, Failed } }
using OpenQA.Selenium; using System; namespace SeleniumSample.Helpers { sealed class SeleniumHelpers { /// <summary> /// An expectation for checking that an element is present on the DOM of a /// page. This does not necessarily mean that the element is visible. /// </summary> ...
namespace SiscomSoft.Migrations { using System; using System.Data.Entity.Migrations; public partial class INICIAL : DbMigration { public override void Up() { CreateTable( "dbo.Almacenes", c => new { ...
using KRF.Core.Entities.Actors; namespace KRF.Core.FunctionalContracts { public interface ILogin { /// <summary> /// Functionality is to validate the supplied username and password against the database records. /// </summary> /// <param name="username">Supplied username</param> ...
using UnityEngine; using System.Collections; public class Ball : MonoBehaviour { private Paddle paddle; private Vector3 paddleToBallVector; private bool hasStarted = false; // Use this for initialization void Start () { paddle = GameObject.FindObjectOfType<Paddle>(); paddleToBallVe...
using System.Windows; using System.Windows.Controls; namespace FinalYearProject { /// <summary> /// Interaction logic for MainWindow.xaml /// </summary> public partial class LoginWindow : Page { public LoginWindow() { InitializeComponent(); } private v...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Microsoft.SharePoint; using Microsoft.SharePoint.Utilities; namespace SP2010.Manage.FileTypes { public sealed class DownloadManager { private static volatile DownloadManager instance; private static obj...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; namespace TestHelper { public class ProcessQuestions { public static StringBuilder OutPut = new StringBuilder(); private static object mutrix = new object(); private static int...
/* copy rice noorquacker industries 2018 or something just put it under the unilicense and be done with it aight so I made this thing when I was into hypermazes and stuff and it's a pile of poorly threaded garbage, I know after all, it's made by me, Noorquacker, and all I do is make Garry's Mod Wiremod Expression 2 ch...
using System.Xml.Serialization; namespace PlatformRacing3.Web.Responses.Procedures.Stamps; public class DataAccessGetMyStampsResponse : DataAccessDataResponse<DataAccessGetMyStampsResponse.MyStampData> { [XmlElement("category")] public string Category { get; set; } private DataAccessGetMyStampsResponse() { } ...
using MXDbHelper; using MXDbHelper.MyExtend; using System; using System.Collections.Generic; using System.Configuration; using System.Data; using System.IO; using System.Net; using System.Threading; namespace BusinessLogic { class ServerTempFile : BasicLogic, IBasiclogic { public readonly string FileP...
using System; namespace XorLog.Core { public class FileLoadedEventArgs : EventArgs { public long TotalSize { get; private set; } public string Path { get; private set; } public string FileName { get; private set; } public FileLoadedEventArgs(long totalSize, string path, string...
using System; using Selenite.Enums; namespace Selenite.Attributes { public class CommandAttribute : Attribute { } public class DriverTypeAttribute : Attribute { DriverTypeAttribute(DriverType driverType) { DriverType = driverType; } public DriverType Dr...
using System; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; using System.Linq.Expressions; namespace Reception.Domain.Services.Abstractions { /// <summary> /// Репозиторий с возможностью изменять данные. /// </summary> /// <typeparam name="TEntity">Тип сущност...
using System; using System.Collections; using System.Collections.Generic; using System.Reflection; using UnityEngine; using UnityEngine.Assertions; using UnityEngine.Networking.NetworkSystem; using Object = UnityEngine.Object; namespace ReadyGamerOne.MemorySystem { /// <summary> /// 这个类提供关于内存的优化和管理 /// 1、所有资源只会从Re...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Bullet : MonoBehaviour { public float speed = 0; internal Rigidbody2D rb; public GameObject explosionAtWall; private void Awake() { rb = GetComponent<Rigidbody2D>(); } /...
using LuaInterface; using SLua; using System; using UnityEngine; public class Lua_UnityEngine_SleepTimeout : LuaObject { [MonoPInvokeCallback(typeof(LuaCSFunction))] public static int constructor(IntPtr l) { int result; try { SleepTimeout o = new SleepTimeout(); LuaObject.pushValue(l, true); LuaObjec...
namespace Amazon.Suporte.Database { public class UnitOfWork : IUnitOfWork { private readonly SupportDBContext _context; public UnitOfWork(SupportDBContext context) { _context = context; ProblemRepository = new ProblemRepository(_context); } publi...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Text; using System.Threading.Tasks; namespace DataTemplates { public class Flugzeug : INotifyPropertyChanged { public enum FlugzeugTyp { Passagier, Fracht, Agrar, Lösch, Militär } priv...
using System; namespace Im.Access.GraphPortal.Data { public class DbChaosPolicy { public Guid Id { get; set; } public string MachineName { get; set; } public string ServiceName { get; set; } public string PolicyKey { get; set; } public bool Enabled { get; set; } ...
using System.IO; using System.Reflection; using Newtonsoft.Json; namespace ChesterDevs.Core.Aspnet.App { public class FileSystemWrapper : IFileSystemWrapper { private static string rootPath = Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location); public T ReadJson<T>(string path) ...
using System; using System.Collections.Generic; using Xamarin.Forms; using System.Collections.ObjectModel; namespace Dietando.ViewModel { public class ListRefeicoesViewModel : BaseViewModel { private ObservableCollection<Refeicao> _listrefeicoes = new ObservableCollection<Refeicao>(){ new Refeica...
/* * Copyright (c) 2020 Samsung Electronics Co., Ltd. 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 r...
using System.Collections.Generic; using System.Linq; using CloneDeploy_DataModel; using CloneDeploy_Entities; using CloneDeploy_Entities.DTOs; namespace CloneDeploy_Services { public class ScriptServices { private readonly UnitOfWork _uow; public ScriptServices() { _uow = ...