Redigera

Dela via


IGeneralizedCodec Interface

Definition

A codec which supports multiple types.

public interface IGeneralizedCodec : Orleans.Serialization.Codecs.IFieldCodec
type IGeneralizedCodec = interface
    interface IFieldCodec
Public Interface IGeneralizedCodec
Implements IFieldCodec
Derived
Implements

Methods

IsSupportedType(Type)

Determines whether the specified type is supported by this instance.

ReadValue<TInput>(Reader<TInput>, Field)

Reads a value and returns it untyped. The type must still match the codec instance!

(Inherited from IFieldCodec)
WriteField<TBufferWriter>(Writer<TBufferWriter>, UInt32, Type, Object)

Writes a field using the provided untyped value. The type must still match the codec instance!

(Inherited from IFieldCodec)

Applies to