Remove unused/non exiting service from RazorViewEnginer
Rename PathBaseViewFactory.cs to match the class name VirtualPathViewFactory
This commit is contained in:
parent
e991e86863
commit
ed4d29042a
|
|
@ -13,13 +13,10 @@ namespace Microsoft.AspNet.Mvc.Razor
|
||||||
"/Views/Shared/{0}.cshtml",
|
"/Views/Shared/{0}.cshtml",
|
||||||
};
|
};
|
||||||
|
|
||||||
private readonly IActionDescriptorProvider _actionDescriptorProvider;
|
|
||||||
private readonly IVirtualPathViewFactory _virtualPathFactory;
|
private readonly IVirtualPathViewFactory _virtualPathFactory;
|
||||||
|
|
||||||
public RazorViewEngine(IActionDescriptorProvider actionDescriptorProvider,
|
public RazorViewEngine(IVirtualPathViewFactory virtualPathFactory)
|
||||||
IVirtualPathViewFactory virtualPathFactory)
|
|
||||||
{
|
{
|
||||||
_actionDescriptorProvider = actionDescriptorProvider;
|
|
||||||
_virtualPathFactory = virtualPathFactory;
|
_virtualPathFactory = virtualPathFactory;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue