Example #1
0
        public IEnumerable GetErrors(string propertyName)
        {
            if (String.IsNullOrEmpty(propertyName))
            {
                return(Enumerable.Empty <string>());
            }

            return(_validationResults.GetErrorsFor(propertyName));
        }