1 implementation of RouteName
Microsoft.AspNetCore.Routing (1)
RouteNameMetadata.cs (1)
27public string? RouteName { get; }
12 references to RouteName
Microsoft.AspNetCore.Mvc.Core.Test (8)
Routing\ActionEndpointFactoryTest.cs (2)
50Assert.Equal(string.Empty, routeNameMetadata.RouteName); 254Assert.Equal("Test", endpoint.Metadata.GetMetadata<IRouteNameMetadata>().RouteName);
Routing\ControllerActionEndpointDataSourceTest.cs (6)
109Assert.Equal("1", e.Metadata.GetMetadata<IRouteNameMetadata>().RouteName); 116Assert.Equal("2", e.Metadata.GetMetadata<IRouteNameMetadata>().RouteName); 123Assert.Equal("Test", e.Metadata.GetMetadata<IRouteNameMetadata>().RouteName); 278Assert.Equal("1", e.Metadata.GetMetadata<IRouteNameMetadata>().RouteName); 285Assert.Equal("2", e.Metadata.GetMetadata<IRouteNameMetadata>().RouteName); 292Assert.Equal("Test", e.Metadata.GetMetadata<IRouteNameMetadata>().RouteName);
Microsoft.AspNetCore.Routing (2)
EndpointDataSource.cs (1)
110sb.Append(routeNameMetadata?.RouteName);
RouteValuesAddressScheme.cs (1)
114metadata?.RouteName);
Microsoft.AspNetCore.Routing.Tests (2)
Builder\RouteHandlerEndpointRouteBuilderExtensionsTest.cs (1)
468Assert.Equal("Foo", routeNameMetadata.RouteName);
Builder\RoutingEndpointConventionBuilderExtensionsTest.cs (1)
153Assert.Equal(name, routeName.RouteName);