Partilhar via


ObjectValidator Members

Include Protected Members
Include Inherited Members

Retired Content

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

The ObjectValidator type exposes the following members.

Constructors

  Name Description
Public method ObjectValidator Overloaded.

Methods

  Name Description
Protected method DoValidate
Validates by applying the validation rules for the target type specified for the receiver.
(Overrides Validator.DoValidate(Object, Object, String, ValidationResults).)
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Protected method GetMessage
Gets the message representing a failed validation.
(Inherited from Validator.)
Public method GetType (Inherited from Object.)
Protected method LogValidationResult Overloaded.
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)
Public method Validate Overloaded.

Properties

  Name Description
Protected property DefaultMessageTemplate
Gets the message template to use when logging results no message is supplied.
(Overrides Validator.DefaultMessageTemplate.)
Public property MessageTemplate
Gets or sets the message template to use when logging results.
(Inherited from Validator.)
Public property Tag
Gets a value characterizing the logged result.
(Inherited from Validator.)

See Also

ObjectValidator Class

Microsoft.Practices.EnterpriseLibrary.Validation.Validators Namespace

Retired Content

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.