ConcurrentDictionaryCodec<TKey,TValue> 클래스
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
에 대한 직렬 변환기입니다 ConcurrentDictionary<TKey,TValue>.
[Orleans.RegisterSerializer]
public sealed class ConcurrentDictionaryCodec<TKey,TValue> : Orleans.Serialization.Codecs.GeneralizedReferenceTypeSurrogateCodec<System.Collections.Concurrent.ConcurrentDictionary<TKey,TValue>,Orleans.Serialization.Codecs.ConcurrentDictionarySurrogate<TKey,TValue>>
[<Orleans.RegisterSerializer>]
type ConcurrentDictionaryCodec<'Key, 'Value> = class
inherit GeneralizedReferenceTypeSurrogateCodec<ConcurrentDictionary<'Key, 'Value>, ConcurrentDictionarySurrogate<'Key, 'Value>>
Public NotInheritable Class ConcurrentDictionaryCodec(Of TKey, TValue)
Inherits GeneralizedReferenceTypeSurrogateCodec(Of ConcurrentDictionary(Of TKey, TValue), ConcurrentDictionarySurrogate(Of TKey, TValue))
형식 매개 변수
- TKey
t 키의 형식입니다.
- TValue
t 값의 형식입니다.
- 상속
-
GeneralizedReferenceTypeSurrogateCodec<ConcurrentDictionary<TKey,TValue>,ConcurrentDictionarySurrogate<TKey,TValue>>ConcurrentDictionaryCodec<TKey,TValue>
- 특성
생성자
| Name | Description |
|---|---|
| ConcurrentDictionaryCodec<TKey,TValue>(IValueSerializer<ConcurrentDictionarySurrogate<TKey,TValue>>) |
ConcurrentDictionaryCodec<TKey,TValue> 클래스의 새 인스턴스를 초기화합니다. |
메서드
| Name | Description |
|---|---|
| ConvertFromSurrogate(ConcurrentDictionarySurrogate<TKey,TValue>) |
에 대한 직렬 변환기입니다 ConcurrentDictionary<TKey,TValue>. |
| ConvertFromSurrogate(TSurrogate) |
서로게이트 형식의 값을 필드 형식으로 변환합니다. (다음에서 상속됨 GeneralizedReferenceTypeSurrogateCodec<TField,TSurrogate>) |
| ConvertToSurrogate(ConcurrentDictionary<TKey,TValue>, ConcurrentDictionarySurrogate<TKey,TValue>) |
에 대한 직렬 변환기입니다 ConcurrentDictionary<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>) |