30 references to ActionDescriptorCollection
Microsoft.AspNetCore.Grpc.Swagger (1)
GrpcSwaggerServiceExtensions.cs (1)
61
public ActionDescriptorCollection ActionDescriptors { get; } = new
ActionDescriptorCollection
(new List<ActionDescriptor>(), 1);
Microsoft.AspNetCore.Mvc.Core (1)
Infrastructure\DefaultActionDescriptorCollectionProvider.cs (1)
159
_collection = new
ActionDescriptorCollection
(
Microsoft.AspNetCore.Mvc.Core.Test (18)
ApplicationModels\EndpointMetadataProviderTest.cs (1)
293
ActionDescriptors = new
ActionDescriptorCollection
(actions, 0);
Infrastructure\ActionSelectionTableTest.cs (1)
548
return ActionSelectionTable<ActionDescriptor>.Create(new
ActionDescriptorCollection
(actions, 0));
Infrastructure\ActionSelectorTest.cs (1)
1071
.Returns(new
ActionDescriptorCollection
(actions, 0));
Infrastructure\ControllerActionInvokerCacheTest.cs (1)
85
ActionDescriptors = new
ActionDescriptorCollection
(actionDescriptors, version: 1);
Routing\ActionEndpointDataSourceBaseTest.cs (4)
24
actions.Setup(m => m.ActionDescriptors).Returns(new
ActionDescriptorCollection
(new List<ActionDescriptor>
47
.Returns(new
ActionDescriptorCollection
(new[]
74
.Returns(new
ActionDescriptorCollection
(new[]
106
.Returns(new
ActionDescriptorCollection
(new[]
Routing\AttributeRouteTest.cs (2)
99
.Returns(new
ActionDescriptorCollection
(actions, version: 2));
792
.Returns(new
ActionDescriptorCollection
(actions, version: 1));
Routing\AttributeRoutingTest.cs (1)
159
var collection = new
ActionDescriptorCollection
(actions, version: 0);
Routing\ControllerActionEndpointDataSourceTest.cs (7)
37
mockDescriptorProvider.Setup(m => m.ActionDescriptors).Returns(new
ActionDescriptorCollection
(actions, 0));
80
.Returns(new
ActionDescriptorCollection
(actions, 0));
157
mockDescriptorProvider.Setup(m => m.ActionDescriptors).Returns(new
ActionDescriptorCollection
(actions, 0));
241
.Returns(new
ActionDescriptorCollection
(actions, 0));
326
mockDescriptorProvider.Setup(m => m.ActionDescriptors).Returns(new
ActionDescriptorCollection
(actions, 0));
408
mockDescriptorProvider.Setup(m => m.ActionDescriptors).Returns(new
ActionDescriptorCollection
(actions, 0));
508
mockDescriptorProvider.Setup(m => m.ActionDescriptors).Returns(new
ActionDescriptorCollection
(actions, 0));
Microsoft.AspNetCore.Mvc.RazorPages.Test (10)
Infrastructure\DefaultPageLoaderTest.cs (1)
25
var actionDescriptors = new
ActionDescriptorCollection
(Array.Empty<ActionDescriptor>(), 1);
Infrastructure\PageActionEndpointDataSourceTest.cs (5)
38
mockDescriptorProvider.Setup(m => m.ActionDescriptors).Returns(new
ActionDescriptorCollection
(actions, 0));
70
mockDescriptorProvider.Setup(m => m.ActionDescriptors).Returns(new
ActionDescriptorCollection
(actions, 0));
128
mockDescriptorProvider.Setup(m => m.ActionDescriptors).Returns(new
ActionDescriptorCollection
(actions, 0));
192
mockDescriptorProvider.Setup(m => m.ActionDescriptors).Returns(new
ActionDescriptorCollection
(actions, 0));
235
mockDescriptorProvider.Setup(m => m.ActionDescriptors).Returns(new
ActionDescriptorCollection
(actions, 0));
src\Mvc\Mvc.Core\test\Routing\ActionEndpointDataSourceBaseTest.cs (4)
24
actions.Setup(m => m.ActionDescriptors).Returns(new
ActionDescriptorCollection
(new List<ActionDescriptor>
47
.Returns(new
ActionDescriptorCollection
(new[]
74
.Returns(new
ActionDescriptorCollection
(new[]
106
.Returns(new
ActionDescriptorCollection
(new[]