ImmutableDictionaryCodec<TKey,TValue> Класс
Определение
Важно!
Некоторые сведения относятся к предварительной версии продукта, в которую до выпуска могут быть внесены существенные изменения. Майкрософт не предоставляет никаких гарантий, явных или подразумеваемых, относительно приведенных здесь сведений.
Сериализатор для ImmutableDictionary<TKey,TValue>.
[Orleans.RegisterSerializer]
public sealed class ImmutableDictionaryCodec<TKey,TValue> : Orleans.Serialization.Codecs.GeneralizedReferenceTypeSurrogateCodec<System.Collections.Immutable.ImmutableDictionary<TKey,TValue>,Orleans.Serialization.Codecs.ImmutableDictionarySurrogate<TKey,TValue>>
[<Orleans.RegisterSerializer>]
type ImmutableDictionaryCodec<'Key, 'Value> = class
inherit GeneralizedReferenceTypeSurrogateCodec<ImmutableDictionary<'Key, 'Value>, ImmutableDictionarySurrogate<'Key, 'Value>>
Public NotInheritable Class ImmutableDictionaryCodec(Of TKey, TValue)
Inherits GeneralizedReferenceTypeSurrogateCodec(Of ImmutableDictionary(Of TKey, TValue), ImmutableDictionarySurrogate(Of TKey, TValue))
Параметры типа
- TKey
Тип ключа.
- TValue
Тип значения.
- Наследование
-
GeneralizedReferenceTypeSurrogateCodec<ImmutableDictionary<TKey,TValue>,ImmutableDictionarySurrogate<TKey,TValue>>ImmutableDictionaryCodec<TKey,TValue>
- Атрибуты
Конструкторы
ImmutableDictionaryCodec<TKey,TValue>(IValueSerializer<ImmutableDictionarySurrogate<TKey,TValue>>) |
Инициализирует новый экземпляр класса ImmutableDictionaryCodec<TKey,TValue>. |
Методы
ConvertFromSurrogate(ImmutableDictionarySurrogate<TKey,TValue>) |
Сериализатор для ImmutableDictionary<TKey,TValue>. |
ConvertFromSurrogate(TSurrogate) |
Преобразует значение из суррогатного типа в тип поля. (Унаследовано от GeneralizedReferenceTypeSurrogateCodec<TField,TSurrogate>) |
ConvertToSurrogate(ImmutableDictionary<TKey,TValue>, ImmutableDictionarySurrogate<TKey,TValue>) |
Сериализатор для ImmutableDictionary<TKey,TValue>. |
ConvertToSurrogate(TField, TSurrogate) |
Преобразует значение в суррогатный тип. (Унаследовано от GeneralizedReferenceTypeSurrogateCodec<TField,TSurrogate>) |
ReadValue<TInput>(Reader<TInput>, Field) |
Считывает значение. (Унаследовано от GeneralizedReferenceTypeSurrogateCodec<TField,TSurrogate>) |
WriteField<TBufferWriter>(Writer<TBufferWriter>, UInt32, Type, TField) |
Записывает поле. (Унаследовано от GeneralizedReferenceTypeSurrogateCodec<TField,TSurrogate>) |