Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

PexPreparationMethodAttribute Class

 

Tags methods used to prepare types. The method must be visible, static in a static class. It may have parameters.

Namespace:   Microsoft.Pex.Framework
Assembly:  Microsoft.Pex.Framework (in Microsoft.Pex.Framework.dll)

System::Object
  System::Attribute
    Microsoft.Pex.Framework::PexAttributeBase
      Microsoft.Pex.Framework::PexPreparationMethodAttribute

[AttributeUsageAttribute(AttributeTargets::Method, AllowMultiple = true, 
	Inherited = true)]
public ref class PexPreparationMethodAttribute sealed : PexAttributeBase

NameDescription
System_CAPS_pubmethodPexPreparationMethodAttribute(String^, String^)

Initializes a new instance of the PexPreparationMethodAttribute class.

System_CAPS_pubmethodPexPreparationMethodAttribute(Type^)

Initializes a new instance of the PexPreparationMethodAttribute class.

System_CAPS_pubmethodPexPreparationMethodAttribute(Type^, String^)

Initializes a new instance of the PexPreparationMethodAttribute class.

NameDescription
System_CAPS_pubpropertyPreparedType

Gets the prepared type

System_CAPS_pubpropertyTypeId

(Inherited from Attribute.)

NameDescription
System_CAPS_pubmethodEquals(Object^)

(Inherited from Attribute.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Attribute.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodIsDefaultAttribute()

(Inherited from Attribute.)

System_CAPS_pubmethodMatch(Object^)

(Inherited from Attribute.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

This attribute is attached to a method to indicate the type that needs to be prepared.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: