20 references to ActionContextAccessor
BasicWebSite (2)
Startup.cs (1)
23services.AddSingleton<IActionContextAccessor, ActionContextAccessor>();
StartupWithoutEndpointRouting.cs (1)
52services.AddSingleton<IActionContextAccessor, ActionContextAccessor>();
GenericHostWebSite (1)
Startup.cs (1)
26services.AddSingleton<IActionContextAccessor, ActionContextAccessor>();
Microsoft.AspNetCore.Mvc.Core (2)
Infrastructure\ControllerActionInvokerProvider.cs (1)
54_actionContextAccessor = actionContextAccessor ?? ActionContextAccessor.Null;
Routing\ControllerRequestDelegateFactory.cs (1)
57_actionContextAccessor = actionContextAccessor ?? ActionContextAccessor.Null;
Microsoft.AspNetCore.Mvc.Core.Test (3)
Filters\MiddlewareFilterTest.cs (1)
401ActionContextAccessor.Null,
Infrastructure\ControllerActionInvokerTest.cs (2)
1435ActionContextAccessor.Null, 1772ActionContextAccessor.Null,
Microsoft.AspNetCore.Mvc.RazorPages (2)
Infrastructure\PageActionInvokerProvider.cs (1)
53_actionContextAccessor = actionContextAccessor ?? ActionContextAccessor.Null;
Infrastructure\PageRequestDelegateFactory.cs (1)
68_actionContextAccessor = actionContextAccessor ?? ActionContextAccessor.Null;
Microsoft.AspNetCore.Mvc.RazorPages.Test (1)
Infrastructure\PageActionInvokerTest.cs (1)
1568ActionContextAccessor.Null,
Mvc.RoutingWebSite (8)
Startup.cs (1)
32services.AddSingleton<IActionContextAccessor, ActionContextAccessor>();
StartupForDynamic.cs (1)
21services.AddSingleton<IActionContextAccessor, ActionContextAccessor>();
StartupForDynamicOrder.cs (1)
36services.AddSingleton<IActionContextAccessor, ActionContextAccessor>();
StartupForEndpointFilters.cs (1)
20services.AddSingleton<IActionContextAccessor, ActionContextAccessor>();
StartupForFallback.cs (1)
19services.AddSingleton<IActionContextAccessor, ActionContextAccessor>();
StartupForGroups.cs (1)
20services.AddSingleton<IActionContextAccessor, ActionContextAccessor>();
StartupForLinkGenerator.cs (1)
34services.AddSingleton<IActionContextAccessor, ActionContextAccessor>();
StartupRoutingDifferentBranches.cs (1)
34services.AddSingleton<IActionContextAccessor, ActionContextAccessor>();
VersioningWebSite (1)
Startup.cs (1)
17services.AddSingleton<IActionContextAccessor, ActionContextAccessor>();