示例#1
0
        private IRazorPage GetLayoutPage(ViewContext context, string executingFilePath, string layoutPath)
        {
            IRazorPage layoutPage = TchRazorActivator.GetPage(context, layoutPath);

            return(layoutPage);
        }
示例#2
0
 public async Task RenderPartialAsync(string partial)
 {
     await TchRazorActivator.GetView(ViewContext, partial).RenderAsync(ViewContext);
 }