Share via


PexExplorableFromMethodAttribute Class

Definition

Attribute to define how instances of a particular type can be created by using property setters and setter methods to set field values

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

Constructors

PexExplorableFromMethodAttribute(Type, MethodBase)

Initializes a new instance of the PexExplorableFromMethodAttribute class.

PexExplorableFromMethodAttribute(Type, String, Type, String, Type[])

Initializes a new instance of the PexExplorableFromMethodAttribute class.

PexExplorableFromMethodAttribute(Type, Type, String, Type[])

Initializes a new instance of the PexExplorableFromMethodAttribute class.

Properties

ExplorableType

Gets the type to be created by exploration.

(Inherited from PexExplorableAttributeBase)
ExplorationMethod

Gets the exploration method.

Name

Gets the name of this package.

(Inherited from PexExplorationPackageAttributeBase)

Methods

AfterExploration(IPexExplorationComponent, Object)

Callback that is executed after the exploration ends.

(Inherited from PexExplorableAttributeBase)
BeforeExploration(IPexExplorationComponent)

Callback that is executed before the exploration starts.

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

(Inherited from PexExplorableAttributeBase)
Load(IContainer)

This method provides the opportunity install or substitute services.

(Inherited from PexExplorableAttributeBase)
ToString()

Returns a String that represents the current Object.

TryCreateExplorable(IPexComponent, IPexExplorable)

Creates the explorable instance

Validate(IPexLog, ICustomAttributeProviderEx, VisibilityContext)

Validates the attribute in a particular visibility context.

ValidateExplorationMethod(IPexLog, ICustomAttributeProviderEx, VisibilityContext)

Validates the exploration method.

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