Edit

Share via


NameValueCollectionCodec Class

Definition

Serializer for 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)
Inheritance
Attributes

Constructors

NameValueCollectionCodec(IValueSerializer<NameValueCollectionSurrogate>)

Initializes a new instance of the NameValueCollectionCodec class.

Methods

ConvertFromSurrogate(NameValueCollectionSurrogate)

Converts a value from the surrogate type to the field type.

ConvertFromSurrogate(TSurrogate)

Converts a value from the surrogate type to the field type.

(Inherited from GeneralizedReferenceTypeSurrogateCodec<TField,TSurrogate>)
ConvertToSurrogate(NameValueCollection, NameValueCollectionSurrogate)

Converts a value to the surrogate type.

ConvertToSurrogate(TField, TSurrogate)

Converts a value to the surrogate type.

(Inherited from GeneralizedReferenceTypeSurrogateCodec<TField,TSurrogate>)
ReadValue<TInput>(Reader<TInput>, Field)

Reads a value.

(Inherited from GeneralizedReferenceTypeSurrogateCodec<TField,TSurrogate>)
WriteField<TBufferWriter>(Writer<TBufferWriter>, UInt32, Type, TField)

Writes a field.

(Inherited from GeneralizedReferenceTypeSurrogateCodec<TField,TSurrogate>)

Applies to