5 implementations of IActionDescriptorProvider
BasicWebSite (1)
ActionDescriptorCreationCounter.cs (1)
8
public class ActionDescriptorCreationCounter :
IActionDescriptorProvider
Microsoft.AspNetCore.Mvc.Core (1)
ApplicationModels\ControllerActionDescriptorProvider.cs (1)
11
internal sealed class ControllerActionDescriptorProvider :
IActionDescriptorProvider
Microsoft.AspNetCore.Mvc.RazorPages (2)
Infrastructure\CompiledPageActionDescriptorProvider.cs (1)
18
public sealed class CompiledPageActionDescriptorProvider :
IActionDescriptorProvider
Infrastructure\PageActionDescriptorProvider.cs (1)
16
public class PageActionDescriptorProvider :
IActionDescriptorProvider
Mvc.RoutingWebSite (1)
RemoveControllerActionDescriptorProvider.cs (1)
9
public class RemoveControllerActionDescriptorProvider :
IActionDescriptorProvider
33 references to IActionDescriptorProvider
BasicWebSite (2)
Controllers\MonitorController.cs (1)
14
public MonitorController(IEnumerable<
IActionDescriptorProvider
> providers)
StartupWithoutEndpointRouting.cs (1)
43
services.AddSingleton<
IActionDescriptorProvider
, ActionDescriptorCreationCounter>();
Microsoft.AspNetCore.Mvc.Abstractions (4)
Abstractions\ActionDescriptorProviderContext.cs (2)
7
/// A context for <see cref="
IActionDescriptorProvider
"/>.
12
/// Gets the <see cref="IList{T}" /> of <see cref="ActionDescriptor"/> instances of <see cref="
IActionDescriptorProvider
"/>
Abstractions\IActionDescriptorProvider.cs (2)
11
/// On application initialization, MVC invokes all registered instances of <see cref="
IActionDescriptorProvider
"/> to
13
/// <see cref="
IActionDescriptorProvider
"/> instances are invoked in the ascending sort order of <see cref="Order"/>.
Microsoft.AspNetCore.Mvc.Core (3)
DependencyInjection\MvcCoreServiceCollectionExtensions.cs (1)
153
ServiceDescriptor.Transient<
IActionDescriptorProvider
, ControllerActionDescriptorProvider>());
Infrastructure\DefaultActionDescriptorCollectionProvider.cs (2)
17
private readonly
IActionDescriptorProvider
[] _actionDescriptorProviders;
29
IEnumerable<
IActionDescriptorProvider
> actionDescriptorProviders,
Microsoft.AspNetCore.Mvc.Core.Test (11)
ActionConstraints\ActionConstraintCacheTest.cs (1)
160
Enumerable.Empty<
IActionDescriptorProvider
>(),
DependencyInjection\MvcCoreServiceCollectionExtensionsTest.cs (1)
270
typeof(
IActionDescriptorProvider
),
Infrastructure\ActionSelectorTest.cs (1)
1137
Enumerable.Empty<
IActionDescriptorProvider
>(),
Infrastructure\DefaultActionDescriptorCollectionProviderTest.cs (6)
18
var
actionDescriptorProvider1 = GetActionDescriptorProvider(expected1);
22
var
actionDescriptorProvider2 = GetActionDescriptorProvider(expected2, expected3);
45
var
actionDescriptorProvider = GetActionDescriptorProvider(new ActionDescriptor());
71
var actionDescriptorProvider = new Mock<
IActionDescriptorProvider
>();
158
private static
IActionDescriptorProvider
GetActionDescriptorProvider(params ActionDescriptor[] values)
160
var actionDescriptorProvider = new Mock<
IActionDescriptorProvider
>();
Routing\ActionEndpointDataSourceBaseTest.cs (1)
132
Array.Empty<
IActionDescriptorProvider
>(),
Routing\KnownRouteValueConstraintTests.cs (1)
273
var actionProvider = new Mock<
IActionDescriptorProvider
>(MockBehavior.Strict);
Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation (2)
DependencyInjection\RazorRuntimeCompilationMvcCoreBuilderExtensions.cs (2)
74
f.ServiceType == typeof(
IActionDescriptorProvider
) &&
86
ServiceDescriptor.Singleton<
IActionDescriptorProvider
, PageActionDescriptorProvider>());
Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation.Test (2)
DependencyInjection\RazorRuntimeCompilationMvcCoreBuilderExtensionsTest.cs (2)
34
.AddSingleton<
IActionDescriptorProvider
, CompiledPageActionDescriptorProvider>();
40
var serviceDescriptor = Assert.Single(services, service => service.ServiceType == typeof(
IActionDescriptorProvider
));
Microsoft.AspNetCore.Mvc.RazorPages (4)
DependencyInjection\MvcRazorPagesMvcCoreBuilderExtensions.cs (2)
95
f.ServiceType == typeof(
IActionDescriptorProvider
) &&
105
ServiceDescriptor.Singleton<
IActionDescriptorProvider
, CompiledPageActionDescriptorProvider>());
Infrastructure\CompiledPageActionDescriptorProvider.cs (1)
16
/// A <see cref="
IActionDescriptorProvider
"/> for build-time compiled Razor Pages.
Infrastructure\PageActionDescriptorProvider.cs (1)
14
/// A <see cref="
IActionDescriptorProvider
"/> for PageActions
Microsoft.AspNetCore.Mvc.RazorPages.Test (1)
src\Mvc\Mvc.Core\test\Routing\ActionEndpointDataSourceBaseTest.cs (1)
132
Array.Empty<
IActionDescriptorProvider
>(),
Microsoft.AspNetCore.Mvc.Test (3)
MvcServiceCollectionExtensionsTest.cs (1)
533
typeof(
IActionDescriptorProvider
),
Routing\ActionConstraintMatcherPolicyTest.cs (2)
440
var actionDescriptorProvider = new Mock<
IActionDescriptorProvider
>();
452
new
IActionDescriptorProvider
[] { actionDescriptorProvider.Object, },
Mvc.RoutingWebSite (1)
StartupWithoutEndpointRouting.cs (1)
86
services.TryAddEnumerable(ServiceDescriptor.Singleton<
IActionDescriptorProvider
>(actionDescriptorProvider));