Edit

Share via


IFieldCodecProvider.TryGetCodec Method

Definition

Overloads

TryGetCodec(Type)

Gets a codec for the specific type, or null if no appropriate codec was found.

TryGetCodec<TField>()

Gets a codec for the specific type, or null if no appropriate codec was found.

TryGetCodec(Type)

Gets a codec for the specific type, or null if no appropriate codec was found.

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

Parameters

fieldType
Type

The field type.

Returns

A codec.

Applies to

TryGetCodec<TField>()

Gets a codec for the specific type, or null if no appropriate codec was found.

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

Type Parameters

TField

The field type.

Returns

IFieldCodec<TField>

A codec.

Applies to