Interface IStringRule
Interface for a password format rule.
public interface IStringRule
Remarks
Just [Export(typeof(IStringRule))]
to let the UserManager know the rule.
Properties
Description
Gets a localized description.
string Description { get; }
Property Value
Methods
Check(string)
Checks the string format for correctness.
bool Check(string data)
Parameters
data
stringThe string of data to check.
Returns
- bool
True, if the string is OK.