PexFocusOnTypeAttribute Класс

Определение

Атрибут фокуса для типа

public ref class PexFocusOnTypeAttribute sealed : Microsoft::Pex::Framework::Focus::PexFocusOnAttributeBase
[System.AttributeUsage(System.AttributeTargets.Assembly | System.AttributeTargets.Class | System.AttributeTargets.Method, AllowMultiple=true, Inherited=true)]
public sealed class PexFocusOnTypeAttribute : Microsoft.Pex.Framework.Focus.PexFocusOnAttributeBase
[<System.AttributeUsage(System.AttributeTargets.Assembly | System.AttributeTargets.Class | System.AttributeTargets.Method, AllowMultiple=true, Inherited=true)>]
type PexFocusOnTypeAttribute = class
    inherit PexFocusOnAttributeBase
Public NotInheritable Class PexFocusOnTypeAttribute
Inherits PexFocusOnAttributeBase
Наследование
Атрибуты

Конструкторы

PexFocusOnTypeAttribute(Type)

Инициализирует новый экземпляр класса PexFocusOnTypeAttribute.

PexFocusOnTypeAttribute(Type, String)

Инициализирует новый экземпляр класса PexFocusOnTypeAttribute.

Свойства

DoNotReportCoverage

Возвращает значение, указывающее, что не следует сообщать о покрытии.

(Унаследовано от PexFocusOnAttributeBase)
NoNestedTypes

Возвращает или задает значение, указывающее, следует ли также выполнять инструментирование вложенных типов.

SearchPriority

Возвращает или задает приоритет.

(Унаследовано от PexFocusOnAttributeBase)
TargetTypeDefinition

Возвращает тип целевого объекта.

Методы

Decorate(Name, IPexDecoratedComponentElement)

Оформляет компонент с помощью настраиваемых декораторов.

(Унаследовано от PexFocusOnAttributeBase)
GetUncachedIncludedAssemblies(IPexLog)

Возвращает некэшированные включаемые сборки.

(Унаследовано от PexFocusOnAttributeBase)
GetUncachedIncludedMethods(IPexLog)

Возвращает некэшированные включаемые методы.

(Унаследовано от PexFocusOnAttributeBase)
GetUncachedIncludedTypes(IPexLog)

Возвращает некэшированные включаемые типы.

(Унаследовано от PexFocusOnAttributeBase)
TryGetFocusedAssemblies(IPexLog, IIndexable<AssemblyEx>)

Пытается получить выделенные сборки.

(Унаследовано от PexFocusOnAttributeBase)
TryGetFocusedMethods(IPexLog, IIndexable<MethodDefinition>)

Пытается получить выделенные методы.

(Унаследовано от PexFocusOnAttributeBase)
TryGetFocusedTypes(IPexLog, IIndexable<TypeDefinition>)

Возвращает включенные типы.

(Унаследовано от PexFocusOnAttributeBase)
Validate(IPexLog, ICustomAttributeProviderEx, VisibilityContext)

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

(Унаследовано от PexComponentElementDecoratorAttributeBase)

Явные реализации интерфейса

IPexComponentElementDecorator.Decorate(Name, IPexDecoratedComponentElement) (Унаследовано от PexComponentElementDecoratorAttributeBase)
IPexValidatable.Validate(IPexLog, ICustomAttributeProviderEx, VisibilityContext) (Унаследовано от PexComponentElementDecoratorAttributeBase)

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