Version 3.0.0.2

VersionFormatter class

Namespace: Sirenix.Serialization
Assembly: Sirenix.Serialization
public sealed class VersionFormatter : MinimalBaseFormatter<Version>, IFormatter<Version>, IFormatter
Custom formatter for the System.Version type.
Inheritance

Constructors

VersionFormatter()
public VersionFormatter()

Methods

GetUninitializedObject()
protected override Version GetUninitializedObject()
Returns
System.Version

Read(ref Version, IDataReader)
Reads into the specified value using the specified reader.
protected override void Read(ref Version value, IDataReader reader)
Parameters
System.Version value

The value to read into.

Sirenix.Serialization.IDataReader reader

The reader to use.

Write(ref Version, IDataWriter)
Writes from the specified value using the specified writer.
protected override void Write(ref Version value, IDataWriter writer)
Parameters
System.Version value

The value to write from.

Sirenix.Serialization.IDataWriter writer

The writer to use.