StringLengthValidator Class Breeze.sharp
Validator implementation that checks that a string's length is within a specified range.
Inheritance Hierarchy

SystemObject
  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

public class StringLengthValidator : Validator

The StringLengthValidator type exposes the following members.

Constructors

  NameDescription
Public methodStringLengthValidator
Initializes a new instance of the StringLengthValidator class
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 propertyMinLength
Public propertyName (Inherited from Internable.)
Top
See Also

Reference