PexPreparationMethodAttribute Klasse

Definition

Markiert Methoden, mit denen Typen vorbereitet werden. Die Methode muss sichtbar sein, statisch in einer statischen Klasse. Sie kann Parameter haben.

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

Hinweise

Dieses Attribut wird an eine Methode angehängt, um den Typ anzugeben, der vorbereitet werden muss.

Konstruktoren

PexPreparationMethodAttribute(String, String)

Initialisiert eine neue Instanz der PexPreparationMethodAttribute-Klasse.

PexPreparationMethodAttribute(Type)

Initialisiert eine neue Instanz der PexPreparationMethodAttribute-Klasse.

PexPreparationMethodAttribute(Type, String)

Initialisiert eine neue Instanz der PexPreparationMethodAttribute-Klasse.

Eigenschaften

PreparedType

Ruft den vorbereiteten Typ ab

Gilt für