CultureInfoCodec 类

定义

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)
继承
属性

构造函数

CultureInfoCodec(IValueSerializer<CultureInfoSurrogate>)

初始化 CultureInfoCodec 类的新实例。

方法

ConvertFromSurrogate(CultureInfoSurrogate)

将值从代理项类型转换为字段类型。

ConvertFromSurrogate(TSurrogate)

将值从代理项类型转换为字段类型。

(继承自 GeneralizedReferenceTypeSurrogateCodec<TField,TSurrogate>)
ConvertToSurrogate(CultureInfo, CultureInfoSurrogate)

将值转换为代理项类型。

ConvertToSurrogate(TField, TSurrogate)

将值转换为代理项类型。

(继承自 GeneralizedReferenceTypeSurrogateCodec<TField,TSurrogate>)
ReadValue<TInput>(Reader<TInput>, Field)

读取值。

(继承自 GeneralizedReferenceTypeSurrogateCodec<TField,TSurrogate>)
WriteField<TBufferWriter>(Writer<TBufferWriter>, UInt32, Type, TField)

写入字段。

(继承自 GeneralizedReferenceTypeSurrogateCodec<TField,TSurrogate>)

适用于