text
stringlengths
13
6.01M
using System; namespace BusinessLayer.SortingAlgorithms { /// <summary> /// Provides base functionality that sorts elements in an ascending order. /// </summary> /// <owner>Anton Petrenko</owner> /// <typeparam name="T">Certain input type.</typeparam> abstract public class CollectionSorterBase...
using System; public class Servico_de_controle_gastos : IControle { float preco_comida = 25; float preco_tel = 10; public double Calcular_Gasto(Reservas reservas) { Clientes cli = reservas.cliente; IQuarto quarto = reservas.Get_Quarto(); float diaria = quarto.Diaria; in...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Data; using System.Data.SqlClient; using SmallHouseManagerDAL; using SmallHouseManagerModel; namespace SmallHouseManagerDAL { public class PavilionDAL { public int GetMaxID() { ...
using Service.Models; namespace Service.Infrastructure.Services.Abstract { public interface IJwtHandler { Jwt Create(string username); } }
using System; using System.Collections.Generic; using LowLevelNetworking.Shared; using WUIShared; using WUIShared.Objects; using WUIShared.Packets; using static WUIClient.Components.Collider; namespace WUIClient.Components { public class LocalScriptsComponent : GameObject { private Action<GameObject>[] fu...
using System.ComponentModel.DataAnnotations; namespace Psub.DTO.Entities { public class DataParameterDTO { public int Id { get; set; } [Display(Name = "Параметр")] public string Name { get; set; } [Display(Name = "Значение")] public string Value { get; set; } [D...
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Linq; using System.Threading.Tasks; namespace VehiculosSanJoaquinMVC.Models.Entities { //Nombre de la tabla asi queda en la base de datos [Table("NS_tb...
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; using TeaseAI_CE.Scripting; namespace TeaseAI_CE.Settings { public partial class frmSettings : Form { AllSettings settings; VM v...
using DiscordClients.Console.Pages; using DiscordClients.Core.SQL.Tables; using DiscordClients.Helpers; using Quartz; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace DiscordClients.Jobs { public class ExecuteBot : IJob { public async Task Execute(IJobExec...
using System; using System.Collections.Generic; using System.Text; namespace OCP { /** * This interface provides an immutable object with with accessors to * request variables and headers. * * Access request variables by method and name. * * Examples: * * request.post['myva...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using MiHomeLibrary.Communication; using MiHomeLibrary.Communication.Responses; namespace MiHomeLibrary.Devices { public class DevicesKeeperService : IDevicesKeeper { private readonly List<BaseDevice> _dev...
using LabsFerreiraCosta.Models; using LabsFerreiraCosta.Models.Pst; using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using PagedList; namespace LabsFerreiraCosta.Controllers.Usuario{ /* File History * ---------------------------------------------------------...
using Alarmy.Common; using System.IO; namespace Alarmy.Core.FileAlarmRepository { internal class SharedFileFactory : ISharedFileFactory { public ISharedFile Read(string path) { return new SharedFile(path, FileMode.OpenOrCreate, FileAccess.Read, FileShare.Read); } p...
using BrightIdeasSoftware; using System.Collections.Generic; namespace Wc3Engine { public class TLVBase { public List<object> MasterList; public List<FolderModel> FolderMasterList; public List<AbilityModel> AbilityMasterList; public TreeListView TLV; public TLV...
using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace SiscomSoft_Web.ViewModel { public class EmpresasViewModel { public int txtpkEmpresa { get; set; } public String txtRazonSocial { get; set; } public String txtNomComercial { get; set; } ...
using SözTabani.Contexts; using SözTabani.Entities; using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.WebControls; namespace SözTabani.Hesap { public partial class kaydol : System.Web.UI.Page { prote...
using Labs.WPF.TvShowOrganizer.Data.Model; using System.Data.Entity; namespace Labs.WPF.TvShowOrganizer.Data { public class TvShowOrganizerContext : DbContext { public TvShowOrganizerContext() : base(nameOrConnectionString: "TvShowOrganizerContext") { } public DbSe...
using System; using DLI = BillingAPI.DL.Interfaces; using BLI = BillingAPI.BL.Interfaces; using BillingAPI.Models; using System.Collections.Generic; using System.Threading.Tasks; using System.Linq; namespace BillingAPI.BL.Services { public class ProductService : BLI.IProductService { private DLI.IProd...
using System; using System.Collections.Generic; using System.Security.Principal; using System.Text; namespace Guild { public class Player { public Player(string name,string class1) { this.Name = name; this.Class = class1; } private string name; public string Name { get { return name; } ...
using System; using System.Data; using System.Configuration; using System.Web; using System.Data.SqlClient; /// <summary> /// Summary description for DBconnection /// </summary> public class DBconnection { private string constring = ""; private SqlConnection con; private SqlCommand cmd; private SqlData...
using System.Web.Mvc; using JqD.Common.Helper; using JqD.Common.ILogic; using JqD.Common.Models; using JqD.Data.CodeSection; using JqD.Data.ShareModels; using JqD.Infrustruct; namespace JqD.Common.Web { public class BaseController: Controller { private LoginUserInformation _loginUserInformation; ...
using System; using System.ComponentModel; using Bindable.Linq.Threading; namespace Bindable.Linq.Interfaces { /// <summary> /// This interface is implemented by the results of any Bindable LINQ query which result in /// single items, as opposed to collections. /// </summary> public int...
namespace AutoPractice7.CSV.Models { public interface IDto<T> { T GetData(string line); } }
 namespace CSVTesting { public interface IProcess<T> { void Process(T data); } }
using System; using System.Collections.Generic; using Renting.Domain; using Renting.Domain.Apartments; namespace Renting.Application.Services { public class ApartmentService { private readonly IApartmentRepository _apartmentRepository; public ApartmentService(IApartmentRepository apartmentRepo...
using System; using System.Diagnostics; using System.Windows.Input; using System.Threading.Tasks; using System.Collections.ObjectModel; using Xamarin.Forms; namespace MCCForms { public class RssFeedViewModel : BaseViewModel { public ICommand RefreshCommand { get { return new Command (() => RefreshList ()...
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; namespace BDProblems { public partial class Grade { public Grade() { ProblemGrade = new HashSet<ProblemGrade>(); } public int Id { get; set; } [Required(ErrorMessag...
using UnityEngine; using System.Collections; using GSDS; public class DebugIdentity : MonoBehaviour { // Use this for initialization protected virtual void Start() { //if (GetComponent<DebugEvents>() == null) //{ // Debug.LogError("DebugIdentity is required to be attached to an object that has the DebugEven...
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 dhklm.adm.Photo_Management { public partial class WebForm3 : System.Web.UI.Page { Connection db = new Con...
namespace Triton.Game.Mapping { using ns25; using ns26; using System; using System.Collections.Generic; using Triton.Game; using Triton.Game.Mono; [Attribute38("Options")] public class Options : MonoClass { public Options(IntPtr address) : this(address, "Options") {...
using System; namespace ReportGenerator { class NameFirst : IReport { public void print(Employee e) { Console.WriteLine("------------------"); Console.WriteLine("Name: {0}", e.Name); Console.WriteLine("Salary: {0}", e.Salary); Console.WriteLine("A...
using UnityEngine; using VRTK; using System.Collections; public class StopKinematicOnGrab : MonoBehaviour { void Start (){ if (GetComponent<VRTK_InteractableObject>() == null){ Debug.LogError("Required to be attached to an Object that has the VRTK_InteractableObject script attached to it"); return; } G...
using System; using System.Collections.Generic; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace Project1 { public static class HangMan { private static PictureBox picture = new PictureBox(); private static int coun...
using Publicon.Infrastructure.Helpers; using System.Collections.Generic; namespace Publicon.Infrastructure.DTOs { public class PublicationPaginatedListDTO { public IEnumerable<PublicationDTO> Publications { get; set; } public PaginationMetadata Metadata { get; set; } } }
using System; namespace BusinessRuleEngine { public abstract class MembershipRule : RuleEngine { public override void Pay() { Console.WriteLine("activation/upgrade membership"); } protected virtual void SendMail() { Console.WriteLine("sending ma...
using MKService.DefaultModel; using MKService.Messages; using MKService.ModelFactories; using MKService.Updates; namespace MKService.ModelUpdaters { internal class ClickAddedUpdater : ModelUpdaterBase<IUpdatableClick, ClickAdd> { public ClickAddedUpdater( IModelFactoryResolver modelFactory...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Data; using System.Data.SqlClient; namespace SmallHouseManagerDAL { public class UltilityDAL { public bool BackupDataBase(string path) { SqlParameter param = new SqlParam...
namespace RPNCalculatorLib { [MathOperator("*")] public class Multiplication : IMathOperator { public double compute(double firstInput, double secondInput) { return firstInput * secondInput; } } }
using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using Sisc.Api.Common.Base; namespace Sisc.Api.Common { public class Country:DataEntity { public int? Id { get; set; } public string Name { get; set; } public string IsoCode { get; set; } ...
/* 6. Write a boolean expression for finding if the bit 3 (counting from 0) of a given integer is 1 or 0. */ using System; class PointWithinACircle { static void Main() { int xPoint = 2; int yPoint = 3; if (((xPoint - 0) * (xPoint - 0)) + ((yPoint - 0) * (yPoint - 0)) <= 5 * 5) ...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.SceneManagement; public class ButtonHandler : MonoBehaviour { public GameObject SettingsPopup; public void NewGame() { SceneManager.LoadScene("Start"); } public void Settings() { S...
using System.Data.SqlClient; using MongoDB.Bson; using Mssql2Mongo.models; namespace Mssql2Mongo { internal class ZorgTogPassantenTarief : Tarief { public ZorgTogPassantenTarief(SqlDataReader reader2) { SoortZorgverlener = reader2[nameof(SoortZorgverlener)] as byte?; DbcP...
using System.Globalization; namespace Daren.Baker.Bjss.Assignment.Domain.Entities { public class Product : BaseEntityGuidKey { /// <summary> /// Name of the Product /// </summary> public string Name { get; set; } /// <summary> /// The packaging that the product...
using System; namespace Hotel { public delegate void MyAction<T>(Object Source,EventArgs e, T a, T b); public delegate int Price(int t); public delegate void Cash(int t); public class Room { public static event MyAction<String> CustomerAction; public static event Cash Paid; ...
using Jieshai.Cache.CacheIndexes; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; namespace Jieshai.Cache.CacheManagers { public class ByIdCodeGuidCacheManager<T> : ByIdCodeCacheManager<T> where T : class, IIdCodeG...
using UIKit; using Foundation; using Xamarin.Forms; using App1.iOS.Interface; using App1.Interface; [assembly: Dependency(typeof(CNotification))] namespace App1.iOS.Interface { public class CNotification : INotification { public void Start() { var settings = UIUserNotificat...
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Web; using System.Web.Mvc; namespace AssetHub.ViewModels.Loan.Partial { public class CreateLoanViewModel { public CreateLoanViewModel() { SelectedRoomId = -1...
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; using OpenTK; namespace AndroidUI.Scene { class Node { protected Vector3 pos; pub...
using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace Microsoft.DataStudio.Services.Models { public class Subscription { public string SubscriptionId { get; set; } public string DisplayName { get; set; } public string State { 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.Windows.Forms; using PO.Services.BusinessObjects; using PersonelOrganizer.Util; namespace PersonelOrganizer { public partial class E...
using System; namespace IWx_Client { /// <summary> /// This interface provides the specs necessary for an application, /// which implements the Managed Extensbility Framework, specifically IWx_Client, /// to load those modules dynamically at run-time. /// /// The application specifie...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.IO; using Newtonsoft.Json; using Newtonsoft.Json.Linq; namespace ServicioApiClientesJson.Models { public class ModeloColores { public String Path { get; set; } public ModeloColores(String path) ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using SincolPDV.Repositorio.Implementacao.Base; using SincolPDV.Dominio; namespace SincolPDV.Repositorio.Implementacao { public class ProdutoRepositorio : Repositorio<Produto> { public v...
namespace _07._Predicate_For_Names { using System; using System.Linq; class PredicateForNames { static void Main(string[] args) { int filterLenght = int.Parse(Console.ReadLine()); Console.ReadLine() .Split(" ", StringSplitO...
using System; using System.Collections.Generic; using System.Diagnostics; using System.Drawing; using System.Drawing.Imaging; using System.IO; using System.Linq; using System.Runtime.InteropServices; using System.Text; using Newtonsoft.Json; using ClrPlus; using ClrPlus.Windows; using ClrPlus.Windows.PeBinary; using C...
using Discord; using Discord.Commands; using System.Threading.Tasks; using System.Net.Http; using Newtonsoft.Json; using DiscordBotTest.Models.WeatherstackLib; using System.Linq; namespace DiscordBotTest.Modules { public class WeatherModule : ModuleBase<SocketCommandContext> { // Replace this with you...
using UnityEngine; using System.Collections; using System.Collections.Generic; public class GameManager : MonoBehaviour { public List<PlayerManager> playerManagers; public PlayerController player1; public GameObject cursorActivePlayer; public static GameManager instance; public GameObject cursorAimTarget; //publ...
 namespace UsingEvents { class EventExample { private string _theValue; public event MyEventHandler ValueChanged; public string Val { set { _theValue = value; // trigger the event. Anyone who's subscribe to listening to th...
using System; namespace Threads { public class ThreadsService : IService { #region Bookmark public wsResponse<Bookmark_Save_Resp> Bookmark_Save(wsRequest<Bookmark_Save_Req> req) { var funcName = "Bookmark_Save"; var errCode = 0; var errorText = ""; ...
namespace Standard { using Microsoft.Win32.SafeHandles; using System; using System.Diagnostics.CodeAnalysis; using System.Runtime.ConstrainedExecution; using System.Runtime.InteropServices.ComTypes; internal sealed class SafeConnectionPointCookie : SafeHandleZeroOrMinusOneIsInvalid { ...
using UnityEngine; using System.Collections; public struct Messenger{ public GameObject first; public GameObject second; public void Set(Transform self, Transform other){ first = self.gameObject; second = other.gameObject; } } public class Collision_Manager : MonoBehaviour { public GameObject Red; publi...
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using Sys...
//_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/. // VisualNovelToolkit /_/_/_/_/_/_/_/_/_/. // Copyright ©2013 - Sol-tribe. /_/_/_/_/_/_/_/_/_/. //_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/. using UnityEngine; using UnityEditor; using System.Collections.Generic; using System.IO; [ CustomEditor( typ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CMkvPropEdit.Classes { [Serializable] class Preset { public GeneralInfo Info; public TrackInfo[] VideoInfo; public TrackInfo[] AudioInfo; public Tra...
namespace NullCheck.Ejemplos { public class PlaceholderClass { public static bool operator ==(PlaceholderClass lhs, PlaceholderClass rhs) { return true; } public static bool operator !=(PlaceholderClass lhs, PlaceholderClass rhs) { return true; ...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using System.Data.SqlClient; namespace sang { public partial class login : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { ...
using ReactiveUI; using System; using System.Collections.Generic; using System.Linq; using System.Reactive.Disposables; using System.Reactive.Linq; using System.Reactive.Subjects; using TableTopCrucible.Core.Models.Enums; using TableTopCrucible.Core.Helper; using TableTopCrucible.Domain.Models.ValueTypes.IDs; names...
using System; using System.IO; namespace Nabbix.Items { public class NabbixFileCount { private readonly string _folder; private readonly string _searchPattern; private readonly SearchOption _searchOption; public NabbixFileCount(string folder, string searchPattern = "*", Search...
using System; using System.Collections.Generic; using System.Linq; using System.Media; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Wi...
/* 7. Write a program that finds the greatest of given 5 variables. */ using System; class GreaterOfFive { static void Main() { // Initialise array that holds the variables double[] numbers = new double[5]; // Declare @biggest which holds the current biggest number (set to 0 ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Pes.Core; namespace PESWeb.Profiles.Interface { public interface IProfile { void SetAvatar(Int32 AccountID); void DisplayInfo(Account account); void ShowEditAccountInfo(bool value); ...
using NUnit.Framework; using System; using System.Collections.Generic; using System.Linq; using System.Security.Cryptography.X509Certificates; using System.Text; using Turnamentor.Core.RoundSelecting; namespace Turnamentor.Core.Tests.Selectors { public class AllWithAllSelectorTest { [Test] publ...
using FluentNHibernate.Mapping; using Psub.Domain.Entities; namespace Psub.DataAccess.Map { public class PublicationSectionMap : ClassMap<Section> { public PublicationSectionMap() { Table("PublicationSection"); Id(m => m.Id).Column("Id"); Map(m => m.Name).Co...
using mytry.Models; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Xamarin.Forms; using Xamarin.Forms.Xaml; namespace mytry.Views { [XamlCompilation(XamlCompilationOptions.Compile)] public partial class Login : ContentPag...
using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CSharpLab { public class RunProcess { static Process process = new Process(); public static void Test1() { ...
using System; using System.Collections.Generic; using System.Windows.Forms; using Infrastructure; namespace ContactlistManage { public partial class BirthdayRemind : FormBase { public BirthdayRemind() { InitializeComponent(); } public List<BirthdayContent> Birthday...
using CryptoInvestor.Core.Exceptions; using CryptoInvestor.Core.Extensions.Validations; using System; namespace CryptoInvestor.Core.Domain { public class User { public Guid Id { get; protected set; } public string Email { get; protected set; } public string Username { get; protected se...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using System.Diagnostics; using AdminProject.DAO; using AdminProject.Model; namespace AdminProject { public partial class PostFaqResiter : System.Web.UI.Page { pro...
using System; using System.Collections.Generic; using System.Text; namespace RoutableObject { public class MemberNotFoundException: Exception { public RoutableObject Object { get; private set; } public String Name { get; private set; } public MemberNotFoundException(RoutableO...
using UnityEngine; using UnityEngine.Assertions; using System.Collections; public class Billboard : MonoBehaviour { public bool useCameraUp = false; public bool flipX = false; void Start() { UpdateBillboarding(); if( flipX ) { transform.localScale = new Vector3(transform.localScale.x * -1, transform....
using System; using System.Collections.Generic; namespace ProductPricing.Models { public partial class SumDeduct { public SumDeduct() { Premium = new HashSet<Premium>(); } public int SumDeductId { get; set; } public int SumInsured { get; set; } publ...
using System; using System.Collections; using UnityEngine; using HutongGames.PlayMaker; #if !(UNITY_4_6 || UNITY_4_7 || UNITY_5_0 || UNITY_5_1 || UNITY_5_2) using UnityEngine.SceneManagement; #endif namespace PixelCrushers.DialogueSystem.PlayMaker { [ActionCategory("Dialogue System")] [HutongGames.PlayMaker.T...
using System; namespace Pubquiz.Logic.Messages { public class InteractionResponseAdded { public Guid TeamId { get; } public string TeamName { get; } public Guid QuizSectionId { get; } public Guid QuestionId { get; } public string Response { get; } public Interac...
using MKViewModel; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Win...
using System; namespace ParametersExample { class Program { // in: must not be modified // out: must be modified // ref: can be modified static void Main(string[] args) { // out GetValOut(out string outVar); Console.WriteLine(outVar);...
using AsyncAwaitBestPractices; using System.Windows.Input; namespace Kit.MAUI.Views; [XamlCompilation(XamlCompilationOptions.Compile)] public partial class PancakeView { public static readonly BindableProperty CommandProperty = BindableProperty.Create( propertyName: nameof(Command), returnType: typ...
using NAudio.Utils; using NAudio.Wave; using System; using System.IO; namespace End_to_End.Model { public class Recording { public event EventHandler<RecordingAudioAvailableEventArgs> OnAudioStreamAvailable; public event EventHandler<RecordingErrorEventArgs> OnRecordingError; private ...
// Copyright (c) Brock Allen & Dominick Baier. All rights reserved. // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. using IdentityServer4.Models; using System.Collections.Generic; namespace VSI.IdentityServer { public static class Config { ...
// Copyright 2021 Google LLC. 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...
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Threading; using System.Threading.Tasks; using NuGet.Protocol.Core.Types; using NuGet.Protocol.Core.v3; namespace NuGet.Pro...
using System.Collections; using System.Collections.Generic; using UnityEngine; /// <summary> /// 敵クラス② 回復アイテム落とす /// </summary> public class EnemyHeal : Enemy { protected override void DeadState() { m_status.Dead(); m_enemyManager.EnemyDead(this.gameObject); HealDrop(); } ///...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class PlantWitherVisualization : MonoBehaviour { private static int c_ColorProperty = Shader.PropertyToID("_Color"); [SerializeField] private SkinnedMeshRenderer _renderer; [SerializeField] private Color _wither...
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Threading.Tasks; using Guess.Annotations; using Microsoft.AspNet.SignalR; namespace Guess { [UsedImplicitly] public class GuessHub : Hub { private static readonly ConnectionMapping<GuessConnection> Connecti...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.IO; using System.Diagnostics; using NAnt.Core; using NAnt.Core.Attributes; using NAnt.Core.Types; namespace ShopLocal.SmartCircular.NAnt { // https://github.com/ssg/Eksi.Tasks /// <summary> /// This is the...
namespace Promact.Oauth.Server.Models.ApplicationClasses { public class RolesAc { public string Id { get; set; } public string Name { get; set; } } }
using Microsoft.AspNetCore.DataProtection.KeyManagement; using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Text; using System.Threading.Tasks; using TestApplicationDomain.Entities; namespace TestApplicationInterface.Repository { public interface IReposi...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace TwoIsBetterThanOne { class Program { static long counter = 0; static bool IsPalindrome(long number) { string num = number.ToString(); ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace UserStorageServices { public class UserStorageServiceMaster : UserStorageServiceBase { private readonly IEnumerable<IUserStorageService> slaveService; private readonly...
using UnityEngine; using System.Collections.Generic; using System; using Vectrosity; [Serializable] public class Branch { private readonly List<Node> _intermediates; // The branch's representation in Unity. private GameObject _branchObject; // The script to handle rendering and input events for the...
using System; using UnityEngine; using System.Collections; //using UnityEditor.SceneManagement; public class AnimationScriptUsingAddForce: MonoBehaviour { public float maxSpeed; public float jumpPower; public float accelerationSpeed;//how fast the Rigidbody will accelerate to maxSpeed Rigidbody2D myrigidbody; //s...