4 implementations of ActionDescriptors
Microsoft.AspNetCore.Grpc.Swagger (1)
GrpcSwaggerServiceExtensions.cs (1)
61public ActionDescriptorCollection ActionDescriptors { get; } = new ActionDescriptorCollection(new List<ActionDescriptor>(), 1);
Microsoft.AspNetCore.Mvc.Core (1)
Infrastructure\ActionDescriptorCollectionProvider.cs (1)
26public abstract ActionDescriptorCollection ActionDescriptors { get; }
Microsoft.AspNetCore.Mvc.Core.Test (2)
ApplicationModels\EndpointMetadataProviderTest.cs (1)
296public ActionDescriptorCollection ActionDescriptors { get; }
Infrastructure\ControllerActionInvokerCacheTest.cs (1)
88public ActionDescriptorCollection ActionDescriptors { get; }
44 references to ActionDescriptors
Microsoft.AspNetCore.Mvc.ApiExplorer (1)
ApiDescriptionGroupCollectionProvider.cs (1)
49var actionDescriptors = _actionDescriptorCollectionProvider.ActionDescriptors;
Microsoft.AspNetCore.Mvc.Core (7)
ActionConstraints\ActionConstraintCache.cs (1)
33var actionDescriptors = _collectionProvider.ActionDescriptors;
Infrastructure\ActionSelector.cs (1)
49var actions = _actionDescriptorCollectionProvider.ActionDescriptors;
Routing\ActionEndpointDataSourceBase.cs (2)
56_actions.ActionDescriptors.Items, 122_actions.ActionDescriptors.Items,
Routing\AttributeRoute.cs (1)
53var actions = _actionDescriptorCollectionProvider.ActionDescriptors;
Routing\KnownRouteValueConstraint.cs (2)
78var actionDescriptors = actionDescriptorsProvider.ActionDescriptors; 83nameof(IActionDescriptorCollectionProvider.ActionDescriptors),
Microsoft.AspNetCore.Mvc.Core.Test (27)
Infrastructure\ActionSelectorTest.cs (1)
1070.Setup(p => p.ActionDescriptors)
Routing\ActionEndpointDataSourceBaseTest.cs (3)
24actions.Setup(m => m.ActionDescriptors).Returns(new ActionDescriptorCollection(new List<ActionDescriptor> 46.Setup(m => m.ActionDescriptors) 64actionDescriptorCollectionProviderMock.VerifyGet(m => m.ActionDescriptors, Times.Once);
Routing\AttributeRouteTest.cs (15)
98.SetupGet(ad => ad.ActionDescriptors) 139route.AddEntries(builder, actionDescriptorProvider.Object.ActionDescriptors); 183route.AddEntries(builder, actionDescriptorProvider.Object.ActionDescriptors); 227route.AddEntries(builder, actionDescriptorProvider.Object.ActionDescriptors); 288route.AddEntries(builder, actionDescriptorProvider.Object.ActionDescriptors); 342route.AddEntries(builder, actionDescriptorProvider.Object.ActionDescriptors); 385route.AddEntries(builder, actionDescriptorProvider.Object.ActionDescriptors); 428route.AddEntries(builder, actionDescriptorProvider.Object.ActionDescriptors); 490route.AddEntries(builder, actionDescriptorProvider.Object.ActionDescriptors); 534route.AddEntries(builder, actionDescriptorProvider.Object.ActionDescriptors); 579route.AddEntries(builder, actionDescriptorProvider.Object.ActionDescriptors); 635route.AddEntries(builder, actionDescriptorProvider.Object.ActionDescriptors); 691route.AddEntries(builder, actionDescriptorProvider.Object.ActionDescriptors); 747route.AddEntries(builder, actionDescriptorProvider.Object.ActionDescriptors); 791.SetupGet(ad => ad.ActionDescriptors)
Routing\AttributeRoutingTest.cs (1)
163.Setup(a => a.ActionDescriptors)
Routing\ControllerActionEndpointDataSourceTest.cs (7)
37mockDescriptorProvider.Setup(m => m.ActionDescriptors).Returns(new ActionDescriptorCollection(actions, 0)); 79.Setup(m => m.ActionDescriptors) 157mockDescriptorProvider.Setup(m => m.ActionDescriptors).Returns(new ActionDescriptorCollection(actions, 0)); 240.Setup(m => m.ActionDescriptors) 326mockDescriptorProvider.Setup(m => m.ActionDescriptors).Returns(new ActionDescriptorCollection(actions, 0)); 408mockDescriptorProvider.Setup(m => m.ActionDescriptors).Returns(new ActionDescriptorCollection(actions, 0)); 508mockDescriptorProvider.Setup(m => m.ActionDescriptors).Returns(new ActionDescriptorCollection(actions, 0));
Microsoft.AspNetCore.Mvc.RazorPages.Test (9)
Infrastructure\DefaultPageLoaderTest.cs (1)
26ActionDescriptorCollectionProvider = Mock.Of<IActionDescriptorCollectionProvider>(v => v.ActionDescriptors == actionDescriptors);
Infrastructure\PageActionEndpointDataSourceTest.cs (5)
38mockDescriptorProvider.Setup(m => m.ActionDescriptors).Returns(new ActionDescriptorCollection(actions, 0)); 70mockDescriptorProvider.Setup(m => m.ActionDescriptors).Returns(new ActionDescriptorCollection(actions, 0)); 128mockDescriptorProvider.Setup(m => m.ActionDescriptors).Returns(new ActionDescriptorCollection(actions, 0)); 192mockDescriptorProvider.Setup(m => m.ActionDescriptors).Returns(new ActionDescriptorCollection(actions, 0)); 235mockDescriptorProvider.Setup(m => m.ActionDescriptors).Returns(new ActionDescriptorCollection(actions, 0));
src\Mvc\Mvc.Core\test\Routing\ActionEndpointDataSourceBaseTest.cs (3)
24actions.Setup(m => m.ActionDescriptors).Returns(new ActionDescriptorCollection(new List<ActionDescriptor> 46.Setup(m => m.ActionDescriptors) 64actionDescriptorCollectionProviderMock.VerifyGet(m => m.ActionDescriptors, Times.Once);