Exemplo n.º 1
0
        // 自定义 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();
        }
Exemplo n.º 2
0
 public HbViewEngine(HbFileSystem hdbfs, string[] viewLocations)
 {
     this.HdbFileSystem       = hdbfs;
     base.ViewLocationFormats = viewLocations;
 }