1 implementation of Name
Microsoft.AspNetCore.Routing (1)
RouteBase.cs (1)
85public virtual string? Name { get; protected set; }
6 references to Name
Microsoft.AspNetCore.Routing (2)
RouteCollection.cs (2)
51if (!string.IsNullOrEmpty(namedRouter.Name)) 53_namedRoutes.Add(namedRouter.Name, namedRouter);
Microsoft.AspNetCore.Routing.Tests (4)
RouteCollectionTest.cs (4)
253Assert.Equal(virtualPathContext.RouteName, namedRouter.Name); 287Assert.Equal("Route1", namedRouter.Name); 449Assert.Same(expectedRouteToMatch, ((INamedRouter)pathData.Router).Name); 550.SetupGet(e => e.Name)