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