PexExplorableFromConstructorAttribute Klasse

Definition

Attribut zum Definieren, wie Instanzen eines bestimmten Typs erstellt werden können, indem Eigenschaftensetter und Settermethoden verwendet werden, um Feldwerte festzulegen

public ref class PexExplorableFromConstructorAttribute sealed : Microsoft::Pex::Framework::Explorable::PexExplorableFromMethodAttribute
[System.AttributeUsage(System.AttributeTargets.Assembly | System.AttributeTargets.Class | System.AttributeTargets.Method, AllowMultiple=true, Inherited=true)]
public sealed class PexExplorableFromConstructorAttribute : Microsoft.Pex.Framework.Explorable.PexExplorableFromMethodAttribute
[<System.AttributeUsage(System.AttributeTargets.Assembly | System.AttributeTargets.Class | System.AttributeTargets.Method, AllowMultiple=true, Inherited=true)>]
type PexExplorableFromConstructorAttribute = class
    inherit PexExplorableFromMethodAttribute
Public NotInheritable Class PexExplorableFromConstructorAttribute
Inherits PexExplorableFromMethodAttribute
Vererbung
Attribute

Konstruktoren

PexExplorableFromConstructorAttribute(Type, Type[])

Initialisiert eine neue Instanz der PexExplorableFromConstructorAttribute-Klasse.

Eigenschaften

ExplorableType

Ruft den Typ ab, der durch die Auswertung erstellt werden soll.

(Geerbt von PexExplorableAttributeBase)
ExplorationMethod

Ruft die Auswertungsmethode ab.

(Geerbt von PexExplorableFromMethodAttribute)
Name

Ruft den Namen dieses Pakets ab.

(Geerbt von PexExplorationPackageAttributeBase)

Methoden

AfterExploration(IPexExplorationComponent, Object)

Rückruf, der ausgeführt wird, nachdem die Auswertung beendet wurde.

(Geerbt von PexExplorableAttributeBase)
BeforeExploration(IPexExplorationComponent)

Rückruf, der ausgeführt wird, bevor die Auswertung beginnt.

(Geerbt von PexExplorableAttributeBase)
Decorate(Name, IPexDecoratedComponentElement)

Mit dieser Methode können Sie Filter, Fokus und Pakete für intellitest ankündigen.

(Geerbt von PexExplorationPackageAttributeBase)
Initialize(IPexExplorationEngine)

Initialisiert das angegebene Auswertungspaket. Kann mit Diensten interagieren.

(Geerbt von PexExplorableAttributeBase)
Load(IContainer)

Diese Methode bietet die Möglichkeit, Dienste zu installieren oder zu ersetzen.

(Geerbt von PexExplorableAttributeBase)
ToString()

Gibt einen String zurück, der das aktuelle Object-Objekt darstellt.

TryCreateExplorable(IPexComponent, IPexExplorable)

Erstellt die Instanz des auswertbaren Objekts

(Geerbt von PexExplorableFromMethodAttribute)
Validate(IPexLog, ICustomAttributeProviderEx, VisibilityContext)

Validiert das Attribut in einem bestimmten Sichtbarkeitskontext.

(Geerbt von PexExplorableFromMethodAttribute)
ValidateExplorationMethod(IPexLog, ICustomAttributeProviderEx, VisibilityContext)

Überprüft die Auswertungsmethode.

(Geerbt von PexExplorableFromMethodAttribute)

Explizite Schnittstellenimplementierungen

IPexComponentElementDecorator.Decorate(Name, IPexDecoratedComponentElement) (Geerbt von PexComponentElementDecoratorAttributeBase)
IPexExplorationPackage.AfterExploration(IPexExplorationComponent, Object) (Geerbt von PexExplorationPackageAttributeBase)
IPexExplorationPackage.BeforeExploration(IPexExplorationComponent) (Geerbt von PexExplorationPackageAttributeBase)
IPexExplorationPackage.Initialize(IPexExplorationEngine) (Geerbt von PexExplorationPackageAttributeBase)
IPexExplorationPackage.Load(IContainer) (Geerbt von PexExplorationPackageAttributeBase)
IPexValidatable.Validate(IPexLog, ICustomAttributeProviderEx, VisibilityContext) (Geerbt von PexComponentElementDecoratorAttributeBase)

Gilt für