C# Class Holyprin.Web.Security.ExtensionMethods

Exibir arquivo Open project: holyprin/Holyprin.Web.Security

Public Methods

Method Description
CheckPasswordPolicy ( this provider, string password ) : bool
GetConfigValue ( this config, string name, bool defaultValue ) : bool
GetConfigValue ( this config, string name, int defaultValue ) : int
GetConfigValue ( this config, string name, string defaultValue ) : string

Method Details

CheckPasswordPolicy() public static method

public static CheckPasswordPolicy ( this provider, string password ) : bool
provider this
password string
return bool

GetConfigValue() public static method

public static GetConfigValue ( this config, string name, bool defaultValue ) : bool
config this
name string
defaultValue bool
return bool

GetConfigValue() public static method

public static GetConfigValue ( this config, string name, int defaultValue ) : int
config this
name string
defaultValue int
return int

GetConfigValue() public static method

public static GetConfigValue ( this config, string name, string defaultValue ) : string
config this
name string
defaultValue string
return string