Exemple #1
0
 public ValidationItemModel(ValidationItem vi)
 {
     Type    = vi.Type.ToString();
     Message = vi.Message;
     Detail  = vi.Detail;
     if (vi.InnerValidationResults != null)
     {
         InnerValidationResults = new ValidationResultsModel(vi.InnerValidationResults);
     }
 }
Exemple #2
0
 public ValidationErrorModel(ValidationResults vr)
 {
     ValidationResults = new ValidationResultsModel(vr);
 }