1 implementation of RouteName
Microsoft.AspNetCore.Routing (1)
RouteNameMetadata.cs (1)
27
public string?
RouteName
{ get; }
12 references to RouteName
Microsoft.AspNetCore.Mvc.Core.Test (8)
Routing\ActionEndpointFactoryTest.cs (2)
50
Assert.Equal(string.Empty, routeNameMetadata.
RouteName
);
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 (2)
EndpointDataSource.cs (1)
110
sb.Append(routeNameMetadata?.
RouteName
);
RouteValuesAddressScheme.cs (1)
114
metadata?.
RouteName
);
Microsoft.AspNetCore.Routing.Tests (2)
Builder\RouteHandlerEndpointRouteBuilderExtensionsTest.cs (1)
468
Assert.Equal("Foo", routeNameMetadata.
RouteName
);
Builder\RoutingEndpointConventionBuilderExtensionsTest.cs (1)
153
Assert.Equal(name, routeName.
RouteName
);