PexEnumValuesDefinedAttribute Class

Definition

Attribute that makes sure that IntelliTest uses defined values for a particular enum type

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

Constructors

PexEnumValuesDefinedAttribute(Type)

Initializes a new instance of the PexEnumValuesDefinedAttribute class.

Properties

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

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

(Inherited from PexExplorationPackageAttributeBase)
GetTargetType()

Gets the type of the target.

(Inherited from PexDomainAttributeBase)
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)
MatchesTarget(PexDomainTarget, MetadataEntity, Int32)

Checks whether the target of this attribute matches a given target.

(Inherited from PexDomainAttributeBase)
TryGetInvariant(IPexExplorationComponent, Layout, Converter<Term,Term>)

Tries to get an invariant.

UpdateTarget(PexDomainTarget, MetadataEntity, Int32)

Updates the target of this domain.

(Inherited from PexDomainAttributeBase)
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)
IPexDomainProvider.AddDomains(SafeList<IPexDomain>, PexDomainTarget, MetadataEntity, Int32) (Inherited from PexDomainAttributeBase)
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)
IPexTargetedDomainProvider.Validate(IPexLog, ICustomAttributeProviderEx, VisibilityContext) (Inherited from PexDomainAttributeBase)
IPexValidatable.Validate(IPexLog, ICustomAttributeProviderEx, VisibilityContext) (Inherited from PexComponentElementDecoratorAttributeBase)

Applies to