Partager via


PexExplorableAttributeBase Class

Definition

Attribute to define how instances of a particular type can be created by exploring a (parameterized) method

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

Constructors

PexExplorableAttributeBase(Type)

Initializes a new instance of the PexExplorableAttributeBase class.

Properties

ExplorableType

Gets the type to be created by exploration.

Name

Gets the name of this package.

(Inherited from PexExplorationPackageAttributeBase)

Methods

AfterExploration(IPexExplorationComponent, Object)

Callback that is executed after the exploration ends.

BeforeExploration(IPexExplorationComponent)

Callback that is executed before the exploration starts.

Decorate(Name, IPexDecoratedComponentElement)

This method can announce filters, focuses, and packages to IntelliTest.

(Inherited from PexExplorationPackageAttributeBase)
Initialize(IPexExplorationEngine)

Initializes the specified exploration package. May interact with services.

Load(IContainer)

This method provides the opportunity install or substitute services.

TryCreateExplorable(IPexComponent, IPexExplorable)

Creates the explorable instance

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)
IPexExplorationPackage.AfterExploration(IPexExplorationComponent, Object) (Inherited from PexExplorationPackageAttributeBase)
IPexExplorationPackage.BeforeExploration(IPexExplorationComponent) (Inherited from PexExplorationPackageAttributeBase)
IPexExplorationPackage.Initialize(IPexExplorationEngine) (Inherited from PexExplorationPackageAttributeBase)
IPexExplorationPackage.Load(IContainer) (Inherited from PexExplorationPackageAttributeBase)
IPexValidatable.Validate(IPexLog, ICustomAttributeProviderEx, VisibilityContext) (Inherited from PexComponentElementDecoratorAttributeBase)

Applies to