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