text
stringlengths
13
6.01M
using System; using System.Collections.Generic; using System.Text; using System.Text.RegularExpressions; namespace Library.Helper { public class Funcs { public dynamic ParseValue(string val) { string stringval; int intval; float floatval; if (flo...
using bringpro.Data; using bringpro.Web.Domain; using bringpro.Web.Enums; using bringpro.Web.Models.Requests; using bringpro.Web.Models.Responses; using System; using System.Collections.Generic; using System.Data; using System.Data.SqlClient; using System.Linq; using System.Web; namespace bringpro.Web.Services { p...
/* * Experimental script. This scripts creates a Generate Cinemachine Skeleton Track button in the Experimental scene. */ using UnityEngine; using UnityEditor; namespace Riggingtools.Skeletons { [CustomEditor(typeof(BRRigMoveManager))] public class SpawnSkeletonTrack : Editor { public overr...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace _14.Dictionary { class Dictionary { static void Main(string[] args) { /*A dictionary is stored as a sequence of text lines containing words and their explanations. Write a p...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; using UnityEngine.Tilemaps; using UnityEngine.SceneManagement; public class GameManager : MonoBehaviour { private Tilemap map; private GameObject pacStudent; private GameUIManager manager; private Audio...
using System; using System.Collections.Generic; using System.Threading; using System.Drawing; using System.Drawing.Imaging; namespace Tivo.Hme.Samples { class Pictures : HmeApplicationHandler { private const int ShowTime = 4000; private static readonly TimeSpan FadeTime = TimeSpan.Fr...
using System; using System.Linq; using Shouldly; using Xunit; using Xunit.Abstractions; namespace aoc2019.Test { public class Test17 { private readonly ITestOutputHelper _testOutputHelper; public Test17(ITestOutputHelper testOutputHelper) { _testOutputHelper = testOutputHel...
using System.Collections; using System.Collections.Generic; using UnityEngine; public abstract class Ability : BasicObjectInfo { public float manaCost; public float castRange; public LayerMask collisionMask; public abstract void Cast(Vector3 pos, Transform caster); protected bool TryHit(Collide...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace test4._19andtest4._20 { class Program { static void Main(string[] args) { ///////////////////// 试题4.19 ///////////////////// /// ...
namespace E06_Four_DigitNumber { using System; using System.Linq; public class Four_DigitNumber { public static void Main(string[] args) { // Write a program that takes as input a four-digit number in format // abcd (e.g. 2011) and performs the following: ...
using Microsoft.Azure.KeyVault; using Microsoft.Azure.KeyVault.WebKey; using Microsoft.IdentityModel.Clients.ActiveDirectory; using System; using System.Collections.Generic; using System.Configuration; using System.Linq; using System.Security.Cryptography.X509Certificates; using System.Text; using System.Threading.Tas...
using System; using System.Collections.Generic; using System.Text; namespace ImmedisHCM.Services.Core { public interface ISeederBase { void Seed(); } }
using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; namespace AtarashiiMono.Framework.XNA { public interface IAmDrawable // yes I am { void Draw(GameTime gameTime, AmSpriteBatch graphics, int x = 0, int y = 0); } }
using HangoutsDbLibrary.Model; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace WebAPI.Services { public interface IServiceActivity { void AddActivity(Activity activity); List<Activity> GetAllActivities(); Activity GetActivity...
namespace Kers.Models.Repositories { public static class VehicleType{ public static int Personal = 1; public static int County = 2; } }
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace DataCenter.Data { public class _FuturesData { public double Price { get; set; } public _FuturesData() { Price = double.NaN; ...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using Queue.Models.Interface; using Queue.Models.Repository; using Queue.Models; using Microsoft.AspNet.Identity; using Microsoft.AspNet.Identity.Owin; using Microsoft.Owin.Security; using System.Data.SqlClient;...
namespace OmniSharp.Extensions.LanguageServer.Protocol { public static class ClientNames { public const string RegisterCapability = "client/registerCapability"; public const string UnregisterCapability = "client/unregisterCapability"; } }
namespace AjLisp { using System; using System.Collections.Generic; using System.Text; public static class Operations { public static new bool Equals(object obj1, object obj2) { if (obj1 == null) return obj2 == null; return obj1....
using UnityEngine; using UnityEngine.UI; using System.Collections; public class Webcam : MonoBehaviour{ public WebCamTexture mCamera = null; public GameObject pCameraStream; public int cwCamera = 0; private float maxZoom = 10.0f; private float minX; private float minY; private float maxX; private float ma...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Model { public class Step { public bool Prepared { get; private set; } public bool Assigned { get; set; } public StepModel Model { get; } public Dish Dish { get; } public int Ti...
using UnityEngine; using System.Collections; public class Player : MonoBehaviour { private int health; // Use this for initialization void Start () { health = 100; } // Update is called once per frame void Update () { } public void takeDamage() { health -= 5; } public...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CoreComponents.Text.Extensions { public static class StringBuilderExtensions { public static string ToStringClear(this StringBuilder TheSB) { try ...
using System.Linq; using Microsoft.EntityFrameworkCore; using ServiceDesk.Api.Systems.Common.Implemetations.Handler; using ServiceDesk.Infrastructure; namespace ServiceDesk.Api.Systems.DirectorySystem.Handlers.Software { public class SoftwareHandler : GenericHandler<Core.Entities.DirectorySystem.Software>, ISoftw...
using System; using System.Reflection; using UnityEditor; using UnityEngine; namespace Kogane.Internal { internal sealed class TransformRotationGUI { //================================================================================ // 変数(readonly) //===========================================================...
namespace Frontend.Core.Model.Interfaces { public interface IMod { /// <summary> /// Gets or sets the name. /// </summary> /// <value> /// The name. /// </value> string Name { get; set; } /// <summary> /// Gets or...
using Grpc.Core; using Grpc.Core.Interceptors; using Interceptortest; using System; using System.Threading.Tasks; namespace Grpc1x { class Program { class InterceptorTestServiceImpl : InterceptorTestService.InterceptorTestServiceBase { public override Task<Response> UnaryMethod(Req...
// // 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.Collections.Generic; namespace DotNetNuke.Tests.Integration.Executers.Dto { public class RolePermission { public int RoleId ...
using SharpML.Recurrent.Models; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace SharpML.Recurrent.Networks { public class DropoutLayer { private double _dropout; private Random _rng; private int _inputSize; private in...
#region Copyright Syncfusion Inc. 2001-2015. // Copyright Syncfusion Inc. 2001-2015. All rights reserved. // Use of this code is subject to the terms of our license. // A copy of the current license can be obtained at any time by e-mailing // licensing@syncfusion.com. Any infringement will be prosecuted under // a...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace suc.calc.distance { public class GaodeParams { public string origin { get; set; } public string destination { get; set; } } }
using FindSelf.Domain.Repositories; using FindSelf.Infrastructure.Database; using FindSelf.Infrastructure.DomainEventBus; using FindSelf.Infrastructure.Idempotent; using FindSelf.Infrastructure.Repositories; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Diagnostics; using Microsoft.Extension...
using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Linq; using System.Net; using System.Text; using System.Threading.Tasks; using Windows.Data.Json; using Windows.Web.Http; namespace waimai { public class postJson { public string postDataStr; pu...
using LogicBuilder.Attributes; using System.Collections.Generic; namespace Contoso.Parameters.Expansions { public class SelectExpandDefinitionParameters { public SelectExpandDefinitionParameters() { } public SelectExpandDefinitionParameters ( [Comments("Upd...
using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using durable_functions_sample.Shared; using Microsoft.AspNetCore.Mvc; using Microsoft.Azure.WebJobs; using Microsoft.Azure.WebJobs.Extensions.Http; using Microsoft.AspNetCore.Http; using Newtonsoft.Json; using Octokit; namespace durabl...
using System; using System.Reflection; using UnityEngine; using UnityEditor; using System.Text.RegularExpressions; using CoreEngine; namespace CoreEditor { [ExtendedInspectorDrawer(typeof(RegexPatternAttribute))] public sealed class RegexPatternDrawerAttribute: IDrawer { string regexString; Regex r...
using AutoMapper; using ImmedisHCM.Data.Entities; using ImmedisHCM.Services.Models.Core; using NHibernate; namespace ImmedisHCM.Services.Mapping { public class DepartmentMapping : Profile { public DepartmentMapping() { CreateMap<Department, DepartmentServiceModel>() ...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.Events; using UnityEngine.EventSystems; using UnityEngine.UI; public class DisplayEnergyBar : MonoBehaviour { public GameObject player; public float value; private Slider energyBar; // Star...
using AutoDataReader.Entities; using AutoDataReader.Repositories.Contracts; using AutoDataReader.Service.Contracts; using System; using System.Collections.Generic; namespace AutoDataReader.Service { public class WordService : IWordService { private readonly IWordRepository _repository; public...
namespace Contoso.Parameters.Expressions { public class NegateOperatorParameters : IExpressionParameter { public NegateOperatorParameters() { } public NegateOperatorParameters(IExpressionParameter operand) { Operand = operand; } public IExpressionParameter Operand { get; set; } } }
using System; namespace ClockAngles { public static class AngleUtility { public static string Difference(double angle1, double angle2) { var diff = Math.Abs(angle1 - angle2); if (diff > 180) diff = 360 - diff; return string.Format("{0:0.00}", diff); ...
using System.Collections.Generic; using Newtonsoft.Json; namespace InformAppPlus.Servico { public class Falha { [JsonProperty("errors")] public List<string> Erros { get; set; } [JsonProperty("reference ")] public List<string> Referencias { get; set; } } }
using System.Collections; using System.Collections.Generic; using UnityEngine; using System; public class WitchBehavior : MonoBehaviour { //Raycast class; Collider2D hit; Rigidbody2D RB2D; public GameObject playerObject; PlayerInputScript PIS; public GameObject upperCollisionBoxGameObj; public GameObje...
namespace _08.ExtractSentences { using System; using System.Collections.Generic; using System.Linq; using System.Text; //Write a program that extracts from a given text all sentences containing given word. class ExtractSentences { static void Main() { string te...
using System; using DataStructures.SinglyLinkedList; namespace DataStructures.Queue { public class myStack<T> { private T Top { get { return ll.Head.Data; } } private mySinglyLinkedList<T> ll { get; set; } public bool ...
using System.Collections.Generic; using System.ComponentModel; using System.ComponentModel.DataAnnotations; namespace Web.Models { public class Video { public Video() { Videos1 = new HashSet<Video>(); } [ScaffoldColumn(false)] public int Id { get; set; } ...
using System; using System.Linq; using System.Threading; using System.Threading.Tasks; using Microsoft.AspNetCore; using Microsoft.AspNetCore.Hosting; using Redmanmale.TelegramToRss.Crawler; namespace Redmanmale.TelegramToRss { public static class Program { private static readonly EventWaitHandle Exit...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Services; using System.Configuration; using System.Data; using System.Data.SqlClient; using System.Collections.Specialized; using System.Xml.Serialization; using SCT_BL.SCT; using SCT_SI.SCT; using utilities; [WebSer...
using System; using System.Collections.Generic; using System.Text.RegularExpressions; namespace PathfindingVisualisation { public struct Point : IEquatable<Point> { public Point(int x, int y) { X = x; Y = y; } public static Point Zero { get; } = new Poi...
using System; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata; // Code scaffolded by EF Core assumes nullable reference types (NRTs) are not used or disabled. // If you have enabled NRTs for your project, then un-comment the following line: // #nullable disable namespace EatCleanAPI...
using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace Torneio.API.Models { public class JogoBindingModel { public int Id { get; set; } public int NumPartida { get; set; } public DateTime DataDaPartida { get; set; } public string Chave { ...
using MonoGame.Extended.Tiled.Serialization; namespace MonoGame.Extended.Content.Pipeline.Tiled { public class TiledMapContentItem : ContentItem<TiledMapContent> { public TiledMapContentItem(TiledMapContent data) : base(data) { } } }
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using TP_Groupe.Models; namespace TP_Groupe.ViewModels { public class ArticleListViewModel { public IEnumerable<Article> Articles {get;set;} } }
using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Windows; using System.Windows.Controls; using System.Windows.Navigation; using Microsoft.Phone.Controls; using Microsoft.Phone.Shell; using Zengo.WP8.FAS.Resources; namespace Zengo.WP8.FAS { public partial class Help...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class ShootOnly : MonoBehaviour { public float seconds; public float fireRate; public GameObject shot; public Transform shotSpawn; public AudioSource shootSound; // Use this for initialization void Start () ...
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. using System; using System.Threading; using Microsoft.Azure.WebJobs.Host.Loggers; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Dependency...
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="DiagnosticsSchema.cs" company="Naos Project"> // Copyright (c) Naos Project 2019. All rights reserved. // </copyright> // ------------------------------------------------------...
using System.Collections.Generic; namespace CheckMySymptoms.Forms.View.Common { abstract public class DetailItemView { abstract public DetailItemEnum DetailType { get; set; } } }
using System; using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; using Photon.Realtime; namespace Lobby { public class RoomInfoItem : MonoBehaviour { public Text roomName; public Text roomPlayerCnt; //private Action<string> JoinRoomH...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using Utilities; using System.IO; using System.Drawing; using System.Data; using System.Data.SqlClient; using WebServicesFile; namespace FinalProject { public partial class De...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Data.Entity.ModelConfiguration; using FacultyV3.Core.Models.Entities; namespace FacultyV3.Core.Data.Mapping { public class ConfirguationMapping : EntityTypeConfiguration<Confirguration>...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; namespace YiXiangLibrary { public partial class d_bingli_caozuo : System.Web.UI.MasterPage { public string d_id = ""; public string str0 = ""; publ...
using App.Data; using App.Entity; using System.Collections.Generic; using System; namespace App.Logic { public class PathLC : IBasicMethods<PathBE> { private PathDAC DataAccessCLass = new PathDAC(); public void CreateTable() { DataAccessCLass.CreateTable(); } ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Theater { class PasswordChangeReciever { public string NewPassword { get; set; } public string CurrentPassword { get; set; } public string ConfimationPassword {...
using System; using System.Collections.Generic; using System.Text; namespace AspNetCore.Api.TenantResolver { public static class Constants { public static string TenantKey = "tenant"; } }
using Controllers.ViewModels.Account; using Grifling.Blog.DomainModels; using Grifling.Helpers.Helpers; using Grifling.Service.Services; using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; namespace Controllers.Controllers { public class AccountController : C...
using System; using System.Collections.Generic; using System.Text; using Xamarin.Forms; namespace LostAndFound.Presenters { public class MenuViewModel : IMenuViewModel { public string Username { get; set; } public Command openFoundCommand { get; } public Command openLostCommand { get; ...
using System; using Android.App; using Android.Widget; using Android.OS; using Android.Content; using Newtonsoft.Json; namespace IntentAppOne { public class BasketMetadata { public DateTime Date { get; set; } public decimal Amount { get; set; } public string StoreName { get; set; } } [Activity(Label = "Act...
namespace E02_BankAccounts { using E02_BankAccounts.AbstractClasses; using E02_BankAccounts.Interfaces; public class Deposit : Account, IDepositable, IWithdrawable { public Deposit(Customer owner, decimal balance, decimal monthlyInterestRate, ushort numberOfMonths) : b...
using Eventual.EventStore.Core; using Eventual.EventStore.Readers.Tracking; using Microsoft.EntityFrameworkCore; using System; using System.Collections.Generic; using System.Reactive.Linq; using System.Reactive.Threading.Tasks; using System.Text; using System.Threading; using System.Threading.Tasks; namespace Eventua...
namespace Bomberman.Api { public class PerkState { public Point Location { get; } public Element PerkType { get; } public int ExpiresIn { get; private set; } public bool IsExpired => ExpiresIn <= 0; public PerkState(Point location, Element perk) { Lo...
using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata.Builders; using Project.Domain.AggregatesModel; namespace Project.Infrastructure.EntityConfigurations { public class ProjectPropertyConfig : IEntityTypeConfiguration<ProjectPropetry> { public void Configure(EntityTypeBui...
namespace OmniSharp.Extensions.JsonRpc { public interface IRequestContext { IHandlerDescriptor Descriptor { get; set; } } }
using UnityEngine; using System.Collections; public class DialogManager : Manager { Dialog currentlyVisibleDialog = null; public GameObject dialogAnchor; ///////////////////// BOOTSTRAP ///////////////////// private static Manager instance; public static DialogManager getInstance() { return getInstan...
namespace RefactoringApp.MovingFeaturesBetweenObjects { public class IntroduceForeignMethod { /// <summary> /// Mechanics /// Create a method in the client class that does what you needjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjj...
using System; using System.Collections.Generic; using System.Linq; namespace WindowsServiceInstaller.InstallHelper { public class ArgsParser { private readonly string[] _args; public ArgsParser(string[] args) { _args = args; } public string GetParamValueOr...
using ConsoleTable.Settings.Border; namespace ConsoleTable.Settings.Symbols { public class TableSymbols { public virtual char TopRightCorner { get; set; } = '┐'; public virtual char TopLeftCorner { get; set; } = '┌'; public virtual char BottomRightCorner { get; set; } = '┘'; ...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Net; using System.Net.Sockets; using System.Threading; using upsAPIs; using System.Windows.Forms; namespace LaserPrinter { public partial class A...
using Infnet.Engesoft.SysBank.Model.Dominio; using NUnit.Framework; namespace Infnet.Engesoft.SysBank.Model.Teste { [TestFixture] class ClientePessoaJuridicaTeste { public PessoaJuridica Cliente = new PessoaJuridica();// TODO: Initialize to an appropriate value [Test] ...
using Liddup.Models; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Xamarin.Forms; namespace Liddup.TemplateSelectors { class SpotifyAuthenticationDataTemplateSelector : DataTemplateSelector { public DataTemplate AuthenticatedT...
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 MySql.Data.MySqlClient; using System.Data; namespace WindowsFormsApplication1 { ...
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations.Schema; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ClassLibrary.Model { public class POIDTOReceive : POIDTO { [ForeignKey("Local")] public int LocalID { get; set; } ...
using System; using UnityEngine; using SimpleJSON; namespace ColorPalette { [Serializable] public class PaletteImporterData : PaletteData { public PaletteImporterData (string name = null) : base(name) { this.paletteURL = ""; this.loadPercent = false; } [SerializeField] public str...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.ServiceModel; using System.Threading; using MyDuplexClient.ServiceReference1; namespace MyDuplexClient { [CallbackBehavior( ConcurrencyMode = ConcurrencyMode.Single, ...
namespace TestApplicationDomain.DynamicQuery { public class DataDescriptor { public OrderDescriptor Order { get; set; } public FilterDescription[] Filter { get; set; } public PaginationDescriptor Pagination { get; set; } } }
using System; using System.Collections.Generic; namespace Spine { public class AnimationStateData { internal SkeletonData skeletonData; private Dictionary<KeyValuePair<Animation, Animation>, float> animationToMixTime = new Dictionary<KeyValuePair<Animation, Animation>, float>(); internal float defaultMix; ...
using System; using System.Collections.Generic; using System.Configuration; using System.Data; using Ext.Net; using Ext.Net.Utilities; using NETDataLuma; using Newtonsoft.Json; using Newtonsoft.Json.Linq; namespace Aspx { public partial class AspxRepGuias : System.Web.UI.Page { private static readonl...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Data.Entity; namespace SurveySite.Models { public class SurveySiteEntities: DbContext { public DbSet<Question> Questions { get; set; } public DbSet<AnswerVariant> AnswerVariants { get; set; } ...
using System; using System.Globalization; using: asdADasdASDawd namespace TimeTest { class Program { private void WeekDay() { // Assume the current is en-US. // Create a DateTime for the first of May, 2003. DateTime dt = new DateTime(2003, 5, 1); ...
using Microsoft.Xna.Framework.Input; namespace WUIClient { public static class WKeyboard { public static KeyboardState prevKeyboardState; public static KeyboardState currentKeyboardState; public static void Update() { prevKeyboardState = currentKeyboardState; curre...
using System; using System.Collections.Generic; using System.Text; namespace NekoUchi.Model { public class Translations { public Dictionary<string, string> WordFieldTranslations = new Dictionary<string, string>() { {"Meaning", "Značenje" }, {"Kanji", "Kanji" }, ...
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using WeddingPlanner.Models; using Microsoft.EntityFrameworkCore; using Microsoft.AspNetCore.Identity; using Microsoft.AspNetCore.Http; using Google.Maps; using Goog...
using UnityEngine; using System.Collections; public class ScreenShake : MonoBehaviour { public float ShakeAmount = 0.25f; public float DecreaseFactor = 1.0f; private Camera cam; private Vector3 cameraPos; private float shake = 0.0f; void Start() { cam = GetComponent<Camera>(); } void Update() { ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Web; namespace ALM.Reclutamiento.Entidades { [Serializable] public class CargaArchivo { //HttpPostedFileBase public HttpPostedFileBase file { get; set; } ...
using System; using System.Collections.Generic; using System.Text; namespace OCP.Dashboard.Model { /** * Interface IWidgetRequest * * WidgetRequest are created by the Dashboard App and used to communicate from * the frontend to the backend. * The object is send to the WidgetClass using IDashboardWidget::requestW...
using System; using System.ComponentModel.DataAnnotations; namespace dojoBelt.Models { public abstract class BaseEntity{}; public class Register : BaseEntity { [Key] public int UserId{get;set;} [Required] [MinLength(2)] public string FirstName{get;set;} ...
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 QLBH.Control; namespace QLBH.View { public partial class TimKiemTheoTenNhaCC : User...
using System.Text; using GraphQL.Common.Response; namespace Indico.Exception { [System.Serializable] public class GraphQLException : System.Exception { public GraphQLException() { } public GraphQLException(GraphQLError[] errors) : base(SerializeGraphQLErrors(errors)) { } public Grap...
using System.Collections; using System.Collections.Generic; using UnityEngine; [RequireComponent(typeof(Rigidbody))] public class Keycard : MonoBehaviour { /// <summary> /// The room numbers are 1 - 5 /// </summary> public List<int> permittedRooms; }
//5.You are given an array of strings. Write a method that sorts the array by the length //of its elements (the number of characters composing them). using System; using System.Collections.Generic; using System.Linq; class SortArrayByLenght { static void Main() { List<string> listOfSt...