PexPreparationMethodAttribute 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
标记用于准备类型的方法。 该方法必须在静态类中是可见的、静态的。 它可能拥有参数。
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
- 继承
- 属性
注解
此特性附加到方法以指示需要准备的类型。
构造函数
属性
| PreparedType |
获取准备的类型 |