Split line made over 120 chars by call to GetRequiredService
This commit is contained in:
parent
a21ed4bc51
commit
c16214a53d
|
|
@ -25,7 +25,8 @@ namespace Microsoft.AspNet.Mvc
|
||||||
|
|
||||||
public override async Task ExecuteResultAsync([NotNull] ActionContext context)
|
public override async Task ExecuteResultAsync([NotNull] ActionContext context)
|
||||||
{
|
{
|
||||||
var viewEngine = ViewEngine ?? context.HttpContext.RequestServices.GetRequiredService<ICompositeViewEngine>();
|
var viewEngine = ViewEngine ??
|
||||||
|
context.HttpContext.RequestServices.GetRequiredService<ICompositeViewEngine>();
|
||||||
|
|
||||||
var viewName = ViewName ?? context.ActionDescriptor.Name;
|
var viewName = ViewName ?? context.ActionDescriptor.Name;
|
||||||
var view = FindViewInternal(viewEngine, context, viewName);
|
var view = FindViewInternal(viewEngine, context, viewName);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue