Edit

Share via


VersionCodec Class

Definition

Serializer for Version.

[Orleans.RegisterSerializer]
public sealed class VersionCodec : Orleans.Serialization.Codecs.GeneralizedReferenceTypeSurrogateCodec<Version,Orleans.Serialization.Codecs.VersionSurrogate>
[<Orleans.RegisterSerializer>]
type VersionCodec = class
    inherit GeneralizedReferenceTypeSurrogateCodec<Version, VersionSurrogate>
Public NotInheritable Class VersionCodec
Inherits GeneralizedReferenceTypeSurrogateCodec(Of Version, VersionSurrogate)
Inheritance
Attributes

Constructors

VersionCodec(IValueSerializer<VersionSurrogate>)

Initializes a new instance of the VersionCodec class.

Methods

ConvertFromSurrogate(TSurrogate)

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

(Inherited from GeneralizedReferenceTypeSurrogateCodec<TField,TSurrogate>)
ConvertFromSurrogate(VersionSurrogate)

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

ConvertToSurrogate(TField, TSurrogate)

Converts a value to the surrogate type.

(Inherited from GeneralizedReferenceTypeSurrogateCodec<TField,TSurrogate>)
ConvertToSurrogate(Version, VersionSurrogate)

Converts a value to the surrogate type.

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