1 implementation of IRouteNameMetadata
Microsoft.AspNetCore.Routing (1)
RouteNameMetadata.cs (1)
13
public sealed class RouteNameMetadata :
IRouteNameMetadata
19 references to IRouteNameMetadata
Microsoft.AspNetCore.Mvc.Core.Test (9)
Routing\ActionEndpointFactoryTest.cs (3)
48
var
routeNameMetadata = endpoint.Metadata.GetMetadata<
IRouteNameMetadata
>();
254
Assert.Equal("Test", endpoint.Metadata.GetMetadata<
IRouteNameMetadata
>().RouteName);
Routing\ControllerActionEndpointDataSourceTest.cs (6)
109
Assert.Equal("1", e.Metadata.GetMetadata<
IRouteNameMetadata
>().RouteName);
116
Assert.Equal("2", e.Metadata.GetMetadata<
IRouteNameMetadata
>().RouteName);
123
Assert.Equal("Test", e.Metadata.GetMetadata<
IRouteNameMetadata
>().RouteName);
278
Assert.Equal("1", e.Metadata.GetMetadata<
IRouteNameMetadata
>().RouteName);
285
Assert.Equal("2", e.Metadata.GetMetadata<
IRouteNameMetadata
>().RouteName);
292
Assert.Equal("Test", e.Metadata.GetMetadata<
IRouteNameMetadata
>().RouteName);
Microsoft.AspNetCore.Routing (4)
EndpointDataSource.cs (2)
108
var
routeNameMetadata = routeEndpoint.Metadata.GetMetadata<
IRouteNameMetadata
>();
RouteValuesAddressScheme.cs (2)
100
var
metadata = endpoint.Metadata.GetMetadata<
IRouteNameMetadata
>();
Microsoft.AspNetCore.Routing.Tests (6)
Builder\RouteHandlerEndpointRouteBuilderExtensionsTest.cs (4)
466
var
routeNameMetadata = Assert.Single(endpoint.Metadata.GetOrderedMetadata<
IRouteNameMetadata
>());
798
var
routeName = endpoint.Metadata.GetMetadata<
IRouteNameMetadata
>();
Builder\RoutingEndpointConventionBuilderExtensionsTest.cs (2)
152
var
routeName = endpoint.Metadata.GetMetadata<
IRouteNameMetadata
>();