Edit

Share via


IFieldCodecProvider.GetCodec Method

Definition

Overloads

GetCodec(Type)

Gets a codec for the specific type.

GetCodec<TField>()

Gets a codec for the specified type.

GetCodec(Type)

Gets a codec for the specific type.

public Orleans.Serialization.Codecs.IFieldCodec GetCodec (Type fieldType);
abstract member GetCodec : Type -> Orleans.Serialization.Codecs.IFieldCodec
Public Function GetCodec (fieldType As Type) As IFieldCodec

Parameters

fieldType
Type

The field type.

Returns

A codec.

Applies to

GetCodec<TField>()

Gets a codec for the specified type.

public Orleans.Serialization.Codecs.IFieldCodec<TField> GetCodec<TField> ();
abstract member GetCodec : unit -> Orleans.Serialization.Codecs.IFieldCodec<'Field>
Public Function GetCodec(Of TField) () As IFieldCodec(Of TField)

Type Parameters

TField

The field type.

Returns

IFieldCodec<TField>

A codec.

Applies to