PexCoverageFilterNamespaceAttribute 类

定义

一种属性,用于定义要在覆盖率报告中包括/排除/忽略的程序集

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

构造函数

PexCoverageFilterNamespaceAttribute(PexCoverageDomain, String)

初始化 PexCoverageFilterNamespaceAttribute 类的新实例。

属性

CoverageDomain

获取域。

(继承自 PexCoverageFilterAttributeBase)
NamespaceSuffix

获取命名空间后缀

方法

CreateFilter(IPexDecoratedComponentElement)

创建筛选器

Decorate(Name, IPexDecoratedComponentElement)

使用自定义修饰器修饰组件

(继承自 PexCoverageFilterAttributeBase)
Validate(IPexLog, ICustomAttributeProviderEx, VisibilityContext)

在特定可见性上下文中验证属性。

(继承自 PexComponentElementDecoratorAttributeBase)

显式接口实现

IPexComponentElementDecorator.Decorate(Name, IPexDecoratedComponentElement) (继承自 PexComponentElementDecoratorAttributeBase)
IPexValidatable.Validate(IPexLog, ICustomAttributeProviderEx, VisibilityContext) (继承自 PexComponentElementDecoratorAttributeBase)

适用于