internal static void ClearErrors(System.Collections.Generic.IDictionary <string, HashSet <string> > errors, ISupportValidation isv, string propertyName) { errors.Remove(propertyName); Execute.OnUIThread(() => { isv.RaiseErrorsChanged(propertyName); }); }
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); } }); }