public ViewTemplateManagerPresenter(IViewTemplateManager view, IApplicationController appController)
 {
     _view           = view;
     _appController  = appController;
     _view.Presenter = this;
 }
コード例 #2
0
 public static Task <IHtmlContent> RenderTemplateAsync(this IViewTemplateManager templateManager, string templateName)
 {
     return(templateManager.RenderTemplateAsync(templateName, null));
 }