点击或拖拽改变大小

HslReflectionHelperGetParametersFromJson 方法 (MethodInfo, ParameterInfo)

从方法的参数列表里,提取出实际的示例参数信息,返回一个json对象,注意:该数据是示例的数据,具体参数的限制参照服务器返回的数据声明。
From the parameter list of the method, extract the actual example parameter information, and return a json object. Note: The data is the example data, and the specific parameter restrictions refer to the data declaration returned by the server.

命名空间:  HslCommunication.Reflection
程序集:  HslCommunication (在 HslCommunication.dll 中) 版本:12.0.0.0 (12.0.0.0)
语法
public static JObject GetParametersFromJson(
	MethodInfo method,
	ParameterInfo[] parameters
)

参数

method
类型:System.ReflectionMethodInfo
当前需要解析的方法名称
parameters
类型:System.ReflectionParameterInfo
当前的参数列表信息

返回值

类型:JObject
当前的参数对象信息
参见