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