PexExplorableFromConstructorAttribute 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 PexExplorableFromConstructorAttribute sealed : Microsoft::Pex::Framework::Explorable::PexExplorableFromMethodAttribute
[System.AttributeUsage(System.AttributeTargets.Assembly | System.AttributeTargets.Class | System.AttributeTargets.Method, AllowMultiple=true, Inherited=true)]
public sealed class PexExplorableFromConstructorAttribute : Microsoft.Pex.Framework.Explorable.PexExplorableFromMethodAttribute
[<System.AttributeUsage(System.AttributeTargets.Assembly | System.AttributeTargets.Class | System.AttributeTargets.Method, AllowMultiple=true, Inherited=true)>]
type PexExplorableFromConstructorAttribute = class
    inherit PexExplorableFromMethodAttribute
Public NotInheritable Class PexExplorableFromConstructorAttribute
Inherits PexExplorableFromMethodAttribute
Inheritance
Attributes

Constructors

PexExplorableFromConstructorAttribute(Type, Type[])

Initializes a new instance of the PexExplorableFromConstructorAttribute class.

Properties

ExplorableType

Gets the type to be created by exploration.

(Inherited from PexExplorableAttributeBase)
ExplorationMethod

Gets the exploration method.

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

(Inherited from PexExplorableFromMethodAttribute)
Validate(IPexLog, ICustomAttributeProviderEx, VisibilityContext)

Validates the attribute in a particular visibility context.

(Inherited from PexExplorableFromMethodAttribute)
ValidateExplorationMethod(IPexLog, ICustomAttributeProviderEx, VisibilityContext)

Validates the exploration method.

(Inherited from PexExplorableFromMethodAttribute)

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