PexAssertExcludeTypeAttribute 类

定义

用于从要断言的特定类型中排除成员的属性

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

构造函数

PexAssertExcludeTypeAttribute(Type)

初始化具有类型定义的属性的新实例

PexAssertExcludeTypeAttribute(Type, String)

初始化具有类型定义的属性的新实例

属性

Name

获取此包的名称。

(继承自 PexExplorationPackageAttributeBase)

方法

AfterExploration(IPexExplorationComponent, Object)

用于执行探索操作的方法。

(继承自 PexAssertionFilterAttributeBase)
BeforeExploration(IPexExplorationComponent)

加载筛选器(如果有)

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

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

(继承自 PexExplorationPackageAttributeBase)
Initialize(IPexExplorationEngine)

初始化 PexAssertionAttributeFilterBase 类。

(继承自 PexAssertionFilterAttributeBase)
Load(IContainer) (继承自 PexAssertionFilterAttributeBase)
TryCreateAssertionFilters(IPexExplorationComponent, IIndexable<IPexAssertionFilter>)

尝试创建一组筛选器

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

适用于