ResultT 转换 (T to ResultT)
命名空间: TouchSocket.Core程序集: TouchSocket.Core (在 TouchSocket.Core.dll 中) 版本:3.0.0+ccaf96084d09f972257496d1dd63b8ba3c1e44f0
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实例,值为提供的值,结果代码和消息为成功。