PexPreparableFromFactoriesFromAssemblyAttribute 类

定义

一种属性,用于扫描程序集中由 PexFactoryMethodAttribute(位于静态类型中)标记的方法。

public ref class PexPreparableFromFactoriesFromAssemblyAttribute sealed : Microsoft::Pex::Framework::Preparable::PexPreparableFromFactoriesAttributeBase
[System.AttributeUsage(System.AttributeTargets.Assembly, AllowMultiple=true)]
public sealed class PexPreparableFromFactoriesFromAssemblyAttribute : Microsoft.Pex.Framework.Preparable.PexPreparableFromFactoriesAttributeBase
[<System.AttributeUsage(System.AttributeTargets.Assembly, AllowMultiple=true)>]
type PexPreparableFromFactoriesFromAssemblyAttribute = class
    inherit PexPreparableFromFactoriesAttributeBase
Public NotInheritable Class PexPreparableFromFactoriesFromAssemblyAttribute
Inherits PexPreparableFromFactoriesAttributeBase
继承
属性

构造函数

PexPreparableFromFactoriesFromAssemblyAttribute()

初始化 PexPreparableFromFactoriesFromAssemblyAttribute 类的新实例。

PexPreparableFromFactoriesFromAssemblyAttribute(String)

初始化 PexPreparableFromFactoriesFromAssemblyAttribute 类的新实例。

PexPreparableFromFactoriesFromAssemblyAttribute(Type)

初始化 PexPreparableFromFactoriesFromAssemblyAttribute 类的新实例。

属性

Name

获取此包的名称。

(继承自 PexExplorationPackageAttributeBase)

方法

AfterExploration(IPexExplorationComponent, Object)

在探索结束之后执行的回调。

(继承自 PexExplorationPackageAttributeBase)
BeforeExploration(IPexExplorationComponent)

在探索开始之前执行的回调。

(继承自 PexPreparableFromFactoriesAttributeBase)
Decorate(Name, IPexDecoratedComponentElement)

此方法可以向 IntelliTest 公告筛选器、焦点和包。

(继承自 PexExplorationPackageAttributeBase)
GetUncachedPreparables(IPexComponent, SafeList<IPexPreparableDefinition>)

获取可准备对象方法的列表

(继承自 PexPreparableFromFactoriesAttributeBase)
Initialize(IPexExplorationEngine)

初始化指定的探索包。 可以与服务进行交互。

(继承自 PexExplorationPackageAttributeBase)
Load(IContainer)

此方法提供安装或替代服务的机会。

(继承自 PexExplorationPackageAttributeBase)
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)

适用于