点击或拖拽改变大小

HslReflectionHelper.GetParametersFromUrl 方法

从url数据里解析出真实的数据信息,根据方法参数列表的类型进行反解析,然后返回实际的数据数组
Analyze the real data information from the url data, perform de-analysis according to the type of the method parameter list, and then return the actual data array

命名空间:  HslCommunication.Reflection
程序集:  HslCommunication (在 HslCommunication.dll 中) 版本:12.3.1.0 (12.3.1.0)
语法
public static Object[] GetParametersFromUrl(
	ISessionContext context,
	HttpListenerRequest request,
	ParameterInfo[] parameters,
	string url
)

参数

context
类型:HslCommunication.Core.ISessionContext
当前的会话内容
request
类型:System.Net.HttpListenerRequest
当用于Http请求的时候关联的请求头对象
parameters
类型:System.Reflection.ParameterInfo[]
提供的参数列表信息
url
类型:System.String
参数变量信息

返回值

类型:Object[]
已经填好的实际数据的参数数组对象
参见