1 write to Router
Microsoft.AspNetCore.Routing.Abstractions (1)
VirtualPathData.cs (1)
38Router = router;
80 references to Router
Microsoft.AspNetCore.Mvc.Routing.Abstractions.Tests (3)
VirtualPathDataTests.cs (3)
21Assert.Same(router, pathData.Router); 40Assert.Same(router, pathData.Router); 58Assert.Same(router, pathData.Router);
Microsoft.AspNetCore.Routing (1)
RouteCollection.cs (1)
184return new VirtualPathData(pathData.Router, url, pathData.DataTokens);
Microsoft.AspNetCore.Routing.Abstractions (2)
VirtualPathData.cs (2)
44/// Gets the collection of custom values for the <see cref="Router"/>. 65/// Gets or sets the URL that was generated from the <see cref="Router"/>.
Microsoft.AspNetCore.Routing.Tests (74)
RouteCollectionTest.cs (8)
53Assert.Same(target.Object, pathData.Router); 81Assert.Same(target.Object, pathData.Router); 119Assert.Same(target.Object, pathData.Router); 148Assert.Same(route, pathData.Router); 252var namedRouter = Assert.IsAssignableFrom<INamedRouter>(pathData.Router); 286var namedRouter = Assert.IsAssignableFrom<INamedRouter>(pathData.Router); 394Assert.Same(route, pathData.Router); 449Assert.Same(expectedRouteToMatch, ((INamedRouter)pathData.Router).Name);
RouteTest.cs (35)
611Assert.Same(route, pathData.Router); 643Assert.Same(route, pathData.Router); 676Assert.Same(route, pathData.Router); 694Assert.Same(route, pathData.Router); 712Assert.Same(route, pathData.Router); 730Assert.Same(route, pathData.Router); 748Assert.Same(route, pathData.Router); 782Assert.Same(target.Object, pathData.Router); 823Assert.Same(route, pathData.Router); 847Assert.Same(route, pathData.Router); 863Assert.Same(route, pathData.Router); 904Assert.Same(route, pathData.Router); 945Assert.Same(route, pathData.Router); 979Assert.Same(route, pathData.Router); 1010Assert.Same(route, pathData.Router); 1041Assert.Same(route, pathData.Router); 1071Assert.Same(route, pathData.Router); 1102Assert.Same(route, pathData.Router); 1121Assert.Same(route, pathData.Router); 1153Assert.Same(route, pathData.Router); 1170Assert.Same(route, pathData.Router); 1202Assert.Same(route, pathData.Router); 1225Assert.Same(route, pathData.Router); 1247Assert.Same(route, pathData.Router); 1269Assert.Same(route, pathData.Router); 1291Assert.Same(route, pathData.Router); 1313Assert.Same(route, pathData.Router); 1335Assert.Same(route, pathData.Router); 1357Assert.Same(route, pathData.Router); 1379Assert.Same(route, pathData.Router); 1401Assert.Same(route, pathData.Router); 1425Assert.Same(route, pathData.Router); 1449Assert.Same(route, pathData.Router); 1473Assert.Same(route, pathData.Router); 1497Assert.Same(route, pathData.Router);
Tree\TreeRouterTest.cs (31)
821Assert.Same(route, result.Router); 844Assert.Same(route, result.Router); 876Assert.Same(route, result.Router); 908Assert.Same(route, result.Router); 943Assert.Same(route, result.Router); 989Assert.Same(route, result.Router); 1026Assert.Same(route, result.Router); 1056Assert.Same(route, result.Router); 1086Assert.Same(route, result.Router); 1144Assert.Same(route, result.Router); 1230Assert.Same(route, result.Router); 1250Assert.Same(route, pathData.Router); 1270Assert.Same(route, pathData.Router); 1307Assert.Same(route, pathData.Router); 1327Assert.Same(route, pathData.Router); 1347Assert.Same(route, pathData.Router); 1372Assert.Same(route, pathData.Router); 1392Assert.Same(route, pathData.Router); 1413Assert.Same(route, pathData.Router); 1451Assert.Same(route, pathData.Router); 1471Assert.Same(route, pathData.Router); 1493Assert.Same(route, pathData.Router); 1518Assert.Same(route, pathData.Router); 1543Assert.Same(route, pathData.Router); 1570Assert.Same(route, pathData.Router); 1597Assert.Same(route, pathData.Router); 1691Assert.Same(route, pathData.Router); 1914Assert.Same(route, pathData.Router); 1936Assert.Same(route, pathData.Router); 1958Assert.Same(route, pathData.Router); 1980Assert.Same(route, pathData.Router);