public virtual void CheckError() { DataChecker.NotEmpty(this.Id); if (this.Created == null) { throw new DataCheckerException("Created is not initialize."); } }
public override void CheckError() { base.CheckError(); DataChecker.NotNull(this.Names); DataChecker.NotEmpty(this.Type); DataChecker.True(IsYearValid(this.Year)); DataChecker.True(IsIndexValid(this.Index)); DataChecker.True(IsEpisodesCountValid(this.EpisodesCount)); }
public override void CheckError() { base.CheckError(); DataChecker.NotNull(this.Names); DataChecker.NotNull(this.Videos); DataChecker.NotEmpty(this.Names); this.Names.ForEach(z => DataChecker.NotEmpty(z)); this.Videos.ForEach(z => z.CheckError()); }
public override void CheckError() { base.CheckError(); DataChecker.True(this.Count >= 0); DataChecker.NotEmpty(this.Value); }
public override void CheckError() { base.CheckError(); DataChecker.NotNull(this.Entities); }
public override void CheckError() { base.CheckError(); DataChecker.NotNull(this.BinaryData); }