Метод | Описание | |
---|---|---|
ApplyBrowserValidation ( |
Applies the browser validation by setting up one or more input rules on IBrowserValidationGenerator.
|
|
IsValid ( object instance, object fieldValue ) : bool |
Validate that the property value match the given regex. Null or empty values are allowed.
|
|
RegularExpressionValidator ( String expression ) : System |
Initializes a new instance of the RegularExpressionValidator class.
|
|
RegularExpressionValidator ( String expression, RegexOptions options ) : System |
Initializes a new instance of the RegularExpressionValidator class.
|
public ApplyBrowserValidation ( |
||
config | The config. | |
inputType | InputElementType | Type of the input. |
generator | IBrowserValidationGenerator | The generator. |
attributes | IDictionary | The attributes. |
target | string | The target. |
Результат | void |
public IsValid ( object instance, object fieldValue ) : bool | ||
instance | object | |
fieldValue | object | |
Результат | bool |
public RegularExpressionValidator ( String expression ) : System | ||
expression | String | The expression. |
Результат | System |
public RegularExpressionValidator ( String expression, RegexOptions options ) : System | ||
expression | String | The expression. |
options | RegexOptions | The regular expression options. |
Результат | System |