Class DictionaryFN
Inheritance
System.Object
DictionaryFN
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: GameKit.Dependencies.Utilities
Assembly: GameKit.Dependencies.dll
Syntax
public static class DictionaryFN
Methods
TryGetValueIL2CPP<TKey, TValue>(IDictionary<TKey, TValue>, TKey, out TValue)
Uses a hacky way to TryGetValue on a dictionary when using IL2CPP and on mobile. This is to support older devices that don't properly handle IL2CPP builds.
Declaration
public static bool TryGetValueIL2CPP<TKey, TValue>(this IDictionary<TKey, TValue> dict, TKey key, out TValue value)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IDictionary<TKey, TValue> | dict | |
TKey | key | |
TValue | value |
Returns
Type | Description |
---|---|
System.Boolean |
Type Parameters
Name | Description |
---|---|
TKey | |
TValue |