2 writes to RouteName
Microsoft.AspNetCore.Routing (2)
RouteValuesAddressScheme.cs (1)
159RouteName = routeName,
Tree\TreeRouteBuilder.cs (1)
196RouteName = routeName,
16 references to RouteName
Microsoft.AspNetCore.Mvc.Core.Test (9)
Routing\AttributeRouteTest.cs (9)
149Assert.Equal("BLOG_INDEX", e.RouteName); 193Assert.Equal("BLOG_INDEX", e.RouteName); 237Assert.Equal("BLOG_INDEX", e.RouteName); 298Assert.Equal("BLOG_INDEX", e.RouteName); 308Assert.Equal("BLOG_INDEX", e.RouteName); 586Assert.Equal("BLOG_INDEX2", e.RouteName); 591Assert.Equal("BLOG_HOME", e.RouteName); 642Assert.Equal("BLOG_LINK2", e.RouteName); 647Assert.Equal("BLOG_HOME", e.RouteName);
Microsoft.AspNetCore.Routing (7)
RouteValuesAddressScheme.cs (3)
127if (string.IsNullOrEmpty(entry.RouteName)) 132if (!namedOutboundMatchResults.TryGetValue(entry.RouteName, out var matchResults)) 135namedOutboundMatchResults.Add(entry.RouteName, matchResults);
Tree\TreeRouter.cs (4)
99if (entry.RouteName == null) 107if (_namedEntries.TryGetValue(entry.RouteName, out var namedMatch) && 114Resources.FormatAttributeRoute_DifferentLinkGenerationEntries_SameName(entry.RouteName), 119_namedEntries.Add(entry.RouteName, outboundMatch);