Struct SerializedSwiftDictionaryEntry<TKey, TValue>
- Namespace
- SwiftCollections.Unity
Unity-serializable key/value entry used by SerializedSwiftDictionary<TKey, TValue>.
[Serializable]
public struct SerializedSwiftDictionaryEntry<TKey, TValue>
Type Parameters
TKeyA Unity-serializable key type.
TValueA Unity-serializable value type.
- Inherited Members
Constructors
SerializedSwiftDictionaryEntry(TKey, TValue)
Initializes a serialized dictionary entry.
public SerializedSwiftDictionaryEntry(TKey key, TValue value)
Parameters
keyTKeyThe entry key.
valueTValueThe entry value.
Properties
Key
Gets or sets the entry key.
public TKey Key { get; set; }
Property Value
- TKey
Value
Gets or sets the entry value.
public TValue Value { get; set; }
Property Value
- TValue