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