Partilhar via


MethodReturnValueValidator<T> Class

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.

Validates the return value of a method without parameters using a configured validator.

Namespace:  Microsoft.Practices.EnterpriseLibrary.Validation.Validators
Assembly:  Microsoft.Practices.EnterpriseLibrary.Validation (in Microsoft.Practices.EnterpriseLibrary.Validation.dll)

Syntax

'Declaration
PublicClassMethodReturnValueValidator(Of T) _
    Inherits MemberAccessValidator(Of T)
publicclassMethodReturnValueValidator<T> : MemberAccessValidator<T>
generic<typename T>
publicref classMethodReturnValueValidator : public MemberAccessValidator<T>
JScript does not support generic types or methods.

Type Parameters

  • T
    The type for which validation on a method is to be performed.

Inheritance Hierarchy

System.Object
  Microsoft.Practices.EnterpriseLibrary.Validation.Validator
    Microsoft.Practices.EnterpriseLibrary.Validation.Validator<T>
      Microsoft.Practices.EnterpriseLibrary.Validation.Validators.MemberAccessValidator<T>
        Microsoft.Practices.EnterpriseLibrary.Validation.Validators.MethodReturnValueValidator<T>

See Also

MethodReturnValueValidator<T> Members

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.