SortedListCodec<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 SortedList<TKey,TValue>.
[Orleans.RegisterSerializer]
public sealed class SortedListCodec<TKey,TValue> : Orleans.Serialization.Codecs.GeneralizedReferenceTypeSurrogateCodec<System.Collections.Generic.SortedList<TKey,TValue>,Orleans.Serialization.Codecs.SortedListSurrogate<TKey,TValue>>
[<Orleans.RegisterSerializer>]
type SortedListCodec<'Key, 'Value> = class
inherit GeneralizedReferenceTypeSurrogateCodec<SortedList<'Key, 'Value>, SortedListSurrogate<'Key, 'Value>>
Public NotInheritable Class SortedListCodec(Of TKey, TValue)
Inherits GeneralizedReferenceTypeSurrogateCodec(Of SortedList(Of TKey, TValue), SortedListSurrogate(Of TKey, TValue))
Type Parameters
- TKey
The key type.
- TValue
The value type.
- Inheritance
-
SortedListCodec<TKey,TValue>
- Attributes
Constructors
SortedListCodec<TKey,TValue>(IValueSerializer<SortedListSurrogate<TKey,TValue>>) |
Initializes a new instance of the SortedListCodec<TKey,TValue> class. |
Methods
ConvertFromSurrogate(SortedListSurrogate<TKey,TValue>) | System.Object.ConvertFromSurrogate(Orleans.Serialization.Codecs.SortedListSurrogate{`0,`1}@) |
ConvertFromSurrogate(TSurrogate) |
Converts a value from the surrogate type to the field type. (Inherited from GeneralizedReferenceTypeSurrogateCodec<TField,TSurrogate>) |
ConvertToSurrogate(SortedList<TKey,TValue>, SortedListSurrogate<TKey,TValue>) | System.Object.ConvertToSurrogate(System.Collections.Generic.SortedList{`0,`1},Orleans.Serialization.Codecs.SortedListSurrogate{`0,`1}@) |
ConvertToSurrogate(TField, TSurrogate) |
Converts a value to the surrogate type. (Inherited from GeneralizedReferenceTypeSurrogateCodec<TField,TSurrogate>) |
ReadValue<TInput>(Reader<TInput>, Field) |
Reads a value. (Inherited from GeneralizedReferenceTypeSurrogateCodec<TField,TSurrogate>) |
WriteField<TBufferWriter>(Writer<TBufferWriter>, UInt32, Type, TField) |
Writes a field. (Inherited from GeneralizedReferenceTypeSurrogateCodec<TField,TSurrogate>) |