共用方式為


NameValueCollectionCodec 類別

定義

NameValueCollection串行化程式。

[Orleans.RegisterSerializer]
public sealed class NameValueCollectionCodec : Orleans.Serialization.Codecs.GeneralizedReferenceTypeSurrogateCodec<System.Collections.Specialized.NameValueCollection,Orleans.Serialization.Codecs.NameValueCollectionSurrogate>
[<Orleans.RegisterSerializer>]
type NameValueCollectionCodec = class
    inherit GeneralizedReferenceTypeSurrogateCodec<NameValueCollection, NameValueCollectionSurrogate>
Public NotInheritable Class NameValueCollectionCodec
Inherits GeneralizedReferenceTypeSurrogateCodec(Of NameValueCollection, NameValueCollectionSurrogate)
繼承
屬性

建構函式

NameValueCollectionCodec(IValueSerializer<NameValueCollectionSurrogate>)

初始化 NameValueCollectionCodec 類別的新執行個體。

方法

ConvertFromSurrogate(NameValueCollectionSurrogate)

將值從 Surrogate 類型轉換為欄位類型。

ConvertFromSurrogate(TSurrogate)

將值從 Surrogate 類型轉換為欄位類型。

(繼承來源 GeneralizedReferenceTypeSurrogateCodec<TField,TSurrogate>)
ConvertToSurrogate(NameValueCollection, NameValueCollectionSurrogate)

將值轉換為 Surrogate 型別。

ConvertToSurrogate(TField, TSurrogate)

將值轉換為 Surrogate 型別。

(繼承來源 GeneralizedReferenceTypeSurrogateCodec<TField,TSurrogate>)
ReadValue<TInput>(Reader<TInput>, Field)

讀取值。

(繼承來源 GeneralizedReferenceTypeSurrogateCodec<TField,TSurrogate>)
WriteField<TBufferWriter>(Writer<TBufferWriter>, UInt32, Type, TField)

寫入欄位。

(繼承來源 GeneralizedReferenceTypeSurrogateCodec<TField,TSurrogate>)

適用於