共用方式為


FSharpResultCodec<T,TError> 類別

定義

[Orleans.RegisterSerializer]
public class FSharpResultCodec<T,TError> : Orleans.Serialization.Codecs.IDerivedTypeCodec, Orleans.Serialization.Codecs.IFieldCodec<Microsoft.FSharp.Core.FSharpResult<T,TError>>
[<Orleans.RegisterSerializer>]
type FSharpResultCodec<'T, 'Error> = class
    interface IFieldCodec<Result<'T, 'Error>>
    interface IFieldCodec
    interface IDerivedTypeCodec
Public Class FSharpResultCodec(Of T, TError)
Implements IDerivedTypeCodec, IFieldCodec(Of FSharpResult(Of T, TError))

類型參數

T
TError
繼承
FSharpResultCodec<T,TError>
屬性
實作
IDerivedTypeCodec IFieldCodec IFieldCodec<Microsoft.FSharp.Core.FSharpResult<T,TError>>

建構函式

FSharpResultCodec<T,TError>(IFieldCodec<T>, IFieldCodec<TError>)

明確介面實作

IFieldCodec<FSharpResult<T,TError>>.ReadValue<TInput>(Reader<TInput>, Field)
IFieldCodec<FSharpResult<T,TError>>.WriteField<TBufferWriter>(Writer<TBufferWriter>, UInt32, Type, FSharpResult<T,TError>)

適用於