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

            x.setController(this.controller);
            return(x.getTemplateByAction(actionMethod));
        }
예제 #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));
        }
예제 #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 );
 }
예제 #4
0
 public Template getTemplateByAction( MethodInfo actionMethod ) {
     MvcViews x = new MvcViews();
     x.setController( this.controller );
     return x.getTemplateByAction( actionMethod );
 }