static int Execute(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 2);
         PureMVC.Patterns.Command.SimpleCommand obj  = (PureMVC.Patterns.Command.SimpleCommand)ToLua.CheckObject <PureMVC.Patterns.Command.SimpleCommand>(L, 1);
         PureMVC.Interfaces.INotification       arg0 = (PureMVC.Interfaces.INotification)ToLua.CheckObject <PureMVC.Interfaces.INotification>(L, 2);
         obj.Execute(arg0);
         return(0);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }
    static int _CreatePureMVC_Patterns_Command_SimpleCommand(IntPtr L)
    {
        try
        {
            int count = LuaDLL.lua_gettop(L);

            if (count == 0)
            {
                PureMVC.Patterns.Command.SimpleCommand obj = new PureMVC.Patterns.Command.SimpleCommand();
                ToLua.PushObject(L, obj);
                return(1);
            }
            else
            {
                return(LuaDLL.luaL_throw(L, "invalid arguments to ctor method: PureMVC.Patterns.Command.SimpleCommand.New"));
            }
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e));
        }
    }