20 references to ActionContextAccessor
BasicWebSite (2)
Startup.cs (1)
23
services.AddSingleton<IActionContextAccessor,
ActionContextAccessor
>();
StartupWithoutEndpointRouting.cs (1)
52
services.AddSingleton<IActionContextAccessor,
ActionContextAccessor
>();
GenericHostWebSite (1)
Startup.cs (1)
26
services.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)
401
ActionContextAccessor
.Null,
Infrastructure\ControllerActionInvokerTest.cs (2)
1435
ActionContextAccessor
.Null,
1772
ActionContextAccessor
.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)
1568
ActionContextAccessor
.Null,
Mvc.RoutingWebSite (8)
Startup.cs (1)
32
services.AddSingleton<IActionContextAccessor,
ActionContextAccessor
>();
StartupForDynamic.cs (1)
21
services.AddSingleton<IActionContextAccessor,
ActionContextAccessor
>();
StartupForDynamicOrder.cs (1)
36
services.AddSingleton<IActionContextAccessor,
ActionContextAccessor
>();
StartupForEndpointFilters.cs (1)
20
services.AddSingleton<IActionContextAccessor,
ActionContextAccessor
>();
StartupForFallback.cs (1)
19
services.AddSingleton<IActionContextAccessor,
ActionContextAccessor
>();
StartupForGroups.cs (1)
20
services.AddSingleton<IActionContextAccessor,
ActionContextAccessor
>();
StartupForLinkGenerator.cs (1)
34
services.AddSingleton<IActionContextAccessor,
ActionContextAccessor
>();
StartupRoutingDifferentBranches.cs (1)
34
services.AddSingleton<IActionContextAccessor,
ActionContextAccessor
>();
VersioningWebSite (1)
Startup.cs (1)
17
services.AddSingleton<IActionContextAccessor,
ActionContextAccessor
>();