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