RSS

导航

信息

联系方式(Contact)






 
(Preview5中已经废弃)

Namespace:System.Web.Mvc

用于获取某Action的View或Master的地址的接口
public interface IViewLocator
{
    // Methods
    string GetMasterLocation(RequestContext requestContext, string masterName);
    string GetViewLocation(RequestContext requestContext, string viewName);
}


  • GetMasterLocation:获取Master位置
  • GetViewLocation:获取ViewPage位置

实现: ViewLocator

使用方法请见QLeeluluASP.NET MVC : 实现我们自己的视图引擎
Eice.com.cn 2008 黑ICP备09002611号 | 关于我们 | 技术支持 |