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()
|
||||
{
|
||||
var providers =
|
||||
_serviceProvider.GetRequiredServices<IActionDescriptorProvider>()
|
||||
_serviceProvider.GetServices<IActionDescriptorProvider>()
|
||||
.OrderBy(p => p.Order)
|
||||
.ToArray();
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue