static int _m_BeginInit(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); System.ComponentModel.ISupportInitialize gen_to_be_invoked = (System.ComponentModel.ISupportInitialize)translator.FastGetCSObj(L, 1); { gen_to_be_invoked.BeginInit( ); return(0); } } catch (System.Exception gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + gen_e)); } }
private ApplicationInitializer(WinApplication winApplication) { _App = (System.ComponentModel.ISupportInitialize)winApplication; _App.BeginInit(); }