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

Определение

Проверяет атрибут в конкретном контексте видимости.Validates the attribute in a particular visibility context.

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

Параметры

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.

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

Boolean

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