PexExplorableFromConstructorAttribute Класс

Определение

Атрибут для определения способа создания экземпляров конкретного типа с помощью методов задания свойств и методов задания для установки значений полей

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

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

PexExplorableFromConstructorAttribute(Type, Type[])

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

Свойства

ExplorableType

Возвращает тип, создаваемый просмотром.

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

Возвращает метод просмотра.

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

Возвращает имя этого пакета.

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

Методы

AfterExploration(IPexExplorationComponent, Object)

Обратный вызов, который выполняется после завершения просмотра.

(Унаследовано от PexExplorableAttributeBase)
BeforeExploration(IPexExplorationComponent)

Обратный вызов, который выполняется перед началом просмотра.

(Унаследовано от PexExplorableAttributeBase)
Decorate(Name, IPexDecoratedComponentElement)

Этот метод может объявлять фильтры, фокусирования и пакеты для IntelliTest.

(Унаследовано от PexExplorationPackageAttributeBase)
Initialize(IPexExplorationEngine)

Инициализирует указанный пакет просмотра. Может взаимодействовать со службами.

(Унаследовано от PexExplorableAttributeBase)
Load(IContainer)

Этот метод предоставляет возможность установить или заменить службы.

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

Возвращает значение типа String, представляющее текущий объект Object.

TryCreateExplorable(IPexComponent, IPexExplorable)

Создает просматриваемый экземпляр.

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

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

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

Проверяет метод просмотра.

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

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

IPexComponentElementDecorator.Decorate(Name, IPexDecoratedComponentElement) (Унаследовано от PexComponentElementDecoratorAttributeBase)
IPexExplorationPackage.AfterExploration(IPexExplorationComponent, Object) (Унаследовано от PexExplorationPackageAttributeBase)
IPexExplorationPackage.BeforeExploration(IPexExplorationComponent) (Унаследовано от PexExplorationPackageAttributeBase)
IPexExplorationPackage.Initialize(IPexExplorationEngine) (Унаследовано от PexExplorationPackageAttributeBase)
IPexExplorationPackage.Load(IContainer) (Унаследовано от PexExplorationPackageAttributeBase)
IPexValidatable.Validate(IPexLog, ICustomAttributeProviderEx, VisibilityContext) (Унаследовано от PexComponentElementDecoratorAttributeBase)

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