text
stringlengths
13
6.01M
namespace AGCompressedAir.Windows.Common { public class ViewNames { public const string ClientListView = nameof(ClientListView); public const string ClientManageView = nameof(ClientManageView); public const string PartListView = nameof(PartListView); public const string PartMana...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class DialogManager : MonoBehaviour { // reference public static DialogManager instance; // Inspector elements public GameObject _canvas; public static GameObject canvasReference; public GameOb...
using System.Collections; using UnityEngine; public class PinParent : MonoBehaviour { public PinObject[] pinObjects; private void Update() { switch (GameManager.Instance.gameState) { case GameState.Counting: for (int i = 0; i < pinObjects.Length; i++) ...
using System; using System.Collections.Generic; using System.Runtime.InteropServices; using System.Text; using System.Threading; namespace Microsoft.WindowsMobile.SharedSource.Bluetooth { // http://dalelane.co.uk/files/BTSecure.cs.txt public class BluetoothMessages { public BluetoothMessages() ...
using System; using System.Collections.Generic; using System.Text; using BeetleX.FastHttpApi; using System.Threading; using System.Threading.Tasks; using Bumblebee.Events; using Bumblebee.Plugins; using BeetleX.Buffers; using Bumblebee.Servers; using BeetleX.EventArgs; using Bumblebee.Routes; namespace Bumblebee { ...
using System; using System.Collections.Generic; using System.Text; namespace Etsy.T_Shirt_Store.Framework { public interface IProductService : IDisposable { (IList<Product> records, int total, int totalDisplay) GetProducts (int pageIndex, int pageSize, string searchText, string...
using System.Collections; using System.Collections.Generic; using UnityEditor; using UnityEditorInternal; using UnityEngine; namespace ScriptableObjectFramework.Conditions.Editor { [CustomPropertyDrawer(typeof(ConditionCollection), true)] public class ConditionCollectionDrawer : PropertyDrawer { p...
using System; using System.Collections.Generic; namespace ExpoClient.Models { internal sealed class GetReceiptsResponseModel { public IDictionary<Guid, PushReceiptModel> Data { get; set; } } }
using Microsoft.VisualStudio.TestTools.UnitTesting; namespace sweSeminarDemoUnittests { [TestClass] public class UnitTests { [TestMethod] public void TestAPlusB() { Assert.AreEqual(3, MyMath.Add(1, 2)); } [TestMethod] public void TestAMultipliedByB() { Assert.AreEqual(15, MyMath.Multiply(3, 5));...
namespace Sentry.Internal.Extensions; internal static class ReadOnlyDictionaryExtensions { public static TValue? TryGetValue<TKey, TValue>(this IReadOnlyDictionary<TKey, object?> dictionary, TKey key) where TKey : notnull => dictionary.TryGetValue(key, out var value) && value is TValue typedValue ...
using System; namespace Frank.Scheduler.Data.Entities { public class ScheduledTask { public Guid Id { get; set; } public string Cron { get; set; } public DateTime? LastRun { get; set; } public State State { get; set; } public string Label { get; set; } } publ...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; using UnityEngine.SceneManagement; public class Game_over : MonoBehaviour { public Transform character; int alto = 0; // Use this for initialization void Start () { } // Update is called once per frame voi...
using System; using System.ComponentModel; using System.Diagnostics; using System.Runtime.CompilerServices; using System.Threading.Tasks; using System.Windows.Input; using EntMob.Models; using EntMob_Xamarin.Services; using EntMob_Xamarin.Utility; using Xamarin.Forms; namespace EntMob_Xamarin { public class Register...
using ScriptableObjectFramework; using ScriptableObjectFramework.Events; using ScriptableObjectFramework.Events.Handlers; using System; using System.Collections; using System.Collections.Generic; using UnityEngine; namespace ScriptableObjectFramework.Events { [Serializable] public class BaseEvent<T, Y, Z> : I...
using Pe.GyM.Security.Account.Model; using Pe.GyM.Security.Web.Session; using Pe.Stracon.SGC.Infraestructura.Core.Context; using System; using System.Collections.Generic; using System.Configuration; using System.Linq; using System.Text; using System.Web; using System.Web.Mvc; using System.Web.Optimization; namespace ...
using System; using System.Collections; using UnityEngine; using RPG.CameraUI; namespace RPG.Characters { public class PlayerControl : MonoBehaviour // todo extract weapon system { Character character; SpecialAbilities abilities; WeaponSystem weaponSystem; void Start () { abilities = GetComponent<Spe...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class PlayerTrigger : MonoBehaviour { public EnemySkills inRange; // Start is called before the first frame update void Start() { } // Update is called once per frame void Update() { } voi...
using System; public enum PopUpStyle{ NONE, YES_NO, OK } namespace Mio.TileMaster { public class MessageBoxDataModel { public string message; public string messageYes; public Action OnYesButtonClicked; public string messageNo; public Action OnNoButtonClicked; pri...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Text; using System.Threading.Tasks; //********************************************************************** // // 文件名称(File Name):MonitorStatus.CS // 功能描述(Description): // 作者(Author):A...
using EmberKernel.Services.EventBus; using System; using System.Collections.Generic; using System.Text; namespace ExamplePlugin.Models.EventPublisher { public class ExamplePluginPublishEvent : Event<ExamplePluginPublishEvent> { public int InputNumber { get; set; } } }
using UnityEngine; using System.Collections; public class ProgressDisplay : MonoBehaviour { [SerializeField] private GameObject progressImage; private float startXPosition; void Start () { startXPosition = progressImage.transform.position.x; CheckpointCollision.OnCheckPointEvent += Chan...
using UnityEngine; using UnityAtoms.BaseAtoms; namespace UnityAtoms.BaseAtoms { /// <summary> /// Adds Variable Instancer's Variable of type bool to a Collection or List on OnEnable and removes it on OnDestroy. /// </summary> [AddComponentMenu("Unity Atoms/Sync Variable Instancer to Collection/Sync Bo...
/* Copyright (C) 2015 Electronic Arts Inc. All rights reserved. This software is solely licensed pursuant to the Hackathon License Agreement, Available at: [URL to Hackathon License Agreement]. All other use is strictly prohibited. */ using System; using UnityEngine; /// <summary> /// Application wide manager...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ConsoleApplication1 { public class FogueteDePlutonio : IEquipamentos { public FogueteDePlutonio() { this.Nivel = 2; } public FogueteDePluton...
using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Text; namespace DomainModel.Contracts { public interface IRepository<T> { int Add(T entity); void Remove(T entity); void Remove(int id); void Update(T entity); ...
using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Text; using System.Threading.Tasks; using GDS.Entity; using SqlSugar; namespace GDS.Dal { public class ImplBackUserInfo : ImplDaoBase<BackUserInfo>, IBackUerInfoDao<BackUserInfo> { public Bac...
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 { //todo: now we delete all relationships, we should be able to...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class DestroyPlayer : MonoBehaviour { public GameObject Door; public GameObject Key; private void OnTriggerEnter2D(Collider2D other) { if (other.tag == "Player") { Destroy(Door)...
namespace ProjetLogo.Migrations { using System; using System.Data.Entity.Migrations; public partial class AjoutPersonne : DbMigration { public override void Up() { CreateTable( "dbo.Personnes", c => new { ...
namespace BettingSystem.Application.Games.Matches.Commands.Create { public class CreateMatchResponseModel { internal CreateMatchResponseModel(int id) => this.Id = id; public int Id { get; } } }
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Web; using Bibliotheque.Models; namespace Bibliotheque.ViewModels { public class LinkViewModel { private readonly LinkContext dbLinkContext = new LinkContext(); public IEnumerable<Link> Li...
using System; using System.IO; using System.Reflection; using System.Xml.Linq; using Cogito.Web.Configuration; namespace Cogito.IIS.Configuration { public class AppHostVirtualDirectoryConfigurator : IWebElementConfigurator { readonly XElement element; /// <summary> /// Initializes ...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Xml.Serialization; namespace KartObjects { /// <summary> /// Класс товары /// </summary> [Serializable] public class Good:BaseGood { [DBIgnoreAutoGenerateParam] [DBIgnoreReadParam] ...
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 Blog; using System.Drawing; using System.IO; using Blog.Models; using System.Text; namespace Blog.Controllers { public class AdminCon...
using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Http; using System.Web.Http; using Umbraco.Web.Mvc; using Umbraco.Web.WebApi; using Umbraco.Core.Models; namespace halamek_umbraco.Controllers{ [PluginController("AddTranslation")] public class ...
using starteAlkemy.Models; using System.Web.Mvc; using starteAlkemy.Repository.IRepository; using starteAlkemy.Models.ViewModels; using System.Net; using starteAlkemy.Repository; using starteAlkemy.Filters; using System.Collections.Generic; using System; namespace starteAlkemy.Controllers { public class ProjectCo...
using System; using System.Collections.Generic; using System.Linq; namespace Titan.Util { public static class StringUtil { private static Random _random = new Random(); private static List<string> _kisakQuotes = new List<string> { // Kisak gets welcomed to the CS:...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading.Tasks; using Autofac; using Autofac.Extensions.DependencyInjection; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.HttpOverrides...
using SGCFT.Dominio.Entidades; using SGCFT.Utilitario; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Web; namespace SGCFT.Apresentacao.Models { public class TreinamentoViewModel { public TreinamentoViewModel() { ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Telerik.OpenAccess.Data; namespace Sparda.Contracts { public class DateTimeOffsetToDateTimeConverter : AdoTypeConverter { public override bool CreateLiteralSql(ref DataHolder holde...
using gView.Framework.Geometry; using System.Collections; namespace gView.Plugins.MapTools { internal class ZoomForwardStack { static System.Collections.Stack stack = new Stack(20); static public void Push(IEnvelope envelope) { if (envelope == null) { ...
using UnityEngine; using System.Collections; [DisallowMultipleComponent] [ExecuteInEditMode] [RequireComponent(typeof(MeshCollider))] public class MeshPainterV3 : MonoBehaviour { }
using System; namespace For { class Program { static void Main(string[] args) { sumando(); } static void sumando() { Console.WriteLine("Ingrese un numero"); string n = Console.ReadLine(); int nn = int.Parse...
using System.Collections; using System.Collections.Generic; using UnityEngine; namespace VolumetricFogAndMist { [ExecuteInEditMode] public class FogOfWarHole : MonoBehaviour { public enum HoleShape { Disc, Box } public HoleShape shape; [Range(0, 1f), Toolti...
using Gruzer.Data; using Gruzer.Data.Infrastructure; using Gruzer.Models.Users; using Gruzer.WebAPI.Controllers; using Gruzer.WebAPI.ViewModels.Account; using Microsoft.AspNetCore.Mvc; using Moq; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Xunit; namespace Gr...
using System; using UnityEngine; namespace DChild.Gameplay.Objects.Characters.Enemies { public struct AnimatedTurnHandler : ITurnHandler { private ICharacter m_character; private Action m_turnFunc; public AnimatedTurnHandler(ICharacter m_character, Action m_turnFunc) { ...
using System.Data.Entity.ModelConfiguration; using Properties.Core.Objects; namespace Properties.Infrastructure.Data.Mapping { public class AffectedPropertyMap : EntityTypeConfiguration<AffectedProperty> { public AffectedPropertyMap() { HasOptional(p => p.AdvertiseResult) ...
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 Foundation; using System; using System.CodeDom.Compiler; using CoreGraphics; using ResidentAppCross.iOS.Views; using UIKit; namespace ResidentAppCross.iOS { public partial class TextFieldSection : SectionViewBase, IFormTapListener, IFormEventsListener, ISoftKeyboardEventsListener { public TextFieldSection...
using Microsoft.AspNetCore.Mvc; using Senparc.Mvc.Filter; using Senparc.Mvc.Models.APIResponse; using Senparc.Mvc.Models.RequestModel; using System; using System.Collections.Generic; using System.Text; namespace Senparc.Mvc.Controllers { // [Session] public class CompanyController : BaseFrontController {...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Graphs.Algorithms { public class MockAlgorithm : IAlgorithm { public object Result { get { return new Random().NextDouble(); } } public void Run() { ...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class FallingPlatform : MonoBehaviour { Rigidbody2D rb2d; public float fallDelay = 0; // Start is called before the first frame update void Start() { rb2d = GetComponent<RigidBody2D>(); ...
using System; namespace OurClassLibrary { public class clsStaff { //private members for the class private Int32 staffNo; private string firstName; private string lastName; private string email; private string phoneNo; clsDataConnection myDB = new clsData...
using System; using System.Collections.Generic; using Microsoft.Xna.Framework; using Terraria; using Terraria.DataStructures; using Terraria.ID; using Terraria.ModLoader; using Caserraria.Items; namespace Caserraria.Items.Weapons { public class PipeShotgun : ModItem { public override void SetStaticDefaults()...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace DT { public static class Log { /*Esta es una clase que se encarga de llevar un log de todo lo q pasa en la base de datos*/ /*Log 0.1 Hecho por Cortez*/ public static String Modificacion(Str...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace TimeTracker.Core.Constants { public class UrlStrings { public const string TrackerStem = "api/tracker"; public const string TrackerHistoryStem = "api/tracker_history";...
using System; using System.Collections.Generic; using System.Text; namespace ModelTransformationComponent { /// <summary> /// Ошибка парсинга правил трансформаций конкретного языка в <see cref="TransformationComponent.GetLangDescription(string, Dictionary{string, Rule}, out string)"/> /// <para/> /// ...
namespace Airelax.Application.Members.Dtos.Request { public class LoginAndSecurityInput { public string OldPassword { get; set; } public string Password { get; set; } } }
using System.Collections; using System.Collections.Generic; using UnityEngine; public class EnemyBehaviorScript : MonoBehaviour { public GameObject EnemyPrefab; public GameObject Clone; Vector3 RandomPos; // Start is called before the first frame update void Start() { ...
 public enum PlayerControllerNumber{ Player1 = 1, Player2 = 2, Player3 = 3, Player4 = 4 };
namespace WinAppDriver.UI { using System; using System.Collections.Generic; using System.Drawing; using System.Drawing.Drawing2D; using System.Windows.Forms; internal class OverlayForm : Form { private static ILogger logger = Logger.GetLogger("WinAppDriver"); p...
using System.Collections.Generic; using System.IO; using NHibernate; using Profiling2.Domain.Prf.Sources; namespace Profiling2.Domain.Contracts.Queries { public interface ISourceQueries { IList<Source> GetSourcesByName(string term); /// <summary> /// Retrieve all SourceDTOs in order t...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Problem_1___Fighter_Attack { class FighterAttack { static int Px1; static int Py1; static int Px2; static int Py2; static int Fx; static...
using Aurora.Framework.ConsoleFramework; using Aurora.Framework.Modules; using Aurora.Framework.PresenceInfo; using Aurora.Framework.SceneInfo; using Aurora.Framework.Utilities; using Nini.Config; using OpenMetaverse; using OpenMetaverse.StructuredData; using System; using System.Collections.Generic; using S...
using System.Configuration; using FluentNHibernate.Cfg; using FluentNHibernate.Cfg.Db; using NHibernate; using Sind.DAL.Mappings; namespace Sind.DAL.Infrastructure { public class NHibernateHelper { private static ISessionFactory _sessionFactory; private static ISessionFactory SessionFactory ...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class ItemDatabase : MonoBehaviour { public List<Item> items = new List<Item>(); private void Awake() { BuildItemDatabase(); } public Item GetItem(int id) { return items.Find(...
using DLMotion; using UIFrame; using UnityEngine; using UnityEngine.SceneManagement; //************************************************************************* //@header GameStart //@abstract Monitor the execution of game. //@discussion Add the scripts on GameObject as a component. //@author Felix Z...
namespace DBCore { public static class PhoneConverter { static string DbPhone { get; set; } static string Phone { get; set; } //преобразование из вида +375291234567 в вид +375(29)123-45-67 public static string ToPhone(string dbphone) { char[] chararray = { d...
using System; using System.Linq; namespace Compiler { public static class L { public static int LogLevel { get; set; } = 0; public static void Log(string message, int level) { var spaces = string.Concat(Enumerable.Repeat(" ", level)); if (level <= L.LogLevel) Console.WriteLine($"{DateTime.Now...
using System; using System.Collections.Generic; using System.Text; using System.Threading.Tasks; namespace DAL.Interfaces { public interface IUnitOfWork { /// <summary> /// BankAccountRepository Repository /// </summary> IBankAccountRepository BankAccountRepository { get; } ...
using UsersLib.DbControllers; using UsersLib.Entity; namespace UsersLib.Service.Log { public class AccessLogger : IAccessLogger { private readonly IDbLogController _dbLogController; public AccessLogger(IDbLogController dbLogController) { _dbLogController = dbLogController;...
using System; using FitnessStore.API; using FitnessStore.API.Models.DTO; using FitnessStore.API.Services; using Microsoft.AspNetCore.Mvc; namespace DevFitness.API.Controllers { [Route("api/usuarios/{codigoUsuario}/refeicoes")] public class RefeicaoController : ControllerBase { #region Atributos ...
using UnityEngine; using System.Collections; public static class Definicoes { public const int IDLE = 0; public const int DIREITA = 1; public const int ESQUERDA = -1; }
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Configuration; using CNC; using Configuracion; using CNCMatic.XML; using System.Windows.Forms; using G.Objetos; namespace CNCMatic { public static class Interfaz { private static readonly ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using VerifyParameter.Interface; namespace VerifyParameter.Data.AttributeData { [AttributeUsage(AttributeTargets.Property | AttributeTargets.Field, AllowMultiple = true)] public partial class DisplayAttribute : Attribute, IV...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace AlgorithmProblems.Trees.TreeHelper { /// <summary> /// The left subtree will contain all nodes less than the current node /// The right subtree will contain all nodes greater or eq...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace AlphaToNum { class Program { static void Main(string[] args) { char loop = 'Y'; while (loop == 'Y') { Console.WriteL...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using AutoMapper; namespace Gruzer.WebAPI.Mappings { public class AutoMapperConfiguration { public static void Configure() { Mapper.Initialize(config=> { config.AddProfi...
using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; using Microsoft.Xna.Framework.Input; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace _7DRL_2021.Menus { class NameInput : Menu { Scene Scene; str...
using ISE.SM.Common.DTO; using System; using System.Collections.Generic; using System.Linq; using System.Runtime.Serialization; using System.Text; using System.Threading.Tasks; namespace ISE.SM.Common.Message { public class AccessToken { public AccessToken() { Claims = new List<Cla...
using System; namespace Fingo.Auth.AuthServer.Client.Exceptions { public class PasswordNotChangedException : Exception { public new const string Message = "Your password wasn't changed."; } }
using System; using System.Collections.Generic; namespace CollaborativeFiltering { public class CaseAmplification : MemoryBasedAlgorithm { private const double Ro = 2.5; private readonly MemoryBasedAlgorithm _algorithm; public CaseAmplification(IEnumerable<IRating> ratings, MemoryBase...
using System; using System.Web.UI; using HTB.Database; using HTB.v2.intranetx.util; using HTBUtilities; using HTBAktLayer; using HTB.Database.Views; using HTBServices; using HTBServices.Mail; namespace HTB.v2.intranetx.aktenink { public partial class Actions : Page { private string _kzId = ""; ...
using System.Collections.Generic; /// <summary> /// The <c>gView.Framework</c> provides all interfaces to develope /// with and for gView /// </summary> namespace gView.Framework.system { public class ListOperations<T> { static public List<T> Clone(List<T> l) { if (l == null) ...
using System; using System.Windows.Forms; namespace FinancialInstumentsAI.Dialogs { public partial class SelectData : Form { public SelectData() { InitializeComponent(); } public DateTime DateFrom { get; private set; } public DateTime DateTo { ...
using System; using System.Collections.Generic; using System.Linq; using System.Web.Http; using Newtonsoft.Json; using Newtonsoft.Json.Serialization; namespace Timeclock.Api { public static class WebApiConfig { public static void Register(HttpConfiguration config) { // Web API rout...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using DTO; using DAL; using System.Web; namespace BLL { public class CompletManager { public static ExtraitComplet GetExtraitComplet(int IdComplet, String Name, String Firstname, String ...
using Volo.Abp.Settings; namespace Xunmei.Docs.Settings { public class DocsSettingDefinitionProvider : SettingDefinitionProvider { public override void Define(ISettingDefinitionContext context) { //Define your own settings here. Example: //context.Add(new Setti...
using API.Models; using API.Repository; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using System.Web; using System.Web.Http; using System.Web.Http.Description; namespace API.Controllers { public class DivisionController : ApiController { DivisionRep...
using UnityEngine; using UnityEngine.SceneManagement; public class Botones : MonoBehaviour { public void ComenzarJuego () { SceneManager.LoadScene ("Juego"); } public void Creditos () { SceneManager.LoadScene ("Creditos"); } public void Salir () { Application.Quit (); } }
using System; using DAL.Repositories; using DAL.EF; using DAL.Interfaces; using DAL.Interface; using DAL.Entities; namespace DAL.Repositories { public class UnitOfWork : IUnitOfWork { private SocialNetworkContext db; private UserRepository userRepository; private MessageRepository mess...
using System; using System.Web.UI.WebControls; using System.Globalization; namespace WebApp.App_MasterPages { public partial class _default : NunoGomes.Web.UI.MasterPage { protected void Page_Load(object sender, EventArgs e) { } protected void MyLinkButton_Click(...
using System; using Microsoft.EntityFrameworkCore.Metadata.Builders; using PL.Integritas.Domain.Entities; namespace PL.Integritas.Infra.Data.EntityConfig { public class ProductConfiguration : DbEntityConfiguration<Product> { public override void Configure(EntityTypeBuilder<Product> entity) { ...
using KSF_Surf.ViewModels; using System.ComponentModel; using Xamarin.Forms; namespace KSF_Surf.Views { [DesignTimeVisible(false)] public partial class InfoPage : ContentPage { public InfoPage() { InitializeComponent(); KSFThanksLabel.Text = "Thanks to Hardex for...
using System; using System.Collections.Generic; namespace WispFramework.Extensions.Common { public static class Extensions { public static bool IsGuid(this string str) { str.ToGuid(out var success); return success; } public static bool IsGuidAndNotEmpty...
using Microsoft.AspNetCore.Mvc; using Microsoft.EntityFrameworkCore; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Tarea3_Bandas_Musicales.Data; using Tarea3_Bandas_Musicales.Models; namespace Tarea3_Bandas_Musicales.Controllers { public class Bandas_Musica...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Reflection; namespace 用反射_Attribute控制属性的值 { public static class GetErrorMsg { public static string Check<T>(T t) { string errMsg = ""; PropertyInfo[] propers = t.GetType()...
using Microsoft.AspNetCore.Http; using Serilog; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace MeterReader.Middleware { public class ExceptionHandlingMiddleware { private readonly RequestDelegate _next; public ExceptionHandlingMiddle...
using System.Collections; using System.Collections.Generic; using UniRx; using UniRx.Triggers; using UnityEngine; public class Block : MonoBehaviour { /// <summary> /// ブロックが壊れたときのイベント /// </summary> public Subject<int> OnBroken = new Subject<int>(); /// ヒットポイント(ブロックが壊れるまでの回数) /// </summary> ...
using System; using Xunit; namespace BadSmellsTest { public class UnitTest1 { /// <summary> /// Extrair Metodo(100), Subir Método na Hierarquia(275) /// Extrair Classe (132), Criar Método Padrão (293) /// /// </summary> [Fact] public void CodigoDuplicado(...