PexCreatableAttributeBase 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
public ref class PexCreatableAttributeBase abstract : Microsoft::Pex::Framework::Packages::PexExplorationPackageAttributeBase, Microsoft::Pex::Engine::Creatable::IPexCreatableDefinition
[System.AttributeUsage(System.AttributeTargets.Assembly | System.AttributeTargets.Class | System.AttributeTargets.Method, AllowMultiple=true, Inherited=true)]
public abstract class PexCreatableAttributeBase : Microsoft.Pex.Framework.Packages.PexExplorationPackageAttributeBase, Microsoft.Pex.Engine.Creatable.IPexCreatableDefinition
[<System.AttributeUsage(System.AttributeTargets.Assembly | System.AttributeTargets.Class | System.AttributeTargets.Method, AllowMultiple=true, Inherited=true)>]
type PexCreatableAttributeBase = class
inherit PexExplorationPackageAttributeBase
interface IPexCreatableDefinition
Public MustInherit Class PexCreatableAttributeBase
Inherits PexExplorationPackageAttributeBase
Implements IPexCreatableDefinition
- Inheritance
-
PexCreatableAttributeBase
- Derived
- Attributes
- Implements
-
Microsoft.Pex.Engine.Creatable.IPexCreatableDefinition
Constructors
PexCreatableAttributeBase(Type) |
Loads the type of the creatable. |
Properties
CreatableTypeDefinition |
Gets the type to be created. |
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) |
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) |
ToString() | |
TryInstantiate(IPexExplorationComponent, TypeEx[], IPexCreatable) |
Tries to instantiate this definition with the specified arguments. |
Validate(IPexLog, ICustomAttributeProviderEx, VisibilityContext) |
Validates the attribute in a particular visibility context. (Inherited from PexComponentElementDecoratorAttributeBase) |