Exemple #1
0
 public DomainException()
 {
     ValidationErrors = new ValidationErrors();
 }
Exemple #2
0
 public void AddErrors(ValidationErrors validationErrors)
 {
     ValidationErrors.AddErrors(validationErrors.ErrorItems);
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="JsonResponse"/> class.
 /// </summary>
 public JsonResponse()
 {
     Errors = new ValidationErrors();
 }