5 references to GetEndpointDataSource
Microsoft.AspNetCore.Mvc.Core.Test (5)
ApplicationModels\EndpointMetadataProviderTest.cs (5)
101var dataSource = GetEndpointDataSource(typeof(TestController), nameof(TestController.ActionWithParameterMetadata)); 144var dataSource = GetEndpointDataSource(controllerType, actionName); 165var dataSource = GetEndpointDataSource(typeof(TestController), nameof(TestController.ActionWithRemovalFromParameterEndpointMetadata)); 186var dataSource = GetEndpointDataSource(typeof(TestController), nameof(TestController.ActionWithRemovalFromParameterMetadata)); 216private List<Endpoint> GetEndpoints(Type controllerType, string actionName) => FilterEndpoints(GetEndpointDataSource(controllerType, actionName).Endpoints);