text
stringlengths
13
6.01M
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 SaveButton : MonoBehaviour { public InputField ...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using BusinessLogic.Common; using DataAccess; namespace Mediathek_Webfrontend { /// <summary> /// Media type selection page /// </summary> public partial class Med...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Benchmark.Benchmarks { using System.Collections.ObjectModel; using BenchmarkDotNet.Attributes; /* Main gain: memory via avoiding dictionary resizing * Method ...
/******************************************************************** * FulcrumWeb RAD Framework - Fulcrum of your business * * Copyright (c) 2002-2010 FulcrumWeb, ALL RIGHTS RESERVED * * * * THE SOURCE CODE CONTAINED WITHIN THI...
using System; namespace Exercício { class Program { static void Main(string[] args) { int continuar = 1; Console.WriteLine("Seja bem vindo à lista de exercícios de classes e atributos. A seguir será fornecido o tópico dos 6 exercícios onde você poderá escolher um deles...
using System; using System.Collections.Generic; using System.Linq; using System.Net.Http; using System.Net.Http.Headers; using System.Text; using System.Threading.Tasks; using System.Runtime.Serialization; using System.Runtime.Serialization.Json; using Newtonsoft.Json; using System.Windows.Forms; using System.IO; usin...
using System; using System.IO; using System.Reflection; using System.Text; using TypeLite; using TypeLite.Net4; using TypeLite.TsModels; namespace TypeScriptComandline { class Program { private static string applicationDirectory; static int Main(string[] args) { var execut...
namespace E06_FirstLargerThanNeighbours { using System; using System.Linq; public class FirstLargerThanNeighbours { public static void Main(string[] args) { // Write a method that returns the index of the first // element in array that is larger than its neighb...
using Ambassador.Services; using Ambassador.Services.Interfaces; using Microsoft.AspNetCore.Mvc; using System.Security.Claims; using System.Threading.Tasks; namespace Ambassador.ViewComponents { public class AnnouncementsListViewComponent : ViewComponent { private readonly IAnnouncementManager announc...
namespace AddisonWesley.Michaelis.EssentialCSharp.Chapter02.Listing02_12 { class Triangle { static void Main() { System.Console.Write(@"begin /\ / \ / \ / \ /________\ end"); ...
namespace E01_QualityMethods { using System; using System.Globalization; public class Student { private string firstName; private string lastName; private string dateOfBirth; private string location; private string profession; public Stude...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Project2_crossroad { class Tablero { int tamanoX; int tamanoY; public List<Pieza> piezas { get; set; } public List<Carro> carros { get; set...
using Domain.Interfaces.Generics; using Entities.Entities; using Entities.Entities.Enums; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Domain.Interfaces.InterfaceCompraUsuario { public interface ICompraUsuario : IGeneric<CompraUsuari...
namespace Reverse_String { using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; public class ReverseString { public static void Main(string[] args) { //var for input string; var str = Con...
using System.Text; using System; using System.Collections.Generic; using Newtonsoft.Json.Converters; using Newtonsoft.Json; using System.Net.Http; using System.Drawing; using System.Collections.ObjectModel; using System.Xml; using System.ComponentModel; using System.Reflection; namespace LinnworksAPI { ...
using Toppler.Extensions; using Xunit; namespace Monitoring.Api.Test.Extensions { public class StringExtensionsTest { #region Strings [Fact] public void AlphaNumericString_WhenSimpleString_ShouldReturnTrue() { var mykey = "Adsdflk2314dfsf"; Assert.True(m...
#region 版本说明 /***************************************************************************** * * 项 目 : * 作 者 : 李金坪 * 创建时间 : 2015/2/11 13:20:02 * * Copyright (C) 2008 - 鹏业软件公司 * *****************************************************************************/ #endregion using System; using System.Collect...
 using System.Windows; namespace Memorama_Client.JuegoBase.ViewModels { /// <summary> /// Esta clase contiene toda la infomracion necesario en el memorama, como los intentos y los puntos por match /// </summary> public class GameInfoViewModel : ObservableObject { private const int _maxAt...
// 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...
using CurrencyDominos.Model; using Microsoft.AspNetCore.Mvc.Formatters.Internal; using RestSharp; using System; using System.Collections.Generic; using System.Globalization; using System.IO; using System.Linq; using System.Threading.Tasks; using System.Xml; using System.Xml.Linq; using System.Xml.Serialization; names...
using SimpleShooter.Core; namespace SimpleShooter.LevelLoaders { interface IObjectInitializer { Level CreateLevel(); } }
namespace SearchScraper.Entitities { public class SearchEngineProviderSetting { public string BaseUrl { get; set; } public string SearchStringParameter { get; set; } public string NumberOfResultsParameter { get; set; } } }
using UnityEngine; using System.Collections; public class BirdSpriteAnimator : MonoBehaviour { public int frame = 1; Animator anim; public Rigidbody2D body; private bool animating = true; private const int MAX_FRAME = 56; enum birdOrientation { BIRD_UP = 0, BIRD_MID_UP =...
using System; using System.Data; using PDV.DAO.DB.Controller; using PDV.DAO.Entidades; namespace PDV.CONTROLER.Funcoes { public class FuncoesSangriaCaixa { public static bool Salvar(SangriaCaixa Sangria) { using (SQLQuery oSQL = new SQLQuery()) { oSQL.SQ...
using System; using Assets.Scripts.Configs; using Assets.Scripts.Selection; using Assets.Scripts.UI; using Assets.Scripts.Units; using UnityEngine; namespace Assets.Scripts.Buildings { public class LightTreeController : MonoBehaviour, IInteractableObject, IDestroyable, ISelectable { [SerializeField] ...
using System; using System.Collections.Generic; using Simpler.Core; using Simpler.Core.Tasks; using System.Linq; namespace Simpler { [InjectTasks] public abstract class Task { public static T New<T>() { var invalidTasks = new[] {"InjectTasks", "DisposeTasks"}; var t...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace API_Layer.Samples { public class SampleContinent { public string ID { get; set; } public string Name { get; set; } public int Population { get; set; } public List<string> ...
using System.Text; using System; using System.Collections.Generic; using Newtonsoft.Json.Converters; using Newtonsoft.Json; using System.Net.Http; using System.Drawing; using System.Collections.ObjectModel; using System.Xml; using System.ComponentModel; using System.Reflection; namespace LinnworksAPI { public class ...
using System.Runtime.InteropServices; namespace Calcifer.Engine { [StructLayout(LayoutKind.Sequential)] // ReSharper disable InconsistentNaming public struct Vector3i { public Vector3i(ushort x, ushort y, ushort z) { X = x; Y = y; Z = z; } ...
namespace Contoso.Parameters.Expressions { public class TotalSecondsOperatorParameters : IExpressionParameter { public TotalSecondsOperatorParameters() { } public TotalSecondsOperatorParameters(IExpressionParameter operand) { Operand = operand; } public IExpressionParameter Operand { get; se...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Senai.HRoads.WebApi.Domains; namespace Senai.HRoads.WebApi.Interfaces { /// <summary> /// Interface pelo PersonagenRepository /// </summary> interface IPersonagenRepository { ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using BPiaoBao.Common.Enums; namespace BPiaoBao.DomesticTicket.Domain.Services.Insurance { public interface _IInsurancePlatform { /// <summary> /// 投保 /// </summary> /// <param name="serialNu...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; namespace YoutubePlaylists.WebForms.Controls { public class RatingEventArgs : EventArgs { public RatingEventArgs(object dataID, int ratingValue) { ...
using UnityEngine; using System.Collections; using System; using Mono; namespace Assets.scripts { [RequireComponent(typeof(ElPresidente))] public class FireBoltInitializer : MonoBehaviour { private static readonly char encodingDelimiter = ':'; // Use this for initialization void St...
using RollingStones; using NUnit.Framework; using NUnit.Framework.Constraints; using System; namespace TestExceptions { [TestFixture(1)] [TestFixture(2)] [TestFixture(3)] [TestFixture(4)] public class Tests { int s; public Tests(int q) { s = q; } ...
namespace Enrollment.XPlatform.Constants { public struct FontAwesomeFontFamily { public const string AndroidSolid = "FontAwesome5Solid900.otf#Regular"; public const string iOSSolid = "Font Awesome 5 Free Solid"; } }
using System; using Ads.Promo.Data; using UnityEngine; namespace Ads.Promo { public static class CrossPromoExtensions { public static Vector2Int GetResolution(this VideoSize size) { switch (size) { case VideoSize.Video480: default: ...
using CORE2; using Models.Accounts; using Newtonsoft.Json; using System.Collections.Generic; using System.Linq; namespace Accounts.Service.Contract.DTOs { public class ListGroupSmallDetailDTO : DTO { [JsonProperty(PropertyName = "count")] public int Count { get; set; } [JsonProperty...
using System; using System.Collections.Generic; using System.Text; namespace Viselica { class SplitAndEncodeWord { public void SplitAndEncodeSomeWord() { for (int i = 0; i<(AlllData.Words[AlllData.word]).Length - 1; i++) { AlllD...
using System.Collections; using System.Collections.Generic; using UnityEngine; public interface ICapsuleLine { void GetLineAsPointsWithRadius(out Vector3 startPointPosition, out Vector3 endPointPosition, out float radius); void GetLineAsPoints(out Vector3 startPointPosition, out Vector3 endPointPosition); ...
using NTShop.Model.Models; using NTShop.Web.Models; using System; namespace NTShop.Web.Infrastructure.Extentions { public static class EntityExtentions { public static void UpdatePostCategory(this PostCategory postCategory, PostCategoryViewModel postCategoryVm) { postCategory.ID = ...
 using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class RouletteScript : MonoBehaviour { private ScrollRoulette sr1, sr2, sr3; public GameObject[] Slots; public GameObject[] Panels; public GameObject CenterPanel, WinBackgroundPanel; public...
// Copyright 2017-2019 Elringus (Artyom Sovetnikov). All Rights Reserved. using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; using UnityCommon; using UnityEngine; using UnityEngine.Audio; namespace Naninovel { /// <summary> /// Manages the audio: SFX, B...
using Services.DTO; using Services.Interfaces; using Services.Log; using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Text; using System.Threading.Tasks; using UGCS.Sdk.Protocol.Encoding; using UGCS.Sdk.Protocol; using Services.Helpers; namespace Services.SdkS...
using City_Center.iOS.Controls; using Xamarin.Forms; using Xamarin.Forms.Platform.iOS; namespace City_Center.iOS.Controls { public class TLScrollViewRenderer : Xamarin.Forms.Platform.iOS.ScrollViewRenderer { protected override void OnElementChanged(VisualElementChangedEventArgs e) { ...
using System; using System.ComponentModel.DataAnnotations; namespace HobbyHub.Models { public class Login { [Required] [MinLength(3, ErrorMessage = "Username must be more than 3 characters")] [MaxLength(15,ErrorMessage = "Username must be less than 15 characters")] public string...
namespace Enrollment.Parameters.Expressions { public class AverageOperatorParameters : SelectorMethodOperatorParametersBase { public AverageOperatorParameters() { } public AverageOperatorParameters(IExpressionParameter sourceOperand, IExpressionParameter selectorBody = null, st...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class ExperimentManager : MonoBehaviour { public int maxTrialNum; public float signalRatio, noisePlayLength, signalWaitTime, feedbackTime; // Above are config variables public GameObject dataLogg...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class ParticleRobotSparks : MonoBehaviour { // Configurable Parameters [SerializeField] float period = 1.0f; // Cached references ParticleSystem robotSparks = null; // State Variable float nextActionTime = 0.0f; private vo...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ConfigDemo { //配置模型类 internal class DbSettings { public string DbType { get; set; } public string ConnectionString { get; set; } } }
using System; using System.Globalization; using System.Linq; using System.Security.Claims; using System.Threading.Tasks; using System.Web; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Identity; using Microsoft.AspNetCore.Authorization; using Microsoft.EntityFrameworkCore; using Practice1.Models; // SignI...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using TicketEngineClassLibrary; using TicketSystem.DatabaseRepository; namespace RestApiOne.Controllers { [Produces("application/json")] [Route("api...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CsharpTrening.Models { public class Result<T> { public T Item { get; set; } public bool IsValid { get; set; } public string Error { get; set; } } pu...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; namespace Veterinary.Controllers { public class CareController : BaseController { // GET: Care public ActionResult Index() { return View(); } } }
using RestSharp; using System; using System.Collections.Generic; using TicketSystem.RestApiClient.Model; using TicketEngineClassLibrary; namespace TicketSystem.RestApiClient { public class TicketApi : ITicketApi { public List<Ticket> TicketGet() { var client = new RestClient("http...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Configuration; using System.Security; namespace smtpcmd { class smtparg { static byte[] entropy = Encoding.Unicode.GetBytes("DMCS Security are a bunch of dipshits that don't know their asses from a hole...
using Android.Content; using Android.Net; using Xamarin.Forms; using App1.Droid.Services; using App1.Services; [assembly: Dependency(typeof(NetworkConnection))] namespace App1.Droid.Services { public class NetworkConnection : INetworkConnection { public bool IsConnected { get ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Android.App; using Android.Content; using Android.OS; using Android.Runtime; using Android.Views; using Android.Widget; namespace QOMS.Class { /// <summary> /// 自定义退出程序类 /// </summary> public class ExitApplica...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using UnitedPigeonAirlines.EF.Repositories; using UnitedPigeonAirlines.WebUI.Models; using UnitedPigeonAirlines.Data.Entities.PigeonAggregate; using UnitedPigeonAirlines.Data.Repositories; namespace UnitedPigeon...
/** * Created DD/MM/YYYY * By: Sharek Khan * Last modified 03/12/2020 * By: Sharek Khan * * Contributors: Sharek Khan */ using UnityEngine; /* * AmmoCrate handles the logic for the AmmoCrate GameObject * Code based on Zenva Studios -COMPLETE COURSE Create a Unity FPS Game in 3 hours - https://www.youtube....
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using static LeanBatchLauncher.Launcher.Program; using static CommandLineEncoder.Utils; using System.IO; using System.Diagnostics; namespace LeanBatchLauncher.Launcher.Tasks { internal class Instanc...
namespace Triton.Game.Mapping { using ns26; using System; using Triton.Game; using Triton.Game.Mono; [Attribute38("DeckTrayHeroSkinContent")] public class DeckTrayHeroSkinContent : DeckTrayContent { public DeckTrayHeroSkinContent(IntPtr address) : this(address, "DeckTrayHeroSkinCon...
using CRM.Model; using CRM.Service; using CRM.Service.Services.Interfaces; using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; namespace CRM.UI.Controllers { [Authorize] public class CustomerController : Controller { private readonly ICustomer...
using UnityEngine; public class CameraController : MonoBehaviour { #region Fields [SerializeField] private GameObject _trackingObject; private float xOffset; private float zOffset; #endregion #region UnityMethods private void Start() { xOffset = _trackingObject.transform...
using System; namespace Dictionary { public class ServiceInformation { public static ServiceInformation Instance = new ServiceInformation(); public string _langOne = "Русский"; public string _langTwo = "Английский"; public string _myKey = "dict.1.1.20170621T113537Z.381f95b942e985ea.8d5e1e70f78e526a6b43101b51...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace VirtualPet { class TeacupPig { private int feedMe; private int playTime; private int napTime; private int waterMe; private string goOutside; ...
using ScribblersSharp; using System; using TMPro; using UnityEngine; using UnityEngine.Events; using UnityEngine.UI; using UnityTranslator.Objects; /// <summary> /// Scribble.rs Pad controllers namespace /// </summary> namespace ScribblersPad.Controllers { /// <summary> /// A class that describes a time view ...
namespace BoatRegistration.Process { interface IBoatProcess { int RegisterBoat(string boatname, int hourlyCharges); string RentBoat(int boatNumber, string customerName); } }
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Model; namespace Dao.Mercadeo { public class EstadoProductoDao : GenericDao<InvEstadoProducto>, IEstadoProductoDao { } }
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CFDI.Model { public class ProductosModel { public int Id { get; set; } public string Codigo { get; set; } public int UnidadId { get; set; } public strin...
 using Models; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace SiteSubscription.Data { public class SiteManager { public static int counter = 0; public static List<Site> GetSiteListData() { return new List<Site> ...
using Newtonsoft.Json.Linq; namespace OscGuiControl { public interface IJsonInterface { JObject ToJSON(); bool LoadJSON(JObject obj); bool HasChanged(); } }
using System; using System.Collections.Generic; using System.Text; using System; using System.IO; using ExcelLibrary.SpreadSheet; namespace test_xls { class Program { public static void Main(string[] args) { XlsTester xls_tester = new XlsTester(@"E:\dev\test_xls\test.xls"); ...
/* ********************************************** * 版 权:亿水泰科(EWater) * 创建人:zhujun * 日 期:2019/5/20 16:48:11 * 描 述:RiverService * *********************************************/ using EWF.Entity; using EWF.IRepository; using EWF.IServices; using System; using System.Collections; using System.Collections.Generic; ...
// -------------------------------------------------------------------------------------------------------------- // <copyright file="ITinyResult.cs" company="Tiny开源团队"> // Copyright (c) 2017-2018 Tiny. All rights reserved. // </copyright> // <site>http://www.lxking.cn</site> // <last-editor>ArcherTrister</la...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Runtime.InteropServices; using System.Threading.Tasks; using Discord; using Discord.Audio; using Discord.WebSocket; using XPCFaucetBot.Events.Messages; using XPCFaucetBot.Events.VoiceChat; using XPCFaucetBot.Utils; namesp...
using System; using Rent_It.Models; using System.Data.Entity; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using Rent_It.ViewModels; namespace Rent_It.Controllers { public class ItemController : Controller { private ApplicationDbContext _context; ...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Focus { //Description of focus public string description; //Chance to pass public float passChance; //Duration public float duration; //ID public int focusID; }
#region License /*** * Copyright © 2018-2025, 张强 (943620963@qq.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/licenses/LICENSE-2.0 * * Unless r...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using ERP_MODEL; using ERP_DAL; namespace ERP_BLL { public class CheckBll { CheckDal dal = new CheckDal(); //增加 public int Add(CheckModel check) { ret...
namespace NameSearch.Models.Domain.Api.Request.Interfaces { /// <summary> /// A Person Search Model /// </summary> public interface IPerson { /// <summary> /// Gets or sets the name. /// </summary> /// <value> /// The name. /// </value> string...
using System; using System.ComponentModel.DataAnnotations; namespace SalaryUpdate.Models { public class Employer { [Required] public int EmployerId { get; set; } public string Name { get; set; } public DateTime EffectiveDate { get; set; } public DateTime EndDate { get; ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace org.sola.services.boundary.wsclients { public interface IFilestreamingService { void SetCredentials(string userName, string password); bool CheckConnection(); string Upload(byte[] fileConten...
using _13NET.Azure.Lojinha.Core.Models; using _13NET.Azure.Lojinha.Infrastructure.Redis; using _13NET.Azure.Lojinha.Infrastructure.Storage; using Newtonsoft.Json; using System.Collections.Generic; using System.Threading.Tasks; namespace _13NET.Azure.Lojinha.Core.Services { public class ProdutoServices : IProdutoS...
namespace CMS_Database.Entities { using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Data.Entity.Spatial; [Table("NhaCungCap")] public partial class NhaCungCap { [System.Di...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace BPiaoBao.AppServices.DataContracts.DomesticTicket { public class ResponseInsuranceUse { /// <summary> /// 日期 /// </summary> public string DateTime { get; set; } /// <summary>...
using System; using System.IO.Compression; using System.Net; using System.Net.Sockets; using System.Text; using System.Text.Json; using NetComModels; using NetComModels.Messages; using Serilog; namespace NetCom { public class UdpMessage : IUdpMessage { private TwoEndPoints _twoEndPoints; ...
/* * Copyright (c) The Game Learner * https://connect.unity.com/u/rishabh-jain-1-1-1 * https://www.linkedin.com/in/rishabh-jain-266081b7/ * * created on - #CREATIONDATE# */ using System; using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UIElements; [RequireCompon...
using MrHai.Application; using MrHai.Application.Models.ApiModels; using MrHai.Core.Models; using System; using System.Collections.Generic; using System.ComponentModel.Composition; using System.Linq; using System.Net; using System.Net.Http; using System.Web.Http; using TwinkleStar.Common.Others; namespace MrHai.Api.C...
namespace MySOD.Core.Persistance { using System.Data.Entity; public class SODContextInitializer<TContext> : MigrateDatabaseToLatestVersion<TContext, Migrations.Configuration<TContext>> where TContext : SODContext { } }
using System; using Controle.Domain.Entities.Interfaces; namespace Controle.Domain.Entities { public class Saida : IAggregateRoot<int> { public virtual int Codigo { get; set; } public virtual DateTime DataVencimento { get; set; } public virtual DateTime DataPagamento { get; set; } ...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Player : MonoBehaviour { [Header("Stats")] public float moveSpeed; public int curHp; public int maxHp; public int damage; public List<string> inventory = new List<string>(); [Header("In...
using UnityEngine; using System.Collections; using System.Collections.Generic; using System.IO; public class DirectoryHolder { private List <DirectoryHolder> _listOfDirectoryHolders = new List<DirectoryHolder> (); private List <FileInfo> _listOfFiles = new List<FileInfo> (); private string _parent; private GameOb...
using yamoc.server; namespace yamoc.stringEvaluator { public abstract class OperatorEvaluator : IStringEvaluator { public IStringEvaluator Left { get; set; } public IStringEvaluator Right { get; set; } abstract public string evoluate(RequestMatchingContext context); abstract publi...
using System; namespace Adapter { class Program { static void Main(string[] args) { int resultado = 0; ITarget calculadora = new Calculadora(); resultado = calculadora.Sumar(3, 90); Console.WriteLine($"El resultado de la suma es {resultado}");...
// // Copyright (c) .NET Foundation. 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 DotNetNuke.Entities.Profile; using DotNetNuke.Entities.Users.Social; using DotNetNuke.Security.Role...
namespace SGDE.API.Controllers { #region Using using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Authorization; using Domain.Supervisor; using Microsoft.Extensions.Logging; using System; using Domain.ViewModels; using System.Linq; #endregion [Authorize] [Route("a...
using System; using System.Net; using System.Threading.Tasks; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Http; using Microsoft.Extensions.Options; namespace MvcMovie { public class RequestSetOptionsMiddleware { private readonly Reques...
// Accord Neural Net 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 UnityEngine; using System.Collections; using UnityEngine.UI; public class MenuShareNavigation : MonoBehaviour { public AudioClip share; Image myItem; Image otherItem; MenuNavigation menu; MenuNavigation otherMenu; AudioSource myAudio; private int id; void setId(int myId) { id = myId; } // Use ...