예제 #1
0
 public OverloadedLocationViewEngine(IRazorPageFactory pageFactory,
                                     IRazorViewFactory viewFactory,
                                     IViewLocationExpanderProvider expanderProvider,
                                     IViewLocationCache cache)
     : base(pageFactory, viewFactory, expanderProvider, cache)
 {
 }
예제 #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="RazorViewEngine" /> class.
 /// </summary>
 /// <param name="pageFactory">The page factory used for creating <see cref="IRazorPage"/> instances.</param>
 public RazorViewEngine(IRazorPageFactory pageFactory,
                        IViewLocationExpanderProvider viewLocationExpanderProvider,
                        IViewLocationCache viewLocationCache)
 {
     _pageFactory           = pageFactory;
     _viewLocationExpanders = viewLocationExpanderProvider.ViewLocationExpanders;
     _viewLocationCache     = viewLocationCache;
 }
예제 #3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="RazorViewEngine" /> class.
 /// </summary>
 /// <param name="pageFactory">The page factory used for creating <see cref="IRazorPage"/> instances.</param>
 public RazorViewEngine(IRazorPageFactory pageFactory,
                        IRazorViewFactory viewFactory,
                        IViewLocationExpanderProvider viewLocationExpanderProvider,
                        IViewLocationCache viewLocationCache)
 {
     _pageFactory = pageFactory;
     _viewFactory = viewFactory;
     _viewLocationExpanders = viewLocationExpanderProvider.ViewLocationExpanders;
     _viewLocationCache = viewLocationCache;
 }
예제 #4
0
 public DefaultViewEngine(IRazorPageFactory pageFactory, IRazorViewFactory viewFactory, IViewLocationExpanderProvider viewLocationExpanderProvider, IViewLocationCache viewLocationCache)
     : base(pageFactory, viewFactory, viewLocationExpanderProvider, viewLocationCache)
 {
 }
예제 #5
0
 public OverloadedLocationViewEngine(IRazorPageFactory pageFactory,
                                     IRazorViewFactory viewFactory,
                                     IViewLocationExpanderProvider expanderProvider,
                                     IViewLocationCache cache)
     : base(pageFactory, viewFactory, expanderProvider, cache)
 {
 }