Exemple #1
0
        public Template getTemplateByAction(MethodInfo actionMethod)
        {
            MvcViews x = new MvcViews();

            x.setController(this.controller);
            return(x.getTemplateByAction(actionMethod));
        }
Exemple #2
0
        //------------------------------------------------------------------------------------------

        /// <summary>
        /// 根据 action 名称获取模板对象
        /// </summary>
        /// <param name="action"></param>
        /// <returns></returns>
        public Template getTemplateByAction(String action)
        {
            MvcViews x = new MvcViews();

            x.setController(this.controller);
            return(x.getTemplateByAction(action));
        }
Exemple #3
0
 //------------------------------------------------------------------------------------------
 /// <summary>
 /// 根据 action 名称获取模板对象
 /// </summary>
 /// <param name="action"></param>
 /// <returns></returns>
 public Template getTemplateByAction( String action )
 {
     MvcViews x = new MvcViews();
     x.setController( this.controller );
     return x.getTemplateByAction( action );
 }
 public Template getTemplateByAction( MethodInfo actionMethod ) {
     MvcViews x = new MvcViews();
     x.setController( this.controller );
     return x.getTemplateByAction( actionMethod );
 }