1 write to Values
Microsoft.AspNetCore.Routing.Tests (1)
TestObjects\CapturingConstraint.cs (1)
19Values = new RouteValueDictionary(values);
12 references to Values
Microsoft.AspNetCore.Routing.Tests (12)
DefaultLinkGeneratorProcessTemplateTest.cs (4)
814Assert.Equal(expectedValues.OrderBy(kvp => kvp.Key), constraint.Values.OrderBy(kvp => kvp.Key)); 847Assert.Equal(expectedValues.OrderBy(kvp => kvp.Key), constraint.Values.OrderBy(kvp => kvp.Key)); 878Assert.Equal(expectedValues, constraint.Values); 913Assert.Equal(expectedValues.OrderBy(kvp => kvp.Key), constraint.Values.OrderBy(kvp => kvp.Key));
RouteTest.cs (8)
151Assert.True(constraint.Values.ContainsKey("country")); 152Assert.Equal("USA", constraint.Values["country"]); 153Assert.True(constraint.Values.ContainsKey("id")); 154Assert.Equal("5", constraint.Values["id"]); 1013Assert.Equal(expectedValues, constraint.Values); 1044Assert.Equal(expectedValues, constraint.Values); 1074Assert.Equal(expectedValues, constraint.Values); 1105Assert.Equal(expectedValues.OrderBy(kvp => kvp.Key), constraint.Values.OrderBy(kvp => kvp.Key));