C# Class MvcInstaller.MinRequiredNonAlphanumericCharacters

Validate the number of non alphanumeric characters to the value set in the web.confg/system.web/membership section.
Inheritance: PropertyRule
Datei anzeigen Open project: kahanu/MvcInstaller Class Usage Examples

Public Methods

Method Description
MinRequiredNonAlphanumericCharacters ( string userName, string passwordToValidate, int numberOfRequiredCharacters ) : System.Collections.Generic
Validate ( ) : bool

Private Methods

Method Description
FindAny ( char charsToSearch, string stringToMatch, int startPos ) : int[]

Method Details

MinRequiredNonAlphanumericCharacters() public method

public MinRequiredNonAlphanumericCharacters ( string userName, string passwordToValidate, int numberOfRequiredCharacters ) : System.Collections.Generic
userName string
passwordToValidate string
numberOfRequiredCharacters int
return System.Collections.Generic

Validate() public method

public Validate ( ) : bool
return bool