Compartir a través de


PexArgumentsAttribute Class

Definition

Defines a single value tuple that will be used as test inputs to seed the IntelliTest exploration.

public ref class PexArgumentsAttribute sealed : Microsoft::Pex::Framework::InputEnumeration::PexInputEnumeratorAttributeBase
[System.AttributeUsage(System.AttributeTargets.Assembly | System.AttributeTargets.Class | System.AttributeTargets.Method, AllowMultiple=true, Inherited=true)]
public sealed class PexArgumentsAttribute : Microsoft.Pex.Framework.InputEnumeration.PexInputEnumeratorAttributeBase
[<System.AttributeUsage(System.AttributeTargets.Assembly | System.AttributeTargets.Class | System.AttributeTargets.Method, AllowMultiple=true, Inherited=true)>]
type PexArgumentsAttribute = class
    inherit PexInputEnumeratorAttributeBase
Public NotInheritable Class PexArgumentsAttribute
Inherits PexInputEnumeratorAttributeBase
Inheritance
Attributes

Constructors

PexArgumentsAttribute(Object, Object, Object, Object)

Initializes a new instance of the PexArgumentsAttribute class.

PexArgumentsAttribute(Object, Object, Object)

Initializes a new instance of the PexArgumentsAttribute class.

PexArgumentsAttribute(Object, Object)

Initializes a new instance of the PexArgumentsAttribute class.

PexArgumentsAttribute(Object)

Initializes a new instance of the PexArgumentsAttribute class.

PexArgumentsAttribute(Object[])

Initializes a new instance of the PexArgumentsAttribute class.

Properties

Alternate

Whether this input enumerator should alternate with other enumerators.

(Inherited from PexInputEnumeratorAttributeBase)
Name

Gets the name of this package.

(Inherited from PexExplorationPackageAttributeBase)
Priority

Gets or sets the priority, a value between 0 and 100.

(Inherited from PexInputEnumeratorAttributeBase)

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 PexInputEnumeratorAttributeBase)
Decorate(Name, IPexDecoratedComponentElement)

This method can announce filters, focuses, and packages to IntelliTest.

(Inherited from PexExplorationPackageAttributeBase)
GetEnumerator(IPexExplorationComponent)

Gets the input enumerator.

(Inherited from PexInputEnumeratorAttributeBase)
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.

(Inherited from PexComponentElementDecoratorAttributeBase)

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