다음을 통해 공유


ReadOnlyDictionaryCodec<TKey,TValue> 클래스

정의

[Orleans.RegisterSerializer]
public sealed class ReadOnlyDictionaryCodec<TKey,TValue> : Orleans.Serialization.Codecs.GeneralizedReferenceTypeSurrogateCodec<System.Collections.ObjectModel.ReadOnlyDictionary<TKey,TValue>,Orleans.Serialization.Codecs.ReadOnlyDictionarySurrogate<TKey,TValue>>
[<Orleans.RegisterSerializer>]
type ReadOnlyDictionaryCodec<'Key, 'Value> = class
    inherit GeneralizedReferenceTypeSurrogateCodec<ReadOnlyDictionary<'Key, 'Value>, ReadOnlyDictionarySurrogate<'Key, 'Value>>
Public NotInheritable Class ReadOnlyDictionaryCodec(Of TKey, TValue)
Inherits GeneralizedReferenceTypeSurrogateCodec(Of ReadOnlyDictionary(Of TKey, TValue), ReadOnlyDictionarySurrogate(Of TKey, TValue))

형식 매개 변수

TKey
TValue
상속
ReadOnlyDictionaryCodec<TKey,TValue>
특성

생성자

ReadOnlyDictionaryCodec<TKey,TValue>(IValueSerializer<ReadOnlyDictionarySurrogate<TKey,TValue>>)

메서드

ConvertFromSurrogate(ReadOnlyDictionarySurrogate<TKey,TValue>)
ConvertFromSurrogate(TSurrogate)

서로게이트 형식의 값을 필드 형식으로 변환합니다.

(다음에서 상속됨 GeneralizedReferenceTypeSurrogateCodec<TField,TSurrogate>)
ConvertToSurrogate(ReadOnlyDictionary<TKey,TValue>, ReadOnlyDictionarySurrogate<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>)

적용 대상