//注册控制器 protected void RegisterController(string eventName, Type controllerType) { Facade.RegisterController(eventName, controllerType); }
//注册视图 protected void RegisterView(View view) { Facade.RegisterView(view); }
//注册模型 protected void RegisterModel(Model model) { Facade.RegisterModel(model); }
//获取视图 protected T GetView <T>() where T : View { return(Facade.GetView <T>() as T); }
//获取模型 protected T GetModel <T>() where T : Model { return(Facade.GetModel <T>() as T); }
//发送事件 protected void SendEvent(string eventName, object data = null) { Facade.SendEvent(eventName, data); }