Compartilhar via


PexPreparationMethodAttribute Class

Definition

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

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
Inheritance
PexPreparationMethodAttribute
Attributes

Remarks

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

Constructors

PexPreparationMethodAttribute(String, String)

Initializes a new instance of the PexPreparationMethodAttribute class.

PexPreparationMethodAttribute(Type, String)

Initializes a new instance of the PexPreparationMethodAttribute class.

PexPreparationMethodAttribute(Type)

Initializes a new instance of the PexPreparationMethodAttribute class.

Properties

PreparedType

Gets the prepared type

Applies to