MaxLengthValidator Class Breeze.sharp
Validator implementation that checks that a string does not exceed a maximum length.
Inheritance Hierarchy

SystemObject
  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

public class MaxLengthValidator : Validator

The MaxLengthValidator type exposes the following members.

Constructors

  NameDescription
Public methodMaxLengthValidator
Ctor.
Top
Methods

  NameDescription
Public methodEquals (Inherited from Internable.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetErrorMessage
Provides the error message associated with a failure of this validator.
(Overrides ValidatorGetErrorMessage(ValidationContext).)
Public methodGetHashCode (Inherited from Internable.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodValidate
Performs validation given a specified context.
(Inherited from Validator.)
Protected methodValidateCore
Provides the core validation logic to this validator.
(Overrides ValidatorValidateCore(ValidationContext).)
Top
Properties

  NameDescription
Public propertyLocalizedKey (Inherited from Validator.)
Public propertyLocalizedMessage (Inherited from Validator.)
Public propertyMaxLength
Public propertyName (Inherited from Internable.)
Top
See Also

Reference