PexEnumValuesDefinedAttribute Classe

Définition

Attribut qui permet de s’assurer que IntelliTest utilise des valeurs définies pour un type enum particulier

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
Héritage
Attributs

Constructeurs

PexEnumValuesDefinedAttribute(Type)

Initialise une nouvelle instance de la classe PexEnumValuesDefinedAttribute.

Propriétés

Name

Obtient le nom de ce package.

(Hérité de PexExplorationPackageAttributeBase)

Méthodes

AfterExploration(IPexExplorationComponent, Object)

Rappel exécuté après la fin de l'exploration.

(Hérité de PexExplorationPackageAttributeBase)
BeforeExploration(IPexExplorationComponent)

Rappel exécuté avant le démarrage de l'exploration.

(Hérité de PexDomainAttributeBase)
Decorate(Name, IPexDecoratedComponentElement)

Cette méthode peut annoncer des filtres, des focus et des packages sur IntelliTest.

(Hérité de PexExplorationPackageAttributeBase)
GetTargetType()

Obtient le type de la cible.

(Hérité de PexDomainAttributeBase)
Initialize(IPexExplorationEngine)

Initialise le package d'exploration spécifié. Peut interagir avec des services.

(Hérité de PexExplorationPackageAttributeBase)
Load(IContainer)

Cette méthode offre la possibilité d'installer ou de substituer des services.

(Hérité de PexExplorationPackageAttributeBase)
MatchesTarget(PexDomainTarget, MetadataEntity, Int32)

Vérifie si la cible de cet attribut correspond à une cible donnée.

(Hérité de PexDomainAttributeBase)
TryGetInvariant(IPexExplorationComponent, Layout, Converter<Term,Term>)

Tente d'obtenir un invariant.

UpdateTarget(PexDomainTarget, MetadataEntity, Int32)

Met à jour la cible de ce domaine.

(Hérité de PexDomainAttributeBase)
Validate(IPexLog, ICustomAttributeProviderEx, VisibilityContext)

Valide l'attribut dans un contexte de visibilité particulier.

(Hérité de PexComponentElementDecoratorAttributeBase)

Implémentations d’interfaces explicites

IPexComponentElementDecorator.Decorate(Name, IPexDecoratedComponentElement) (Hérité de PexComponentElementDecoratorAttributeBase)
IPexDomainProvider.AddDomains(SafeList<IPexDomain>, PexDomainTarget, MetadataEntity, Int32) (Hérité de PexDomainAttributeBase)
IPexExplorationPackage.AfterExploration(IPexExplorationComponent, Object) (Hérité de PexExplorationPackageAttributeBase)
IPexExplorationPackage.BeforeExploration(IPexExplorationComponent) (Hérité de PexExplorationPackageAttributeBase)
IPexExplorationPackage.Initialize(IPexExplorationEngine) (Hérité de PexExplorationPackageAttributeBase)
IPexExplorationPackage.Load(IContainer) (Hérité de PexExplorationPackageAttributeBase)
IPexTargetedDomainProvider.Validate(IPexLog, ICustomAttributeProviderEx, VisibilityContext) (Hérité de PexDomainAttributeBase)
IPexValidatable.Validate(IPexLog, ICustomAttributeProviderEx, VisibilityContext) (Hérité de PexComponentElementDecoratorAttributeBase)

S’applique à