ResultT 转换 (T to ResultT)
命名空间: TouchSocket.Core程序集: TouchSocket.Core (在 TouchSocket.Core.dll 中) 版本:4.0.0-beta.143+5fcca7a4e70968794985dc3793adc50531308be6
public static implicit operator Result<T> (
T value
)
Public Shared Widening Operator CType (
value As T
) As Result(Of T)
F# does not support the declaration of new casting operators.
- value T
- 要转换的值。
ResultT一个新的
ResultT实例,值为提供的值,结果代码和消息为成功。