CodecProvider.GetCodec Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
override this.GetCodec : Type -> Orleans.Serialization.Codecs.IFieldCodec
Public Function GetCodec (fieldType As Type) As IFieldCodec
Parameters
- fieldType
- Type
The field type.
Returns
A codec.
Implements
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>
override this.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.