5 references to GetEndpoints
Microsoft.AspNetCore.Mvc.Core.Test (5)
ApplicationModels\EndpointMetadataProviderTest.cs (5)
45
var endpoints =
GetEndpoints
(typeof(TestController), nameof(TestController.MultipleSelectorsActionWithMetadataInActionResult));
67
var endpoints =
GetEndpoints
(typeof(TestController), nameof(TestController.MultipleSelectorsActionWithParameterMetadata));
89
var endpoints =
GetEndpoints
(typeof(TestController), nameof(TestController.MultipleSelectorsActionWithParameterMetadata));
207
var endpoints =
GetEndpoints
(typeof(TestController), nameof(TestController.MultipleSelectorsActionWithRoutePatternMetadata));
215
private Endpoint GetEndpoint(Type controllerType, string actionName) => Assert.Single(
GetEndpoints
(controllerType, actionName));