Share via


PexUseTypeAttribute Class

Definition

Attribute that announce a type of IntelliTest.

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

Constructors

PexUseTypeAttribute(String, String)

Initializes a new instance of the PexUseTypeAttribute class.

PexUseTypeAttribute(Type, String)

Initializes a new instance of the PexUseTypeAttribute class.

PexUseTypeAttribute(Type)

Initializes a new instance of the PexUseTypeAttribute class.

Properties

Name

Gets the name of this package.

(Inherited from PexExplorationPackageAttributeBase)
TargetType

Gets the type of the target.

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 PexUseTypesAttributeBase)
Create(TypeEx)

Create an instance of PexUseTypeAttribute.

Decorate(Name, IPexDecoratedComponentElement)

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

(Inherited from PexExplorationPackageAttributeBase)
GetTypes(IPexComponent)

Gets the types.

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

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