// 自定义 View 路径格式 // public HbViewEngine(HbFileSystem hdbfs) : this(hdbfs, new string[] { "~/wwwtpl/views/{1}/{0}.hbhtml", "~/wwwtpl/views/Shared/{0}.hbhtml" }) //{ //} public HbViewEngine(HbFileSystem hdbfs) { this.HdbFileSystem = hdbfs; base.ViewLocationFormats = getViewLocations(); }
public HbViewEngine(HbFileSystem hdbfs, string[] viewLocations) { this.HdbFileSystem = hdbfs; base.ViewLocationFormats = viewLocations; }