Partager via


PexExplorableMutatorAttribute Class

Definition

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
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.

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