Beispiel #1
0
 static int RetrieveProxy(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 2);
         PureMVC.Patterns.Facade obj = (PureMVC.Patterns.Facade)ToLua.CheckObject <PureMVC.Patterns.Facade>(L, 1);
         string arg0 = ToLua.CheckString(L, 2);
         PureMVC.Interfaces.IProxy o = obj.RetrieveProxy(arg0);
         ToLua.PushObject(L, o);
         return(1);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }
Beispiel #2
0
 public IProxy RetrieveProxy(string proxyName)
 {
     return(Facade.RetrieveProxy(proxyName));
 }