public static bool Validate(string value)
 {
     PasswordValidationRule rule = new PasswordValidationRule();
     return rule.Validate(value, CultureInfo.CurrentCulture).IsValid;
 }
Esempio n. 2
0
        public static bool Validate(string value)
        {
            PasswordValidationRule rule = new PasswordValidationRule();

            return(rule.Validate(value, CultureInfo.CurrentCulture).IsValid);
        }