PexPreparationMethodAttribute Класс

Определение

Теги, используемые методом для подготовки типов. Метод должен быть видимым, статическим в статическом классе. Он может иметь параметры.

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
Наследование
PexPreparationMethodAttribute
Атрибуты

Комментарии

Этот атрибут присоединяется к методу, чтобы указать тип, который необходимо подготовить.

Конструкторы

PexPreparationMethodAttribute(String, String)

Инициализирует новый экземпляр класса PexPreparationMethodAttribute.

PexPreparationMethodAttribute(Type)

Инициализирует новый экземпляр класса PexPreparationMethodAttribute.

PexPreparationMethodAttribute(Type, String)

Инициализирует новый экземпляр класса PexPreparationMethodAttribute.

Свойства

PreparedType

Возвращает подготовленный тип.

Применяется к