Exemplo n.º 1
0
        /// <summary>
        /// 创建视图母板
        /// </summary>
        /// <param name="controllerContext">控制器上下文</param>
        /// <param name="masterPath">母板路径</param>
        /// <returns>创建的视图母板</returns>
        protected virtual JumonyMasterView CreateMaster(ControllerContext controllerContext, string masterPath)
        {
            JumonyMasterView masterView = new JumonyMasterView();

            masterView.Initialize(masterPath);
            return(masterView);
        }
Exemplo n.º 2
0
 /// <summary>
 /// 创建视图母板
 /// </summary>
 /// <param name="controllerContext">控制器上下文</param>
 /// <param name="masterPath">母板路径</param>
 /// <returns>创建的视图母板</returns>
 protected virtual JumonyMasterView CreateMaster( ControllerContext controllerContext, string masterPath )
 {
     JumonyMasterView masterView = new JumonyMasterView();
       masterView.Initialize( masterPath );
       return masterView;
 }
Exemplo n.º 3
0
 /// <summary>
 /// 派生类实现此方法处理母板视图
 /// </summary>
 /// <param name="MasterView">页面的母板视图</param>
 protected virtual void ProcessMaster( JumonyMasterView MasterView )
 {
 }
Exemplo n.º 4
0
 /// <summary>
 /// 派生类实现此方法处理母板视图
 /// </summary>
 /// <param name="MasterView">页面的母板视图</param>
 protected virtual void ProcessMaster(JumonyMasterView MasterView)
 {
 }