PexExplorableMutatorAttribute 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
PexExplorableMutatorAttribute(Type, MethodBase)
初始化 PexExplorableAttributeBase 类的新实例。
protected:
PexExplorableMutatorAttribute(Type ^ explorableType, System::Reflection::MethodBase ^ instanceMethod);
protected PexExplorableMutatorAttribute (Type explorableType, System.Reflection.MethodBase instanceMethod);
new Microsoft.Pex.Framework.Explorable.PexExplorableMutatorAttribute : Type * System.Reflection.MethodBase -> Microsoft.Pex.Framework.Explorable.PexExplorableMutatorAttribute
Protected Sub New (explorableType As Type, instanceMethod As MethodBase)
参数
- explorableType
- Type
包含实例方法的可探索对象类型
- instanceMethod
- MethodBase
实例方法。
适用于
PexExplorableMutatorAttribute(Type, String, Type[])
初始化 PexExplorableMutatorAttribute 类的新实例。
public:
PexExplorableMutatorAttribute(Type ^ explorableType, System::String ^ methodName, ... cli::array <Type ^> ^ parameterTypes);
public PexExplorableMutatorAttribute (Type explorableType, string methodName, params Type[] parameterTypes);
new Microsoft.Pex.Framework.Explorable.PexExplorableMutatorAttribute : Type * string * Type[] -> Microsoft.Pex.Framework.Explorable.PexExplorableMutatorAttribute
Public Sub New (explorableType As Type, methodName As String, ParamArray parameterTypes As Type())
参数
- explorableType
- Type
包含实例方法的可探索对象类型
- methodName
- String
赋值函数方法的名称。
- parameterTypes
- Type[]
参数类型;或者为任何类型使用 null。
适用于
PexExplorableMutatorAttribute(Type, String, String, Type[])
初始化 PexExplorableMutatorAttribute 类的新实例。
public:
PexExplorableMutatorAttribute(Type ^ typeOfExplorableTypeAssembly, System::String ^ explorableTypeFullName, System::String ^ methodName, ... cli::array <Type ^> ^ parameterTypes);
public PexExplorableMutatorAttribute (Type typeOfExplorableTypeAssembly, string explorableTypeFullName, string methodName, params Type[] parameterTypes);
new Microsoft.Pex.Framework.Explorable.PexExplorableMutatorAttribute : Type * string * string * Type[] -> Microsoft.Pex.Framework.Explorable.PexExplorableMutatorAttribute
Public Sub New (typeOfExplorableTypeAssembly As Type, explorableTypeFullName As String, methodName As String, ParamArray parameterTypes As Type())
参数
- typeOfExplorableTypeAssembly
- Type
可探索对象类型程序集的类型。
- explorableTypeFullName
- String
可探索对象类型的全名。
- methodName
- String
赋值函数方法的名称。
- parameterTypes
- Type[]
参数类型;或者为任何类型使用 null。