1 write to RouteName
Microsoft.AspNetCore.Routing.Abstractions (1)
VirtualPathContext.cs (1)
43
RouteName
= routeName;
8 references to RouteName
Microsoft.AspNetCore.Mvc.Core.Test (1)
Routing\UrlHelperTest.cs (1)
118
.Setup(mock => mock.GetVirtualPath(It.Is<VirtualPathContext>(c => string.Equals(c.
RouteName
, mockRouteName))))
Microsoft.AspNetCore.Routing (5)
RouteCollection.cs (3)
101
if (!string.IsNullOrEmpty(context.
RouteName
))
105
if (_namedRoutes.TryGetValue(context.
RouteName
, out var matchedNamedRoute))
115
var message = Resources.FormatNamedRoutes_AmbiguousRoutesFound(context.
RouteName
);
Tree\TreeRouter.cs (2)
144
if (context.
RouteName
!= null)
268
if (_namedEntries.TryGetValue(context.
RouteName
, out var match))
Microsoft.AspNetCore.Routing.Tests (2)
RouteCollectionTest.cs (2)
253
Assert.Equal(virtualPathContext.
RouteName
, namedRouter.Name);
546
c.
RouteName
== name ? new VirtualPathData(target.Object, matchValue) : null)