Validator implementation that determines if a given property matches a
predefined regular expression pattern.
Inheritance Hierarchy
Breeze.SharpInternable
Breeze.SharpValidator
Breeze.SharpRegexValidator
Breeze.SharpEmailValidator
Breeze.SharpPhoneNumberValidator
Breeze.SharpUrlValidator
Namespace: Breeze.Sharp
Assembly: Breeze.Sharp (in Breeze.Sharp.dll) Version: 0.6.0.5 (0.6.0.5)
Syntax
The RegexValidator type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() | RegexValidator(String, String) |
Ctor.
|
![]() | RegexValidator(Regex, String) |
Ctor
|
Methods
Name | Description | |
---|---|---|
![]() | Equals | (Inherited from Internable.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetErrorMessage |
Provides the error message associated with a failure of this validator.
(Overrides ValidatorGetErrorMessage(ValidationContext).) |
![]() | GetHashCode | (Inherited from Internable.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
![]() | Validate |
Performs validation given a specified context.
(Inherited from Validator.) |
![]() | ValidateCore |
Provides the core validation logic to this validator.
(Overrides ValidatorValidateCore(ValidationContext).) |
Fields
Name | Description | |
---|---|---|
![]() | PatternName |
Display name for this pattern in any errorMessage.
|
Properties
Name | Description | |
---|---|---|
![]() | LocalizedKey | (Inherited from Validator.) |
![]() | LocalizedMessage | (Inherited from Validator.) |
![]() | Name | (Inherited from Internable.) |
![]() | Regex |
The Regex1 pattern to match.
|
See Also