Compartilhar via


NotNullValidator 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 NotNullValidator type exposes the following members.

Constructors

  Name Description
Public method NotNullValidator Overloaded.

Methods

  Name Description
Protected method DoValidate
Validates by checking if objectToValidate is nulla null reference (Nothing in Visual Basic).
(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 default message template for de validator.
(Inherited from ValueValidator.)
Protected property DefaultNegatedMessageTemplate
Gets the Default Message Template when the validator is negated.
(Overrides ValueValidator.DefaultNegatedMessageTemplate.)
Protected property DefaultNonNegatedMessageTemplate
Gets the Default Message Template when the validator is non negated.
(Overrides ValueValidator.DefaultNonNegatedMessageTemplate.)
Public property MessageTemplate
Gets or sets the message template to use when logging results.
(Inherited from Validator.)
Public property Negated
Gets the indication of negated validation logic.
(Inherited from ValueValidator.)
Public property Tag
Gets a value characterizing the logged result.
(Inherited from Validator.)

See Also

NotNullValidator 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.