PexFocusOnAssemblyAttribute Class

Definition

Includes an Assembly in the coverage reports

public ref class PexFocusOnAssemblyAttribute : Microsoft::Pex::Framework::Focus::PexFocusOnAttributeBase
[System.AttributeUsage(System.AttributeTargets.Assembly | System.AttributeTargets.Class | System.AttributeTargets.Method, AllowMultiple=true, Inherited=true)]
public class PexFocusOnAssemblyAttribute : Microsoft.Pex.Framework.Focus.PexFocusOnAttributeBase
[<System.AttributeUsage(System.AttributeTargets.Assembly | System.AttributeTargets.Class | System.AttributeTargets.Method, AllowMultiple=true, Inherited=true)>]
type PexFocusOnAssemblyAttribute = class
    inherit PexFocusOnAttributeBase
Public Class PexFocusOnAssemblyAttribute
Inherits PexFocusOnAttributeBase
Inheritance
Derived
Attributes

Constructors

PexFocusOnAssemblyAttribute(String)

Initializes a new instance of the PexFocusOnAssemblyAttribute class.

PexFocusOnAssemblyAttribute(String, PexSearchPriority)

Initializes a new instance of the PexFocusOnAssemblyAttribute class.

PexFocusOnAssemblyAttribute(Type)

Initializes a new instance of the PexFocusOnAssemblyAttribute class.

PexFocusOnAssemblyAttribute(Type, PexSearchPriority)

Initializes a new instance of the PexFocusOnAssemblyAttribute class.

Properties

DoNotReportCoverage

Gets a value indicating whether it should not report coverage.

(Inherited from PexFocusOnAttributeBase)
Optional

Gets or sets a value indicating whether the types or assemblies by this attribute might not be present on the system

SearchPriority

Gets or sets the priority

(Inherited from PexFocusOnAttributeBase)
TargetAssemblyName

Gets the name of the target assembly.

Methods

Decorate(Name, IPexDecoratedComponentElement)

Decorates component with custom decorators

(Inherited from PexFocusOnAttributeBase)
GetUncachedIncludedAssemblies(IPexLog)

Gets the uncached included assemblies.

GetUncachedIncludedMethods(IPexLog)

Gets the uncached included methods.

GetUncachedIncludedTypes(IPexLog)

Gets the uncached included types.

TryGetFocusedAssemblies(IPexLog, IIndexable<AssemblyEx>)

Tries to get the focused assemblies.

(Inherited from PexFocusOnAttributeBase)
TryGetFocusedMethods(IPexLog, IIndexable<MethodDefinition>)

Tries to get the focused methods.

(Inherited from PexFocusOnAttributeBase)
TryGetFocusedTypes(IPexLog, IIndexable<TypeDefinition>)

Gets the included types.

(Inherited from PexFocusOnAttributeBase)
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