Upravit

Sdílet prostřednictvím


MapFieldCodec<TKey,TValue> Class

Definition

Serializer for Google.Protobuf.Collections.MapField`2.

[Orleans.RegisterSerializer]
public sealed class MapFieldCodec<TKey,TValue> : Orleans.Serialization.Codecs.IFieldCodec<Google.Protobuf.Collections.MapField<TKey,TValue>>
[<Orleans.RegisterSerializer>]
type MapFieldCodec<'Key, 'Value> = class
    interface IFieldCodec<MapField<'Key, 'Value>>
    interface IFieldCodec
Public NotInheritable Class MapFieldCodec(Of TKey, TValue)
Implements IFieldCodec(Of MapField(Of TKey, TValue))

Type Parameters

TKey

The key type.

TValue

The value type.

Inheritance
MapFieldCodec<TKey,TValue>
Attributes
Implements
IFieldCodec IFieldCodec<Google.Protobuf.Collections.MapField<TKey,TValue>>

Constructors

MapFieldCodec<TKey,TValue>(IFieldCodec<TKey>, IFieldCodec<TValue>)

Initializes a new instance of the MapFieldCodec<TKey,TValue> class.

Methods

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

Reads a value.

WriteField<TBufferWriter>(Writer<TBufferWriter>, UInt32, Type, MapField<TKey,TValue>)

Writes a field.

Applies to