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