Method(Type, String, NullableDynamicBuilderType) 构造函数
初始化一个动态调用方法。
命名空间: TouchSocket.Core程序集: TouchSocket.Core (在 TouchSocket.Core.dll 中) 版本:4.0.0-beta.143+5fcca7a4e70968794985dc3793adc50531308be6
public Method(
Type targetType,
string methodName,
DynamicBuilderType? dynamicBuilderType = null
)
Public Sub New (
targetType As Type,
methodName As String,
Optional dynamicBuilderType As DynamicBuilderType? = Nothing
)
new :
targetType : Type *
methodName : string *
?dynamicBuilderType : Nullable<DynamicBuilderType>
(* Defaults:
let _dynamicBuilderType = defaultArg dynamicBuilderType null
*)
-> Method
参数
- targetType Type
- 目标类型。
- methodName String
- 目标方法名。
- dynamicBuilderType NullableDynamicBuilderType (Optional)
- 指定构建的类型。