ByteTransformHelperGetResultFromArrayTResult 方法 |
结果转换操作的基础方法,需要支持类型,及转换的委托
命名空间:
HslCommunication.Core
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public static OperateResult<TResult> GetResultFromArray<TResult>(
OperateResult<TResult[]> result
)
Public Shared Function GetResultFromArray(Of TResult) (
result As OperateResult(Of TResult())
) As OperateResult(Of TResult)
public:
generic<typename TResult>
static OperateResult<TResult>^ GetResultFromArray(
OperateResult<array<TResult>^>^ result
)
static member GetResultFromArray :
result : OperateResult<'TResult[]> -> OperateResult<'TResult>
参数
- result
- 类型:HslCommunicationOperateResultTResult
源结果
类型参数
- TResult
- 结果类型
返回值
类型:
OperateResultTResult转换结果
参见