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