PexComponentElementDecoratorAttributeBase.Validate Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.