static int GetEnumerator(IntPtr L) { try { ToLua.CheckArgsCount(L, 1); System.Collections.Generic.Dictionary <int, TestAccount> obj = (System.Collections.Generic.Dictionary <int, TestAccount>)ToLua.CheckObject(L, 1, TypeTraits <System.Collections.Generic.Dictionary <int, TestAccount> > .type); System.Collections.Generic.Dictionary <int, TestAccount> .Enumerator o = obj.GetEnumerator(); ToLua.PushValue(L, o); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
static int GetEnumerator(IntPtr L) { try { ToLua.CheckArgsCount(L, 1); System.Collections.Generic.Dictionary <string, SingleData> obj = (System.Collections.Generic.Dictionary <string, SingleData>)ToLua.CheckObject(L, 1, typeof(System.Collections.Generic.Dictionary <string, SingleData>)); System.Collections.Generic.Dictionary <string, SingleData> .Enumerator o = obj.GetEnumerator(); ToLua.Push(L, o); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
static int GetEnumerator(IntPtr L) { try { ToLua.CheckArgsCount(L, 1); System.Collections.Generic.Dictionary <int, MyPlayerController> .ValueCollection obj = (System.Collections.Generic.Dictionary <int, MyPlayerController> .ValueCollection)ToLua.CheckObject(L, 1, typeof(System.Collections.Generic.Dictionary <int, MyPlayerController> .ValueCollection)); System.Collections.Generic.Dictionary <int, MyPlayerController> .ValueCollection.Enumerator o = obj.GetEnumerator(); ToLua.PushValue(L, o); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
static int GetEnumerator(IntPtr L) { try { ToLua.CheckArgsCount(L, 1); System.Collections.Generic.Dictionary <uint, Logic.Character.EnemyEntity> obj = (System.Collections.Generic.Dictionary <uint, Logic.Character.EnemyEntity>)ToLua.CheckObject(L, 1, typeof(System.Collections.Generic.Dictionary <uint, Logic.Character.EnemyEntity>)); System.Collections.Generic.Dictionary <uint, Logic.Character.EnemyEntity> .Enumerator o = obj.GetEnumerator(); ToLua.Push(L, o); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
static int GetEnumerator(IntPtr L) { try { ToLua.CheckArgsCount(L, 1); System.Collections.Generic.Dictionary <UnityEngine.GameObject, LuaInterface.LuaTable> obj = (System.Collections.Generic.Dictionary <UnityEngine.GameObject, LuaInterface.LuaTable>)ToLua.CheckObject(L, 1, typeof(System.Collections.Generic.Dictionary <UnityEngine.GameObject, LuaInterface.LuaTable>)); System.Collections.Generic.Dictionary <UnityEngine.GameObject, LuaInterface.LuaTable> .Enumerator o = obj.GetEnumerator(); ToLua.Push(L, o); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
public ShimEnumerator(Dictionary <TKey, TValue> host) { host_enumerator = host.GetEnumerator(); }
internal Enumerator(Dictionary <TKey, TValue> host) { host_enumerator = host.GetEnumerator(); }
public Dictionary <T1, T2> .Enumerator GetEnumerator() { return(_forward.GetEnumerator()); }