public void Initialize() { this.mEvents = new Dict <int, Event>(); }
public static TValue FirstValue <TKey, TValue>(this Dict <TKey, TValue> rDict) { return((TValue)rDict.Collection.Values.First()); }
private TypeResolveManager() { this.mAssemblies = new Dict <string, TypeResolveAssembly>(); }
public static bool ContainValue <TKey, TValue>(this Dict <TKey, TValue> rDict, TValue value) { return(rDict.Collection.ContainsValue((object)value)); }
public static TKey FirstKey <TKey, TValue>(this Dict <TKey, TValue> rDict) { return((TKey)rDict.Collection.Keys.First()); }
public static bool ContainsKey <TKey, TValue>(this Dict <TKey, TValue> rDict, TKey key) { return(rDict.Collection.ContainsKey((object)key)); }
public static void RemoveFirst <TKey, TValue>(this Dict <TKey, TValue> rDict) { rDict.Collection.Remove(rDict.FirstKey()); }
public static bool Remove <TKey, TValue>(this Dict <TKey, TValue> rDict, TKey key) { return(rDict.Collection.Remove((object)key)); }
public static void Clear <TKey, TValue>(this Dict <TKey, TValue> rDict) { rDict.Collection.Clear(); }
public IndexedDict() { mDictionary = new Dict <TKey, TValue>(); mKeyList = new List <TKey>(); }