示例#1
0
 public virtual void CheckError()
 {
     DataChecker.NotEmpty(this.Id);
     if (this.Created == null)
     {
         throw new DataCheckerException("Created is not initialize.");
     }
 }
示例#2
0
 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));
 }
示例#3
0
 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());
 }
示例#4
0
 public override void CheckError()
 {
     base.CheckError();
     DataChecker.True(this.Count >= 0);
     DataChecker.NotEmpty(this.Value);
 }
示例#5
0
 public override void CheckError()
 {
     base.CheckError();
     DataChecker.NotNull(this.Entities);
 }
示例#6
0
 public override void CheckError()
 {
     base.CheckError();
     DataChecker.NotNull(this.BinaryData);
 }