VersionCodec
class
Namespace: Orleans.Serialization.Codecs
Serializer for
System.Version. public sealed class VersionCodec : GeneralizedReferenceTypeSurrogateCodec<Version, VersionSurrogate>Constructors
VersionCodec(IValueSerializer<VersionSurrogate>)Initializes a new instance of theVersionCodecclass.
Methods
ConvertFromSurrogate(VersionSurrogate)Converts a value from the surrogate type to the field type.ConvertToSurrogate(Version, VersionSurrogate)Converts a value to the surrogate type.
