public IValidationErrors Add(ValidationError value) { return(value.VerifyNotNull(nameof(value))); }
public ListGroup(ValidationError value1, ValidationError value2) { Debug.Assert(value1 != null && value2 != null); Add(value1); Add(value2); }
internal static IValidationErrors New(ValidationError value1, ValidationError value2) { Debug.Assert(value1 != null && value2 != null && value1 != value2); return(new ListGroup(value1, value2)); }