text
stringlengths
13
6.01M
// // Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. // using Microsoft.PowerShell.EditorServices.Session; using Microsoft.PowerShell.EditorServices.Test.Shared; using Microsoft.PowerShell.EditorServices.Utility; using...
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Entidades { public class Pesadores : Personas { [Key] public int IdPesador { get; set; } public Pesadores() ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace dotNetLinearAlgebra { /// <summary> /// Matrix object of type double /// </summary> public class Matrix { protected readonly int _m; protected readonly int ...
using System.Net.Mail; using System.Net; using System.Text; namespace ShCore.Utility { /// <summary> /// Mailer /// </summary> public class ShMailer { #region Properties private SmtpClient smtp = new SmtpClient(); public SmtpClient Smtp { set { this.smtp ...
using System; using System.Linq; using Newtonsoft.Json.Linq; namespace ScripterTestCmd { public class TreeNode : ITreeNode { public Guid Id { get; set; } public string Parent { get; set; } public string Name { get; set; } public string Path => $"{Parent}/{Name}".Trim('/'); ...
using System; using NopSolutions.NopCommerce.BusinessLogic.Configuration.Settings; using NopSolutions.NopCommerce.Web.Templates.Payment; namespace NopSolutions.NopCommerce.Web.Administration.Payment.Assist { public partial class ConfigurePaymentMethod : BaseNopAdministrationUserControl, IConfigurePaymentMethodMod...
/* * Bungie.Net API * * These endpoints constitute the functionality exposed by Bungie.net, both for more traditional website functionality and for connectivity to Bungie video games and their related functionality. * * OpenAPI spec version: 2.1.1 * Contact: support@bungie.com * Generated by: https://github.com...
namespace TipsAndTricksLibrary.Extensions { using System; using System.Collections.Generic; public static class ArrayExtensions { public static int? UpperBound<TSource>(this IReadOnlyList<TSource> source, TSource value, IComparer<TSource> itemsComparer = null, int? startIndex = nul...
// 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.IO; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityF...
using System.Linq; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CSharp.Syntax; namespace OmniSharp.Extensions.JsonRpc.Generators.Contexts { record LspAttributes( SyntaxAttributeData? GenerateTypedDataAttribute, bool GenerateTypedData, SyntaxAttributeData? GenerateContainerAttr...
using System.Collections.Generic; using System.Linq; using AutoMapper; using ServicesLibrary.Interfaces; using ServicesLibrary.Models; using TiendeoAPI.Core.Interfaces; using TiendeoAPI.Helpers; using TiendeoAPI.Models; namespace TiendeoAPI.Core.StoreCore { public class StoreCore : IStoreCore { privat...
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Web; namespace Darek_kancelaria.Models { public class Termcs { public int Id { get; set; } [Required] [Display(Name = "Nazwa wydarzenia")] public string ...
using System; namespace Lfs.Desktop.Wpf.Services { public class ErrorService { public static void TreatException(Exception ex) { string msg = ""; do { msg += $"{ex.Message};\n"; ex = ex?.InnerException; } ...
using System; using System.Windows.Forms; using Relocation.Data; using Relocation.Base; using Relocation.Com; using Relocation.Com.Tools; using Relocation.Base.UI; using System.Linq; namespace Relocation { public partial class LoginWindow : BaseForm { public User User { get; private set; ...
using System.ComponentModel.DataAnnotations; using XMLApiProject.Services.Models.PaymentService.Entities; using XMLApiProject.Services.Models.PaymentService.XML.RequestService.Responses; namespace XMLApiProject.Services.Models.PaymentService.XML.RequestService.Request { public class MultiUseTokenRequestMessage: R...
using System; using System.Collections.Generic; using System.Reflection; using System.Runtime.CompilerServices; namespace DropoutCoder.Core { public static class TypeHelper { public static readonly IEnumerable<Type> BuiltInTypes = new[] { GetType<bool>(), GetType<byte>(), ...
using System.Collections.Generic; using System.Threading.Tasks; using W3ChampionsStatisticService.CommonValueObjects; using W3ChampionsStatisticService.Ladder; namespace W3ChampionsStatisticService.Ports { public interface IRankRepository { Task<List<Rank>> LoadPlayersOfLeague(int leagueId, int season...
using MySql.Data.MySqlClient; using System; using System.Data; using System.Security; using System.Windows.Forms; namespace Luminous { public class DatabaseManager { #region Private Variables private string _userName; private SecureString _passWord; private string _ip; ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Thoughtworks_BattleShip.Interface; namespace Thoughtworks_Battleship { public class Player : IPlayer { private IBattleField battleField; private Queue<IMissile> missiles; ...
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Linq; using System.Web; namespace QuestionPaperGenerator.Models { [Table("WorksheetDetails")] public class QuestionPattern { public int Id {...
using PaymentUI.ViewModels; using Xamarin.Forms; namespace PaymentUI.Views { public partial class CreditCardPage : ContentPage { public CreditCardPage() { InitializeComponent(); this.BindingContext = new CreditCardPageViewModel(); } } }
using System.Collections.Generic; using System.Linq; using Business.DTO; using Business.Rules; using Database.Repositories; namespace Business.Services { public class RouteService { private IRouteRepository _routeRepository; public RouteService(string path) { _routeReposit...
using System; using Caliburn.Micro; namespace Frontend.Core.Common { public abstract class ViewModelBase : PropertyChangedBase, IDisposable { private bool isDisposed; protected ViewModelBase(IEventAggregator eventAggregator) { EventAggregator = eventAggregator; ...
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; using System.Configuration; using PBingenering.SQL; using PBingenering.Model...
namespace PDB.Models; public class Direction { public int DeltaX { get; } public int DeltaY { get; } private Direction(int deltaX, int deltaY) { DeltaX = deltaX; DeltaY = deltaY; } public static readonly Direction NorthWest = new Direction(-1, 1); public static readonly D...
using UnityEngine; [ExecuteInEditMode] [RequireComponent(typeof(MeshFilter), typeof(MeshRenderer))] public class SurfaceCreator : MonoBehaviour { [Range(1, 200)] public int resolution = 10; [Range(256, 1024)] public int textureResolution = 512; [Range(1, 20)] public int frequency = 1; [Range(0f, 1f)] public fl...
using System; using System.Collections.Generic; using Paralect.Schematra.Exceptions; namespace Paralect.Schematra { public abstract class Type { /// <summary> /// Type context this type belongs to /// </summary> protected readonly TypeContext _typeContext; ...
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using NewsPortal.Models; using NewsPortalLogic; namespace NewsPortal.Controllers { public class HomeController : Controller { private NewsManager _...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Text; using System.Threading.Tasks; using ControlValveMaintenance.Models.Lookups; namespace ControlValveMaintenance.Models { public class SiteMaintenance : INotifyPropertyChanged { #region Var...
using PrincessApollo.Controls; using UnityEngine; using UnityEngine.UI; using static System.Convert; public class PlayerMovement : MonoBehaviour { [SerializeField] Vector3 velocity; [Space(20)] [SerializeField] float movementSpeedMultiplier = 10; float dashRange = 1f, dashSwitch = 1, dashVelocity; ...
// Accord Statistics 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 published ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Model; namespace Dao.Mercadeo { public class CampaniaColorProductoDao : GenericDao<crmCampaniaColorProducto>, ICampaniaColorProductoDao { } }
//------------------------------------------------------------------------------ // The contents of this file are subject to the nopCommerce Public License Version 1.0 ("License"); you may not use this file except in compliance with the License. // You may obtain a copy of the License at http://www.nopCommerce.com/Lic...
using MusicPlayer.Core.Models; using MusicPlayer.UserControls; namespace MusicPlayer.ViewModels.Interfaces { public interface IPlaylistsViewModel { Playlist CurrentPlaylist { get; set; } string CurrentPlaylistName { get; set; } SongsControl SongsControl { get; } } }
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using Liquorly.Models; using Liquorly.ViewModels; namespace Liquorly.Controllers { public class CustomersController : Controller { // GET: Customer public ActionResult Index() { ...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Drawing.Printing; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace YourProject_winForms { public partial clas...
namespace ConsoleWebServer.Application.Controllers { using System; using System.Linq; using Framework; using Framework.ActionResults; using Framework.ActionResults.ContentActions; public class ApiController : Controller { private const string RefererStringFormat = "Referer"; ...
using AutoMapper; using iCopy.SERVICES.IServices; using iCopy.Web.Controllers; using iCopy.Web.Helper; using iCopy.Web.Resources; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; namespace iCopy.Web.Areas.Location.Controllers { [Area(Strings.Area.Location), Authorize(Roles = Strings.Roles...
using Newtonsoft.Json; namespace CalcEnterpriseClient.Models { public class SessionTalk { [JsonProperty(PropertyName = "title")] public string Title { get; set; } [JsonProperty(PropertyName = "duration")] public int Duration { get; set; } [JsonProperty(PropertyName = ...
using System.IO; using System.Linq; using System.Web.Http; using Newtonsoft.Json; using Newtonsoft.Json.Linq; namespace AngularExe.Controllers { public class EventController : ApiController { [HttpGet] public JToken Get(string id = null) { var path = System.Web.Hosting.Host...
using System.ComponentModel.DataAnnotations.Schema; namespace GitlabManager.Services.Database.Model { /// <summary> /// Database model for ef-core for the Accounts-Table /// </summary> [Table("Accounts")] public class DbAccount { /// <summary> /// Internal account id //...
// // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the MIT License. See LICENSE file in the project root for full license information. // namespace DotNetNuke.UI.Modules { public interface IProfileModule { bool DisplayModule { get; } int ProfileUserId { get; } } ...
#region using using System; using System.Diagnostics; using System.IO; using System.Linq; using System.Text.RegularExpressions; using System.Threading; using System.Threading.Tasks; using Gemini.Properties; #endregion namespace Gemini { static class Program { #region Definitions private static bool IsNowRsyn...
using System; using System.Collections; using System.Collections.Generic; using System.Drawing; using System.Linq; using System.Net.Mime; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace Flyweight { class FlyweightFactory { Dictionary<int, Image> images = new Dict...
using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.Filters; using System.Collections.Generic; using System.Linq; namespace Jieshai.Web { /// <summary> /// 授权过滤 /// </summary> public class AuthorizationFilter : IAuthorizationFilter { public AuthorizationFilter() { ...
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System.Collections.Generic; using FluentAssertions; using Xunit; namespace Microsoft.CodeAnalysis.Sarif.Visitors { public class RunMergingVisitorTests ...
using UnityEngine; using UnityEngine.UI; using System.Collections; public class Resources { public Text availableGold; public Text availableTime; public Resources() { availableGold = GameObject.Find ("CurrentGold").GetComponent<Text>(); availableTime = GameObject.Find ("CurrentTime").GetComponen...
using System; using System.Windows; using System.Windows.Controls; using System.Windows.Media; using System.Windows.Media.Animation; namespace Bililive_dm { /// <summary> /// DanmakuTextControl.xaml 的互動邏輯 /// </summary> public partial class DanmakuTextControl : UserControl { /// <summa...
using UnityEngine; using System.Collections; using System.Collections.Generic; using UnityEngine.UI; namespace QFramework { public class UIScrollPageMark : MonoBehaviour { public UIScrollPage scrollPage; public ToggleGroup toggleGroup; public Toggle togglePrefab; ...
using System; using System.Collections.Generic; using System.Linq; namespace Erwine.Leonard.T.ExtensionMethods.IEnumerableTypes { /// <summary> /// Represents results from Take2 extension methods which inserts one collection into another /// </summary> /// <typeparam name="T">The type of objects to en...
using UnityEngine; using System.Collections; /// <summary> /// 攝影機跟隨 /// </summary> public class CameraFollow : MonoBehaviour { public GameObject _gFollowTarget; void Start() { _gFollowTarget = GameObject.FindGameObjectWithTag("Player"); } void Update() { if (_gFollowTarget ...
using System; using System.Diagnostics; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace NGSTweaker { public partial class FormMain : Form { ...
using be.belgium.eid; using GalaSoft.MvvmLight.Command; using Newtonsoft.Json; using nmct.ba.cashlessproject.model.WPF; using nmct.ba.cashlessproject.organisation.customerApp.ViewModel.General; using System; using System.Collections.Generic; using System.Configuration; using System.Linq; using System.Net.Http; using S...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class ExplosiveController : MonoBehaviour, IGetStung { #region Animation Variables [SerializeField] Animator explosiveAnimator; float warningClipTime; float timeToImpact; float animSpeed; float distance; ...
using ContactManagement.Service.BLL.Services; using ContactManagement.Service.BLL.Services.Impl; using ContactManagement.Service.DLL.Models; using ContactManagement.Service.DLL.Repository; using System.Data.Entity; using System.Web.Http; using Unity; using Unity.WebApi; namespace ContactManagement.Service { public...
using UnityEngine; using System.Collections; public class SnowballController : MonoBehaviour { public float throwSpeed; public GameObject splash; Rigidbody2D rigidBody; // Use this for initialization void Awake () { rigidBody = gameObject.GetComponent<Rigidbody2D>(); } // Update is called once per frame...
using System; using System.Collections.Generic; using System.Reflection; using System.Text; namespace NekoUchi.Model { public class QnAUpisivanje : QnA { public override List<QnA> GenerateQnA(Course course, string username, string lessonName, Quiz quiz) { var qnAs = new ...
using UnityEngine; public class MyGameEnding : MonoBehaviour { #region Fields [SerializeField] private AudioSource _exitAudio; [SerializeField] private HealthController _bossHealthController; [SerializeField] private HealthController _playerHealthController; [SerializeField] private UIOutputCon...
using Game.Models; using System; using Xunit; namespace GameTest1 { public class UnitTest1 { [Fact] public void DrawTest() { //arrange draw d = new draw() { DrawID = "123", DrawName = "DailyJackpot", date_dt = DateTime.Now }; //act ...
namespace ZentryAnticheat.Client.Scans { public enum ScanEnum { full = 1, pedOnly = 2, VehicleOnly = 3, PropOnly = 4 } }
using Discord; using Discord.Commands; using Discord.WebSocket; using DiscordBotTest.Helpers; using DiscordBotTest.Modules; using DiscordBotTest.Runners; using Microsoft.Extensions.DependencyInjection; using System; using System.Net.Http; using System.Reflection; using System.Text.RegularExpressions; using System.Thre...
using Model.Helper; using Model.Schema.EIVO; using System; using System.Collections.Generic; using System.Drawing; using System.Drawing.Imaging; using System.Globalization; using System.IO; using System.Linq; using System.Text; using System.Web; using Utility; using ZXing; using ZXing.Common; using ZXing.QrCode; using...
using DataCenter.Data; using DataCenter.Helpers; using Newtonsoft.Json.Linq; using System; using System.Collections.Generic; using System.Globalization; using System.IO; using System.Linq; using System.Net; using System.Text; using System.Text.RegularExpressions; using System.Threading; using System.Thread...
using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Microsoft.EntityFrameworkCore; using NikeaaDesignWebsite.Models; namespace NikeaaDesignWebsite.Api.Admin { [Route("api/admin/my-new-screen")] [ApiController] public class MyNewScreenController...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using ClassLibrary; namespace ConsoleAppliaction { class Program { static void Main(string[] args) { Person person = new Person("Alex", 18); Console.Write...
using System; namespace Shakespokemon.Core { public static class Argument { public static void IsNotNullOrWhitespace(string value, string argumentName) { if(string.IsNullOrWhiteSpace(value)) { throw new ArgumentException("Can't be null or empty.", nameof(...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class DissoleController : MonoBehaviour { [SerializeField] private Material dissolveMat; public Transform deadPoint; [SerializeField] private float dissolveRange = 0; [SerializeField] ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace uppgift_1a { class Program { static void Main(string[] args) { Console.WriteLine("skriv en mening så kommer programmet \natt hitta antal stora A och små a:"...
namespace Whale.Shared.Models.Meeting.MeetingMessage { public class GetMessagesDTO { public string MeetingId { get; set; } public string Email { get; set; } } }
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Degree.Models; using Degree.Models.Twitter; using Degree.Services.TextAnalysis.Azure.Models; namespace Degree.Services.TextAnalysis.Azure { public static class TweetCognitive { public static async Ta...
using System; using System.Net; using System.Net.Sockets; using System.Threading; using PurificationPioneer.Scriptable; using ReadyGamerOne.Utility; using UnityEngine; using UnityEngine.Assertions; namespace ReadyGamerOne.Network { public class UdpHelper { public bool IsValid => clientSocket != null; ...
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Linq; using System.Threading.Tasks; namespace cosmetic_hub__e_shopping_system_.Models { public class Product { public int ProductId { get; set; ...
namespace ProWritingAid.SDK.Model.Async { public interface IAsyncResponse<TBody> { string TaskId { get; set; } TBody Result { get; set; } } }
using Braspag.Domain.DTO; using Braspag.Domain.Validators.Usuario; using FluentValidation; namespace Braspag.Domain.Commands { public static class UsuarioValidations { public static void ValidaUsuario(this UsuarioDto dto) { UsuarioValidators validator = new UsuarioValidators(); ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; class Test { static void Main() { Person p1 = new Person("Todor"); Console.WriteLine(p1.ToString()); Person p2 = new Person("Misho", 20); Console.WriteLine(p2.ToString()); ...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Runtime.InteropServices.WindowsRuntime; using System.Threading.Tasks; using Windows.Foundation; using Windows.Foundation.Collections; using Windows.UI.Xaml; using Windows.UI.Xaml.Controls; using Windows.UI.Xaml.Controls.Pr...
namespace Belot.UI.Windows { using System; using System.Collections.Generic; using System.Threading.Tasks; using Belot.Engine; using Belot.Engine.Game; using Belot.Engine.GameMechanics; using Belot.Engine.Players; public class UiPlayer : IPlayer { private const int WaitTim...
using System; using KelpNet.Common; using KelpNet.Common.Functions; namespace KelpNet.Functions.Activations { [Serializable] public class Sigmoid : CompressibleActivation { const string FUNCTION_NAME = "Sigmoid"; public Sigmoid(string name = FUNCTION_NAME, string[] inputNames = null, strin...
 namespace ETLBox.DataFlow { /// <summary> /// The mode of operation a DbMerge may work in. /// Full means that source contains all data, NoDeletions that source contains all data but no deletions are executed, /// Delta means that source has only delta information and deletions are deferred from a par...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Linq.Expressions; using System.Runtime.CompilerServices; using System.Text; using System.Threading.Tasks; namespace ExperianOfficeArrangement { public abstract class BindableBase : INotifyPropertyChanged ...
using System.Collections.Generic; using System.Linq; namespace Swiddler.IO { public class CachedBlockIterator { readonly int BlockSize = Constants.BlockSize; readonly Dictionary<long, ChunkDictionary> blocks = new Dictionary<long, ChunkDictionary>(); // key is block index (offset/blocksize) ...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class ReadAndPlaceTree : MonoBehaviour { public GameObject tree; public TextAsset data; private string text; // Use this for initialization void Start () { if (data != null) { ...
// Copyright 2020 Google Inc. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applica...
// <copyright file="DataDrivenHelper.cs" company="Objectivity Bespoke Software Specialists"> // Copyright (c) Objectivity Bespoke Software Specialists. All rights reserved. // </copyright> // <license> // The MIT License (MIT) // Permission is hereby granted, free of charge, to any person obtaining a copy // ...
namespace HangmanGame.UnitTests.TestData { public class ServerResponses { public static string WordAssociationsJsonResponse = @" { 'version': '1.0', 'code': 200, 'request': { 'text': [ 'hobby' ], 'lang': 'en', 'type': 'stimulus', 'limit': ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Configuration; using JoveZhao.Framework; namespace BPiaoBao.DomesticTicket.Platform.Plugin { //<platformSection> // <platforms> // <platform name="517" provider="PiaoBao.BTicket.Platform._517._517Platfo...
using LuaInterface; using RO; using SLua; using System; using UnityEngine; public class Lua_RO_RolePartBodyMount : LuaObject { [MonoPInvokeCallback(typeof(LuaCSFunction))] public static int constructor(IntPtr l) { int result; try { RolePartBodyMount o = new RolePartBodyMount(); LuaObject.pushValue(l, tr...
using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace RevisoHomework.model { public class Payment { public string PaymentID { get; set; } public string CustomerID { get; set; } public string ProjectID { get; set; } public double Price { ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ManagerSoftware.CoreEngine { internal class Salesman : Employee { Stack<Archive> stack = new Stack<Archive>(); Archive[] array = new Archive[list.count]; publi...
using OPAM.Interface; using System; using System.Collections.Generic; using System.Threading.Tasks; using System.IO; using Windows.Storage; using OPAM.Model; using OPAM.Common; namespace OPAM.Camera.Win.Implementations { public class FileHandler : IFileHandler { string targetFolderName; public...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace App1.Services { public interface IDownload { void DownloadFile(); long GetDownloadSize(); string GetFilename(); } }
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using XPowerAPI.Models; using XPowerAPI.Repository.Collections; namespace XPowerAPI.Services { public interface IStatisticService { Task<IPagedList<IStatistic>> GetStatisticsForDeviceAsync(long deviceId, s...
/* * Copyright 2014 Technische Universität Darmstadt * * 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 appl...
using System; using Microsoft.EntityFrameworkCore.Migrations; namespace Dz10.Migrations { public partial class AddOneToManyAndMantToOne : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.AddColumn<Guid>( name: "AirplaneId"...
using Newtonsoft.Json; using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Runtime.CompilerServices; using System.Text; using System.Threading; using System.Threading.Tasks; using System.Windows.Media; namespace _2048.Model { public class CellItem : INotify...
using RestSharp; namespace TrafficControl.DAL.RestSharp { /// <summary> /// Interface /// </summary> public interface ITCDataConnection { string ApiDirectory { get; set; } IRestResponse TCAPIconnection(Method b, string c); IRestResponse TCAPIconnection(string ApiSubDirector...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Globalization; namespace Assignent1_PrivateSchoolStructure { class Program { static void Main(string[] args) { CultureInfo myCI = new CultureInfo("el-GR...
namespace Plus.Communication.Packets.Outgoing.Inventory.Purse { internal class HabboActivityPointNotificationComposer : MessageComposer { public int Balance { get; } public int Notify { get; } public int Type { get; } public HabboActivityPointNotificationComposer(int ba...
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Linq; using System.Web; namespace TimPhongTro.Models { [Table("NHANXET")] public partial class NHANXET { [Key] public int MaNhanXet ...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class ScoreSystem : MonoBehaviour { #region Variables public Text scoreTextObject; public Text highScoreTextObject; int currentScore; #endregion private void Start() { ...