Version 2.1.0.0

SelfFormatterFormatter<T> class

Namespace: Sirenix.Serialization
Assembly: Sirenix.Serialization
public sealed class SelfFormatterFormatter<T> : BaseFormatter<T>, IFormatter<T>, IFormatter where T : ISelfFormatter
Formatter for types that implement the Sirenix.Serialization.ISelfFormatter interface.
Inheritance
See Also

Type Parameters

T

Constructors

SelfFormatterFormatter()
public SelfFormatterFormatter()

Methods

DeserializeImplementation(ref T, IDataReader)
Calls Sirenix.Serialization.ISelfFormatter.Deserialize(Sirenix.Serialization.IDataReader) on the value to deserialize.
protected override void DeserializeImplementation(ref T value, IDataReader reader)
Parameters
T value

Sirenix.Serialization.IDataReader reader

SerializeImplementation(ref T, IDataWriter)
Calls Sirenix.Serialization.ISelfFormatter.Serialize(Sirenix.Serialization.IDataWriter) on the value to deserialize.
protected override void SerializeImplementation(ref T value, IDataWriter writer)
Parameters
T value

Sirenix.Serialization.IDataWriter writer