Example #1
0
 /// <inheritdoc/>
 System.Collections.Generic.IEnumerator <System.Collections.Generic.KeyValuePair <object, object> > System.Collections.Generic.IEnumerable <System.Collections.Generic.KeyValuePair <object, object> > .GetEnumerator()
 {
     return(_dictionary.GetEnumerator());
 }
Example #2
0
 IEnumerator IEnumerable.GetEnumerator()
 {
     return(_keyValue.GetEnumerator());
 }
Example #3
0
        static int _m_GetEnumerator(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);


                System.Collections.Concurrent.ConcurrentDictionary <long, ulong> gen_to_be_invoked = (System.Collections.Concurrent.ConcurrentDictionary <long, ulong>)translator.FastGetCSObj(L, 1);



                {
                    System.Collections.Generic.IEnumerator <System.Collections.Generic.KeyValuePair <long, ulong> > gen_ret = gen_to_be_invoked.GetEnumerator(  );
                    translator.PushAny(L, gen_ret);



                    return(1);
                }
            } catch (System.Exception gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + gen_e));
            }
        }
Example #4
0
 IEnumerator IEnumerable.GetEnumerator()
 {
     return(_rules.GetEnumerator());
 }