Share via


PexDomainAttributeBase Class

Definition

Attribute to define the domains of values

public ref class PexDomainAttributeBase abstract : Microsoft::Pex::Framework::Packages::PexExplorationPackageAttributeBase, Microsoft::Pex::Engine::Domains::IPexDomain, Microsoft::Pex::Engine::Domains::IPexTargetedDomainProvider
[System.AttributeUsage(System.AttributeTargets.All, AllowMultiple=true, Inherited=true)]
public abstract class PexDomainAttributeBase : Microsoft.Pex.Framework.Packages.PexExplorationPackageAttributeBase, Microsoft.Pex.Engine.Domains.IPexDomain, Microsoft.Pex.Engine.Domains.IPexTargetedDomainProvider
[<System.AttributeUsage(System.AttributeTargets.All, AllowMultiple=true, Inherited=true)>]
type PexDomainAttributeBase = class
    inherit PexExplorationPackageAttributeBase
    interface IPexDomain
    interface IPexDomainProvider
    interface IPexTargetedDomainProvider
Public MustInherit Class PexDomainAttributeBase
Inherits PexExplorationPackageAttributeBase
Implements IPexDomain, IPexTargetedDomainProvider
Inheritance
Derived
Attributes
Implements
Microsoft.Pex.Engine.Domains.IPexDomain Microsoft.Pex.Engine.Domains.IPexDomainProvider Microsoft.Pex.Engine.Domains.IPexTargetedDomainProvider

Constructors

PexDomainAttributeBase()

Constructor to be used on target declaration only

PexDomainAttributeBase(PexDomainTarget, Int32)

Constructor to be used on a public field only

PexDomainAttributeBase(Type, String)

Constructor to be used on a public field only

PexDomainAttributeBase(Type)

Constructor to be used on a type only

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.

Decorate(Name, IPexDecoratedComponentElement)

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

(Inherited from PexExplorationPackageAttributeBase)
GetDomainTargetType(PexDomainTarget, MetadataEntity, Int32)

Gets the type of the target.

GetTargetType()

Gets the type of the target.

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.

TryGetInvariant(IPexExplorationComponent, Layout, Converter<Term,Term>)

Tries to get an invariant.

UpdateTarget(PexDomainTarget, MetadataEntity, Int32)

Updates the target of this domain.

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)
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)
IPexValidatable.Validate(IPexLog, ICustomAttributeProviderEx, VisibilityContext) (Inherited from PexComponentElementDecoratorAttributeBase)

Applies to