Example #1
0
 public OverloadedLocationViewEngine(IRazorPageFactory pageFactory,
                                     IRazorViewFactory viewFactory,
                                     IViewLocationExpanderProvider expanderProvider,
                                     IViewLocationCache cache)
     : base(pageFactory, viewFactory, expanderProvider, cache)
 {
 }
Example #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;
 }
Example #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;
 }
 public DefaultViewEngine(IRazorPageFactory pageFactory, IRazorViewFactory viewFactory, IViewLocationExpanderProvider viewLocationExpanderProvider, IViewLocationCache viewLocationCache)
     : base(pageFactory, viewFactory, viewLocationExpanderProvider, viewLocationCache)
 {
 }
 public OverloadedLocationViewEngine(IRazorPageFactory pageFactory,
                                     IRazorViewFactory viewFactory,
                                     IViewLocationExpanderProvider expanderProvider,
                                     IViewLocationCache cache)
     : base(pageFactory, viewFactory, expanderProvider, cache)
 {
 }