text
stringlengths
13
6.01M
using System; namespace NASTYADANYA { public static class OneArgumentFactory { public static IOneArgumentCalculator CreateCalculator(string calculatorName) { switch (calculatorName) { case "Sin": return new Sin(); case "Cos": return new C...
// AUTHOR - BEN PALLADINO - ONSHORE OUTSOURCING using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace BusinessLogicLayer.LogicObjects { public class UsersBLO { //USERS public int UserID { get; set; } public string ...
using UnityEngine; using UnityEngine.Events; public class AudioEventManager : MonoBehaviour { public EventSound3D eventSound3DPrefab; public AudioClip attackAudio; public AudioClip damageAudio; public AudioClip sheepAudio; public AudioClip jumpAudio; public AudioClip playerAttackAudio; public AudioClip porta...
using NUnit.Framework; using System; using System.Linq; using static Vanara.PInvoke.NetApi32; namespace Vanara.PInvoke.Tests { [TestFixture()] public class NetApi32Tests { [Test()] public void DsGetDcNameTest() { DsGetDcName(null, null, IntPtr.Zero, null, DsGetDcNameFlags.DS_RETURN_DNS_NAME, out var dcInf...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using KartObjects; using KartObjects.Entities.Documents; namespace KartSystem { public class LoadedGoodsReport : Document { public LoadedGoodsReport() { } [DBIgnoreAutoGenerateParam] [DBIgnor...
using UnityEngine; using System.Collections; using Caapora; public class LifeBar : MonoBehaviour { private CreatureBase creature; // Use this for initialization void Start () { creature = GetComponentInParent(typeof(CreatureBase)) as CreatureBase; } // Update is called once per frame vo...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace LCode { class LCode945 { public int MinIncrementForUnique(int[] A) { int Count = 0; int[] Map = new int[40000]; for (int i = 0; i < ...
using System; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata; using Warehouse.Infrastructure.Entities; namespace Warehouse.Infrastructure.Data { public partial class WarehouseDBContext : DbContext { public WarehouseDBContext() { } public Ware...
using CS_350_Exam_3; using System; using System.Collections.Generic; using System.IO; using System.Linq; namespace CS_350_Exam_3_Final_Version { class Social_Network { static void Main(string[] args) { //This must be run everytime. Social_Networking_System ...
using System; using System.Runtime.CompilerServices; using System.Windows.Automation; namespace UIAFramework { public static class ParentBase { public static AutomationElement parents; public static ControlType controlType; public static string controlName; public static Con...
using UnityEngine; using System.Collections; public class scrolldowncloud : MonoBehaviour { public float speed; // Use this for initialization void Start () { speed = 0.2f; StartCoroutine (MoveClouds ()); } IEnumerator MoveClouds(){ while (transform.position.x>-8) { transform.Translate (-1 ...
using System; namespace TestTdd { internal class NormalData { private int _energyCostPerAdd; public int EnergyCostPerAdd { get { return _energyCostPerAdd; } } public NormalData(string filePath) { // Fake read and fill data _energyCostPerAdd = 2; ...
using DChild.Gameplay.Player; using Sirenix.OdinInspector; using UnityEngine; namespace DChild.Gameplay.Player { public class PlayerGroundDash : PlayerDash, IGroundDash { [SerializeField] [MinValue(0.1f)] [BoxGroup("Configuration")] [Tooltip("If the player flies off the ground ...
using System; namespace ConsoleApplication1 { class Exam { public string Name { get; set; } public int Estimate { get; set; } public DateTime Date { get; set; } public Exam(string name, int estimate, DateTime date) { Name = name; Es...
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; using Oracle.DataAccess.Client; using Oracle.DataAccess.Types; namespace ProjectDB2 { public partial...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using DFC.ServiceTaxonomy.GraphSync.GraphSyncers.Interfaces.Contexts; using DFC.ServiceTaxonomy.GraphSync.GraphSyncers.Interfaces.Items; using DFC.ServiceTaxonomy.GraphSync.GraphSyncers.Interfaces.Parts; using DFC.ServiceT...
using System; using System.Collections.Generic; using Shop.Models.Northwind; public interface IProductRepository : IRepository<Product> { //Add any additional repository methods other than the generic ones (GetAll, GetById, Delete, Add) List<Product> GetTopProductsByCost(int count); Tuple<Product, int, st...
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; namespace Client.Helpers.Extension { public static class Extension { public static void AddRange<T>(this ObservableCollection<T> collection, IEnumerable<T> items) { i...
using System; using Terraria; using Terraria.ID; using Terraria.ModLoader; namespace Caserraria.Items.InventoryItems { public class TrueDiscoBall : ModItem { public override void SetStaticDefaults() { DisplayName.SetDefault("True Disco Ball"); Tooltip.SetDefault("Favori...
using System.Collections.Generic; namespace Strings { public class Permutations { public string[] GetPermutationsOf(string input) { if (input.Equals(string.Empty)) return new[] {" "}; if (input.Length == 1) return new[] {input}; ...
using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Net.Http; using System.Net.Http.Json; using System.Text.Json; using System.Threading; using System.Threading.Tasks; using Interfaces; using Models; using Models.ApiModels; namespace Repositories { public cl...
using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Http; using System.Web.Http; using Abhs.Application; using Abhs.Application.Service; using System.Web.Http.Description; using System.Web.Http.Cors; using Abhs.Model.MonitorMiddle; using Abhs.Web.Filters; u...
using System.Collections; using System.Collections.Generic; using UnityEngine; namespace GameFrame { public class FSMStateId { public string m_stateName = ""; public FSMStateId(string name = "none") { m_stateName = name; } } public enum FSMRunState { ...
using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace BelajarAPI.Models { public class DivisiViewModel { public int Id { get; set; } public string DivisiName { get; set; } public int DepartmentId { get; set; } public string DepartmentNam...
using System; using System.Collections.Generic; using System.Text; namespace AutoModel { public class DoorFactory : IDoorFactory { public List<IDoor> Instance(int numberOfDoors) { var retVal = new List<IDoor>(); for(int i=0; i<numberOfDoors ; i++) ...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; using System.Windows.Forms; namespace ApplicationRunOrFormShowDialogTest { public partial class Form1 : ...
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; namespace CotizacionesApp.Models { public class Moneda { [Key] public int Id { get; set; } public string Description { get; set; } public double Precio { get; set; } public Date...
namespace Shipwreck.TypeScriptModels.Statements { // 5.4 public sealed class IfStatement : Statement, IStatementOwner { public Expression Condition { get; set; } private StatementCollection _TruePart; public bool HasTruePart => _TruePart?.Count > 0; public Sta...
using System; namespace EPI.DynamicProgramming { /// <summary> /// Given an array A of n integers, find the interval indices a and b such that the /// sum of A[i] between a and b is maximized. /// </summary> public static class MaxSubarray { public static Tuple<int, int> FindMaximumSubarray(int[] array) { ...
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; using System.Data.SqlClient; namespace WebAutomation { public partial class RenameTestCase : Form ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Pe.Stracon.SGC.Presentacion.Core.ViewModel.Base { public class CargarArchivoViewModel { public string NombreArchivo { get; set; } public byte[] Archivo { get; set; } ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Totem.Util; using Totem.VO; using iTextSharp; using iTextSharp.text; using iTextSharp.text.pdf; using System.IO; using System.Net.Mail; using System.Text.RegularExpressions; using Totem.Services; ...
using System; using FakeItEasy; using FakeItEasy.ExtensionSyntax.Full; using Microsoft.VisualStudio.TestTools.UnitTesting; using Testinvi.Helpers; using Testinvi.SetupHelpers; using Tweetinvi.Controllers.Messages; using Tweetinvi.Core.Web; using Tweetinvi.Models; using Tweetinvi.Models.DTO; using Tweetinvi.Parameters;...
using System; using System.Collections.Generic; using System.Configuration; using System.Data.SqlClient; using System.IO; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; namespace StudyManagement.Admin { public partial class AddStalff : System.Web.UI.Page { p...
using System; using System.Collections.Generic; using System.Data; using System.Data.Entity; using System.Data.Entity.Infrastructure; using System.Linq; using System.Net; using System.Net.Http; using System.Web.Http; using System.Web.Http.Description; using Microsoft.AspNet.Identity; using Microsoft.AspNet....
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Net.Sockets; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; using TcpServerLibrary; namespace ClientGui { public partial class Ranking...
using System.Collections.Generic; using Assets.Scripts.Models.ResourceObjects; namespace Assets.Scripts.Models.Constructions.Stone { public class StoneFoundation : Construction { public StoneFoundation() { ConstructionType = ConstructionType.Foundation; LocalizationNam...
using CarsIsland.MailSender.FuncApp.Core.DependencyInjection; using Microsoft.Azure.Functions.Extensions.DependencyInjection; using Microsoft.Extensions.Configuration; using System; [assembly: FunctionsStartup(typeof(CarsIsland.MailSender.FuncApp.Startup))] namespace CarsIsland.MailSender.FuncApp { internal class...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.SceneManagement; public class ScenesUI : MonoBehaviour { string NomeDaCena; public string nomeCena; public GameObject PanelOpcoes; public GameObject PanelCreditos; public GameObject PanelInicial; ...
using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Identity; using Microsoft.AspNetCore.Mvc; using ShopApp.Business.Abstract; using ShopApp.Entities; using ShopApp.WebUI.EmailServices; using ShopApp.WebUI.Models; using ShopApp.WebUI.Models.Identity; using System; usin...
using System; using Microsoft.EntityFrameworkCore; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace API.Model { [Table("Abonnement")] public class Abonnement ...
using System; using System.Collections.Generic; using System.Linq; namespace mutualFriends { public class Program { public static void Main(string[] args) { //lists to hold friends lists for users 1 and 2 List<string> user1friends = new List<string>(); List<string> user2friends = new List<string>(); ...
using Microsoft.AspNetCore.Identity; namespace ApiTemplate.Core.Entities.Users { public class AppUserClaim :IdentityUserClaim<long> { } }
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using Ofl.Reflection; using System.Text.Json; using System.Text.Json.Serialization; namespace Ofl.Atlassian.Jira.V3 { public static class PropertyPathExtensions { public static string ToParameterValue( ...
using Cafe.API.Models.Entities; using Cafe.API.Services; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Logging; using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Net.Http; using System.Text; using System.Threading.Tasks; namespace Cafe.AP...
using System; using System.Diagnostics.CodeAnalysis; using System.Text.Json; using System.Text.Json.Serialization; using Atc; using Atc.Rest; using Atc.Rest.Options; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc.Filters; using Microsoft.AspNetCore.Mvc.Formatters; // ReSharper disable SwitchStatementH...
using A4CoreBlog.Common; using A4CoreBlog.Data.Services.Contracts; using A4CoreBlog.Data.ViewModels; using Microsoft.AspNetCore.Mvc; using System.Collections.Generic; using System.Linq; using System.Threading; namespace A4CoreBlog.Web.Areas.Api.Controllers { public class BlogsController : BaseApiAreaController ...
using UnityEditor; using UnityEngine; using System.Linq; [CustomEditor(typeof(TrussShape))] [CanEditMultipleObjects] class TrussShapeEditor : ShapeEditor<TrussElement> { private int selectedNode = 0; protected virtual void OnSceneGUI() { TrussShape targetShape = (TrussShape)target; if (t...
using Windows.UI.Xaml.Navigation; using AppStudio.Common; using AppStudio.DataProviders.Flickr; using GalwayTourismGuide; using GalwayTourismGuide.Sections; using GalwayTourismGuide.ViewModels; namespace GalwayTourismGuide.Views { public sealed partial class PicturesListPage : PageBase { public ListVie...
namespace QStore.Tests.Comparers { using System.Collections.Generic; public class NullComparer<T> : Comparer<T> where T : class { public override int Compare(T x, T y) { if (x == null && y != null) { return -1; } if (...
using System.Threading; namespace Quark.Utilities { public abstract class Daemon<T> : Daemon where T : Daemon { public static T GetInstance() { return QuarkMain.GetInstance().GetDaemon<T>(); } } public abstract class Daemon { public virtual void Registe...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Nest; namespace PatientsRegistry.Search { public sealed class PatientsIndex : IPatientsIndex { private readonly IElasticClient _elasticClient; public PatientsIndex(string connectionString) ...
using System.Collections; using System.ComponentModel.Design; namespace Phenix.Services.Client.Design { /// <summary> /// 组件属性设计器 /// </summary> public class ComponentPropertyDesigner : ComponentDesigner { #region 方法 /// <summary> /// 允许设计器从通过 System.ComponentModel.TypeDescriptor 公开的属性集中更改或移除项 ...
namespace DevilDaggersCore.Spawnsets.Events { public abstract class AbstractEvent { /// <summary> /// Unlike the <see cref="Spawn">Spawn</see> class, use the total second here. Using <see cref="Spawn.Delay">Delay</see> is going to be unnecessarily complex as events will be overlapping a lot. /// </summary> p...
using System; using System.Collections.Generic; using System.Linq; using System.Text; //using System.Threading.Tasks; using ExcelDataReader; using System.IO; using System.Data; namespace Spreadsheetlitetest { class Program { /// <summary> /// /// </summary> ///...
using EBS.Domain.ValueObject; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace EBS.Domain.Entity { public class OutInOrderType:BaseEntity { public string TypeName { get; set; } /// <summary> /// 出入库...
using System.Collections; using System.Collections.Generic; using MLAPI; using UnityEngine; public class DefenderController : MonoBehaviour { public GameObject towerTemplate; public void BuildTower() { towerTemplate.SetActive(true); } }
using System; using System.Collections.Generic; using System.Linq; namespace VnStyle.Web.Infrastructure { public class JsonDataResult { public dynamic Data { get; set; } public List<ErrorMessage> Errors { get; set; } public bool Success => !Errors.Any(); public string Message {...
using mec.Database.Repositories; using mec.Enums; using mec.Model.Entities; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace mec.Database.Presentees { public class PackPresenter { /// <summary> /// 取得料箱 /// </...
using gView.Core.Framework.Exceptions; using gView.Framework.system; using gView.Server.Extensions; using gView.Server.Services.MapServer; using gView.Server.Services.Security; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.Filters; using System; using System.Threading....
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace MediaWebApp.Models { public class TagDTO { public int Id { get; set; } public string Key { get; set; } public string Value { get; set; } public int FileId { get; set; } ...
using UnityEngine; using System.Collections; public class SCR_Manager_Audio : MonoBehaviour { void Awake() { DontDestroyOnLoad (transform.gameObject); } public AudioSource MusicAudioSource; public AudioSource EventAudioSource; public AudioClip FailClip; public AudioClip SuccessClip; public AudioClip We...
using System; using System.Collections.Generic; using System.Data; using System.Data.SqlClient; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; public partial class Admin_Cheques_ViewAccounts : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) ...
using System; using System.Collections.Generic; using System.Diagnostics.Contracts; using System.IO; using System.Text; using Newtonsoft.Json; using Newtonsoft.Json.Linq; using ScoutingModels.Test; namespace ScoutingModels.Scrubber { public static class StreamExtensions { /// <summary> /// Loa...
using Microsoft.Extensions.Logging; using System; using System.Collections.Generic; using System.Diagnostics; using System.Runtime.InteropServices; //Clone Form https://github.com/Deathmax/dxgw2/blob/master/Trainer_Rewrite/SigScan.cs //Modified by KedamaOvO // // sigScan C# Implementation - Written by atom0s [aka Wi...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.Events; public class EventManager : MonoBehaviour { private Dictionary<string, UnityEvent> eventDictionary; private static EventManager eventManager; private static EventManager Instance { get ...
using Lunchify.Data.Models; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Lunchify.Data.Services { public interface IEntityData<T> { IEnumerable<T> GetAll(); T Get(int id); void Create(T obj); v...
using System; using System.Linq; using Fingo.Auth.DbAccess.Models; using Fingo.Auth.DbAccess.Models.Statuses; using Fingo.Auth.DbAccess.Repository.Interfaces; using Fingo.Auth.Domain.AuditLogs.Implementation; using Moq; using Xunit; namespace Fingo.Auth.Domain.AuditLogs.Tests.Implementation { public class GetAllA...
using System.Collections.Generic; using ServiceDeskSVC.Domain.Entities.ViewModels.HelpDesk.Tasks; namespace ServiceDeskSVC.Managers { public interface IHelpDeskTaskStatusManager { List<HelpDesk_TaskStatus_vm> GetAllTaskStatuses(); bool DeleteTaskStatusById(int id); int CreateTaskStat...
using Newtonsoft.Json.Linq; using System; using System.Collections; using System.Collections.Generic; using UnityEngine; public class Talar : MonoBehaviour { private bool talaComenzada; private int progreso; private int objetivo; private bool talaPosible; private bool arbolDetec; private Gam...
using Confluent.Kafka; using System; using System.Collections.Generic; using System.Threading; namespace EpdSim { class KafkaBroker { // Kafka Consumer will stop when Global Cancellation Token is cancelled public void RunConsumer() { var conf = new ConsumerConfig ...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; using System.Reflection; using IRAP.Global; using IRAP.Entity.SSO; namespace IRAP.Client.User { public partial class frmLogin : IRAP.C...
namespace ApartmentApps.Api { }
using System; using System.Text; using System.Linq; namespace Email_Validator { class Program { static void Main(string[] args) { var email = new StringBuilder(Console.ReadLine()); var command = Console.ReadLine(); while (command != "Complete") { ...
using System; using System.Collections.Generic; using System.Data; using System.Data.Entity; using System.Linq; using System.Net; using System.Web; using System.Web.Mvc; using JSLProject.Models; namespace JSLProject.Controllers { public class MotoristasController : Controller { private B...
using Microsoft.AspNet.SignalR; using Microsoft.Owin.Security.OAuth; using Owin; using System.Security.Claims; namespace AngularJSAuthentication.API { public partial class Startup { public void ConfigureSignalR(IAppBuilder app) { app.Map("/signalr", map => { ...
using System; using System.IO; using System.Text; using System.Collections.Generic; namespace balkezesek { class Szemely { private string nev; private DateTime elsopalya; private DateTime utolso; private int suly; private int magassag; public Szemely(string _ne...
/* // Definition for a Node. public class Node { public int val; public Node next; public Node random; public Node(){} public Node(int _val,Node _next,Node _random) { val = _val; next = _next; random = _random; } */ public class Solution { public Node CopyRandomList(Node...
using System; using System.Collections.Generic; using System.Data; using System.Data.SqlClient; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace Parking_Lot_Project { public class Bike: Transport { public static volatile Bike in...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.SceneManagement; [RequireComponent(typeof(Camera))] public class MiniMapCam : MonoBehaviour { public Transform player; new Camera camera; //TO DO: Expose this to the options menu so the player has control ove...
using System; namespace Assignemnt_1 { class Program { static void Main(string[] args) { int x = 3; switch (x) { case 1: Console.WriteLine("1"); break; case 2: Console.Wr...
using System.Collections.Generic; namespace Taggart.Data.Models { public class Library { public Library() { Tracks = new List<Track>(); Playlists = new List<Playlist>(); } public int LibraryId { get; set; } public string Name { get; set; } ...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using static SSISTeam9.Controllers.DisbursementController; namespace SSISTeam9.Models { public class DisburmentDTO { public long ListId { get; set; } public string CollectionPoint { get; set; } public ...
//----------------------------------------------------------------------- // <copyright file="Person.cs" company="FH WN"> // Copyright (c) Thomas Horvath. All rights reserved. // </copyright> // <summary>This file contains the Menu logic.</summary> //----------------------------------------------------------------...
/* * @Author: Atilla Tanrikulu * @Date: 2018-04-16 10:10:45 * @Last Modified by: Atilla Tanrikulu * @Last Modified time: 2018-04-16 10:10:45 */ namespace SSO.UI { public class LoggedOutViewModel { public string PostLogoutRedirectUri { get; set; } public string ClientName { get; set;...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; namespace com.zhifez.seagj { public class UI_Main_Services : Base { public Text[] labels; //-------------------------------------------------- // private //------------------------------------------...
using Common.Composite; namespace BattleEngine.Engine { public class BattleModule : Component { public BattleEngine engine { get { return Entity as BattleEngine; } } public virtual void preTick(BattleContext context, int tick, int deltaTick) { } ...
using Windows.UI.Xaml; namespace UnoCrossPlatform.Wasm { public class Program { /// <summary> /// This is nullable but perhaps this should be initialized in the constructor? /// </summary> #pragma warning disable IDE0052 private static App? _app; #pragma warning restore IDE0052...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using Saato.Models; namespace Saato.Repository { public class UserRepository : BaseRepository { public UserProfile GetUser(int id) { var test = Db.Model.ToList(); var lol = Db.Set<Car>(...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using System.Web.Security; namespace MooversCRM.Controllers.BaseControllers { #if RELEASE [RequireHttps] #endif [Authorize] public abstract class SecureBaseController : BaseController { #...
using gView.Framework.Geometry; using gView.Interoperability.GeoServices.Rest.Reflection; using Newtonsoft.Json; namespace gView.Interoperability.GeoServices.Rest.Json { [ServiceMethod("Query", "query")] public class JsonLayer { public JsonLayer() { this.SubLayers = new JsonLay...
using System.Collections; using System.Collections.Generic; using UnityEngine; using TMPro; public class Timer : MonoBehaviour { private TMP_Text timer; void Start () { timer = GetComponent<TMP_Text>(); } void Update () { float elapsed = GameManager.Instance.LevelManager.Elapsed; timer.text = elapsed.To...
using System; using System.Collections.Generic; using System.Linq; using System.Text; /// <summary> /// 561. Array Partition 1 /// </summary> namespace ConsoleApp4 { class ArrayPartitionI { public static int ArrayPairSum(int[] nums) { int sum = 0; Array.Sort(nums); ...
using System.Windows; namespace SC.WPFSamples { /// <summary> /// Interaction logic for StackPanelWindow.xaml /// 栈面板,可以将元素排列成一行或者一列。其特点是:每个元素各占一行或者一列。 /// Orientation属性指定排列方式:Vertical(垂直)【默认】、Horizontal(水平)。 /// 默认情况下,水平排列时,每个元素都与面板一样高;垂直排列时,每个元素都与面板一样宽。 /// </summary> public partial clas...
using System; namespace OperatorOverloading { public class Demo1 { public static void Run() { int a = 10; int b = 20; int c = a + b; Console.WriteLine("{0} + {1} = {2}", a, b, c); string s1 = "Hallo "; string s2 = "Mahirko...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using BudgetApp.Domain.Concrete; namespace BudgetApp.Domain.DAL { public class UnitofWork : IDisposable { private LedgerDBContext context = new LedgerDBContext(); private EFCreditEntries creditRepo; p...
using gView.Framework.Data; using gView.Framework.FDB; using gView.Framework.Geometry; using System; using System.Data; using System.Threading.Tasks; using System.Windows.Forms; namespace gView.Framework.UI.Dialogs { public partial class FormNewFeatureclass : Form { //private List<IField> _fields = new...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using VesApp.ViewModels; using Xamarin.Forms; using Xamarin.Forms.Xaml; namespace VesApp.Views { [XamlCompilation(XamlCompilationOptions.Compile)] public partial class ProjectPage : ContentPage { p...
using System.Collections; using System.Collections.Generic; using UnityEngine; using System; [System.Serializable] public static class SoundMatrixVO { // private static List<SoundVO> pool; public static SoundVO GetSoundById(int id) { foreach(SoundVO s in PoolSounds()) { if (s.uid == id) return s; } ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace _7DRL_2021.Events { class EventCurio : Event { public Curio Curio; public EventCurio(Curio curio) { Curio = curio; } } class Event...