public new static ApiValidatedResult <T> Aggregate(params ApiValidationResult[] results) { if (results == null) { return(Ok()); } var result = new ApiValidatedResult <T>(); results.SafeForEach(r => result.Append(r)); return(result); }
public new static ApiValidatedResult <T> Aggregate(params ApiValidationError[] errors) { if (errors == null) { return(Ok()); } var result = new ApiValidatedResult <T>(); errors.SafeForEach(e => result.Append(e)); return(result); }