2 implementations of IActionContextAccessor
Microsoft.AspNetCore.Mvc.Core (2)
Infrastructure\ActionContextAccessor.cs (2)
13
public class ActionContextAccessor :
IActionContextAccessor
27
private sealed class NullActionContextAccessor :
IActionContextAccessor
29 references to IActionContextAccessor
BasicWebSite (3)
src\Mvc\test\WebSites\Common\TestResponseGenerator.cs (1)
15
public TestResponseGenerator(
IActionContextAccessor
contextAccessor)
Startup.cs (1)
23
services.AddSingleton<
IActionContextAccessor
, ActionContextAccessor>();
StartupWithoutEndpointRouting.cs (1)
52
services.AddSingleton<
IActionContextAccessor
, ActionContextAccessor>();
GenericHostWebSite (2)
src\Mvc\test\WebSites\Common\TestResponseGenerator.cs (1)
15
public TestResponseGenerator(
IActionContextAccessor
contextAccessor)
Startup.cs (1)
26
services.AddSingleton<
IActionContextAccessor
, ActionContextAccessor>();
Microsoft.AspNetCore.Mvc.Core (8)
Infrastructure\ActionContextAccessor.cs (1)
15
internal static readonly
IActionContextAccessor
Null = new NullActionContextAccessor();
Infrastructure\ControllerActionInvoker.cs (1)
33
IActionContextAccessor
actionContextAccessor,
Infrastructure\ControllerActionInvokerProvider.cs (2)
26
private readonly
IActionContextAccessor
_actionContextAccessor;
44
IActionContextAccessor
? actionContextAccessor)
Infrastructure\ResourceInvoker.cs (2)
18
protected readonly
IActionContextAccessor
_actionContextAccessor;
40
IActionContextAccessor
actionContextAccessor,
Routing\ControllerRequestDelegateFactory.cs (2)
27
private readonly
IActionContextAccessor
_actionContextAccessor;
46
IActionContextAccessor
? actionContextAccessor)
Microsoft.AspNetCore.Mvc.RazorPages (5)
Infrastructure\PageActionInvoker.cs (1)
38
IActionContextAccessor
actionContextAccessor,
Infrastructure\PageActionInvokerProvider.cs (2)
28
private readonly
IActionContextAccessor
_actionContextAccessor;
41
IActionContextAccessor
? actionContextAccessor = null)
Infrastructure\PageRequestDelegateFactory.cs (2)
29
private readonly
IActionContextAccessor
_actionContextAccessor;
56
IActionContextAccessor
? actionContextAccessor)
Mvc.RoutingWebSite (9)
src\Mvc\test\WebSites\Common\TestResponseGenerator.cs (1)
15
public TestResponseGenerator(
IActionContextAccessor
contextAccessor)
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 (2)
src\Mvc\test\WebSites\Common\TestResponseGenerator.cs (1)
15
public TestResponseGenerator(
IActionContextAccessor
contextAccessor)
Startup.cs (1)
17
services.AddSingleton<
IActionContextAccessor
, ActionContextAccessor>();