text
stringlengths
13
6.01M
/** * * name : IGameRepositories.cs * author : Aleksy Ruszala * date : 29/04/2019 * * */ namespace Application.Repo.Contracts { public interface IGameRepositories { } }
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Task1; namespace Task1Console { class Program { static void Main(string[] args) { TimerCounts TestTimer = new TimerCounts(); Tests RussianTest= new ...
using DatabaseAPI.Models; using DatabaseAPI.Models.DbModels; using Microsoft.AspNetCore.Identity; using Microsoft.AspNetCore.Identity.EntityFrameworkCore; using Microsoft.EntityFrameworkCore; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace DatabaseAPI.Data { ...
namespace InfraSpy.Core { using k8s; using k8s.Models; using System; using System.Collections.Generic; using System.IO; using System.Text; public sealed class K8SClient { private KubernetesClientConfiguration config; private IKubernetes client; /// <summary> ...
// // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the MIT License. See LICENSE file in the project root for full license information. // #region Usings using System.Globalization; using DotNetNuke.Entities.Users; #endregion namespace DotNetNuke.Services.Tokens { public interface IPr...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace KPI.Model.ViewModel { public class DatasetVM { public string CategoryCode { get; set; } public string KPIName { get; set; } public string KPILevelCode { get; se...
using Discord; using Discord.Commands; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace WaitingListBot { public class ModPermissionAttribute : PreconditionAttribute { private static readonly ulong[] GlobalModList = new ulong[] { ...
using BPiaoBao.Client.UIExt; using GalaSoft.MvvmLight; using GalaSoft.MvvmLight.Command; namespace BPiaoBao.Client.DomesticTicket.ViewModel { public class RelationOrderNoViewModel : ViewModelBase { /// <summary> /// 关联成人订单号vm /// </summary> private TicketBookingViewModel _vm; ...
// // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the MIT License. See LICENSE file in the project root for full license information. // #region Usings using System; using System.Web.UI.WebControls; using DotNetNuke.Services.Localization; using Telerik.Web.UI; #endregion namespace DotN...
using Common; namespace Ceasar { class Program { private static int key = 3; private static readonly string message = "meet me after the toga party"; private static string Encrypt(string message) { string cipher = string.Empty; for (int i = 0; i < mess...
using System; using System.Collections.Generic; using System.Reflection; using System.Text; namespace CoreFrameWork.EventBus { /// <summary> /// 消息订阅接口 /// </summary> public interface IMessageSubscribe { /// <summary> /// 初始化 /// </summary> /// <param name="assembli...
using System; using System.Collections; using DialogSystem.Model; using DialogSystem.Scripts; using ReadyGamerOne.Script; using UnityEngine; using UnityEngine.UI; using Object = UnityEngine.Object; namespace DialogSystem.View { public abstract class AbstractNarratorDialogUI:DialogUnitUI { protected boo...
using Eventual.EventStore.Core; using System; using System.Collections.Generic; using System.Text; using System.Threading.Tasks; namespace Eventual.EventStore.Readers { public class InProcessEventStreamReader : IEventStreamReader { #region Attributes private const int MaxResultsPerRequest = 5...
using System; using System.Collections.Generic; using isolutions.GrillAssesment.Client.Model; namespace rebulanyum.GrillOptimizer.Business { /// <summary>This class represents the plan generated for grilling the menu.</summary> public class GrillMenuGrillingPlan { /// <summary>Rounds to be needed ...
using Libary.DataAccess; using Libary.Models; using System; using System.Collections.Generic; using System.Data; using System.Data.Entity.Core.Objects; using System.Data.SqlClient; using System.Linq; using System.Net; using System.Web; using System.Web.Mvc; namespace Libary.Controllers { public class CustomerCont...
using Microsoft.EntityFrameworkCore; using SignalRSample.Models.Entities; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace SignalRSample.Context { public class DataBaseContext : DbContext { public DataBaseContext(DbContextOptions options):bas...
using System; using System.Collections.Generic; using Newtonsoft.Json; namespace nashpati.skin { public class VideoResponse { [JsonProperty("id")] public int Id { get; set; } [JsonProperty("status")] public int Status { get; set; } [JsonProperty("timestamp")] public string Timestamp { get; set; } [...
using System.Runtime.CompilerServices; namespace Roaring { internal static class ArrayContainer { //public const int MinArraySize = 4; public const int MaxArraySize = 4096; [MethodImpl(MethodImplOptions.AggressiveInlining)] public static int BinarySearchArray(ushort[] data, in...
using Microsoft.DataStudio.Solutions.Model; namespace Microsoft.DataStudio.SolutionDeploymentWorker.Models { public class DeploymentOutputs { public Parameter<string> StorageAccountName; public Parameter<string> StorageAccountConnectionString; public Parameter<string> EventHubName; ...
using System; namespace kolekcje { public class ZaMaloSztukException:Exception { public ZaMaloSztukException() { } } }
using System; using System.Collections.Generic; using System.Windows.Forms; using TNBase.Objects; using TNBase.DataStorage; using Microsoft.Extensions.DependencyInjection; using System.Globalization; namespace TNBase { public partial class FormHistory { private int minYear; private int maxYear; private int cur...
using System.Diagnostics; using Newtonsoft.Json; using OmniSharp.Extensions.LanguageServer.Protocol.Generation; using OmniSharp.Extensions.LanguageServer.Protocol.Serialization; using OmniSharp.Extensions.LanguageServer.Protocol.Serialization.Converters; namespace OmniSharp.Extensions.LanguageServer.Protocol.Models { ...
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="Size.cs" company="Telerik"> // Homework HQC // </copyright> // <summary> // The size. // </summary> // ------------------------------------------------------------------------...
using System.Collections.Generic; using System.Data.Entity; using System.Linq; using DAL.DTO; using DAL.Interface; using ORM.Entities; namespace DAL.Repos { //TODO: Refactor public class UserRepo : IRepository<DalUser> { private readonly DbContext _context; public UserRepo(DbContext conte...
using UnityEngine; using System.Collections; public class Blow : PowerUp { private const string CLOGTYPE = "BLOW"; public Blow (){ this.typeName = CLOGTYPE; } public override IEnumerator ApplyEffectTo(Player enemy){ Debug.Log("<color="+Utils.GetInverseColor(celestialAlignment)+">Sopla por " + effectDuration ...
using System.Threading.Tasks; using Discord.Commands; using Westbot.Preconditions; namespace Westbot { [Name("Debugging")] public class EmoteID : ModuleBase<SocketCommandContext> { [Command("showemote"), Alias("show emote", "getemote", "get emote")] [Remarks("Gets an emote and outputs the...
using UnityEngine; using System.Collections; using UnityEngine.UI; public class PachinkoGameController : MonoBehaviour { public AudioSource[] songList; public AudioSource introSong; private int gameScore = 0; public Text scoreText; public GameObject results; public GameObject nuxPath; private bool nuxMode = f...
using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Mvc.RazorPages; using Microsoft.Extensions.Options; namespace Microsoft.Extensions.DependencyInjection { public class DefaultRazorPagesOptionsSetup : IConfigureOptions<RazorPagesOptions> { private readonly IHostingEnvironment _hostingEnvir...
namespace HCL.Academy.Model { public class TrainingModules { public int Id { get; set; } public string ModuleName { get; set; } public string AssessmentName { get; set; } public int AssessmentPassingPercentage { get; set; } public int AssessmentTimeInMins { get; set; } ...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Drawing; using System.Data; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace Roger { public partial class LoadingPanel : UserControl { public int TasksCom...
using System.Collections; using System.Collections.Generic; using TMPro; using UnityEngine; /* * This class models one package */ public class Package : MonoBehaviour { //---------------------------------- //PUBLIC VARIABLES //---------------------------------- //Mesh of the name public TextMe...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.Rendering; using Microsoft.EntityFrameworkCore; using MatinloAdventures.Data; using MatinloAdventures.Data.Models; using MatinloAdventures.Services.Contracts; ...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.SceneManagement; using UnityEngine.Audio; public class PlayerScript : MonoBehaviour { //Movement Variables float _speed = 4f; public float _jumpSpeed = 7f; public float _fallMultiplier = 5f; public floa...
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations.Schema; using Whale.DAL.Abstraction; namespace Whale.DAL.Models { public class ScheduledMeeting : BaseEntity { public Guid MeetingId { get; set; } public Meeting Meeting { get; set; } public Gui...
using System.Windows.Controls; using Torshify.Radio.Core.Models; using Torshify.Radio.Framework.Controls; namespace Torshify.Radio.Core.Views.Settings.General { public partial class TrackSourceSectionView : UserControl { #region Constructors public TrackSourceSectionView() ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Security.Cryptography; namespace SmartMES_Ziincheol { class MyClass { public MyClass() { // // TODO: 여기에 생성자 논리를 추가합니다. // ...
namespace Payment.Domain.Transfer { public class AccountOwnerId { private AccountOwnerId(string id) { _id = id; } private readonly string _id; public static AccountOwnerId From(string accountOwnerId) { return new AccountOwnerId(accountOwn...
using BelajarwebASPNET.Models; using System; using System.Collections.Generic; using System.Data.Entity; using System.Linq; using System.Net; using System.Web; using System.Web.Mvc; namespace BelajarwebASPNET.Controllers { public class AdminController : Controller { private dbConnection Conn = new dbC...
using System; using System.Text.RegularExpressions; using HandyControl.Data; namespace HandyControl.Tools { /// <summary> /// 包含一些正则验证操作 /// </summary> public static class RegularJudgment { private static readonly RegularPatterns RegularPatterns = new RegularPatterns(); /// <s...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CoreComponents.Threading.SubThreading.Ids { public abstract class BaseIsolatedAppDomainWithId<TID> : BaseIsolatedAppDomain, IIsolatedThreadWithId<TID>, IIsolatedThread { priv...
using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace FormEsgi.Models { public class TypeUser { public int TypeUserId { get; set; } public string name { get; set; } } }
using System.Collections; using System.Collections.Generic; using UnityEngine; public class MagicCrystal : MonoBehaviour { public GameObject player; void Start () { player = GameObject.FindGameObjectWithTag ("Player"); } //if player's sword hits the crystal void OnCollisionEnter(Collision col) { if (co...
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="TechnologiesImporterTest.cs" company="CGI"> // Copyright (c) CGI. All rights reserved. // </copyright> // -----------------------------------------------------------------------...
using System.Collections.Generic; using System.ComponentModel.DataAnnotations; namespace ItSolutionExpert.DataAccessLayer.Entities { public class Category { [ScaffoldColumn(false)] public int Id { get; set; } [Required] [StringLength(31, MinimumLength = 3)] public strin...
using System; namespace Logs.Models { public class Measurement { public Measurement() { } public Measurement(int height, double weightKg, double bodyFatPercent, int chest, int shoulders, i...
using System; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; namespace NetFabric.Hyperlinq.Benchmarks { public static class TestAsyncEnumerable { public static Enumerable ValueType(int[] array) => new Enumerable(array); public static IAsyn...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class WeatherHandler : MonoBehaviour { //Creating instances of the WeatherDecider and WindmillScript public WeatherDecider weatherDecider; public WindmillSpeed windmillSetSpeed; public void SetTheWeather(CurrentWeath...
using System.Collections.Generic; using BarberShop.Core.Common; namespace BarberShop.Core.Entities { public class Service : DictionaryEntity { public Service() { ServiceCategories = new HashSet<ServiceCategory>(); QualifiedEmployees = new HashSet<ServiceEmployee>(); ...
using CrystalDecisions.CrystalReports.Engine; using Microsoft.Reporting.WinForms; using System; using System.Collections.Generic; using System.Data; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using...
namespace OPAM.Model { public class ImageItem { #region Constructor public ImageItem() { } #endregion #region fields string path; string dateCreated; string name; #endregion #region properties public string Path...
using System; namespace InterfacesPolymorprism { public class SmsNotification : INotifcationChannel { public void Send(string message) { Console.WriteLine("Sms is sending.."); } } }
using System; using System.Collections.Generic; using System.ComponentModel; using System.Drawing; using System.Data; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; using Entity; using LogicHandler; using Ultilities; namespace SightExam { public partial class Stude...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Homework_8 { class Program { static void header(string text) { Console.WriteLine("********* Task {0} ***********", text); } pr...
using System; using System.Collections.Generic; using System.IdentityModel.Tokens.Jwt; using System.Linq; using System.Security.Claims; using System.Threading.Tasks; using Kers.Models.Repositories; using Kers.Models.Entities.KERScore; using Kers.Models.Abstract; using Microsoft.AspNetCore.Authorization; using...
using MyMvc.Areas.Security.Models; using MyMvc.Dal; using System; using System.Collections.Generic; using System.Data.SqlClient; using System.Linq; using System.Web.Mvc; namespace MyMvc.Areas.Security.Controllers { public class UsersController : Controller { public UsersController() ...
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; namespace Faculty { public partial class AdminEdit : Form { public AdminEdit() {...
// // 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.Modules.DigitalAssets.Services.Models { public class SearchFolderContentRequest { public int FolderId { get; set; } ...
using System; using Autofac; using DavisVantage.WeatherReader; using DavisVantage.WeatherReader.WeatherLinkIp; using NLog; namespace Sample.NetCore.Autofac { public class Program { private static readonly Logger s_logger = LogManager.GetCurrentClassLogger(); public static void Main(string[] ar...
 using System; using System.Collections.Generic; using System.Configuration; using System.Dynamic; using System.Linq; using System.Text.RegularExpressions; using System.Web; using System.Web.Mvc; using Newtonsoft.Json; namespace AngularKendo.UI.Controllers { /// <summary> /// default controller /// </sum...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Linq; using System.Threading.Tasks; using System.Windows.Forms; using DevExpress.XtraEditors; using DAL; using BUS; using ControlLocalizer; namespace GUI { public p...
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; namespace Calculator { public partial class Form1 : Form { private...
using LuaInterface; using RO; using SLua; using System; using UnityEngine; public class Lua_RO_CircleDrawerSmooth : LuaObject { [MonoPInvokeCallback(typeof(LuaCSFunction))] public static int Set(IntPtr l) { int result; try { CircleDrawerSmooth circleDrawerSmooth = (CircleDrawerSmooth)LuaObject.checkSelf(l)...
using UnityEngine; using System.Collections; using System.Collections.Generic; using System.IO.Ports; using System; public class InputController : MonoBehaviour { public enum LEDActions { turnOff, turnOn, toggle, } SerialPort stream = new SerialPort("COM3", 115200); // received data st...
using Carpark.Register.Application.ParkingRates.Queries.GetParkingRate; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using System.Threading.Tasks; namespace Carpark.Register.WebUI.Controllers { public class ParkingRateController : ApiController { /// <summary> /// ...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace PaginationDemo.Models { public class PersonListViewModel { public IEnumerable<Person> People { get; set; } public PagingInfo PagingInfo { get; set; } } }
using FindSelf.Domain.Entities.UserAggregate; using FindSelf.Domain.Entities.UserAggregate.Rules; using FindSelf.Domain.Repositories; using FindSelf.Domain.SeedWork; using FindSelf.Infrastructure.Database; using System; using System.Collections.Generic; using System.Text; using System.Threading.Tasks; namespace FindS...
using BLL.Interface.Entities; using System; using System.Collections.Generic; namespace BLL.Interface.Services { public interface IQuestionService { IEnumerable<QuestionEntity> GetAllQuestionEntity(); QuestionEntity GetQuestionEntity(int id); QuestionEntity GetQuestionEntityById(int? i...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Xml; using System.Xml.XPath; using System.Xml.Linq; using Bentley.DgnPlatformNET; namespace DgnOrganizer.XmlData { class SimElement { public string CatalogType { get; set; } public...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace PDTech.OA.BLL { public class TestOnline { private readonly PDTech.OA.DAL.TestOnline dal = new PDTech.OA.DAL.TestOnline(); public IList<PDTech.OA.Model.TestOnline> Get_Paging_List(string title, int ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Diagnostics; namespace Sunny.Lib { public class PollWaitUtility { //Function to encapsulate polling condition. public delegate bool PollCondition(); private static readonly TimeSpan def...
using UnityEngine; using System.Collections; using System.Collections.Generic; using System.Linq; using System; using ModestTree.Util; namespace Atoms { public static class Atom { public static IEnumerable Wait {get { while (true) yield return null; }} public static IEnumerable Do (Action f) { ...
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.Collections; using HSoft.SQL; using Obout.ComboBox; using Obout.ListBox; using HSoft.ClientManager.Web; public partial class Pages_Info : System....
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace SessieEnSlots.Controllers { public class RegisterController { } }
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.HttpsPolicy; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Dependency...
using System; using System.ComponentModel.DataAnnotations; namespace PaymentApi.Models { public class Card { [Key] public int Id { get; set; } [Required] public string Titular { get; set; } [Required] public string Numero { get; set; } [Required] ...
using LinqToObjects.Models; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace LinqToObjects.DAL { public class Data { public List<Employee> Employees { get; set; } public Data() { Employees = new ...
using System; using System.Globalization; using System.Windows.Data; namespace LandscapeBuilderGUI.Converters { public class DrawingColorToWindowsMediaColor : IValueConverter { public object Convert(object value, Type targetType, object parameter, CultureInfo culture) { S...
using System; using Foundation; using UIKit; namespace BasicUI { public partial class sampleTableViewCell : UITableViewCell { public static readonly NSString Key = new NSString ("sampleTableViewCell"); public static readonly UINib Nib; static sampleTableViewCell () { Nib = UINib.FromName ("sampleTableV...
// 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 applica...
using UnityEngine; using UnityEngine.UI; using UnityEngine.EventSystems; using DG.Tweening; public class ButtonController : MonoBehaviour { void Awake() { transform.localScale = Vector3.zero; ShowWindow(); } void ShowWindow() { transform.DOScale(1f, 1.5f).SetEase(Ease.OutB...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Data; using System.Web.UI.WebControls; public partial class BillingStatusReport : System.Web.UI.Page { string obj_Authenticated; PlaceHolder maPlaceHolder; UserControl obj_Tabs; User...
using Ghost.Extensions; using System; using System.Collections.Generic; using UnityEngine; namespace RO { public class EffectMeteorShower : EffectLogic { public ResourceID resID; public MeteorShower prefab; public int count; public float intervalMin = 0.3f; public float intervalMax = 0.3f; public Ve...
using System; using TNBase.Objects; using NLog; using TNBase.DataStorage; using Microsoft.Extensions.DependencyInjection; using System.Windows.Forms; using Microsoft.VisualBasic; namespace TNBase { public partial class FormAddCollectors { // Logging instance. private readonly Logger log = LogMa...
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.Drawing.Imaging; using System.Security.Cryptography; using System.Threading; using System.Ru...
using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Otchi.BitOperations.Tests { [TestClass] public class TestAreAllBitsSet { [TestMethod] public void TestAreAllBitsSetSByte() { const byte by = 0xFF; const sbyte sb = unchecked((sbyte) by); ...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class GunnerRightClick : Ability { protected string projectilePrefabPath; protected GameObject projectilePrefab; private float speed; private float range; private float damage; private GunnerRightClick() ...
using SLua; using System; using UnityEngine; public class Lua_UnityEngine_EllipsoidParticleEmitter : LuaObject { public static void reg(IntPtr l) { LuaObject.getTypeTable(l, "UnityEngine.EllipsoidParticleEmitter"); LuaObject.createTypeMetatable(l, null, typeof(EllipsoidParticleEmitter), typeof(ParticleEmitter));...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using Whale.API.Models.ScheduledMeeting; using Whale.API.Services; using Whale.Shared.Exceptions; using Whale.Shared.Models; using Whale.Shared.Mode...
using NUnit.Framework; using LotteryService; namespace LotteryTests { public class TestClass4 { Class1 tenSortedNumbers = new Class1(); [Test] public void ReturnTenNumSorted() { int[] lotteryNums10 = new int[] { 120, 45, 60, 90, 13, 0, 94, 78, 42, 51 }; ...
/* * 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 System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Text; namespace CoreDemoModels.DomainModels { public class Depertment { [Key] public int DepertmentId { get; set; } public string Name { get; set; } public bool IsDeleted {...
using Peppy; using Peppy.Extensions; using System; using System.Collections.Generic; using System.Text; namespace Microsoft.Extensions.DependencyInjection { /// <summary> /// Contains extension methods to <see cref="IServiceCollection" /> for configuring consistence services. /// </summary> public sta...
using System; class Program { static void Main() { var n = int.Parse(Console.ReadLine()); for (int firstNum = 97; firstNum < 97 + n; firstNum++) { for (int secondNum = 97; secondNum < 97 + n; secondNum++) { for (int thirdNum = 97; thirdNum < 97...
using System.Net; using RestSharp; using TrafficControl.DAL.RestSharp.Types; namespace TrafficControl.DAL.RestSharp { /// <summary> /// Denne klasse har ansvar for at API kald der omhandler Installation /// </summary> /// <remarks>nedarvet fra TCDATA<list type="Installation"></list></remarks> publ...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class StealthInterceptorShot : MonoBehaviour { [SerializeField] private GameObject _enemyLaserPrefab; [SerializeField] private float _fireRate = 3.0f; [SerializeField] private GameObject _enemyStealthShip; [Serialize...
using CoreFlogger; using CoreTodosAPI.Models; using IdentityServer4.AccessTokenValidation; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Diagnostics; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Http; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Configuration; usin...
using System; namespace Templates.Framework { public interface IVariable { string InstanceName { get; } string InstanceNameReference { get; } bool IsStatic { get; } string ListInstanceName { get; } string ListInstanceNameReference { get; } string Reference { get...
// GIMP# - A C# wrapper around the GIMP Library // Copyright (C) 2004-2010 Maurits Rijk // // ProcedureSet.cs // // 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 by the Free Software Foundation; either // version 2 of ...
using System; using System.Drawing; namespace Calcifer.UI.Controls { public class Button: UIElement { private enum ButtonState { Default = 0, Selected = 1 } private ButtonState state; public event EventHandler<EventArgs> Pressed; ...
using System; using Android.App; using Android.Content; using Android.Runtime; using Android.Views; using Android.Widget; using Android.OS; namespace chapter4 { [Activity (Label = "chapter4", MainLauncher = true, Icon = "@drawable/icon")] public class MainActivity : Activity { protected override void OnCreate ...