Compartilhar via


PexCoverageFilterMethodAttribute Class

Definition

Attributes that define a method name to include/exclude/ignore in the coverage reports

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

Constructors

PexCoverageFilterMethodAttribute(PexCoverageDomain, String)

Initializes a new instance of the PexCoverageFilterMethodAttribute class.

Properties

CoverageDomain

Gets the domain.

(Inherited from PexCoverageFilterAttributeBase)

Methods

CreateFilter(IPexDecoratedComponentElement)

Creates the filter

Decorate(Name, IPexDecoratedComponentElement)

Decorates component with custom decorators

(Inherited from PexCoverageFilterAttributeBase)
Validate(IPexLog, ICustomAttributeProviderEx, VisibilityContext)

Validates the attribute in a particular visibility context.

(Inherited from PexComponentElementDecoratorAttributeBase)

Explicit Interface Implementations

IPexComponentElementDecorator.Decorate(Name, IPexDecoratedComponentElement) (Inherited from PexComponentElementDecoratorAttributeBase)
IPexValidatable.Validate(IPexLog, ICustomAttributeProviderEx, VisibilityContext) (Inherited from PexComponentElementDecoratorAttributeBase)

Applies to