2 writes to Defaults
Microsoft.AspNetCore.Routing (2)
RouteValuesAddressScheme.cs (1)
161entry.Defaults = new RouteValueDictionary(endpoint.RoutePattern.Defaults);
Tree\TreeRouteBuilder.cs (1)
219entry.Defaults = new RouteValueDictionary();
8 references to Defaults
Microsoft.AspNetCore.Mvc.Core.Test (5)
Routing\AttributeRouteTest.cs (5)
147Assert.Empty(e.Defaults); 191Assert.Empty(e.Defaults); 235Assert.Equal(new RouteValueDictionary(new { slug = "hello" }), e.Defaults); 296Assert.Empty(e.Defaults); 306Assert.Empty(e.Defaults);
Microsoft.AspNetCore.Routing (2)
Tree\TreeRouteBuilder.cs (1)
224entry.Defaults.Add(parameter.Name, parameter.DefaultValue);
Tree\TreeRouter.cs (1)
94var binder = new TemplateBinder(urlEncoder, objectPool, entry.RouteTemplate, entry.Defaults);
Microsoft.AspNetCore.Routing.Tests (1)
Tree\TreeRouterTest.cs (1)
2048entry.Defaults["test_route_group"] = CreateRouteGroup(order, template);