Namespace: | Sirenix.Serialization |
Assembly: | Sirenix.Serialization |
public sealed class KeyValuePairFormatter<TKey, TValue> : BaseFormatter<KeyValuePair<TKey, TValue>>, IFormatter<KeyValuePair<TKey, TValue>>, IFormatter
The type of the key.
The type of the value.
public KeyValuePairFormatter()
protected override void DeserializeImplementation(ref KeyValuePair<TKey, TValue> value, IDataReader reader)
System.Collections.Generic.KeyValuePair<TKey, TValue> | 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 void SerializeImplementation(ref KeyValuePair<TKey, TValue> value, IDataWriter writer)
System.Collections.Generic.KeyValuePair<TKey, TValue> | value | The value to serialize. |
Sirenix.Serialization.IDataWriter | writer | The writer to serialize with. |