Validator implementation that checks that a string's length is within a specified range.
Inheritance Hierarchy
Breeze.SharpInternable
Breeze.SharpValidator
Breeze.SharpStringLengthValidator
Namespace: Breeze.Sharp
Assembly: Breeze.Sharp (in Breeze.Sharp.dll) Version: 0.6.0.5 (0.6.0.5)
Syntax
The StringLengthValidator type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() | StringLengthValidator | Initializes a new instance of the StringLengthValidator class |
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).) |
Properties
Name | Description | |
---|---|---|
![]() | LocalizedKey | (Inherited from Validator.) |
![]() | LocalizedMessage | (Inherited from Validator.) |
![]() | MaxLength | |
![]() | MinLength | |
![]() | Name | (Inherited from Internable.) |
See Also