Reacting to DI changes
This commit is contained in:
parent
0926e0c280
commit
e0abf70a80
|
|
@ -45,7 +45,7 @@ namespace Microsoft.AspNet.Mvc.Core
|
||||||
private ActionDescriptorsCollection GetCollection()
|
private ActionDescriptorsCollection GetCollection()
|
||||||
{
|
{
|
||||||
var providers =
|
var providers =
|
||||||
_serviceProvider.GetRequiredServices<IActionDescriptorProvider>()
|
_serviceProvider.GetServices<IActionDescriptorProvider>()
|
||||||
.OrderBy(p => p.Order)
|
.OrderBy(p => p.Order)
|
||||||
.ToArray();
|
.ToArray();
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue