PexCreatableByMethodAttribute 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 that an instances of a type can be created by calling a creation method.
public ref class PexCreatableByMethodAttribute : Microsoft::Pex::Framework::Creatable::PexCreatableByMethodAndSettersAttribute
[System.AttributeUsage(System.AttributeTargets.Assembly | System.AttributeTargets.Class | System.AttributeTargets.Method, AllowMultiple=true, Inherited=true)]
public class PexCreatableByMethodAttribute : Microsoft.Pex.Framework.Creatable.PexCreatableByMethodAndSettersAttribute
[<System.AttributeUsage(System.AttributeTargets.Assembly | System.AttributeTargets.Class | System.AttributeTargets.Method, AllowMultiple=true, Inherited=true)>]
type PexCreatableByMethodAttribute = class
inherit PexCreatableByMethodAndSettersAttribute
Public Class PexCreatableByMethodAttribute
Inherits PexCreatableByMethodAndSettersAttribute
- Inheritance
- Derived
- Attributes
Constructors
PexCreatableByMethodAttribute(Type, String, Type, String, String[]) |
Creates an instance of this type. |
PexCreatableByMethodAttribute(Type, Type, String, String[]) |
Creates an instance of this type. |
Properties
CreatableTypeDefinition |
Gets the type to be created. (Inherited from PexCreatableAttributeBase) |
MaySetRemainingFieldsByReflection |
Whether fields which are not handled explicitly by this attribute may be set by reflection. Use with care. (Inherited from PexCreatableByMethodAndSettersAttributeBase) |
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. (Inherited from PexCreatableAttributeBase) |
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() |
Returns a String that represents the current Object. (Inherited from PexCreatableAttributeBase) |
TryInstantiate(IPexExplorationComponent, TypeEx[], IPexCreatable) |
Tries to instantiate this definition with the specified arguments. (Inherited from PexCreatableByMethodAndSettersAttribute) |
Validate(IPexLog, ICustomAttributeProviderEx, VisibilityContext) |
Validates the attribute in a particular visibility context. (Inherited from PexCreatableByMethodAndSettersAttribute) |