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