5 references to FilterEndpoints
Microsoft.AspNetCore.Mvc.Core.Test (5)
ApplicationModels\EndpointMetadataProviderTest.cs (5)
116
var endpoint = Assert.Single(
FilterEndpoints
(dataSource.GetGroupedEndpoints(routeGroupContext)));
155
var endpoint = Assert.Single(
FilterEndpoints
(dataSource.GetGroupedEndpoints(routeGroupContext)));
176
var endpoint = Assert.Single(
FilterEndpoints
(dataSource.GetGroupedEndpoints(routeGroupContext)));
197
var endpoint = Assert.Single(
FilterEndpoints
(dataSource.GetGroupedEndpoints(routeGroupContext)));
216
private List<Endpoint> GetEndpoints(Type controllerType, string actionName) =>
FilterEndpoints
(GetEndpointDataSource(controllerType, actionName).Endpoints);