Метод | Описание | |
---|---|---|
EmailValidator ( ) : System.Text.RegularExpressions |
Creates a new instance of the EmailValidator class.
|
|
EmailValidator ( IExpression test, IExpression when ) : System.Text.RegularExpressions |
Creates a new instance of the EmailValidator class.
|
|
EmailValidator ( string test, string when ) : System.Text.RegularExpressions |
Creates a new instance of the EmailValidator class.
|
Метод | Описание | |
---|---|---|
Validate ( object objectToValidate ) : bool |
Validates the supplied objectToValidate. In the case of the EmailValidator class, the test should be a string variable that will be evaluated and the object obtained as a result of this evaluation will be checked if it is a valid e-mail address. |
public EmailValidator ( ) : System.Text.RegularExpressions | ||
Результат | System.Text.RegularExpressions |
public EmailValidator ( IExpression test, IExpression when ) : System.Text.RegularExpressions | ||
test | IExpression | The expression to validate. |
when | IExpression | The expression that determines if this validator should be evaluated. |
Результат | System.Text.RegularExpressions |
public EmailValidator ( string test, string when ) : System.Text.RegularExpressions | ||
test | string | The expression to validate. |
when | string | The expression that determines if this validator should be evaluated. |
Результат | System.Text.RegularExpressions |
protected Validate ( object objectToValidate ) : bool | ||
objectToValidate | object | The object to validate. |
Результат | bool |