PexCreatableAttributeBase Класс

Определение

Атрибут для определения способа создания экземпляров конкретного типа.

public ref class PexCreatableAttributeBase abstract : Microsoft::Pex::Framework::Packages::PexExplorationPackageAttributeBase, Microsoft::Pex::Engine::Creatable::IPexCreatableDefinition
[System.AttributeUsage(System.AttributeTargets.Assembly | System.AttributeTargets.Class | System.AttributeTargets.Method, AllowMultiple=true, Inherited=true)]
public abstract class PexCreatableAttributeBase : Microsoft.Pex.Framework.Packages.PexExplorationPackageAttributeBase, Microsoft.Pex.Engine.Creatable.IPexCreatableDefinition
[<System.AttributeUsage(System.AttributeTargets.Assembly | System.AttributeTargets.Class | System.AttributeTargets.Method, AllowMultiple=true, Inherited=true)>]
type PexCreatableAttributeBase = class
    inherit PexExplorationPackageAttributeBase
    interface IPexCreatableDefinition
Public MustInherit Class PexCreatableAttributeBase
Inherits PexExplorationPackageAttributeBase
Implements IPexCreatableDefinition
Наследование
Производный
Атрибуты
Реализации
Microsoft.Pex.Engine.Creatable.IPexCreatableDefinition

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

PexCreatableAttributeBase(Type)

Загружает тип создаваемого объекта.

Свойства

CreatableTypeDefinition

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

Name

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

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

Методы

AfterExploration(IPexExplorationComponent, Object)

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

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

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

Decorate(Name, IPexDecoratedComponentElement)

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

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

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

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

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

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

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

TryInstantiate(IPexExplorationComponent, TypeEx[], IPexCreatable)

Пытается создать экземпляр этого определения с указанными аргументами.

Validate(IPexLog, ICustomAttributeProviderEx, VisibilityContext)

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

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

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

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)

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