Edit

Share via


CultureInfoCodec Class

Definition

Serializer for CultureInfo.

[Orleans.RegisterSerializer]
public sealed class CultureInfoCodec : Orleans.Serialization.Codecs.GeneralizedReferenceTypeSurrogateCodec<System.Globalization.CultureInfo,Orleans.Serialization.Codecs.CultureInfoSurrogate>
[<Orleans.RegisterSerializer>]
type CultureInfoCodec = class
    inherit GeneralizedReferenceTypeSurrogateCodec<CultureInfo, CultureInfoSurrogate>
Public NotInheritable Class CultureInfoCodec
Inherits GeneralizedReferenceTypeSurrogateCodec(Of CultureInfo, CultureInfoSurrogate)
Inheritance
Attributes

Constructors

CultureInfoCodec(IValueSerializer<CultureInfoSurrogate>)

Initializes a new instance of the CultureInfoCodec class.

Methods

ConvertFromSurrogate(CultureInfoSurrogate)

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(CultureInfo, CultureInfoSurrogate)

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