PexExplorableFromMethodAttribute Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
-
PexExplorableFromMethodAttribute
- 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() | |
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. |