Пример #1
0
        internal static void ClearErrors(System.Collections.Generic.IDictionary <string, HashSet <string> > errors, ISupportValidation isv, string propertyName)
        {
            errors.Remove(propertyName);

            Execute.OnUIThread(() =>
            {
                isv.RaiseErrorsChanged(propertyName);
            });
        }
Пример #2
0
        internal static void ClearErrors(System.Collections.Generic.IDictionary <string, HashSet <string> > errors, ISupportValidation isv)
        {
            var keys = errors.Keys.ToList();

            errors.Clear();

            Execute.OnUIThread(() =>
            {
                foreach (var key in keys)
                {
                    isv.RaiseErrorsChanged(key);
                }
            });
        }