text
stringlengths
13
6.01M
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using TweetSharp; using LinqToTwitter; using System.Configuration; using System.Timers; using Google.Apis.Urlshortener.v1; using Google.Apis.Services; namespace SharpDictionary { class Program {...
using System; using System.ComponentModel; using System.Runtime.CompilerServices; using System.Text.RegularExpressions; namespace EurogamerCommentsApi { internal class Article : INotifyPropertyChanged { #region Private members private string _title; private Uri _uri; private string _contents; private uint...
namespace BattleEngine.Records { public class BattleUnitRecord { public int id; public int level; public int health; public int ownerId; } }
using DelftTools.Utils; using DelftTools.Utils.Data; namespace GeoAPI.Extensions.Feature { public interface IFeatureData : INameable, IUnique<long> { IFeature Feature { get; set; } object Data { get; set; } } }
using System; using System.Collections.Generic; using System.Data; using System.Data.SqlClient; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; namespace CabMedical { public partial class Consultation_aspx : System.Web.UI.Page { ADO d = new ADO(); Dat...
using ControleFinanceiro.Domain.Entities; using System; using System.Collections.Generic; namespace ControleFinanceiro.Domain.Contracts.Services { public interface IServicoDespesa : IServicoBase<Despesa> { List<Despesa> ListarDespesaPorData(DateTime data, int idUsuario); } }
using System; namespace UnityAtoms { /// <summary> /// Specify a texture name from your assets which you want to be assigned as an icon to the MonoScript. /// </summary> [AttributeUsage(AttributeTargets.Class, Inherited = true, AllowMultiple = false)] public class EditorIcon : Attribute { ...
/* * + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + * * == AUCTION MASTER == * * Author: Henrique Fantini * Contact: contact@henriquefantini.com * * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + * * Auction Master is a software with ...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using MySql.Data.MySqlClient; using System.Data; using System.Configuration; public partial class pages_history : System.Web.UI.Page { private DataLayer sqlOperation = new Dat...
using System; using EntoEvents = Entoarox.Framework.Core.Utilities.Events; namespace Entoarox.Framework.Events { public static class MoreEvents { /********* ** Accessors *********/ /// <summary>Triggered whenever a action tile is activated by the player.</summary> public...
using System; namespace Cradiator.Model { public interface IDateTimeNow { DateTime Now { get; set; } } // a class just used for mocking out calls to DateTime public class DateTimeNow : IDateTimeNow { public DateTime Now { get => DateTime.Now; set { } } } }
using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace WebAppWood.Models { public class ModelVenta { } }
using System.Collections; using System.Collections.Generic; using UnityEngine; public class SidebarScript : MonoBehaviour { SpriteRenderer render; public Sprite play; public Sprite pause; void Start() { render = gameObject.GetComponent<SpriteRenderer>(); } public void setPlay(){...
using AutoMapper; using XH.Commands.Shared; using XH.Domain.Seo.Models; using XH.Infrastructure.Mapper; namespace XH.Command.Handlers.Configs { public class SharedMapperRegistrar : IAutoMapperRegistrar { public void Register(IMapperConfigurationExpression cfg) { cfg.CreateMap<Creat...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace gMediaTools.Models { public class VideoFrameSection { public int StartFrameNumber { get; set; } public int EndFrameNumber { get; set; } public string Name { g...
using System; using Assets.Scripts.Data; using Assets.Scripts.Service; using UnityEngine; using UnityEngine.UI; namespace Assets.Scripts.Controller { public class UIController : MonoBehaviour { [SerializeField] private GameController _gameController; [SerializeField] private LocalDataService _...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using Microsoft.Ajax.Utilities; namespace WebQLKhoaHoc.Models { public class NhaKhoaHocViewModel { public int DsBaiBao { get; set; } public int DsDetai { get; set; } public int DsSach { get; set; } ...
namespace RankingSystem.Common.Domain { public class Enums { public enum StatusEnum : byte { Pending = 1, Activated = 2 } } }
using AcoesDotNet.Dal.Daos; using System.Threading.Tasks; namespace AcoesDotNet.Repository { public class DataBaseRepository : IDatabaseRepository { private IDataBaseDao _dataBaseDao = new DataBaseDao(); public Task InicializaAsync(string connecionString) { return _dataBas...
using System.Collections.ObjectModel; using System.Collections.Generic; namespace fileCrawlerWPF.Util { static class FileAliases { public static IReadOnlyCollection<string> x264Aliases = new ReadOnlyCollection<string>(new[] { "x264", "h264", ...
using System; using System.Collections.Generic; using Pathoschild.Stardew.Common.Utilities; namespace ContentPatcher.Framework.Tokens.ValueProviders { /// <summary>A value provider for user-defined dynamic tokens.</summary> internal class DynamicTokenValueProvider : BaseValueProvider { /********* ...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace Ferris_Directory_Scanner { public static class ScanThings { public static MetroFramework.Forms.MetroForm ProcessCommandLin...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; using System.IO.Ports; using System.Windows.Forms.DataVisualization.Charting; using System.Timers; using ...
/* The MIT License (MIT) * * Copyright (c) 2018 Marc Clifton * * 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 rights * to use, copy, ...
using SimulationDemo.Enums; using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Linq; using System.Text; namespace SimulationDemo.Elements { public class CheckoutArea { private ConcurrentBag<CashierQueue> _cashierQueues; private List<SelfCheckoutQu...
using System; using Xamarin.Forms; using System.Threading.Tasks; namespace PGATourLeaderboard { public class TournamentScoresPage : ContentPage { public TournamentScoresPage (Tournament tournament) { this.Title = "Loaderboard"; var loader = new ActivityIndicator { HorizontalOptions = LayoutOptions.C...
namespace FailureSimulator.Core.Graph { /// <summary> /// Ребро /// </summary> public class Edge : IGraphUnit { public string Name => $"{VertexFrom} <-> {VertexTo.Name}"; /// <summary> /// Интенсивность отказов всей связи /// </summary> public ...
using System.Collections; using System.Collections.Generic; using UnityEngine; namespace GodMorgon.Models { /** * Classe mère des types de carte (attack, defense, move, ...) * Elle contient des variables communes à chaque type de carte * Elle permet que toutes les classes filles soient d...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Exercicio5 { class Cambios { static void Main(string[] args) { { Console.Write("Digite a quantia em dólares americanos "); ...
using System; using System.Drawing; using MonoTouch.ObjCRuntime; using MonoTouch.Foundation; using MonoTouch.UIKit; namespace Microsoft.WindowsAzure.Messaging { /*@interface SBNotificationHub : NSObject - (void) unregisterAllWithDeviceToken:(NSData*)deviceToken completion:(void (^)(NSError* error))completion;...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using System.Data; using System.Data.SqlClient; using CreamBell_DMS_WebApps.App_Code; using System.IO; using System.Drawing; using iTextSharp.text; using iTextSharp.text.pdf; using ...
using Alabo.App.Asset.Coupons.Domain.Entities; using Alabo.Domains.Repositories; using MongoDB.Bson; namespace Alabo.App.Asset.Coupons.Domain.Repositories { public interface ICouponRepository : IRepository<Coupon, ObjectId> { } }
using System.ComponentModel; using System.ComponentModel.DataAnnotations; using Imp.Web.Framework.Mvc; namespace Imp.Admin.Models.Users { public class RoleModel : BaseImpEntityModel { [DisplayName("角色名称")] [Required(ErrorMessage = "名称不能为空")] public string Name { get; set; } ...
using System; using FluentAssertions; using Xunit; namespace PluralsightDdd.SharedKernel.UnitTests.DateTimeRangeTests { public class DateTimeRange_Overlaps { [Fact] public void ReturnsTrueGivenSameDateTimeRange() { var dtr = new DateTimeRange(DateTimes.TestDateTime, TimeSpan.FromHours(1)); ...
using Prism.Mvvm; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using UPractice.Dbcontext; namespace UPractice.Model { class AddTeacherModel : BindableBase { public void AddTeacher(string FirstName, string SecondName, string LastNam...
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Threading.Tasks; namespace HardwareStore.Domain.Entities { public class TextField : EntityBase { [Required] public string CodeWord { get; set; } [Display(Name =...
using System; using System.Collections.Generic; using System.Text; namespace VehicleModel { public interface IRover { Position Position { get; } RoverFacing Facing { get; } void MoveForward(); void TurnLeft(); void TurnRight(); } }
using System; using zm.Util; namespace zm.Users { /// <summary> /// Class holding collection of Users to enable serialization of List<User> /// </summary> [Serializable] public class UserResultsCollection : GenericSerializableCollection<UserResult> { } }
using System; using NetEscapades.AspNetCore.SecurityHeaders.Headers; // ReSharper disable once CheckNamespace namespace Microsoft.AspNetCore.Builder { /// <summary> /// Extension methods for adding a <see cref="PermissionsPolicyHeader" /> to a <see cref="HeaderPolicyCollection" /> /// </summary> publi...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Web.Http; using WebApiPagingAngularClient.Models; namespace WebApiPagingAngularClient.Controllers { [RoutePrefix("api/book")] public class BookController : ApiController { [Route("")] ...
using System.Collections.Generic; using SuperMario.Collision; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; using SuperMario.Sound; namespace SuperMario.Entities.Items { public class Star : MovingAnimatedEntity { Texture2D starTexture; int currentX; int distanc...
using DanialProject.Models; using Microsoft.AspNet.Identity; using Microsoft.AspNet.Identity.Owin; using Microsoft.Owin; using Microsoft.Owin.Security.Cookies; using Owin; using System; using System.Security.Claims; using System.Threading.Tasks; [assembly: OwinStartupAttribute(typeof(DanialProject.Startup))] namespac...
using System; using System.Collections.Generic; using System.Linq; using Modelos; using System.Data.Entity; namespace AcessoDados.Repositorio { public class ProdutoRepositorio { public List<Produto> ObterProdutos(int pagina = 1, int linhas = 5) { using (Contexto db = new Contexto()...
using Alabo.Data.People.Internals.Domain.Entities; using Alabo.Domains.Services; using MongoDB.Bson; namespace Alabo.Data.People.Internals.Domain.Services { public interface IInternalService : IService<Internal, ObjectId> { } }
using System; using System.Collections.Generic; using System.Runtime.Serialization; using Aquamonix.Mobile.Lib.Extensions; namespace Aquamonix.Mobile.Lib.Domain { [DataContract] public class StartTime : IDomainObjectWithId, ICloneable<StartTime>, IMergeable<StartTime> { [DataMember(Name = PropertyNames.Id)] pu...
using UnityEngine; using System.Collections; public class StageSelect_NoButton : MonoBehaviour { public Animator selectFrameAnim; // Use this for initialization void Start () { } // Update is called once per frame void Update () { } public void OnBottonClick() { selectFrameAnim.SetTrigger("isCl...
using Quark.Attributes; using Quark.Conditions; using Quark.Contexts; using Quark.Utilities; namespace Quark { /// <summary> /// This class is used for configuring a Quark game. /// It includes the base Attributes and Stats and the common interruption conditions. /// </summary> public class QuarkC...
using System; using System.Linq; using System.Threading.Tasks; using Discord; using Discord.Commands; using Discord.WebSocket; using System.Globalization; namespace Discord_Bot { public class UtilitySample : ModuleBase<SocketCommandContext> { [Command("ping")] [Summary("Show current latency.")...
namespace ProgFrog.Interface.TaskRunning { public interface IRunnerVisitor { void Configure(IProcessTaskRunner runner); } }
using RRExpress.Common.PCL; using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Text; using System.Text.RegularExpressions; namespace RRExpress.Common { public static class StringHelper { /// <summary> /// 從URL中取 Key / Value /// </su...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace EntityFrameworkCoreDemo.Models { public enum Schedules { Day = 0, Night = 1 } }
using System; namespace SingletonPattern { public class ChocolateBoiler { public static ChocolateBoiler Instance { get; } = new ChocolateBoiler(); public bool Empty { get; private set; } public bool Boiled { get; private set; } private ChocolateBoiler() { ...
namespace Vidly.Migrations { using System; using System.Data.Entity.Migrations; public partial class Genre2 : DbMigration { public override void Up() { Sql("INSERT INTO Movies (Name, GenreId, ReleaseDate, DateAdded, NumberInStock) VALUES ('Bahubali2',1,CAST('2018-06-30' ...
using System; class Program { static void Main() { int students = int.Parse(Console.ReadLine()); int sheets = int.Parse(Console.ReadLine()); double price = double.Parse(Console.ReadLine()); long totalSheets = students * sheets; double reams = totalSheets / 400.0; ...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Newtonsoft.Json.Linq; using service.Models; namespace service.Controllers { public class NewsController : Controller { Logmodel ...
using PhotoShare.Client.Interfaces; using System; using System.Data.Entity.Validation; namespace PhotoShare.Client.Core { class Engine : IRunnable { private readonly ICommandDispatcher commandDispatcher; private readonly IReader reader; private readonly IWriter writer; public...
// <copyright file="ThirdTask.cs" company="MyCompany.com"> // Contains the solutions to tasks of the 'Methods in detail' module. // </copyright> // <author>Daryn Akhmetov</author> namespace Methods_in_detail { /// <summary> /// Contains implementation of the given by the task algorithm. /// </summary> ...
using Barker_API.Models; using Barker_API.Persistence; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace Barker_API.Data { public class UserService : IUserService { IUserRepo repo; public UserService() { repo = new U...
using System; namespace Class_Library { public class clsManufacturer { public bool Active { get; set; } public bool Available { get; set; } public DateTime YearMade { get; set; } public int ManufacturerID { get; set; } public int BatchProductionNo { get; set; } ...
using System; using System.Collections.Generic; using System.Dynamic; using System.Linq; using Pe.Stracon.Politicas.Aplicacion.Core.Base; using Pe.Stracon.Politicas.Aplicacion.Core.ServiceContract; using Pe.Stracon.Politicas.Aplicacion.Service.Base; using Pe.Stracon.Politicas.Aplicacion.TransferObject.Request.General;...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Search_for_a_Number { class Program { static void Main(string[] args) { List<int> numbers = Console.ReadLine() .Split(new char[...
using Clases; using LogicaNegocio; using ProyectoLP2; 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 Formularios { public partial class f...
using System; using System.Collections.Generic; using System.Data; using System.Data.Entity; using System.Linq; using System.Net; using System.Web; using System.Web.Mvc; using TravelBuddySite.DAL; using TravelBuddySite.Handlers; using TravelBuddySite.Models; namespace TravelBuddySite.Controllers { public class Lo...
using UnityEngine.UI; using UnityEngine; public class planeSelecter : MonoBehaviour { public GameObject[] planes; public Button[] buttons; public Text[] planeText; public Text mainText; Animation an,an2,anPre,anNext; string msg; public GameObject tick, warning; bool success=false; ...
using UnityEngine; namespace Interaction { public sealed class InteractableSwitch : InteractableBase { [SerializeField] private bool _state = false; private Animator _animator; private readonly int _hashActivated = Animator.StringToHash("Activated"); private void Awake() { _animator = GetComponent<...
namespace Data.Migrations { using System; using System.Data.Entity.Migrations; public partial class Attributes : DbMigration { public override void Up() { CreateTable( "Web.JobInvoiceHeaderAttributes", c => new ...
using System; using System.Collections; using System.Collections.Generic; using System.Text; using VirtualDiskCMD.FileSystems.VMFS1; namespace VirtualDiskCMD { /// <summary> /// Represents the VMFS1 file system format /// </summary> public class VMFS1Volume : VolumeInfo<VMFS1DirectoryInfo, ...
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using LINQ101MVC.Controllers; namespace LINQ101MVC.Models { [Table("Sales.CreditCard")] public partial class CreditCard { public int CreditCardID { get; s...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.Rendering; using Microsoft.EntityFrameworkCore; using Assessment.Data; using Assessment.Models; using Microsoft.AspNetCore.Http; using System.IO; namespace As...
 using System; using System.Collections.Generic; using System.Linq; using TheMapToScrum.Back.DAL.Entities; using TheMapToScrum.Back.DTO; namespace TheMapToScrum.Back.BLL.Mapping { internal static class MapTeamDTO { internal static TeamDTO ToDto(Team objet) { TeamDTO retour = new Te...
using System; using System.Collections.Generic; using System.Threading.Tasks; using System.Windows.Forms; namespace BikeRaceApp { static class Program { /// <summary> /// The main entry point for the application. /// </summary> [STAThread] static void Main() { ...
namespace iPhoneController.Models { using System; using System.Collections.Generic; using System.IO; class TetheredDhcpLease { public const string DhcpClientLeasesFilePath = "/var/db/dhcp_leases"; // name public string Name { get; set; } // ip_address publ...
using EBS.Application.DTO; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace EBS.Application { public interface IStocktakingPlanFacade { void Create(StocktakingPlanModel model); void Edit(StocktakingPlanModel model); ...
using System; using System.Collections.Generic; using System.Web.Http; using AutoMapper; using Conditions.Guards; using Properties.Core.Interfaces; using Properties.Core.Objects; using Properties.Helper; using LandlordSearchParameter = Properties.Models.LandlordSearchParameter; using PropertySummary = Properties.Model...
using System; using System.Collections.Generic; using System.Dynamic; using System.Linq; using System.Reflection; using System.Reflection.Emit; using System.Threading.Tasks; using App.Core.Interfaces.Dto; using App.Core.Interfaces.Dto.Responses; using App.Core.Interfaces.Errors; using App.Core.Interfaces.Managers; usin...
#if REPLICA_DISABLING_NET5_ONLY using System; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; using DFC.ServiceTaxonomy.Neo4j.Commands.Interfaces; using DFC.ServiceTaxonomy.Neo4j.Queries.Interfaces; using DFC.ServiceTaxonomy.Neo4j.Services.Internal; using Mic...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.IO; namespace KartExchangeEngine { public class FileMaskMonitor:AbstractFlagMonitor { /// <summary> /// Маска файла для проведения импорта /// </summary> public string ImportFileM...
using Assets.src.battle; using Assets.src.managers; using strange.extensions.command.impl; using UnityEngine; namespace Assets.src.commands { public class TryManualMoveToPositionCommand : Command { [Inject] public Vector3 Position { get; set; } [Inject] public ISelectionManager Sel...
using System; using Microsoft.EntityFrameworkCore.Migrations; namespace EmployeeTaskMonitor.Infrastructure.Migrations { public partial class InitialMigration : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.CreateTable( ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using ace; namespace unitTest_Engine_cs.ObjectSystem2D { class CameraObject : EngineTest { private CameraObject2D camera; public CameraObject() : base(60) { } protected override void On...
using Capstone.Classes; using Microsoft.VisualStudio.TestTools.UnitTesting; using System; using System.Collections.Generic; using System.Text; namespace CapstoneTests { [TestClass] public class DrinkTest { [TestMethod] public void DrinkConstructorHappyTest() { Drink dri...
using System.Linq; using NUnit.Framework; using NUnit.Framework.Constraints; namespace Codility.Tests { public class FrogRiverCrossingShould { [TestCase(5,new[] {1, 3, 1, 4, 2, 3, 5, 4}, ExpectedResult = 6)] [TestCase(5, new[] { 1, 3, 1, 3, 2, 5, 4, 5, 4 }, ExpectedResult = 6)] [TestC...
using EduHome.Models.Entity; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace EduHome.ViewModels { public class PostVM { public List<Post> Posts { get; set; } public List<Category> Categories { get; set; } } }
using Microsoft.AspNetCore.Mvc; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace WebCore.Fileters { public class MyFormatFilterAttribute : FormatFilterAttribute { } }
namespace Stock_Exchange_Analyzer { public enum DataProviders { YahooFinance } }
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Net; using System.Net.Http; using System.Net.Mail; using System.Threading.Tasks; using System.Web; using System.Web.Http; using System.Web.Http.Filters; using System.Web.Mvc; using Docller.Core.Common; namespace...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.Tilemaps; public class DiningRoom : Room { IntRange diningTableBreadthRange = new IntRange(3, 5); IntRange diningTableLengthRange = new IntRange(6, 10); IntRange diningTableMarginRange = new IntRange(3, 4); ...
// Copyright (c) 2010 Michael B. Edwin Rickert // // See the file LICENSE.txt for copying permission. using System; using System.Drawing; using System.Linq; using System.Windows.Forms; using TtyRecMonkey.Properties; namespace TtyRecMonkey { public partial class ConfigurationForm : Form { public Conf...
using Application.Core; using Application.Core.Models; using System.Collections.Generic; namespace Application.Infrastructure.DAL { public static class DataSeeder { public static void SeedData(ApplicationDBContext context) { var equipmentTypes = new List<EquipmentTypes>{ ...
using System; using System.Collections.Generic; using System.Text; using Hayaa.DataAccess; using Hayaa.BaseModel; using Hayaa.Security.Service.Config; /// <summary> ///代码效率工具生成,此文件不要修改 /// </summary> namespace Hayaa.Security.Service.Dao { internal partial class AppServiceDal : CommonDal { private stati...
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Text; namespace Emceelee.Shared { public class IndexedCollection<TKey, TValue> : ICollection<TValue> { private readonly IDictionary<TKey, TValue> dict = new Dictionary<TKey, TValue>(); pri...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; namespace Module1 { public partial class Module1 : Form { public Module1() { InitializeComponent(); ...
using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace ASPNet_MVC_AngularJS_SPA.Services { public class ActivityServices { AppDataEntities db = new AppDataEntities(); public int SaveActivity(Activity objActivity) { if (objActivity...
using UnityEngine; using UnityEditor; using Ardunity; [CustomEditor(typeof(HM10UI))] public class HM10UIEditor : Editor { [MenuItem("ARDUnity/Add Utility/UI/HM10UI", true)] static bool ValidateMenu() { if(Selection.activeGameObject == null) return false; return true; } [MenuItem("ARDUnity/Add Utility...
using System.Collections.Generic; using System.Linq; using Tomelt.ContentManagement; using Tomelt.ContentManagement.MetaData; using Tomelt.ContentManagement.MetaData.Builders; using Tomelt.ContentManagement.MetaData.Models; using Tomelt.ContentManagement.ViewModels; using Tomelt.Templates.Services; using Tomelt.Templat...
using Donnee; using System; using System.Collections.Generic; using System.Data; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CoucheMiddlewareApplication { public class Performance { private CADClass cad; private DataSet data; private Mapp...
using System; using System.IO; using Phenix.Core; namespace Phenix.Test.使用指南._03._13._1 { class Program { //* 配置项属性 //* 注意需将字段定义为Nullable<T>类型,以便Phenix.Core.AppSettings用于区分是否已赋过值 private static bool? _test_InEncrypt; /// <summary> /// 测试用 /// 默认:false /// </summary> public static b...
using System; using System.Reflection; using iSukces.Code.Interfaces; namespace iSukces.Code.Serenity { public enum SerenityClassRole { Unknown, Row, Form } public class SerenityTypesHelper { public SerenityTypesHelper(Type clrType, SerenityClassRole role) ...
using System; using System.Collections.Generic; using System.Diagnostics; using System.Windows; namespace Crystal.Plot2D { [DebuggerDisplay("Count = {Count}")] public sealed class FakePointList : IList<Point> { private int first; private int last; private int count; private Point startPoint; ...
using System; using AutoMapper; using XH.Commands.Projects; using XH.Domain.Projects; using XH.Infrastructure.Command; using XH.Infrastructure.Domain.Repositories; namespace XH.Command.Handlers { public class ProjectCommandHandler : ICommandHandler<CreateProjectCommand>, ICommandHandler<UpdateProj...