text
stringlengths
13
6.01M
using System.Collections.Generic; using Conditions.Guards; using Properties.Core.Interfaces; using Properties.Core.Objects; namespace Properties.Core.Services { public class CertificateService : ICertificateService { private readonly ICertificateRepository _certificateRepository; private reado...
using System; using System.Collections.Generic; namespace TestTdd { internal class SimpleStorePure { private int _energy = 0; private List<string> _inventory = new List<string>(); private IReadOnlyList<string> _roInventory; public SimpleStorePure() { _roIn...
namespace Vlc.DotNet.Core.Interops { using System; using System.Runtime.InteropServices; #if !NETSTANDARD1_3 using System.Security.Permissions; #endif /// <summary> /// Contains a handle that is safely released when not used anymore. /// </summary> /// <remarks>Inspired from code at https:...
using System; using System.Collections.Generic; namespace Schyntax.Internals { public class Validator { public string Input { get; } public ProgramNode Program { get; } public Validator(string input, ProgramNode program) { Input = input; Program = progr...
using Microsoft.VisualStudio.TestTools.UnitTesting; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Shipwreck.TypeScriptModels { [TestClass] public class IHasParentInternalTest { [TestMethod] public void InspectI...
namespace CoronaVirusUS { internal class TemplateProcessConstants { const string ht = "#"; const string corona = nameof(corona); const string virus = nameof(virus); const string outbreak = nameof(outbreak); public static string cvTag = "#CoronaVirus"; public sta...
using System; using System.Collections.Generic; using System.Data; using System.Data.SqlClient; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CapaDatos { public class DNotaCredito { SqlConnection cn; public DataTable SelectNotasCredito() { D...
using System.Collections; using System.Collections.Generic; using UnityEngine; #if UNITY_EDITOR using UnityEditor; #endif namespace AlmenaraGames.Demo { public class Comment : MonoBehaviour { [Multiline] public string comment; } #if UNITY_EDITOR [CustomEditor(typeof(Comment))] pu...
using ServiceQuotes.Domain.Entities.Abstractions; using System; using System.Collections.Generic; namespace ServiceQuotes.Domain.Entities { public class JobValuation : Entity { public JobValuation() { ServiceRequestJobValuations = new HashSet<ServiceRequestJobValuation>(); }...
using Projectmanagement.Models; using System; using System.Data.Entity; using System.Linq; using System.Net; using System.Web.Mvc; namespace Projectmanagement.Controllers { [Authorize] public class ProjectsController : Controller { private FirmaEntities db = new FirmaEntities(); // GET: P...
 using System; using System.IO; using System.Text.Json; namespace CSharpFeatures { class Program { static void Main(string[] args) { TeamMember teamMember = new() { Name = "Member 1" }; string jsonString = JsonSerializer.Serialize(teamMember); Console.Writ...
using System; using System.Linq; using Fingo.Auth.DbAccess.Models.Policies.Enums; using Fingo.Auth.DbAccess.Repository.Interfaces; using Fingo.Auth.Domain.Policies.ConfigurationClasses; using Fingo.Auth.Domain.Policies.Factories.Actions.Interfaces; using Fingo.Auth.Domain.Policies.Services.Interfaces; namespace Fingo...
using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace MGO.Models { public partial class ProductReport { public string Product_Category { get; set; } public string Product_Name { get; set; } public decimal Product_Price { get; set; } sta...
using UnityEngine; namespace UnityAtoms.FSM { /// <summary> /// Event Reference Listener of type `FSMTransitionData`. Inherits from `AtomEventReferenceListener&lt;FSMTransitionData, FSMTransitionDataEvent, FSMTransitionDataBaseEventReference, FSMTransitionDataUnityEvent&gt;`. /// </summary> [EditorIcon...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using MySql.Data.MySqlClient; namespace iGarson_App.DatabaseScript { class MySQL_Connect { private string Host, Port, Username, Password; private bool ConnectionState = false; ...
using System; using System.Net; using System.Windows; using System.Windows.Controls; using System.Windows.Documents; using System.Windows.Ink; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Animation; using System.Windows.Shapes; using GeoSearch.QualityQueryServiceReferenc...
using System; using System.ComponentModel.DataAnnotations; using com.Sconit.Entity.SYS; using System.Collections.Generic; using System.Runtime.Serialization; //TODO: Add other using statements here namespace com.Sconit.Entity.ORD { public partial class PickListMaster { #region Non O/R Mapping Propertie...
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.Windows.Media.Imaging;...
using Alabo.Framework.Basic.Notifications.Domain.Services; using Alabo.Test.Base.Attribute; using Alabo.Test.Base.Core; using Alabo.Test.Base.Core.Model; using Xunit; namespace Alabo.Test.Core.Common.Domain.Services { public class IMessageQueueServiceTests : CoreTest { [Theory] [InlineData(-1)]...
using Sentry.Internal.Extensions; namespace Sentry.Internal; /// <summary> /// Copied/Modified from /// https://github.com/mentaldesk/fuse/blob/91af00dc9bc7e1deb2f11ab679c536194f85dd4a/MentalDesk.Fuse/ObjectExtensions.cs /// </summary> internal static class ObjectExtensions { private static ConditionalWeakTable<o...
namespace Merchello.UkFest.Web { /// <summary> /// The constants. /// </summary> internal static class Constants { /// <summary> /// Gets the site specific extended data keys. /// </summary> internal static class ExtendedDataKeys { /// <summary> ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ProyectoLP2 { public abstract class AgenteExterno { private int id; private string nombre; private string apellidoPaterno; private string apellidoMater...
using System; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace TestPbkdf2Sha512 { [TestClass] public class GenerateComparableHashTests { [TestMethod] public void KnownValueProducesKnownHash() { string password = "Testing123"; var h...
using System; using System.Linq; namespace NStandard.Runtime { //TODO: Long-term Maintenance //TODO: To support more frameworks //Refer: https://docs.microsoft.com/en-us/nuget/reference/target-frameworks public class DotNetFramework { public string Name { get; } public string Abbre...
using Dapper; using MGV.Entities; using Microsoft.Data.Sqlite; using Microsoft.Extensions.Logging; using System; using System.Collections.Generic; using System.Data; using System.Linq; namespace MGV.Data.Repositories { public class FileObjectRepository : IDisposable { #region Private Fields p...
using System.Collections; using System.Collections.Generic; using DChild.Gameplay; using DChild.Gameplay.Environment; using DChild.Gameplay.Player; using DChild.Gameplay.Systems.Subroutine; using UnityEngine; public class SavePoint : MonoBehaviour, IInteractable { [SerializeField] private ParticleSystem m_fx...
using System; using System.Globalization; namespace Profiling2.Domain.Prf.Persons { public class PersonChangeActivityDTO { public int LogNo { get; set; } public string Who { get; set; } public string What { get; set; } public string When { get; set; } public string Prev...
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 Microsoft.International.Converters.PinYinConverter; using System.Collections.ObjectModel; namespac...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Text; using DelftTools.Functions; using DelftTools.Functions.Binding; using GeoAPI.Extensions.Coverages; using GeoAPI.Extensions.Networks; namespace NetTopologySuite.Extensions.Coverages { //Assumption is ...
namespace System.ComponentModel.DataAnnotations { using System; using System.ComponentModel.DataAnnotations.Resources; using System.Text.RegularExpressions; [AttributeUsage(AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Parameter, AllowMultiple = false)] public sealed...
using System; using System.Collections; using System.Collections.Generic; using UnityEngine; public class Coordinate : IEquatable<Coordinate> { int x, y; public Coordinate(int x, int y) { this.x = x; this.y = y; } public bool Equals(Coordinate other) { if (this.x == o...
using System; namespace radekProgram { class Program { static void Main(string[] args) { Console.WriteLine(new string[]{"a", "b", "c", "d", "e"}[new Random().Next(0, 6)]); } } }
using JetBrains.Annotations; using Newtonsoft.Json; using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Text; namespace Utilities { public class MetaVariables { public MetaVariables(Type reflectionObjectType, object reflect...
using System; using System.Runtime.InteropServices; using Vlc.DotNet.Core.Interops; using Vlc.DotNet.Core.Interops.Signatures; namespace Vlc.DotNet.Core { public sealed partial class VlcMediaPlayer { private EventCallback myOnMediaPlayerSnapshotTakenInternalEventCallback; public event EventHan...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Net; using System.Net.Http; using System.Net.Http.Headers; using System.Threading.Tasks; using System.Web; using System.Web.Http; using Welic.Dominio.Models.Uploads.Maps; using Welic.Dominio.Models.Uploads.Services; using ...
using UnityEngine.UI; using UnityEngine; using System.Collections.Generic; public class InitialOneSignal : MonoBehaviour { void Start() { OneSignal.SetLogLevel(OneSignal.LOG_LEVEL.NONE, OneSignal.LOG_LEVEL.NONE); OneSignal.StartInit("ca066e57-a54e-4704-9020-7aecdcd219f0") .HandleNotificationOpened(HandleNot...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Web; using System.Web.Mvc; namespace SimpleImageHelper.Controllers { public class ImageController : Controller { public ActionResult Image(string image) { var imagePath = Server.MapPath...
using Data.ViewModel; using Logic.Services.Report; using Repository; using System; using System.Collections.Generic; using System.Linq; using System.Web.Mvc; namespace Presentation.Controllers { public class ScoresController : BaseController { private ReportService service = new ReportService(); // GET: Scores...
using SFA.DAS.Authorization.ModelBinding; using SFA.DAS.ProviderCommitments.Infrastructure.OuterApi.Types; namespace SFA.DAS.ProviderCommitments.Web.Models.Apprentice { public class ConfirmEmployerViewModel : IAuthorizationContextModel { public long ProviderId { get; set; } public string Emplo...
using System; namespace TalkingGame { public enum TDGAAccountType { AccountAnonymous = 0, AccountRegistered = 1, AccountSinaWeibo = 2, AccountQQ = 3, AccountTencentWeibo = 4, AccountND91 = 5, AccountType1 = 11, AccountType2 = 12, AccountType3...
using NfePlusAlpha.Domain.Entities; using System; using System.Collections.Generic; using System.Data.Entity.ModelConfiguration; using System.Linq; using System.Text; using System.Threading.Tasks; namespace NfePlusAlpha.Infra.Data.EntityConfig { public class tbUsuarioConfig : EntityTypeConfiguration<tbUsuario> ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Diagnostics; using System.IO; namespace info.kubarek.RbDbg { public class RbInOut { StreamReader stdout = null; StreamWriter stdin = null; StreamReader stderr = null; event DataReceivedEventHandler ...
using System; /*Write a program that reads a rectangular matrix of size N x M and finds in it the square 3 x 3 that has maximal sum of its elements.*/ class Program { static int SumOfMatrix(int[,] matrix, int x, int y) { int sum = 0; for (int i = x; i < x + 3; i++) for (int j =...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; namespace IRAP.Client.Global.GUI.Dialogs { internal partial class frmAuthrizeCode : IRAP.Client.Global.frmCustomBase { public...
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; namespace TspAntColony { public partial class DebugWindow : Form { private static readonly DebugWindow _instance = new...
namespace WinAppDriver.UAC { internal interface IUACPomptHandler { void Activate(bool allowed); void Deactivate(); } }
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using Alabo.Domains.Entities.Extensions; using Alabo.Domains.Repositories.Mongo.Extension; using Alabo.Industry.Shop.Orders.Domain.Entities; using Alabo.Users.Entities; using MongoDB.Bson; using Newtonsoft.Json; using ZKCloud....
namespace gView.Framework.Data { public interface IGlobalOID { long GlobalOID { get; } } /* public interface IFeatureBuffer { IFeature CreateFeature(); bool Store(); } */ }
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.IO; using System.Net; using System.Net.Http; using System.Text; using Xamarin.Forms; using Newtonsoft.Json; using System.Diagnostics; namespace theCircuitLive { /// <summary> ///...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using SuperSocket.SocketBase.Command; using SuperSocket.SocketBase; using SuperSocket.SocketBase.Protocol; using System.IO; namespace BankCommunicationFront { public class MassageCommand : CommandBa...
using DFC.ServiceTaxonomy.GraphSync.Enums; using DFC.ServiceTaxonomy.GraphSync.Models; namespace DFC.ServiceTaxonomy.GraphSync.Interfaces { public interface IGraphReplicaSetLowLevel : IGraphReplicaSet { Graph[] GraphInstances { get; } IGraphReplicaSetLowLevel CloneLimitedToGraphInstance(int i...
using System; using System.Collections.Generic; using System.Data; using System.IO; using System.Linq; using System.Text; using System.Web; using System.Xml; using System.Data.SqlClient; using Newtonsoft.Json; using Newtonsoft.Json.Linq; namespace mr.bBall_Lib { public class cCore { cSQL lSql; ...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class HealthManager : MonoBehaviour { [SerializeField] private GameObject[] Heart = new GameObject[3]; private int hitCount; void Start() { hitCount = 0; for(int i=0; i<3; i++) { ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace CardgameCollection { public class KartenDeck { public KartenDeck() { throw new System.NotImplementedException(); } private List<Spielkarte> karten { ...
using System; /* builder: phenixiii build time: 2015-09-29 09:50:10 notes: */ namespace Phenix.Test.使用指南._21._5.Business { /// <summary> /// /// </summary> [System.Serializable] [System.ComponentModel.DisplayName("")] [Phenix.Core.Mapping.ReadOnly] public class AssemblyReadOnly : Ass...
using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; using TMPro; using UnityEngine.SceneManagement; namespace Sokpop { public class SokIntro : MonoBehaviour { public static SokIntro instance; [HideInInspector] public int transitionDisableDur, transitionDisableCounter; ...
using Alabo.Cloud.People.UserTree.Domain.Configs; using Alabo.Cloud.People.UserTree.Domain.Repositories; using Alabo.Datas.UnitOfWorks; using Alabo.Domains.Services; using Alabo.Framework.Basic.AutoConfigs.Domain.Services; using Alabo.Framework.Basic.Grades.Domain.Configs; using System; using System.Collections.Generi...
using Microsoft.AspNet.Identity; using Microsoft.AspNet.Identity.EntityFramework; using noBugsEx.Models; using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; namespace noBugsEx.Controllers { public class UsersController : Controller { // GET: Users...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class MovementOFObject : MonoBehaviour { [SerializeField] float speed; Vector2 direction; //Rigidbody2D rb; void Start() { direction = Vector2.one.normalized; ...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class SoundPlayer : MonoBehaviour { //----singleton---- private static SoundPlayer _singleton; public static SoundPlayer Instance { get { if (_singleton == null) { ...
using System.Collections.Generic; using UnityEngine; //class for the storage of each level info public class LevelData : ScriptableObject { public LevelInfo[] Levels; //wich are the models for the enemies public GameObject[] EnemyModels; int currentEnemy = -1; public GameObject GetEnemyModel () ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace _06.SumStringNums { class FindSum { static void Main() { Console.WriteLine("Enter a sequence of positive integer values, separated by spaces: "); ...
using UserService.Model; using UserService.Repository.CRUD; namespace UserService.Repository { public interface ICountryRepository : IReadCollection<Country> { } }
/** * Definition for singly-linked list. * public class ListNode { * public int val; * public ListNode next; * public ListNode(int val=0, ListNode next=null) { * this.val = val; * this.next = next; * } * } */ public class Solution { public ListNode ReverseBetween(ListNode h...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace LightingBook.Tests.Api.Product.Dto.TravelSearch { public class Rating { public string OriginAirportCode { get; set; } public string DestinationAirportCode { get; set; }...
namespace Serilog.Tests.Formatting.Display; public class MessageTemplateTextFormatterTests { [Fact] public void UsesFormatProvider() { var french = new CultureInfo("fr-FR"); var formatter = new MessageTemplateTextFormatter("{Message}", french); var evt = DelegatingSink.GetLogEvent(...
using System.Collections.Generic; namespace Apache.Shiro.Session.Management.Enterprise { public interface ISessionDao { object Create(ISession session); void Delete(ISession session); ICollection<ISession> GetActiveSessions(); ISession Read(object sessionId); ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; namespace ParallelSerializer { public interface ISerializationTask { void SerializeObject(object state); byte[] SerializationResult { get; } Tas...
using System; using System.Collections.Generic; using System.IO; namespace JsonCompare { class Program { static void Main(string[] args) { if (args.Length < 2) { Console.WriteLine("Invalid arguments. There are at least two space-separated json files expe...
using System.Drawing; using System.Windows.Forms; using rpg; public class Fight { private struct Fenemy //敌人 { public int id; public int hp; public int order; //最大的单位先行动,单位优先级 public int status; ...
using ESRI.ArcGIS.ADF; using ESRI.ArcGIS.DataSourcesGDB; using ESRI.ArcGIS.esriSystem; using ESRI.ArcGIS.Geodatabase; using ESRI.ArcGIS.Geometry; using ESRI.ArcGIS.Geoprocessor; using LoowooTech.Stock.Common; using LoowooTech.Stock.Models; using System; using System.Collections.Generic; using System.Data.OleDb; using ...
using AngleSharp.Html.Parser; using lsc.Bll; using lsc.Common; using lsc.Model; using System; using System.Collections.Generic; using System.Text; using System.Threading; namespace lsc.Spider { public class Spiderruyile { private void SpiderList(string url,string price,string city) { ...
using Photon.Pun; using System.Text; using UnityEngine; public enum ContuEventCode { GameAction = 100, Chat = 110, ChatSoundMessage = 111, LoadScene = 90 } public struct ContuActionData { public int UserId; public ActionType Action; public int[] Parameters; public ContuActionData(int...
using System.Threading.Tasks; using Microsoft.AspNet.Identity.EntityFramework; using SelectionCommittee.DAL.Entities; using SelectionCommittee.DAL.EntityFramework; using SelectionCommittee.DAL.Identity; using SelectionCommittee.DAL.Interfaces; namespace SelectionCommittee.DAL.Repositories { public class UnitOfWor...
namespace SubC.Attachments { using System; using System.Collections; using System.Collections.Generic; using UnityEngine; [Serializable] public class AttachObjectList { public struct Enumerator { AttachObjectList outer; int category; AttachObjectPhase ph...
using UnityEngine; using UnityEngine.UI; using System.Collections; public class PlayerHealth : MonoBehaviour { public float playerHP = 100f; public Slider healthSlider; // Use this for initialization void Start () { } // Update is called once per frame void Update () { healthSlider.value = p...
using System; using System.Collections.Generic; using System.Text; namespace ManagerSoftware.CoreEngine { public class Archive : IComparable<Archive> { public string Name { get; set; } public DateTime ArchiveDate { get; set; } public int Id { get; set; } public Archive(string ...
using System; using System.Collections.Generic; using System.Linq; using System.Security.Claims; using System.Threading.Tasks; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Identity; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.Rendering; using Microsoft.EntityFrameworkCore; using Calab...
using System; using System.Collections.Generic; using System.Text; namespace ClassesIerarchy.Interfaces { public interface ILeutenentGeneral { List<Private> Privates { get; set; } } }
using System; using System.Collections.Generic; using System.Text; namespace EasySave.Model.Job.Specialisation { /// <summary> /// Display all commands and their descriptions. /// </summary> class HelpJob : BaseJob { private IJobManager jobs; /// <summary> /// HelpJob cons...
using SPA.Models.DAO; using System; using System.Collections.Generic; using System.Text; namespace SPA.Models { public class Visite_enquete { public int Id { get; set; } public Enquete Enquete { get; set; } public Personne Titulaire_enquete { get; set; } public Personne Delegue...
using Microsoft.AspNetCore.Builder; using System; using System.Collections.Generic; using System.Text; using Microsoft.Extensions.DependencyInjection; using Microsoft.AspNetCore.Http; namespace FIVIL.Litentity { public static class LitentityMiddleWares { public static void UseLitentityPrivateAuthentic...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Repository.Models { public class BaseModel { public BaseModel() { iDisplayStart = 0; iDisplayLength = 10; } /// <summary> ...
using Alabo.Datas.UnitOfWorks; using Alabo.Domains.Repositories; using Alabo.Domains.Services; using Alabo.Users.Entities; using System.Collections.Generic; namespace Alabo.Users.Services { public class AlaboUserMapService : ServiceBase<UserMap, long>, IAlaboUserMapService { private readonly IDictionary<...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Sudoku { class Sudoku { private int[,] tab; private Random rnd; public Sudoku(bool getFromUser = false) { tab = new int[9, 9]; ...
using BigEgg.Tools.ConsoleExtension.Parameters; namespace BigEgg.PDFOrganizer.Parameters { [Command("split-block", "Split the DPF file to blocks by setting")] public class SplitBlockParameter { [StringProperty("source", "s", "The source PDF file", Required = true)] public string Source { g...
using AutoMapper; using Example.Core.Inputs.UserService; using Example.Core.Model.Users; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace Example.Web { public class MappingProfile : Profile { public MappingProfile() { Create...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading.Tasks; using SinusSkateboardsWebApp.Models; using SinusSkateboardsWebApp.ViewModels; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.Rendering; using Microsoft.E...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace MineSweeper { class MineSweeperField { private static int[,] field; private int hight, width; public MineSweeperField() { } public void...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class ThirdBossAngelNoPerch : ThirdBossAngel { // Use this for initialization void Start () { base.Start(); SetTimeToStayPerched(0f); SetDistanceBeforePerch(0f); } }
using System.Windows.Forms; namespace MegaDesk_xeviousgreen { public partial class Quotes : Form { public Quotes() { InitializeComponent(); } private void comboBox1_SelectedIndexChanged(object sender, System.EventArgs e) { } private void Q...
using System; using System.Collections.Generic; using System.Text; namespace ApiHelper { public class DogResultModel { public DogModel Results { get; set; } } }
// <copyright file="FeatureTable.cs" company="WaterTrans"> // © 2020 WaterTrans // </copyright> namespace WaterTrans.GlyphLoader.Internal.AAT { /// <summary> /// The chain's feature subtable. /// </summary> internal sealed class FeatureTable { /// <summary> /// Initializes a new in...
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Text; using Alabo.Data.People.Users.Domain.Services; using Alabo.Data.People.Users.Dtos; using Alabo.Domains.Entities; using Alabo.Domains.Enums; using Alabo.Domains.Query; using Alabo.Extension...
using UnityEngine; using System.Collections; public class Projectile : MonoBehaviour { public float speed = 1; public float lifeSpan = 3; void Update () { this.transform.Translate(new Vector3(0, 0, this.speed)); StartCoroutine(DestroyAfterDelay()); } IEnumerator DestroyAfterDelay () { yield return ne...
using Newtonsoft.Json; using System; namespace Billetautomat { public class Booking { [JsonProperty("bookingID")] public int bookingID { get; set; } [JsonProperty("customerID")] public string customerID { get; set; } [JsonProperty("seats")] public Seats[] se...
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.ComponentModel; using System.ComponentModel.Design; using System.Data; using System.Drawing; using System.Drawing.Design; using System.Reflection; using System.Security.Authentication; using System.Threading; using Syste...
using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.JsonPatch; using Microsoft.AspNetCore.Mvc; using ProductsAPI.Models; using ProductsAPI.Repository; using ProductsAPI.Services; using System.Collections; using System.Collections.Generic; using System.Linq; // For more information on enabli...
using _7in14.Controllers; using FluentAssertions; using Xunit; namespace _7in14.Tests.Controllers { public class PingControllerTests { [Fact, Trait("Category", "Unit")] public void Get_ReturnsPong() { // given var controller = new PingController(); ...
public class Solution { public double MyPow(double x, int n) { if (n == 0) return 1.0; double r = MyPow(x, n / 2); if (n % 2 == 0) return r * r; if (n > 0) return r * r * x; return r * r / x; } }