2 implementations of IActionInvoker
Microsoft.AspNetCore.Mvc.Core (1)
Infrastructure\ControllerActionInvoker.cs (1)
19
internal partial class ControllerActionInvoker : ResourceInvoker,
IActionInvoker
Microsoft.AspNetCore.Mvc.RazorPages (1)
Infrastructure\PageActionInvoker.cs (1)
16
internal sealed class PageActionInvoker : ResourceInvoker,
IActionInvoker
121 references to IActionInvoker
Microsoft.AspNetCore.Mvc.Abstractions (6)
Abstractions\ActionInvokerProviderContext.cs (2)
28
/// Gets or sets the <see cref="
IActionInvoker
"/> that will be used to invoke <see cref="ActionContext" />
30
public
IActionInvoker
? Result { get; set; }
Abstractions\IActionInvoker.cs (1)
10
/// An <see cref="
IActionInvoker
"/> is created for each request the MVC handles by querying the set of
Abstractions\IActionInvokerProvider.cs (3)
7
/// Defines an interface for components that can create an <see cref="
IActionInvoker
"/> for the
13
/// <see cref="
IActionInvoker
"/>. The <see cref="IActionInvokerProvider"/> instances are ordered by
17
/// To create an <see cref="
IActionInvoker
"/>, each provider has its <see cref="OnProvidersExecuting"/> method
Microsoft.AspNetCore.Mvc.Core (9)
Infrastructure\ActionInvokerFactory.cs (1)
20
public
IActionInvoker
? CreateInvoker(ActionContext actionContext)
Infrastructure\IActionInvokerFactory.cs (5)
11
/// Defines an interface for creating an <see cref="
IActionInvoker
"/> for the current request.
14
/// The default <see cref="IActionInvokerFactory"/> implementation creates an <see cref="
IActionInvoker
"/> by
21
/// Creates an <see cref="
IActionInvoker
"/> for the current request associated with
27
/// <returns>An <see cref="
IActionInvoker
"/> or <c>null</c>.</returns>
28
IActionInvoker
? CreateInvoker(ActionContext actionContext);
Routing\ActionEndpointFactory.cs (1)
542
var
invoker = invokerFactory.CreateInvoker(actionContext);
Routing\MvcAttributeRouteHandler.cs (1)
74
var
invoker = _actionInvokerFactory.CreateInvoker(actionContext);
Routing\MvcRouteHandler.cs (1)
62
var
invoker = _actionInvokerFactory.CreateInvoker(actionContext);
Microsoft.AspNetCore.Mvc.Core.Test (18)
Infrastructure\ControllerActionInvokerTest.cs (17)
214
var
invoker = CreateInvoker(
246
var
invoker = CreateInvoker(
276
var
invoker = CreateInvoker(filter.Object, result: Result);
304
var
invoker = CreateInvoker(filter.Object, result: Result);
348
var
invoker = CreateInvoker(new IFilterMetadata[]
413
var
invoker = CreateInvoker(new IFilterMetadata[]
472
var
invoker = CreateInvoker(new IFilterMetadata[]
517
var
invoker = CreateInvoker(actionFilter.Object);
545
var
invoker = CreateInvoker(filter.Object, exception: Exception);
585
var
invoker = CreateInvoker(new[] { filter1.Object, filter2.Object });
628
var
invoker = CreateInvoker(new IFilterMetadata[] { filter1.Object, filter2.Object });
672
var
invoker = CreateInvoker(
713
var
invoker = CreateInvoker(new IFilterMetadata[] { resourceFilter.Object, actionFilter.Object });
751
var
invoker = CreateInvoker(new IFilterMetadata[] { resourceFilter.Object, actionFilter.Object });
790
var
invoker = CreateInvoker(new IFilterMetadata[] { resourceFilter.Object, exceptionFilter.Object }, exception: Exception);
834
var
invoker = CreateInvoker(
1599
protected override
IActionInvoker
CreateInvoker(
Routing\MvcRouteHandlerTests.cs (1)
88
var mockInvoker = new Mock<
IActionInvoker
>();
Microsoft.AspNetCore.Mvc.Core.TestCommon (62)
CommonResourceInvokerTest.cs (62)
20
protected
IActionInvoker
CreateInvoker(
29
protected abstract
IActionInvoker
CreateInvoker(
44
var
invoker = CreateInvoker(filter.Object, exception: null);
63
var
invoker = CreateInvoker(filter.Object, exception: null);
103
var
invoker = CreateInvoker(new[] { filter1.Object, filter2.Object }, exception: Exception);
147
var
invoker = CreateInvoker(new[] { filter1.Object, filter2.Object }, exception: Exception);
178
var
invoker = CreateInvoker(new[] { filter1.Object, filter2.Object }, exception: Exception);
214
var
invoker = CreateInvoker(
244
var
invoker = CreateInvoker(new[] { filter1.Object, filter2.Object }, exception: Exception);
280
var
invoker = CreateInvoker(
312
var
invoker = CreateInvoker(filterMetadata, exception: Exception);
349
var
invoker = CreateInvoker(
380
var
invoker = CreateInvoker(new IFilterMetadata[] { filter1.Object, filter2.Object }, exception: Exception);
417
var
invoker = CreateInvoker(
460
var
invoker = CreateInvoker(
482
var
invoker = CreateInvoker(filter.Object, exception: Exception);
509
var
invoker = CreateInvoker(new IFilterMetadata[] { filter.Object, resultFilter.Object }, exception: Exception);
543
var
invoker = CreateInvoker(
563
var
invoker = CreateInvoker(
581
var
invoker = CreateInvoker(filter.Object);
600
var
invoker = CreateInvoker(filter.Object);
635
var
invoker = CreateInvoker(new[] { filter1.Object, filter2.Object, filter3.Object });
675
var
invoker = CreateInvoker(new IFilterMetadata[] { filter1.Object, filter2.Object, filter3.Object });
714
var
invoker = CreateInvoker(new IFilterMetadata[]
750
var
invoker = CreateInvoker(new IFilterMetadata[] { authorizationFilter.Object, resultFilter.Object });
768
var
invoker = CreateInvoker(filter.Object);
788
var
invoker = CreateInvoker(filter.Object);
824
var
invoker = CreateInvoker(new IFilterMetadata[] { filter1.Object, filter2.Object, filter3.Object });
865
var
invoker = CreateInvoker(new IFilterMetadata[] { filter1.Object, filter2.Object, filter3.Object }, result: Result);
907
var
invoker = CreateInvoker(new IFilterMetadata[] { filter1.Object, filter2.Object, filter3.Object }, result: Result);
944
var
invoker = CreateInvoker(filter.Object);
972
var
invoker = CreateInvoker(filter.Object);
1015
var
invoker = CreateInvoker(filter.Object);
1057
var
invoker = CreateInvoker(filter.Object);
1101
var
invoker = CreateInvoker(new IFilterMetadata[] { resultFilter1.Object, resultFilter2.Object, resultFilter3.Object });
1143
var
invoker = CreateInvoker(new IFilterMetadata[] { resultFilter1.Object, resultFilter2.Object, resultFilter3.Object });
1171
var
invoker = CreateInvoker(new IFilterMetadata[] { resourceFilter.Object });
1194
var
invoker = CreateInvoker(resourceFilter.Object);
1223
var
invoker = CreateInvoker(resourceFilter.Object, result: Result);
1260
var
invoker = CreateInvoker(new IFilterMetadata[] { resourceFilter.Object, exceptionFilter.Object }, exception: Exception);
1299
var
invoker = CreateInvoker(new IFilterMetadata[] { resourceFilter.Object, resultFilter.Object });
1327
var
invoker = CreateInvoker(new IFilterMetadata[] { resourceFilter.Object }, exception: Exception);
1366
var
invoker = CreateInvoker(new IFilterMetadata[] { resourceFilter.Object, resultFilter.Object });
1399
var
invoker = CreateInvoker(new IFilterMetadata[] { resourceFilter.Object }, exception: Exception);
1435
var
invoker = CreateInvoker(new IFilterMetadata[] { resourceFilter1.Object, resourceFilter2.Object }, exception: Exception);
1471
var
invoker = CreateInvoker(new IFilterMetadata[] { resourceFilter1.Object, resourceFilter2.Object }, exception: Exception);
1507
var
invoker = CreateInvoker(new IFilterMetadata[] { resourceFilter1.Object, resourceFilter2.Object }, exception: Exception);
1552
var
invoker = CreateInvoker(
1600
var
invoker = CreateInvoker(
1650
var
invoker = CreateInvoker(
1690
var
invoker = CreateInvoker(new IFilterMetadata[] { resourceFilter.Object, });
1720
var
invoker = CreateInvoker(new IFilterMetadata[] { authorizationFilter.Object, resourceFilter.Object, });
1752
var
invoker = CreateInvoker(new IFilterMetadata[] { authorizationFilter.Object, resultFilter.Object, });
1782
var
invoker = CreateInvoker(new IFilterMetadata[] { authorizationFilter.Object, resultFilter.Object, });
1814
var
invoker = CreateInvoker(new IFilterMetadata[] { authorizationFilter.Object, resultFilter1.Object, resultFilter2.Object, resultFilter3.Object, });
1855
var
invoker = CreateInvoker(new IFilterMetadata[] { resourceFilter.Object, resultFilter.Object, });
1882
var
invoker = CreateInvoker(new IFilterMetadata[] { resourceFilter.Object, resultFilter.Object, });
1911
var
invoker = CreateInvoker(new IFilterMetadata[] { resourceFilter.Object, resultFilter1.Object, resultFilter2.Object, resultFilter3.Object, });
1952
var
invoker = CreateInvoker(new IFilterMetadata[] { exceptionFilter.Object, resultFilter.Object, }, Exception);
1979
var
invoker = CreateInvoker(new IFilterMetadata[] { exceptionFilter.Object, resultFilter.Object, }, Exception);
2008
var
invoker = CreateInvoker(
2060
var
invoker = CreateInvoker(
Microsoft.AspNetCore.Mvc.RazorPages.Test (26)
Infrastructure\PageActionInvokerTest.cs (26)
102
var
invoker = CreateInvoker(
136
var
invoker = CreateInvoker(
485
var
invoker = CreateInvoker(new IFilterMetadata[] { pageFilter.Object }, result: new PageResult());
508
var
invoker = CreateInvoker(filter.Object, result: Result);
537
var
invoker = CreateInvoker(filter.Object, result: Result);
568
var
invoker = CreateInvoker(filter.Object);
602
var
invoker = CreateInvoker(filter.Object);
637
var
invoker = CreateInvoker(filter.Object);
671
var
invoker = CreateInvoker(filter.Object);
706
var
invoker = CreateInvoker(filter.Object);
740
var
invoker = CreateInvoker(filter.Object);
776
var
invoker = CreateInvoker(filter.Object);
811
var
invoker = CreateInvoker(filter.Object);
862
var
invoker = CreateInvoker(new IFilterMetadata[]
930
var
invoker = CreateInvoker(new IFilterMetadata[]
992
var
invoker = CreateInvoker(new IFilterMetadata[]
1038
var
invoker = CreateInvoker(pageFilter.Object);
1068
var
invoker = CreateInvoker(filter.Object, exception: Exception);
1110
var
invoker = CreateInvoker(new[] { filter1.Object, filter2.Object });
1155
var
invoker = CreateInvoker(new IFilterMetadata[] { filter1.Object, filter2.Object });
1200
var
invoker = CreateInvoker(
1242
var
invoker = CreateInvoker(new IFilterMetadata[] { resourceFilter.Object, pageFilter.Object });
1281
var
invoker = CreateInvoker(new IFilterMetadata[] { resourceFilter.Object, pageFilter.Object });
1320
var
invoker = CreateInvoker(new IFilterMetadata[] { resourceFilter.Object, exceptionFilter.Object }, exception: Exception);
1367
var
invoker = CreateInvoker(
1437
protected override
IActionInvoker
CreateInvoker(