Partager via


PexExplorableFromConstructorAndSettersAttribute Class

Definition

Explorable from constructor and setters

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

Constructors

PexExplorableFromConstructorAndSettersAttribute(Type, Type[])

Initializes a new instance of the PexExplorableFromConstructorAndSettersAttribute class.

Properties

ExplorableType

Gets the type to be created by exploration.

(Inherited from PexExplorableAttributeBase)
ExplorationMethod

Gets the exploration method.

(Inherited from PexExplorableFromMethodAttribute)
FieldsToConsider

Which fields should be considered to create instances (default: all)

Name

Gets the name of this package.

(Inherited from PexExplorationPackageAttributeBase)
PropertiesToConsider

Which properties should be considered to create instances (default: all)

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.

(Inherited from PexExplorableFromMethodAttribute)
TryCreateExplorable(IPexComponent, IPexExplorable)

Creates the explorable instance

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