Namespace: | Sirenix.Serialization |
Assembly: | Sirenix.Serialization |
public class HashSetFormatter<T> : BaseFormatter<HashSet<T>>, IFormatter<HashSet<T>>, IFormatter
The element type of the formatted list.
public HashSetFormatter()
protected override void DeserializeImplementation(ref HashSet<T> value, IDataReader reader)
System.Collections.Generic.HashSet<T> | value | The uninitialized value to serialize into. This value will have been created earlier using GetUninitializedObject(). |
Sirenix.Serialization.IDataReader | reader | The reader to deserialize with. |
protected override HashSet<T> GetUninitializedObject()
System.Collections.Generic.HashSet<T> | A null value. |
protected override void SerializeImplementation(ref HashSet<T> value, IDataWriter writer)
System.Collections.Generic.HashSet<T> | value | The value to serialize. |
Sirenix.Serialization.IDataWriter | writer | The writer to serialize with. |