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