다음을 통해 공유


FSharpMapCodec<TKey,TValue> 클래스

정의

[Orleans.RegisterSerializer]
public class FSharpMapCodec<TKey,TValue> : Orleans.Serialization.Codecs.GeneralizedReferenceTypeSurrogateCodec<Microsoft.FSharp.Collections.FSharpMap<TKey,TValue>,Orleans.Serialization.FSharpMapSurrogate<TKey,TValue>>
[<Orleans.RegisterSerializer>]
type FSharpMapCodec<'Key, 'Value> = class
    inherit GeneralizedReferenceTypeSurrogateCodec<Map<'Key, 'Value>, FSharpMapSurrogate<'Key, 'Value>>
Public Class FSharpMapCodec(Of TKey, TValue)
Inherits GeneralizedReferenceTypeSurrogateCodec(Of FSharpMap(Of TKey, TValue), FSharpMapSurrogate(Of TKey, TValue))

형식 매개 변수

TKey
TValue
상속
GeneralizedReferenceTypeSurrogateCodec<Microsoft.FSharp.Collections.FSharpMap<TKey,TValue>,FSharpMapSurrogate<TKey,TValue>>
FSharpMapCodec<TKey,TValue>
특성

생성자

FSharpMapCodec<TKey,TValue>(IValueSerializer<FSharpMapSurrogate<TKey,TValue>>)

메서드

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

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

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

적용 대상