共用方式為


PexAssumeAttributeBase Class

Definition

Abstract base class for Assume attributes

public ref class PexAssumeAttributeBase abstract : Microsoft::Pex::Framework::Domains::PexDomainAttributeBase
[System.AttributeUsage(System.AttributeTargets.All, AllowMultiple=true, Inherited=true)]
public abstract class PexAssumeAttributeBase : Microsoft.Pex.Framework.Domains.PexDomainAttributeBase
[<System.AttributeUsage(System.AttributeTargets.All, AllowMultiple=true, Inherited=true)>]
type PexAssumeAttributeBase = class
    inherit PexDomainAttributeBase
Public MustInherit Class PexAssumeAttributeBase
Inherits PexDomainAttributeBase
Inheritance
Derived
Attributes

Constructors

PexAssumeAttributeBase()

Initializes a new instance of the PexAssumeAttributeBase class.

PexAssumeAttributeBase(Type, String)

Initializes a new instance of the PexAssumeAttributeBase class.

PexAssumeAttributeBase(Type)

Initializes a new instance of the PexAssumeAttributeBase 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)
GetPreciseType(TypeEx, ICopyable<TypeEx>, Boolean)

Checks a list of types compatible with this domain.

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.

(Inherited from PexDomainAttributeBase)
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)
ValidateTargetIsDefined(IPexLog, Name)

Validates that the target is defined.

ValidateTargetIsNotNull(IPexLog, Name)

Validates this attribute in the case that the target may not be null.

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