Partager via


PexComponentElementDecoratorAttributeBase.Validate Method

Definition

Validates the attribute in a particular visibility context.

protected:
 virtual bool Validate(Microsoft::Pex::Engine::Logging::IPexLog ^ log, Microsoft::ExtendedReflection::Metadata::ICustomAttributeProviderEx ^ target, Microsoft::ExtendedReflection::Metadata::VisibilityContext ^ visibilityContextOfGeneratedTests);
protected virtual bool Validate (Microsoft.Pex.Engine.Logging.IPexLog log, Microsoft.ExtendedReflection.Metadata.ICustomAttributeProviderEx target, Microsoft.ExtendedReflection.Metadata.VisibilityContext visibilityContextOfGeneratedTests);
abstract member Validate : Microsoft.Pex.Engine.Logging.IPexLog * Microsoft.ExtendedReflection.Metadata.ICustomAttributeProviderEx * Microsoft.ExtendedReflection.Metadata.VisibilityContext -> bool
override this.Validate : Microsoft.Pex.Engine.Logging.IPexLog * Microsoft.ExtendedReflection.Metadata.ICustomAttributeProviderEx * Microsoft.ExtendedReflection.Metadata.VisibilityContext -> bool
Protected Overridable Function Validate (log As IPexLog, target As ICustomAttributeProviderEx, visibilityContextOfGeneratedTests As VisibilityContext) As Boolean

Parameters

log
Microsoft.Pex.Engine.Logging.IPexLog

The log.

target
Microsoft.ExtendedReflection.Metadata.ICustomAttributeProviderEx

The target.

visibilityContextOfGeneratedTests
Microsoft.ExtendedReflection.Metadata.VisibilityContext

The visibility context of generated tests.

Returns

Applies to