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
- Атрибуты
Конструкторы
| 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) |