PexComponentElementDecoratorAttributeBase.Validate(IPexLog, ICustomAttributeProviderEx, VisibilityContext) Метод

Определение

Проверяет атрибут в конкретном контексте видимости.

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

Параметры

log
Microsoft.Pex.Engine.Logging.IPexLog

Журнал.

target
Microsoft.ExtendedReflection.Metadata.ICustomAttributeProviderEx

Целевой объект.

visibilityContextOfGeneratedTests
Microsoft.ExtendedReflection.Metadata.VisibilityContext

Контекст видимости созданных тестов.

Возвращаемое значение

Boolean

Применяется к