예제 #1
0
        public static Dictionary <string, Type> CommandMap = new Dictionary <string, Type>();    //事件---控制器类型

        #region 注册功能
        /// <summary>
        /// 注册Model
        /// </summary>
        /// <param name="model">Model实例</param>
        public static void RegisterModel(FBModel model)
        {
            Models[model.Name] = model;
        }
예제 #2
0
 /// <summary> 注册新Model </summary>
 protected void RegisterModel(FBModel model)
 {
     FBMVC.RegisterModel(model);
 }