Beispiel #1
0
        protected virtual IDictionary <string, IList <object> > GetErrorsInternal()
        {
            var errors = new List <IDictionary <string, IList <object> > >();

            foreach (var validators in _instanceToValidators.Values)
            {
                for (int index = 0; index < validators.Count; index++)
                {
                    errors.Add(validators[index].GetErrors());
                }
            }
            return(ToolkitExtensions.MergeDictionaries(errors));
        }