PexExplorableMutatorAttribute 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 mutated by exploring a (parameterized) instance method
public ref class PexExplorableMutatorAttribute : Microsoft::Pex::Framework::Packages::PexExplorationPackageAttributeBase, Microsoft::Pex::Engine::Explorable::IPexExplorableMutator, Microsoft::Pex::Engine::Explorable::IPexExplorableMutatorFactory, Microsoft::Pex::Engine::Explorable::IPexExplorableTypeMutatorProvider
[System.AttributeUsage(System.AttributeTargets.Assembly | System.AttributeTargets.Class | System.AttributeTargets.Method, AllowMultiple=true, Inherited=true)]
public class PexExplorableMutatorAttribute : Microsoft.Pex.Framework.Packages.PexExplorationPackageAttributeBase, Microsoft.Pex.Engine.Explorable.IPexExplorableMutator, Microsoft.Pex.Engine.Explorable.IPexExplorableMutatorFactory, Microsoft.Pex.Engine.Explorable.IPexExplorableTypeMutatorProvider
[<System.AttributeUsage(System.AttributeTargets.Assembly | System.AttributeTargets.Class | System.AttributeTargets.Method, AllowMultiple=true, Inherited=true)>]
type PexExplorableMutatorAttribute = class
inherit PexExplorationPackageAttributeBase
interface IPexExplorableMutatorFactory
interface IPexExplorableTypeMutatorProvider
interface IPexExplorableMutator
Public Class PexExplorableMutatorAttribute
Inherits PexExplorationPackageAttributeBase
Implements IPexExplorableMutator, IPexExplorableMutatorFactory, IPexExplorableTypeMutatorProvider
- Inheritance
-
PexExplorableMutatorAttribute
- Attributes
- Implements
-
Microsoft.Pex.Engine.Explorable.IPexExplorableMutator Microsoft.Pex.Engine.Explorable.IPexExplorableMutatorFactory Microsoft.Pex.Engine.Explorable.IPexExplorableTypeMutatorProvider
Constructors
PexExplorableMutatorAttribute(Type, MethodBase) |
Initializes a new instance of the PexExplorableAttributeBase class. |
PexExplorableMutatorAttribute(Type, String, String, Type[]) |
Initializes a new instance of the PexExplorableMutatorAttribute class. |
PexExplorableMutatorAttribute(Type, String, Type[]) |
Initializes a new instance of the PexExplorableMutatorAttribute class. |
Properties
ExplorableType |
Gets the type to be created by exploration. |
InstanceMethod |
Gets the method which mutates an instance of the desired type. |
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) |
GetExplorableMutators(Method) |
Gets the explorable mutators. |
GetMutatorProvider(IPexExplorationComponent, TypeEx) |
Gets the explorable mutators. |
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) |
Validate(IPexLog, ICustomAttributeProviderEx, VisibilityContext) |
Validates the attribute in a particular visibility context. |
ValidateInstanceMethod(IPexLog, ICustomAttributeProviderEx, VisibilityContext) |
Validates the instance method. |