Table of Contents

Class KeyValue<TKey, TValue>

Namespace
Gamelogic.Extensions
Assembly
Gamelogic.Extensions.dll

Represent a key-value pair used for the implementation of FixedKeyDictionary<TKey, TValue>.

[Version(4, 5, 0)]
[Serializable]
public class KeyValue<TKey, TValue>

Type Parameters

TKey

The type of the key.

TValue

The type of the value.

Inheritance
KeyValue<TKey, TValue>
Inherited Members
Extension Methods

Remarks

We would almost be able to get away with standard KeyValuePair<TKey, TValue> but that is not serializable by Unity.

Constructors

KeyValue(TKey, TValue)

Fields

key
value

Methods

Deconstruct(out TKey, out TValue)