// 发送事件 protected void SendEvent(string eventName, object data = null) { FBMVC.SendEvent(eventName, data); }
/// <summary> 获取模型 </summary> protected T GetModel <T>() where T : FBModel { return(FBMVC.GetModel <T>() as T); }
/// <summary> 注册新Controller </summary> protected void RegisterController(string eventName, Type controllerType) { FBMVC.RegisterController(eventName, controllerType); }
/// <summary> 注册新View </summary> protected void RegisterView(FBView view) { FBMVC.RegisterView(view); }
/// <summary> 注册新Model </summary> protected void RegisterModel(FBModel model) { FBMVC.RegisterModel(model); }
/// <summary> 获取View </summary> protected T GetView <T>() where T : FBView { return(FBMVC.GetView <T>() as T); }