public static bool HasFailures(this ResultBase result) { return(result.HasErrors() || result.HasWarnings()); }