Validator implementation that checks that a string does not exceed a maximum length.
Inheritance Hierarchy
Breeze.SharpInternable
Breeze.SharpValidator
Breeze.SharpMaxLengthValidator
Namespace: Breeze.Sharp
Assembly: Breeze.Sharp (in Breeze.Sharp.dll) Version: 0.6.0.5 (0.6.0.5)
Syntax
The MaxLengthValidator type exposes the following members.
Constructors
Name | Description | |
---|---|---|
MaxLengthValidator |
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).) |
Properties
Name | Description | |
---|---|---|
LocalizedKey | (Inherited from Validator.) | |
LocalizedMessage | (Inherited from Validator.) | |
MaxLength | ||
Name | (Inherited from Internable.) |
See Also