CultureInfoCodec Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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>) |