public CarsConcise(string AccountId = null, string CarsDetailsId = null, string CorporationId = null, string Name = null, string BrandId = null, string SeriesId = null, Decimal GuidePrice = 0, Decimal SellingPrice = 0, Decimal BasePrice = 0, ValidityState State = ValidityState.Disabled, string SurfaceImage = null, CarSell CarSell = CarSell.Sale, CarActivity CarActivity = CarActivity.None) { this.AccountId = AccountId; this.CarsDetailsId = CarsDetailsId; this.CorporationId = CorporationId; this.CarSell = CarSell; this.BrandId = BrandId; this.SeriesId = SeriesId; this.CarActivity = CarActivity; this.Name = Name; this.GuidePrice = GuidePrice; this.SellingPrice = SellingPrice; this.BasePrice = BasePrice; this.State = State; this.SurfaceImage = SurfaceImage; this.UpdateTime = DateTime.Now; }
public virtual void Check(ValidityState state) { }
public override void Check(ValidityState state) { state.IsValueMissing = Input.IsRequired && !Input.IsChecked; }
public Account(string WechatName, string OpenId, string Session_Key, Gender Sex, ValidityState State, Identity Identity, string Logo, DateTime UpdateTime) { this.WechatName = WechatName; this.OpenId = OpenId; this.UpdateTime = UpdateTime; this.State = State; this.Sex = Sex; this.Logo = Logo; this.Identity = Identity; this.Session_Key = Session_Key; }
public Account(string Wechat, string WechatName, string OpenId, string Corporation, Gender Sex, string Email, string Phone, string Name, ValidityState State, Identity Identity, string Logo, DateTime UpdateTime) { this.WechatName = WechatName; this.Wechat = Wechat; this.OpenId = OpenId; this.UpdateTime = UpdateTime; this.State = State; this.Sex = Sex; this.Phone = Phone; this.Name = Name; this.Logo = Logo; this.Identity = Identity; this.Email = Email; this.Corporation = Corporation; }
public override void Check(ValidityState state) { var value = Input.Value ?? String.Empty; state.IsPatternMismatch = IsInvalidPattern(Input.Pattern, value); }
public ResBrand(string ParentId, string Name, string Capital, string BrandLogo, ValidityState State, CarSeriesGrade CarGrade, CarBrandType CarBrand, CarBrandCountry BrandCountry) { this.ParentId = ParentId; this.Name = Name; this.Capital = Capital; this.State = State; this.BrandLogo = BrandLogo; this.SeriesGrade = CarGrade; this.BrandType = CarBrand; this.BrandCountry = BrandCountry; }
public Corporation(string Name, string Address, string Presentation, string FixPhone, string Image, ValidityState State, DateTime UpdateTime) { this.Name = Name; this.Address = Address; this.FixPhone = FixPhone; this.Image = Image; this.Presentation = Presentation; this.State = State; this.UpdateTime = UpdateTime; }