private static Dictionary <string, IEnumerable <string> > GetErrorsStatic(FailureInfo failureInfo) { return(failureInfo switch { ValidationFailureInfo vfi => GetValidationFailureInfo(vfi), _ => EmptyResults.EmptyErrors });
protected virtual Dictionary <string, IEnumerable <string> > ValidationFailureInfo( ValidationFailureInfo failureInfo) { return(GetValidationFailureInfo(failureInfo)); }