DictionaryCodec<TKey,TValue> Class
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.
Serializer for Dictionary<TKey,TValue>.
[Orleans.RegisterSerializer]
public sealed class DictionaryCodec<TKey,TValue> : Orleans.Serialization.Codecs.IFieldCodec<System.Collections.Generic.Dictionary<TKey,TValue>>
[<Orleans.RegisterSerializer>]
type DictionaryCodec<'Key, 'Value> = class
interface IFieldCodec<Dictionary<'Key, 'Value>>
interface IFieldCodec
Public NotInheritable Class DictionaryCodec(Of TKey, TValue)
Implements IFieldCodec(Of Dictionary(Of TKey, TValue))
Type Parameters
- TKey
The key type.
- TValue
The value type.
- Inheritance
-
DictionaryCodec<TKey,TValue>
- Attributes
- Implements
-
IFieldCodec IFieldCodec<Dictionary<TKey,TValue>>
Constructors
DictionaryCodec<TKey,TValue>(IFieldCodec<TKey>, IFieldCodec<TValue>, IFieldCodec<IEqualityComparer<TKey>>) |
Initializes a new instance of the DictionaryCodec<TKey,TValue> class. |
Methods
ReadValue<TInput>(Reader<TInput>, Field) |
Reads a value. |
WriteField<TBufferWriter>(Writer<TBufferWriter>, UInt32, Type, Dictionary<TKey,TValue>) |
Writes a field. |