Share via


PexFocusOnAttributeBase Class

Definition

Abstract base Attribute class where IntelliTest should focus its search

public ref class PexFocusOnAttributeBase abstract : Microsoft::Pex::Framework::ComponentModel::PexComponentElementDecoratorAttributeBase, Microsoft::Pex::Engine::Focus::IPexFocus
[System.AttributeUsage(System.AttributeTargets.Assembly | System.AttributeTargets.Class | System.AttributeTargets.Method, AllowMultiple=true, Inherited=true)]
public abstract class PexFocusOnAttributeBase : Microsoft.Pex.Framework.ComponentModel.PexComponentElementDecoratorAttributeBase, Microsoft.Pex.Engine.Focus.IPexFocus
[<System.AttributeUsage(System.AttributeTargets.Assembly | System.AttributeTargets.Class | System.AttributeTargets.Method, AllowMultiple=true, Inherited=true)>]
type PexFocusOnAttributeBase = class
    inherit PexComponentElementDecoratorAttributeBase
    interface IPexFocus
Public MustInherit Class PexFocusOnAttributeBase
Inherits PexComponentElementDecoratorAttributeBase
Implements IPexFocus
Inheritance
Derived
Attributes
Implements
Microsoft.Pex.Engine.Focus.IPexFocus

Constructors

PexFocusOnAttributeBase()

Initializes a new instance of the PexFocusOnAttributeBase class.

PexFocusOnAttributeBase(PexSearchPriority)

Initializes a new instance of the PexFocusOnAttributeBase class.

Properties

DoNotReportCoverage

Gets a value indicating whether it should not report coverage.

SearchPriority

Gets or sets the priority

Methods

Decorate(Name, IPexDecoratedComponentElement)

Decorates component with custom decorators

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.

TryGetFocusedMethods(IPexLog, IIndexable<MethodDefinition>)

Tries to get the focused methods.

TryGetFocusedTypes(IPexLog, IIndexable<TypeDefinition>)

Gets the included types.

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

See also

  • <xref:Microsoft.Pex.Engine.Focus.IPexFocus>