Exemplo n.º 1
0
        public void ValidateProperty(string propertyName)
        {
            if (ValidationMethods.ContainsKey(propertyName))
            {
                ClearErrors(propertyName);

                var method = ValidationMethods[propertyName];

                method(ErrorsByPropertyName[propertyName]);

                OnErrorsChanged(propertyName);
            }
        }