Partager via


PexExplorableFromFactoriesAttributeBase Class

Definition

Attribute that scans an assembly for methods marked by PexFactoryMethodAttribute located in static types.

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

Constructors

PexExplorableFromFactoriesAttributeBase()

Initializes a new instance

Properties

Name

Gets the name of this package.

(Inherited from PexExplorationPackageAttributeBase)

Methods

AfterExploration(IPexExplorationComponent, Object)

Callback that is executed after the exploration ends.

(Inherited from PexExplorationPackageAttributeBase)
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)
GetUncachedExplorableMethods(IPexComponent, SafeList<IPexExplorable>, VisibilityContext, TypeDefinition)

Gets the list of explorable methods from a type

GetUncachedExplorables(IPexComponent, SafeList<IPexExplorable>)

Gets the list of explorable methods

Initialize(IPexExplorationEngine)

Initializes the specified exploration package. May interact with services.

(Inherited from PexExplorationPackageAttributeBase)
Load(IContainer)

This method provides the opportunity install or substitute services.

(Inherited from PexExplorationPackageAttributeBase)
TryCreateExplorableFactory(IPexComponent, VisibilityContext, TypeDefinition, MethodDefinition, PexFactoryMethodAttribute, PexExplorableFromMethod)

Tries to create an explorable factory method

TryValidateType(IPexComponent, VisibilityContext, TypeDefinition)

Tries to validate the factory type.

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