Class PasswordRuleModel
public class PasswordRuleModel : NotificationObject, INotifyPropertyChanged
- Inheritance
-
PasswordRuleModel
- Implements
- Derived
- Inherited Members
- Extension Methods
Constructors
PasswordRuleModel(IPasswordRule)
public PasswordRuleModel(IPasswordRule rule)
Parameters
ruleIPasswordRule
Properties
Description
public string Description { get; }
Property Value
IsValid
public bool IsValid { get; set; }
Property Value
Rule
public IPasswordRule Rule { get; }
Property Value
Methods
Create(IPasswordRule)
public static PasswordRuleModel Create(IPasswordRule rule)
Parameters
ruleIPasswordRule
Returns
Validate(string, IEnumerable<string>)
public virtual void Validate(string password, IEnumerable<string> userDataStrings)
Parameters
passwordstringuserDataStringsIEnumerable<string>