Table of Contents

Class PasswordRuleModel

Namespace
The.WPF.Shell.Login
Assembly
Instagile.WPF.dll
public class PasswordRuleModel : NotificationObject, INotifyPropertyChanged
Inheritance
PasswordRuleModel
Implements
Derived
Inherited Members
Extension Methods

Constructors

PasswordRuleModel(IPasswordRule)

public PasswordRuleModel(IPasswordRule rule)

Parameters

rule IPasswordRule

Properties

Description

public string Description { get; }

Property Value

string

IsValid

public bool IsValid { get; set; }

Property Value

bool

Rule

public IPasswordRule Rule { get; }

Property Value

IPasswordRule

Methods

Create(IPasswordRule)

public static PasswordRuleModel Create(IPasswordRule rule)

Parameters

rule IPasswordRule

Returns

PasswordRuleModel

Validate(string, IEnumerable<string>)

public virtual void Validate(string password, IEnumerable<string> userDataStrings)

Parameters

password string
userDataStrings IEnumerable<string>