text
stringlengths
13
6.01M
using System; using System.Collections.Generic; using System.IO; using System.Text; namespace StreamTest { public static class FileSystemInfoTest { public static void ThroughFilesAndDirs() { string path = @"C:\"; foreach (var entry in Directory.EnumerateDirectories(path...
using BP12.Collections; using DChild.Gameplay.Combat; using Sirenix.OdinInspector; using UnityEngine; namespace DChild.Gameplay.Objects.Characters.Enemies { public class GraveDiggerBrain : MinionAIBrain<GraveDigger> { [SerializeField] [MinValue(0f)] private float m_attackRange; ...
using System; using Pe.Stracon.SGC.Infraestructura.CommandModel.Base; namespace Pe.Stracon.SGC.Infraestructura.CommandModel.Contractual { /// <summary> /// Clase que representa la entidad Requerimiento Parrafo /// </summary> /// <remarks> /// Creación : GMD 20150511 <br /> /// Modificación : ...
using System; using Microsoft.Xna.Framework.Content; using Microsoft.Xna.Framework.Graphics; using Microsoft.Xna.Framework; namespace BuildingGame { static class Fonts { public static SpriteFont Standard { get; set; } static Fonts() { } public static void...
using Chloe.Dtos; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Chloe.NBAClient.Contracts { public interface INBAClient { Task<AllPlayersResponseDto> GetAllPlayersAsync(); } }
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 NPOI; using NPOI.HPSF; using NPOI.HSSF; using NPOI.HSSF.UserModel; using NPOI.POIFS; using NPOI.Uti...
using Umbraco.Core.Events; using Umbraco.Core.Models; using Umbraco.Core.Services; namespace Uintra.Core.UmbracoEvents.Services.Contracts { public interface IUmbracoMediaSavedEventService { void ProcessMediaSaved(IMediaService sender, SaveEventArgs<IMedia> args); } }
using System; using System.Collections.Generic; using System.IO; using System.Xml; using Manor.Plugin; using Manor.Plugin.Application; using PhuLiNet.Plugin.Application; using PhuLiNet.Plugin.Contracts; using PhuLiNet.Plugin.Manager; using PhuLiNet.Plugin.Menu; using PhuLiNet.Plugin.Menu.MainMenu; namespa...
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 A_day_at_the_Races { public partial class Form1 : Form { publi...
using BusinessLayer.Concrete; using DataAccessLayer.Concrete.Repositories; using EntityLayer.Concrete; using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using DataAccessLayer.Concrete; namespace MvcProjeKampi.Controllers { public class CategoryController : ...
using NUnit.Framework; using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Wgaffa.Functional.Tests { [TestFixture] public class MaybeEqualityTests { [Test] public void Equals_ShouldReturnFal...
using Alabo.App.Share.HuDong.Domain.Entities; using System.Collections.Generic; namespace Alabo.App.Share.HuDong { /// <summary> /// 互动活动接口 /// </summary> public interface IHuDong { /// <summary> /// 获取活动的默认奖励 /// </summary> /// <returns></returns> L...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace WcfServiceHost.ITS_Service { using Entity; using Repository.ITSRepo; using DTO.ITSDTO; using System.ServiceModel; public class FirmaShrinkService : ITS_ServiceBase<FirmaS...
using Abp.Domain.Entities; using Abp.Domain.Entities.Auditing; using System; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace DgKMS.Cube.Models { [Table("party_photo")] public class PartyPhoto : Entity<long>, IHasCreationTime, IHasModificationTime ...
//using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class TeacherMono : MonoBehaviour { public static TeacherMono instance = null; GameManager gamemanager; Teachermanager teachermanager; Teacher teacherinfo; public string Name; // init...
using System; using System.Collections.Generic; using System.Text; namespace Cosmetic_Store { class Logica { //DECLARACION MATRIZ static string[,] matrizProductos = new string[5, 4]; #region INICIO ///<summary> /// INICIAMOS EL PROGRAMA Y PEDIMOS INGRESA...
using GraphicalEditor.Enumerations; using GraphicalEditor.Models; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using GraphicalEditor.DTO; namespace GraphicalEditor.Service { public class RoomService : GenericHTTPService { public Li...
using Backend.Model.Pharmacies; using System.Collections.Generic; namespace IntegrationAdaptersTenderService.Repository { public interface ITenderMessageRepository { TenderMessage GetById(int id); IEnumerable<TenderMessage> GetAll(); IEnumerable<TenderMessage> GetAllByTender(int id); ...
using Autofac; using EmberKernel.Services.Statistic; using EmberKernel.Services.Statistic.Hub; using Statistic.WpfUI.UI.Command; using Statistic.WpfUI.UI.Model; using System; using System.ComponentModel; using System.Runtime.CompilerServices; using System.Windows; using System.Windows.Input; using IComponent = EmberKe...
using System.Collections.Generic; using System.Linq; using DFC.ServiceTaxonomy.GraphSync.Extensions; using DFC.ServiceTaxonomy.GraphSync.Interfaces; using DFC.ServiceTaxonomy.GraphSync.Models; namespace DFC.ServiceTaxonomy.GraphSync.CosmosDb.Commands { public class CosmosDbDeleteNodesByTypeCommand : IDeleteNodesB...
using CarInsurance.Models; using CarInsurance.ViewModel; using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; namespace CarInsurance.Controllers { public class AdminController : Controller { // GET: Admin public ActionResult Index() ...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using System.Data; public partial class Viewinvoice3 : System.Web.UI.Page { private String num; protected void Page_Load(object sender, EventArgs e) { ...
using System; using System.Collections; using System.Collections.Generic; using MathNet.Numerics.LinearAlgebra; using MathNet.Numerics.LinearAlgebra.Single; using UnityEditor; using UnityEngine; // A triangle shape consisting of Constant Strain Triangles (CST) // // As the name implies the strain is the same across ...
using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; using System.Windows.Forms; namespace CSharp_RegExpress { static class Program { /// <summary> /// 应用程序的主入口点。 /// </summary> [STAThread] static void Main() {...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Text.RegularExpressions; using System.Threading.Tasks; namespace ClassStudent { class Program { static void Main() { List<Student> students = new List<Student>(); student...
using HealthVault.Sample.Xamarin.Core.Configuration; using HealthVault.Sample.Xamarin.Core.Services; using HealthVault.Sample.Xamarin.Core.ViewModels; using HealthVault.Sample.Xamarin.Core.Views; using Microsoft.HealthVault.Client; using Xamarin.Forms; namespace HealthVault.Sample.Xamarin.Core { public partial cl...
using System; using System.Collections.Generic; using Microsoft.SqlServer.XEvent.Linq; using NLog; using System.Data; using XESmartTarget.Core.Utils; using System.Net.Mail; using System.IO; namespace XESmartTarget.Core.Responses { [Serializable] public class EmailResponse : Response { private stat...
using System; using BuildHelper.Editor.Core; using UnityEditor; namespace BuildHelper.Editor { public static class UserBuildCommands { #region Build Menu [MenuItem("Build/Build Win64")] public static void BuildWin64ToPathWithVersion() { BuildTime.RestoreSettingsIfFailed(() => { ...
using System; namespace Vlc.DotNet.Core { public sealed class VlcMediaPlayerPausableChangedEventArgs : EventArgs { public VlcMediaPlayerPausableChangedEventArgs(bool paused) { IsPaused = paused; } public bool IsPaused { get; private set; } } }
using Proiect.Models.MyValidation; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Linq; using System.Web; using System.Web.Mvc; namespace Proiect.Models.MyModels { public class Vanzare { [Key...
using System.Collections.Generic; using System.Linq; using Mastermind.NET.Models; namespace Mastermind.NET.Validation { /// <summary> /// Guess validator static class. /// </summary> public static class GuessValidator { private const string VictoryString = "++++"; /// <summary> /// Validate...
using System; namespace OrgMan.DomainObjects.Common { public class EmailDomainModel { public Guid UID { get; set; } public Guid CommunicationTypeUID { get; set; } public Guid IndividualPersonUID { get; set; } public string EmailAdress { get; set; } public bool IsMai...
using System; using System.Threading.Tasks; using Uintra.Features.Groups.Sql; using Uintra.Persistence.Sql; namespace Uintra.Features.Groups.Services { public class GroupActivityService : IGroupActivityService { private readonly ISqlRepository<GroupActivityRelation> _groupActivityRepository; ...
using System; using System.Collections.Generic; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using System.Data; using System.Data.Odbc; using System.Data.SqlClient; using System.Configuration; using System.Threading.Tasks; using System.Windows; using System.IO; using Xceed.Wpf.Toolkit; pub...
using System.Collections; using System.Collections.Generic; using UnityEngine; namespace AlmenaraGames { /// <summary> /// Contains information about the specific StateSFX in the Animator State Invoking the corresponding Custom Play Method. /// The values returned will take in consideration any Per-Motio...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace AlgorithmProblems.PermutationAndCombination { /// <summary> /// given a phone number we need to find all the different words that can be formed using the number /// for example 2 c...
using Ricky.Infrastructure.Core.ObjectContainer; using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Http; using System.Threading.Tasks; using System.Web.Http; using VnStyle.Services.Business; using VnStyle.Services.Data; using VnStyle.Services.Data.Domain; using VnSty...
using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Text; namespace PlanMGMT.Converter { public class TimerToBtnContentConverter : System.Windows.Data.IValueConverter { public object Convert(object value, Type targetType, object paramet...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.IO; namespace Optymalizacja_wykorzystania_pamieci { class Options { public List<int> number_of_threads { get; set; } public int number_of_tasks { get; set; } ...
using System; using System.Threading.Tasks; using Microsoft.Extensions.DependencyInjection; namespace WerkWerk { public class WorkBuilder<T> { private WorkPipeline<T> _pipeline = new WorkPipeline<T>(); private string _name; private TimeSpan _interval; private int _maxRetries; ...
using BankApp.DTO; using BankApp.Models; using BankAppCore.Models; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Web; namespace BankApp.Services { public class CsvCreator : ReportCreator { public Report GenerateReport(ReportPeriod r...
using Microsoft.SqlServer.Management.Smo; using SqlServerWebAdmin.Models; using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; namespace SqlServerWebAdmin { public partial class EditDatabaseRole : Syste...
using System; using System.Threading; using System.Threading.Tasks; using CoherentSolutions.Extensions.Configuration.AnyWhere; using CoherentSolutions.Extensions.Configuration.AnyWhere.AdapterList; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Ho...
using System; using System.Linq; namespace Exercise_10 { class Program { static void Main(string[] args) { int size = int.Parse(Console.ReadLine()); string command = string.Empty; int[] field = new int[size]; int[] initialBugPlaces = Console....
using System.Linq; namespace EddiDataDefinitions { /// <summary> /// Squadron Ranks /// </summary> public class Power : ResourceBasedLocalizedEDName<Power> { static Power() { resourceManager = Properties.Powers.ResourceManager; resourceManager.IgnoreCase = f...
using AutoFixture; using NUnit.Framework; using System.Threading.Tasks; using Moq; using SFA.DAS.CommitmentsV2.Types; using SFA.DAS.ProviderCommitments.Web.Mappers; using SFA.DAS.ProviderCommitments.Web.Models; namespace SFA.DAS.ProviderCommitments.Web.UnitTests.Mappers { [TestFixture] public class WhenIMapS...
using System; using System.Collections.Generic; using System.Threading.Tasks; using Plugin.Calendars; using Plugin.Calendars.Abstractions; namespace Tianhai.OujiangApp.Schedule.Services{ public class CalendarService{ public static string GetAccountName(){ Models.Preferences.OACredential credential=App.Preferenc...
using UnityEngine; using System.Collections; using System; public abstract class State<T> { public T owner; public StateMachine<T> sm; public State(T _owner) { owner = _owner; } abstract public void Update(); abstract public void Enter(); abstract public void Exit(); }
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; public partial class LogEditor : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { if (Session["user"] == null) Response.Redi...
using Abp.AutoMapper; using Abp.Modules; using Abp.Reflection.Extensions; namespace Dg.Fifth { [DependsOn( typeof(FifthCoreModule), typeof(AbpAutoMapperModule))] public class FifthApplicationModule : AbpModule { public override void Initialize() { IocManager.Re...
using System; using System.Collections.Generic; namespace bellyful_proj.Models { public partial class MealType { public MealType() { Batch = new HashSet<Batch>(); } public byte MealTypeId { get; set; } public string MealTypeName { get; set; } public...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Toaster : Interactable { public Material matOff; public Material matOn; Renderer rend; public void Start() { rend = GetComponent<Renderer>(); } public override void Activate() { base.Activate(); rend.material ...
using CurrencyLib.US; namespace CurrencyLib { public class DollarCoin : USCoin { public DollarCoin() { this.MonetaryValue = 1.0; this.Name = "DollarCoin"; } public DollarCoin(USCoinMintMark cm) { this.MintMark = cm; this....
namespace Algorithmics { public static class Fibonacci { public static long RecursiveGet(int n) { if (n <= 1) return n; return RecursiveGet(n - 1) + RecursiveGet (n - 2); } public static long IterativeGet(int n) { ...
using EsferixisLazyCSharp.Esferixis.Misc; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; namespace EsferixisLazyCSharp.Esferixis.Lazy { public sealed class RLazy<T> { private Action calculateValue; pri...
using LimenawebApp.Controllers.API; using LimenawebApp.Controllers.Session; using LimenawebApp.Models; using LimenawebApp.Models.Creditmemos_api; using LimenawebApp.Models.Invoices; using LimenawebApp.Models.Returnreasons_api; using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Linq; us...
using CarManageSystem.Extension; using CarManageSystem.helper; using Newtonsoft.Json.Linq; using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.SessionState; namespace CarManageSystem.handler.FuelingCard { /// <summary> /// ViewCard 的摘要说明 /// </summary> ...
using UnityEngine; using ZST; using System; using System.Collections; using System.Collections.Generic; using Newtonsoft.Json; using MusicIO; public class ZmqMusicNode : MonoBehaviour { public InstrumentFactory m_instrumentSpawner; public string m_stageAddress = "127.0.0.1"; public string m_port = "6000"; publi...
using System; using System.Collections.Generic; using System.Composition; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using Microsoft.EntityFrameworkCore; using Npgsql; using pract.Models; namespace pract.Controllers { [Route("api/Work")] [...
using System; using System.Collections.Generic; using System.Text; namespace SelectionCommittee.BLL.DataTransferObject { public class SpecialtyDTO { public int Id { get; set; } public int Number { get; set; } public string Name { get; set; } public int BudgetPlaces { get; set...
using Allyn.Application.Dto.Manage.Basic; using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Linq; using System.Security.Principal; using System.Web; using System.Web.Security; using System.Xml; namespace Allyn.MvcApp { public static class FormsAuthenticationManager { ...
namespace Sentry.EntityFramework; internal static class DbCommandInterceptionContextExtensions { internal static ISpan? GetSpanFromContext<T>(this DbCommandInterceptionContext<T> interceptionContext) => interceptionContext.FindUserState(SentryQueryPerformanceListener.SentryUserStateKey) as ISpan; inte...
using System.Collections.Generic; using FluentAssertions; using NUnit.Framework; using Properties.Core.Objects; namespace Properties.Tests.UnitTests.Objects { [TestFixture] // ReSharper disable once InconsistentNaming public class SubmittedProperty_ShortDescription_TestFixture { [Test] ...
namespace DentistClinic.Core.Migrations { using System; using System.Data.Entity.Migrations; public partial class Teeth : DbMigration { public override void Up() { DropForeignKey("dbo.OutpatientCases", "Checkup_MedicalCategoryId", "dbo.MedicalCategories"); Dr...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using jaytwo.Common.Extensions; namespace jaytwo.Common.Futures.Security { public class PasswordGenerator { private char[] lower = "abcdefghijklmnopqrxtuvwxyz".ToArray(); private char[] upper = "ABCDEFGHIJKLMNOPQRSTUVWXYZ".ToA...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Robots { abstract class RobotDecorator : PaintingRobot { public string DescriptionTemplate(string name, PaintingRobot r2) { string result = r2.ToString(); ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace CRL.Category { public class ICategory : Category { } /// <summary> /// 分类,由于缓存,只能实现一种类型,不要继承此类实现多个实例 /// </summary> [Attribute.Table(TableName = "Category")] public class Category : IModelBa...
using System; namespace gView.MapServer { public interface IMapServiceSettings { MapServiceStatus Status { get; set; } IMapServiceAccess[] AccessRules { get; set; } DateTime RefreshService { get; set; } string OnlineResource { get; set; } string OutputUrl { get; set;...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.IO; namespace elso_feladat { class Program { static void Main(string[] args) { string[] adatok = File.ReadAllLines("tanulok.csv", Encoding.D...
using Crystal.Plot2D.Common; using System; using System.Collections.Generic; using System.Linq; namespace Crystal.Plot2D.Charts { /// <summary> /// Represents a ticks provider for intefer values. /// </summary> public class IntegerTicksProvider : ITicksProvider<int> { /// <summary> /// Initializes a...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Abhs.Common.Enums { public class SysModel { } public enum PrepareTypeEnum { 错题巩固 = 1, 智能学习 = 2, 查漏补缺 = 3, 考试课 = 4 ...
using System; namespace CursoCsharp.Fundamentos { class OperadoresLogicos { public static void Execultar() { var execultouTrabalho1 = true; var execultouTrabalho2 = true; bool comprouTV50 = execultouTrabalho1 && execultouTrabalho2; Console.Write...
namespace AutoCodeBuilder { internal class FluentMethodInfo { public FluentMethodInfo(string name) { Name = name; } private string AddSuffix(string suffix) { if (IsFrom) return FluentPrefix + suffix; return FluentPrefix...
using Microsoft.Owin.Hosting; using RRExpress.Service; using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Sockets; using System.Text; using System.Threading.Tasks; using Topshelf; namespace MoqServicesHost { class WebApiServer : ServiceControl { private...
namespace ServiceDesk.Ticketing.DataAccess.Migrations { using System; using System.Data.Entity.Migrations; public partial class addColumnRequestedDateTicket : DbMigration { public override void Up() { AddColumn("Ticketing.Tickets", "RequestedDate", c => c.DateTime(nullab...
using System; using System.Collections.Generic; using System.Data.Entity.ModelConfiguration; using System.Linq; using System.Text; using System.Threading.Tasks; namespace TransferData.DataAccess.Entity.Mapping { public class MappingResultCase :MappingBase { } public class MappingResultCaseConfig : Ent...
using UnityEngine; using UnityEngine.Events; public class Attack : MonoBehaviour { public UnityEvent OnAttack; [SerializeField] private float targetDistance = 0f; protected Sight sight; [SerializeField] protected float rangeAttack = 1f; private bool isAttacking = false; public Colo...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using TechTalk.SpecFlow; using WatiN.Core; namespace ScoreSquid.Web.Functional.Tests.Steps { public class LoginSteps { private IE ie; [Given(@"that I have an existing account")] public ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Выпускной_проект1 { public class PasswordGenerator { private Random _rnd = new Random(); /// <summary> /// Gets the random password. /// </summary> ...
using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Design; using Microsoft.EntityFrameworkCore.Diagnostics; namespace WxShop.DBManager.EF { public class WxShopContextFactory : IDesignTimeDbContextFactory<WxShopContext> { public WxShopContext CreateDbContext(string[] args) ...
using System; using System.Collections.Generic; namespace Twelve { public class TestService : ITestService { public TestService() { MyProperty = Guid.NewGuid(); } public Guid MyProperty { get; set; } public List<string> GetList(string a) { ...
using System; using System.Collections; using UnityEngine; namespace GFW { public delegate void MonoUpdaterEvent(); public class MonoHelper:MonoBehaviour { private const string m_EntityName = "AppMain"; private static MonoHelper m_instance; public static MonoHelper Instance ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Euler_Logic.Problems.AdventOfCode.Y2021 { public class Problem11 : AdventOfCodeBase { private Dictionary<int, Dictionary<int, Point>> _grid; private int _maxX; private int _maxY; public...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace BusVenta { public static class Prompt { public static string ShowDialog() { Form prompt = new Form() { ...
using System.Windows; using System.Windows.Controls; namespace CODE.Framework.Wpf.Controls { /// <summary> /// Extensions for list box items /// </summary> public class ListBoxItemEx : ListBoxItem { /// <summary>Indicates whether the list box item should automatically be considered selecte...
using Newtonsoft.Json; using System; namespace Model.IntelligenceDiningTable { /// <summary> /// 菜品表 /// </summary> [Serializable] public partial class E_Dish { /// <summary> /// 菜品 ID /// </summary> public string id { get; set; } /// <summary> //...
using System.Collections; using System.Collections.Generic; using UnityEngine; using Mirror; using UnityEngine.UI; public class PlayerControler : NetworkBehaviour { public static Dictionary<string,string> hotelDecorationMapping = new Dictionary<string,string>{ {"SonoBom","quadro colorido na parede."}, ...
using Core2InMemoryUnitTesting.Domain; using Core2InMemoryUnitTesting.Repository; using Microsoft.EntityFrameworkCore; namespace Core2InMemoryUnitTesting { public class StoreAppContext : DbContext, IStoreAppContext { public StoreAppContext(DbContextOptions<StoreAppContext> options) : base(options) { } p...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Data.SqlClient; namespace Автошкола { public class InstructorsCategoriesDA { private SqlDataAdapter dataAdapter; // сохранить изменения строки public void S...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Agencia_Datos_Repositorio; using entidades = Agencia_Datos_Entidades; namespace Agencia_Dominio { public class D_MenuEmpleado { private readonly Repositorio<entidades.MenuEmpleado>...
using jaytwo.Common.Collections; using jaytwo.Common.Parse; using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using jaytwo.Common.Extensions; using jaytwo.Common.Appendix; namespace jaytwo.Common.Futures { public class PolyNa...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public enum MoveState { Idle, Walk, Steer } public enum Filter { Interactable, Grab, Activate } public class PlayerController : MonoBehaviour { static public PlayerController instance; ...
using System.Collections; namespace Indexer { public class PersonCollection { private ArrayList people = new ArrayList(); // Custom indexer for PersonCollection class. // This looks like any other C# property declaration // apart from using this keyword. public Person ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; //********************************************************************** // // 文件名称(File Name):LoadNodePerformancelistResponse.CS // 功能描述(Description): // 作者(Author):Aministrator ...
using System.Collections.Generic; using System.Linq; using SelectionCommittee.BLL.DataTransferObject; using SelectionCommittee.BLL.Interfaces; using SelectionCommittee.DAL.Interfaces; namespace SelectionCommittee.BLL.Services { public class SubjectService : ISubjectService { private IUnitOfWork _datab...
using System; using System.Linq; namespace Extract_middle_element { class Program { static void Main(string[] args) { long[] nums = Console.ReadLine().Split(' ').Select(long.Parse).ToArray(); if (nums.Length == 1) { PrintOneElement(nums); ...
namespace Aranda.Users.BackEnd.Helpers { public class AppSettings { public string Secret { get; set; } public string DefaultScheme { get; set; } public string Issuer { get; set; } public string Audience { get; set; } public string AccessExpiration { get; set; } p...
using System; using Foundation; using AppKit; namespace MacLibrary { public partial class WindowController : NSWindowController { public WindowController (IntPtr handle) : base (handle) { } [Export ("initWithCoder:")] public WindowController (NSCoder coder) : base (coder) { } public WindowControll...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; namespace MyDiplom.Controllers { public class DocumentController : Controller { public IActionResult Index() { return View(); } public IA...
using System; namespace com.Sconit.Entity.SI { [Serializable] public partial class LogToUser : EntityBase { #region O/R Mapping Properties public int Id { get; set; } public string Descritpion { get; set; } public string Emails { get; set; } public string Mobiles { ...