PexExplorableFromMethodAttribute 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 PexExplorableFromMethodAttribute : Microsoft::Pex::Framework::Explorable::PexExplorableAttributeBase
[System.AttributeUsage(System.AttributeTargets.Assembly | System.AttributeTargets.Class | System.AttributeTargets.Method, AllowMultiple=true, Inherited=true)]
public class PexExplorableFromMethodAttribute : Microsoft.Pex.Framework.Explorable.PexExplorableAttributeBase
[<System.AttributeUsage(System.AttributeTargets.Assembly | System.AttributeTargets.Class | System.AttributeTargets.Method, AllowMultiple=true, Inherited=true)>]
type PexExplorableFromMethodAttribute = class
    inherit PexExplorableAttributeBase
Public Class PexExplorableFromMethodAttribute
Inherits PexExplorableAttributeBase
Vererbung
Abgeleitet
Attribute

Konstruktoren

PexExplorableFromMethodAttribute(Type, MethodBase)

Initialisiert eine neue Instanz der PexExplorableFromMethodAttribute-Klasse.

PexExplorableFromMethodAttribute(Type, String, Type, String, Type[])

Initialisiert eine neue Instanz der PexExplorableFromMethodAttribute-Klasse.

PexExplorableFromMethodAttribute(Type, Type, String, Type[])

Initialisiert eine neue Instanz der PexExplorableFromMethodAttribute-Klasse.

Eigenschaften

ExplorableType

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

(Geerbt von PexExplorableAttributeBase)
ExplorationMethod

Ruft die Auswertungsmethode ab.

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

Validate(IPexLog, ICustomAttributeProviderEx, VisibilityContext)

Validiert das Attribut in einem bestimmten Sichtbarkeitskontext.

ValidateExplorationMethod(IPexLog, ICustomAttributeProviderEx, VisibilityContext)

Überprüft die Auswertungsmethode.

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