text
stringlengths
13
6.01M
using System; using System.Collections.Generic; using System.Data; using System.IO; using System.Threading; using Microsoft.Extensions.Configuration; using MySql.Data.MySqlClient; using OnlyOrm.Exceptions; namespace OnlyOrm.Pool { /// <summary> /// 数据库连接池,暂时不启用 /// </summary> internal static class Conn...
using System; using DevExpress.Xpo; using DevExpress.Data.Filtering; using System.Collections.Generic; using System.ComponentModel; namespace prjQLNK.QLNK { public partial class NHANKHAU { public NHANKHAU(Session session) : base(session) { } public override void AfterConstruction() { ...
using UnityEngine; using System.Collections; public class BallController : MonoBehaviour { public float ballForce = 500.0f; bool ballInPlay; Rigidbody rd; // Use this for initialization void Start () { rd = GetComponent<Rigidbody> (); ballInPlay = false; } // Update is called once per frame void Update...
using Jell.DataLogger.Shared.Utilities; namespace Jell.DataLogger.Core.Models { public class SensorRecording { public SensorRecording(int ADCvalue) { ADC = ADCvalue; Voltage = SensorConversion.ADCtoV(ADCvalue); ParValue = SensorConversion.VtoPAR(Voltage); ...
using System.Collections.Generic; namespace OCP.Dashboard.Service { /** * Interface IEventsService * * The Service is provided by the Dashboard app. The method in this interface * are used by the IDashboardManager when creating push event. * * @since 15.0.0 * * @package OCP\Dashboard\Service */ public int...
using System; namespace TSORT { class Program { static void Main() { GetInput(); BinarySearchTree.PrintTree(); } static void GetInput() { var numberOfNumbers = Convert.ToInt16(Console.ReadLine()); for (va...
using System.Collections.Generic; using DDDStore.Domain.Entities; namespace DDDStore.Domain.Interfaces.Services.Department { public interface ISalesService { /* * - Precisa ter acesso a todo o histórico de vendas, não apenas a última. * - Precisa saber para cada venda, qual endereço ...
using System.Collections; using System.Collections.Generic; using UnityEngine; [ExecuteInEditMode] public class Arena : MonoBehaviour { public float height = 10; public GameObject wallL, wallR, wallU; void Start() { wallL.transform.localScale = new Vector3(2,height,1); wallL.transform.localPosition = new Vect...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace eIDEAS.Models.Enums { public enum RoleEnum { Admin=1, DivisionManager=2, UnitManager=3 } }
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Logging; using InjecaoDeDependecias.Models; using Microsoft.AspNetCore.Server.IIS.Core; namespace InjecaoDeDependecias.Controllers { ...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; namespace Game.AI.Health { public class HealthBar : MonoBehaviour { [SerializeField] Image HealthBarFill; public int hp; int MaxBotHp = 100; void Start() { ...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Text; using System.Threading.Tasks; using Xamarin.Forms; namespace BrustShotAndShowApp.ViewModels { public class PhotosViewModel : INotifyPropertyChanged { private double number = 0.0f; ...
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 AI_Behaviour_Tree_Editor { public partial class Form1 : Form { private Point m...
namespace Triton.Game.Mapping { using ns25; using ns26; using System; using System.Collections.Generic; using Triton.Game.Mono; [Attribute38("TGTFood")] public class TGTFood : MonoBehaviour { public TGTFood(IntPtr address) : this(address, "TGTFood") { } ...
using System.Collections; using System.Collections.Generic; using UnityEngine; [CreateAssetMenu(fileName = "Item", menuName = "Item Data", order = 51)] public class Inventory : ScriptableObject { public int ID; public string Name; public int Rank; public int UnitPrice; public string Desception; ...
using System; namespace CSsharp.DesignPatterns.Memento { class Program { static void Main(string[] args) { /* * Memento Design Pattern Behavioral'dir * Behavioral nesnelerin çalışma zamanına ait davranışlarını değiştiren bir patterndir. * Nesn...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace robotsVDinosResubmit { public class Weapon { public string type; public int attackPower; } }
using DemoDotNet.Taxas.Core; using Xbehave; using Xunit; namespace DemoDotNet.Taxas.Testes { public class TaxaJurosTestes { [Scenario] public void ConsultaDeveRetornarValorFixo(TaxaJurosConsulta consulta, TaxaJurosValorFixoHandler handler, decimal resultado) { "Dada uma con...
using System; using System.Collections.Generic; using System.Data.Entity.ModelConfiguration; using System.Linq; using System.Text; using System.Threading.Tasks; using PlayTennis.Model; namespace PlayTennis.Dal.Mapper { public class AppointmentConfiguration : EntityTypeConfiguration<Appointment>, IEntityMapper ...
using UnityEngine; using System.Collections; using DG.Tweening; using com.flashunity.realms.sprites; using com.flashunity.realms.tiles; namespace com.flashunity.realms.person { public class Person : MonoBehaviour { private int state = PersonStates.WAIT; public float TweenDuration = 0.5f; ...
using UnityEditor; using UnityEngine; namespace CoreEditor { [CustomEditor(typeof(Material))] [CanEditMultipleObjects] public class MaterialPrivatePartsInspector : MaterialEditor { const string Tooltip = @"Default = -1 Background = 1000 Geometry = 2000 AlphaTest = 2450 Tr...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; /* Brett Clark * January 18, 2016 * Change Request * Class declaration, variable declaration * Function declaration */ namespace PalmBusinessLayer { public class Dashboard { publi...
namespace Plus.HabboHotel.Talents { public class TalentTrackSubLevel { public int Level { get; set; } public string Badge { get; set; } public int RequiredProgress { get; set; } public TalentTrackSubLevel(int level, string badge, int requiredProgress) { ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace csharp_demo.AS2 { public class Product { public int id; public string name; public double price; public int qty; public string ima...
using System; namespace Les2Online { class Program { static void Main(string[] args) { int i = 0; Calculator calc = new Calculator(); float circumference = calc.CircumferenceCircle(10f); Console.WriteLine("circ: " + circumference); } ...
using System.Threading; using System.Threading.Tasks; namespace Mitheti.Core.Services { public interface IWatcherService { Task RunAsync(CancellationToken token); } }
using System; using System.Threading.Tasks; using durable_functions_sample.Shared; using Octokit; namespace durable_functions_sample { public class Github { public static async Task CreateRepoAsync(string repoName) { await SharedServices.GitHubClient.Repository.Create(new NewReposi...
using System; using System.Collections.Generic; using Grimoire.Game.Data; using Grimoire.Tools; namespace Grimoire.Game { public enum LockActions { LoadShop, LoadEnhShop, LoadHairShop, EquipItem, UnequipItem, BuyItem, SellItem, GetMapItem, ...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; namespace FinalProject { public partial class UserControlContact : System.Web.UI.UserControl { protected void Page_Load(object sender, EventArgs e) { ...
using Klimatkollen.Data; using Klimatkollen.Models; using Microsoft.AspNetCore.Mvc; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace Klimatkollen.Components { public class SeeObservationsViewComponent : ViewComponent { private readonly...
using System; using System.Collections.Generic; using System.Linq; using System.Runtime.Serialization; using System.ServiceModel; using System.ServiceModel.Activation; using System.ServiceModel.Web; using System.Text; using WS_PosData_PMKT.Models; using System.Configuration; using System.Data.SqlClient; using System.D...
namespace RealEstate.EnumType.Models { using System.ComponentModel; public enum OrderStatus { [Description("Đang Giao Dịch")] InProcess = 0, [Description("Đã Xong")] Done = 1, [Description("Đã Hủy")] Cancel = 2, } }
#region Copyright Syncfusion Inc. 2001-2015. // Copyright Syncfusion Inc. 2001-2015. All rights reserved. // Use of this code is subject to the terms of our license. // A copy of the current license can be obtained at any time by e-mailing // licensing@syncfusion.com. Any infringement will be prosecuted under // a...
/* * 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 appli...
namespace HCL.Academy.Model { public class RoleTrainingRequest :RequestBase { public int ItemId { get; set; } public int TrainingId { get; set; } public int RoleId { get; set; } public bool IsMandatory { get; set; } } }
using FluentValidation; using Publicon.Infrastructure.Commands.Models.User; namespace Publicon.Api.Validators.User { public class RefreshTokenCommandValidator : AbstractValidator<RefreshTokenCommand> { public RefreshTokenCommandValidator() { RuleFor(p => p.RefreshToken) ...
using System.Collections.Generic; using System.Linq; namespace StreetFinder.AbbreviationsFilter { public class AbbreviationTokenExpander { private readonly List<string> _tokensList = new List<string>(); private int _index = -1; private string lastToken; readonly AbbreviationsEn...
using Checkout.Payment.Command.Application.Models; using Checkout.Payment.Command.Seedwork.Extensions; using System; using System.Threading.Tasks; namespace Checkout.Payment.Command.Application.Interfaces { public interface IPaymentService { Task<ITryResult<CreatePaymentResponseModel>> TryCreatePaymen...
/* VIA https://github.com/SLaks/Minimatch The MIT License (MIT) Copyright (c) 2014 SLaks Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rig...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.SceneManagement; public class ForwardMovement : MonoBehaviour { //private CharacterController controller; private Vector3 direction; private Rigidbody rb; public static float forwardSpeed = 10f; // Sta...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace console { public class _020_MultiplyStrings { /// <summary> /// Given two numbers represented as strings, return multiplication of the numbers as a string. /// Note: The numbers can be arbit...
using GetLabourManager.Models; using System; using System.Collections.Generic; using System.Data.Entity.ModelConfiguration; using System.Linq; using System.Web; namespace GetLabourManager.Configuration { public class BranchConfiguration:EntityTypeConfiguration<Branch> { public BranchConfiguration() ...
using ETModel; using System.Threading.Tasks; namespace ETHotfix { public static class GameRoomFactory { public static async Task<GameRoom> Create(M2S_StartGame m2S_StartGame) { try { GameRoom gameRoom = ComponentFactory.Create<GameRoom>(); ...
namespace Umbraco.Core.Components { [RuntimeLevel(MinLevel = RuntimeLevel.Run)] public class ManifestWatcherComposer : ICoreComposer { public void Compose(Composition composition) { composition.Components().Append<ManifestWatcherComponent>(); } } }
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 MySql.Data.MySqlClient; using System.Web; using System.Net.Mail; namespace ProyectoIngegradoBackEn...
using CourseProject.Model; using CourseProject.Other; using CourseProject.Repositories; using CourseProject.View; using CourseProject_WPF_.Repositories; using System.Collections.ObjectModel; using System.ComponentModel; namespace CourseProject.ViewModel { public class AdminControlViewModel : INotifyPropertyChange...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using FibMVC; using FibMVC.Biz; namespace FibMVC.Controllers { public class FibController : Controller { // GET: Fib public ViewResult test() { return View(); ...
using System; using System.Collections; using System.Collections.Generic; using System.Text; namespace Lab7_Collection.Classes { public class Deck<T> : IEnumerable { T[] items = new T[5]; int count; public int GetCount() { return count; } /// <summ...
using Android.App; using Android.OS; using Android.Views; using Android.Widget; using JKMAndroidApp.Common; using JKMPCL.Model; using JKMPCL.Services; using System; using System.Linq; using System.Collections.Generic; using static JKMPCL.Services.UtilityPCL; using JKMAndroidApp.activity; using System.Threading.Tasks; ...
using iCopy.ExternalServices.Mail; using Microsoft.Extensions.DependencyInjection; namespace iCopy.ExternalServices { public static class ExternalServicesRegister { public static IServiceCollection AddExternalServices(this IServiceCollection services) { services.AddScoped<IMailServ...
using System; using System.Collections; using System.Collections.Generic; namespace dnaStrings { class Program { static void Main(string[] args) { string dna = "ATCG"; Console.WriteLine("DNA string is "+ dna); Console.WriteLine(" The complementary side is...
using System.Data; using MySql.Data.MySqlClient; namespace OrekiLibraryManage { static class Oreki { public static string ConStr = "server=115.159.157.220;uid=Oreki;pwd=6434;database=teamz"; public static void ShowInput(string title, string hint) { var inputbox = new Input...
using System; using System.Collections.Generic; using System.Linq; using System.Numerics; using System.Text; using System.Threading.Tasks; namespace ProjectEuler { public class OneThousandDigitFibonacciNumber : ISolution { public void Run() { var numberOfDigits = 1000; ...
using Microsoft.EntityFrameworkCore.Migrations; namespace ProductTest.Migrations { public partial class initialCreate : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.CreateTable( name: "BooleanTests", co...
using System; using System.Windows.Forms; using TutteeFrame2.View; namespace TutteeFrame2 { static class Program { // Support forced run one instance of app only //const UInt32 SWP_NOSIZE = 0x0001; //const UInt32 SWP_NOMOVE = 0x0002; //const UInt32 SWP_SHOWWINDOW = 0x0040; ...
#region namespace using EMAAR.ECM.Foundation.ORM.Models.sitecore.templates.Project.ECM.Page_Types.Mediacenter; #endregion namespace EMAAR.ECM.Feature.Listing.Interface { /// <summary> /// This is used to get the Media page with all necessary components(Top 3 News,Events,Downloads,I,age Gallery and Video galle...
 using System.Collections.Generic; using Service; using MKService.MessageHandlers; using MKService.Queries; using MKService.QueryFactories; namespace MKService.QueryHandlers { /// <summary> /// The query handler collection factory. /// </summary> /// <seealso cref="MKService.QueryHandlers.IQueryHandl...
using Application.Contract.Responses; using Application.CQRS.Commands; using Application.CQRS.Handlers.Commands; using Application.CQRS.Handlers.Queries; using Application.CQRS.Pipelines; using Application.CQRS.Queries; using Application.Maping; using FluentValidation; using MediatR; using Microsoft.Extensions.Depende...
using System; using Xunit; using Microsoft.AspNetCore.TestHost; //TestServer //add NU Package using System.Net.Http; //HttpClient using Microsoft.Extensions.Configuration; //ConfigurationBuilder using Microsoft.AspNetCore.Hosting; //WebHostBuilder using System.Threading.Tasks; //Tasks using System.Net; namespace Web...
namespace Logic.TechnologyClasses { public class ResearchCenter { private readonly ResearchArchive archive; private readonly ResearchLabs labs; private readonly AvailableResearch available; } }
using System; using System.Collections.Generic; using ETravel.Coffee.DataAccess.Entities; using ETravel.Coffee.DataAccess.Interfaces; using NHibernate.Criterion; namespace ETravel.Coffee.DataAccess.Repositories { public class OrderItemsRepository : Repository, IOrderItemsRepository { public IList<OrderItem> ForOr...
using StudyEspanol.Data.Managers; using StudyEspanol.Data.Models; namespace StudyEspanol.UI.Screens { public partial class VocabQuizScreen { #region Const Fields public const string VOCAB_QUIZ_SCREEN = "vocab_quiz_screen"; #endregion #region Fields TranslateDirection translationDirection; #endregion #...
using UnityEngine; using System; public class AudioManager : MonoBehaviour { public static AudioManager audioManagerInstance; public AudioSource sfxSource; public AudioSource musicSource; public Sound[] sounds; void Awake() { if (audioManagerInstance == null) { au...
using System; using System.Collections.Generic; using System.Linq; using System.Web; /// <summary> /// Admission의 요약 설명입니다. /// </summary> public class Admission { public int brch_id { get; set; } public int std_id { get; set; } public int cors_id { get; set; } public int pbt_ref_id { get; set; } ...
namespace NetComModels.Messages { public class BeginMsg : Msg { public string Msg { get; set; } public BeginMsg() : this("") { } public BeginMsg(string msg) : base(MsgType.Begin) { Msg = msg; } } }
using Business.Interfaces; using System; using System.Collections; using System.Collections.Generic; namespace Business.Stack { /// <summary> /// Represents the stack collection based on the linked list. /// </summary> /// <owner>Anton Petrenko</owner> public sealed class LinkedListStack<T> : ICustomCollection<T...
using System; using System.Collections.Generic; using System.Linq; namespace PmSoft { public class PagedList<T> : List<T>, IPagedList<T> { public PagedList(IEnumerable<T> allItems, int pageIndex, int pageSize) { PageSize = pageSize; var items = allItems as IList<T> ??...
using AutoMapper; using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Text; using Zhouli.BLL.Interface; using Zhouli.Common.ResultModel; using Zhouli.DAL.Interface; using Zhouli.DbEntity.Models; using Zhouli.DbEntity.Views; using Zhouli.Dto.ModelDto; using Zho...
using System.Collections; using System.Threading; namespace GServer { public class Coroutine { private IEnumerator mIterator; public int session { get { return (int)mIterator.Current; } } public Coroutine(IEnumerator iterator) { mIterator = iterator; if...
using System; using System.Collections.Generic; using System.Text; using ENTITY; //<summary> //Summary description for PayHeadInfo //</summary> namespace ENTITY { public class PayHeadInfo { public decimal PayHeadId { get; set; } public string Pay...
// // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the MIT License. See LICENSE file in the project root for full license information. // using System.Web.UI; using DotNetNuke.Entities.Modules; namespace DotNetNuke.UI.Modules { public interface IModuleControlFactory { Contr...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using CAR_Web_Project.Entity; namespace CAR_Web_Project.Page { public partial class Login : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs ...
using System; using System.IO; using Microsoft.Dynamics365.UIAutomation.Browser; using OpenQA.Selenium; using TechTalk.SpecFlow; using Vantage.Automation.VaultUITest.Context; namespace Vantage.Automation.VaultUITest.Helpers { public class EntityCreator { private readonly UIContext _uiContext; ...
using Dapper; using System; using System.Collections.Generic; using System.Data; using System.Linq; using System.Web; using System.Web.Script.Serialization; using System.Web.Security; using System.Web.SessionState; using UrbanScience.Si2.Mvc.InjectableServices; namespace UrbanScience.Si2.Website.Module.Ina...
using System; using Newtonsoft.Json; using Newtonsoft.Json.Linq; using OmniSharp.Extensions.LanguageServer.Protocol.Models; namespace OmniSharp.Extensions.LanguageServer.Protocol.Serialization.Converters { internal class MarkedStringConverter : JsonConverter<MarkedString> { public override void WriteJs...
#region Copyright, Author Details and Related Context //<notice lastUpdateOn="12/20/2015"> // <solution>KozasAnt</solution> // <assembly>KozasAnt.Engine</assembly> // <description>A modern take on Koza's connonical "Ant Foraging for Food on a Grid" problem that leverages Roslyn</description> // <copyright...
using System.Windows.Controls; namespace Emanate.Extensibility { public class ConfigurationEditor : UserControl { } }
using System.Collections; using System.Collections.Generic; using UnityEngine; [CreateAssetMenu(fileName = "New ShopItem", menuName = "Custom/ShopItem")] public class ShopItem : ScriptableObject { public int Price; public string Name; public string Description; public ScriptableObject Item; pu...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Text.RegularExpressions; using System.Globalization; using System.Diagnostics; using POG.Utils; namespace POG.Forum { public class LobbyReaderEstonia : LobbyReader { public ...
using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace ERP_Palmeiras_RH.Models { public partial class Cargo { public override String ToString() { return this.Nome; } } }
/** File Created May 5th 2017 - File name = NPC.cs Author: Gabriel Gaudreau Project: ShootingRangeGame */ using System; using UnityEngine; public class NPC : MonoBehaviour, IShootable { private float hp, deadTimer, speed, nearRadius, currRotVel, currVel, maxRotAcc, maxRotVel, currAcc, maxFleeVel, firstTimer, maxD...
using Microsoft.Win32; 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...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using EnglishHubRepository; using Microsoft.Extensions.Options; using EnglishHubApi.Models; namespace EnglishHubApi.Controllers { [Route("api/[controller]/[action]")] [A...
using PDV.DAO.Atributos; namespace PDV.DAO.Entidades { public class IntegracaoFiscal { [CampoTabela("IDINTEGRACAOFISCAL")] public decimal IDIntegracaoFiscal { get; set; } [CampoTabela("IDCFOP")] public decimal IDCFOP { get; set; } [CampoTabela("IDTIPOOPERACAO")] ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ForumPoster.Entity { public class Account { private string _Content; public string Content { get { if (string.IsNullOrEmpty(_Content))...
using System; using System.Collections.Generic; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Image_processing.Processing { public class BlackWhiteProcess : Process { public override void Draw(Bitmap bitmap, int delta) { return;...
using System; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; using System.Windows.Threading; using Caliburn.Micro; using Frontend.Core.Logging; namespace Frontend.Core.Converting.Operations { public class OperationProcessor : DispatcherObject,...
using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Configuration; using System.Threading; using KT.Logger.ObserverPattern; namespace KT.Logger { internal class Queue : Subject { private static ConcurrentQueue<Entry> _queue; private static bool _queueIsWrited; int...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; namespace SME.NET.Controllers { [Route("[controller]")] public class HealthController : Controller { public IActionResult Index() { return View(); ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Model; namespace Service { public class MapServiceStartTraversingFromOceans : AMapServiceTemplate { //mapServiceDFS, BFS and DFSTurnStackUpsideDown are slow they have O(n^2) comple...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using VocabularyApi.Models; namespace VocabularyApi.Dtos.Training { public class QuestionWithOptionsDto : QuestionDto { public QuestionWithOptionsDto(UserVocabularyWordDto userWord, int number, List<string...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using K_Systems.Data.Core.Domain; namespace K_Systems.Data.Core.Repositories { public interface ICourseRepository : IRepository<Course> { IEnumerable<Course> GetByName(string search, int...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using nguoiduado.Models; using DevExpress.Web.Mvc; namespace nguoiduado.Controllers { public class DanhMucDiaPhuongController : Controller { public ActionResult Index() { // DX...
using NPOI.HSSF.UserModel; using NPOI.SS.UserModel; using System; using System.Collections.Generic; using System.Data; using System.IO; using System.Linq; using System.Web; namespace BPiaoBao.Web.SupplierManager.Controllers.Helpers { public class ImportExcel { /// <summary> /// Excel文档流是否有数据 ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Theater { class DB_connection { public static string connectionString = @"Data Source=STASIAV570\SQLEXPRESS;Initial Catalog=DB_Theater;Integrated Security=True;Pooling=False"; ...
using System; using System.Diagnostics; namespace Rebus.Tests { public static class TestExtensions { public static void Times(this int count, Action action) { for (var counter = 0; counter < count; counter++) { action(); } ...
using UnityEngine; using System.Collections; public class MouseBagDropper : MonoBehaviour { private enum security_status_type { Clear, Alarmed, Error, Pending, Unscanned } private float lastbagdrop = 0; private float delay =0.1f; public float baglength = 28f; public float bagwidth = 16f; public float bag...
using ISP._2_after; using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ISP { public class BookStats { } public class Library { List<Book> _books = new List<Book>(); public List<B...
using System; using System.Collections.Generic; using System.Text; namespace Main.SimUDuck { class FlyWithWings : IFlyBehavior { public void fly() { Console.WriteLine(Constant.Fly); } } }
namespace bookstore.Models { public class OrderDetailRecord { public virtual int Id { get; set; } public virtual int OrderRecord_Id { get; set; } public virtual int BookId { get; set; } public virtual int Quantity { get; set; } public virtual decimal UnitPrice { get; set; } ...