RuleRegularExpressionAttribute Constructors
Defines a validation rule that demands the target property match a specified pattern.Name | Parameters | Description |
---|---|---|
RuleRegularExpressionAttribute(DefaultContexts, String) | targetContexts, pattern | Initializes a new instance of the RuleRegularExpressionAttribute class. |
RuleRegularExpressionAttribute(String, DefaultContexts, String, String) | id, targetContexts, pattern, messageTemplate | Initializes a new instance of the RuleRegularExpressionAttribute class. |
RuleRegularExpressionAttribute(String, DefaultContexts, String) | id, targetContexts, pattern | Initializes a new instance of the RuleRegularExpressionAttribute class. |
RuleRegularExpressionAttribute(String, String, String, String) | id, targetContextIDs, pattern, messageTemplate | Initializes a new instance of the RuleRegularExpressionAttribute class. |
RuleRegularExpressionAttribute(String, String, String) | id, targetContextIDs, pattern | Initializes a new instance of the RuleRegularExpressionAttribute class. |
RuleRegularExpressionAttribute(String) | pattern | Initializes a new instance of the RuleRegularExpressionAttribute class. |
See Also