2 writes to Values
Microsoft.AspNetCore.Routing (2)
Matching\CandidateState.cs (2)
17
Values
= null;
23
Values
= values;
31 references to Values
Microsoft.AspNetCore.Mvc.Core (2)
Routing\ActionConstraintMatcherPolicy.cs (1)
219
var routeData = new RouteData(candidate.
Values
!);
Routing\DynamicControllerEndpointMatcherPolicy.cs (1)
77
var originalValues = candidates[i].
Values
!;
Microsoft.AspNetCore.Mvc.Core.Test (4)
Routing\DynamicControllerEndpointMatcherPolicyTest.cs (4)
155
Assert.Null(candidates[0].
Values
);
191
candidates[0].
Values
.OrderBy(kvp => kvp.Key),
269
candidates[0].
Values
.OrderBy(kvp => kvp.Key),
369
candidates[0].
Values
.OrderBy(kvp => kvp.Key),
Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation (3)
PageLoaderMatcherPolicy.cs (3)
81
candidates.ReplaceEndpoint(i, compiled.Result.Endpoint, candidate.
Values
);
99
candidates.ReplaceEndpoint(index, compiled.Endpoint, candidates[index].
Values
);
116
candidates.ReplaceEndpoint(i, compiled.Endpoint, candidates[i].
Values
);
Microsoft.AspNetCore.Mvc.RazorPages (1)
Infrastructure\DynamicPageEndpointMatcherPolicy.cs (1)
79
var originalValues = candidates[i].
Values
;
Microsoft.AspNetCore.Mvc.RazorPages.Test (4)
Infrastructure\DynamicPageEndpointMatcherPolicyTest.cs (4)
172
Assert.Null(candidates[0].
Values
);
207
candidates[0].
Values
.OrderBy(kvp => kvp.Key),
248
candidates[0].
Values
.OrderBy(kvp => kvp.Key),
375
candidates[0].
Values
.OrderBy(kvp => kvp.Key),
Microsoft.AspNetCore.Routing (6)
Matching\CandidateSet.cs (4)
148
candidate = new CandidateState(candidate.Endpoint, candidate.
Values
, score);
236
ReplaceEndpoint(index, endpoints[0], Candidates[index].
Values
);
242
var values = Candidates[index].
Values
;
305
Candidates[i + endpoints.Count - 1] = new CandidateState(original[i].Endpoint, original[i].
Values
, original[i].Score + scoreOffset);
Matching\DefaultEndpointSelector.cs (2)
40
httpContext.Request.RouteValues = state.
Values
!;
75
values = state.
Values
;
Microsoft.AspNetCore.Routing.Tests (11)
Matching\CandidateSetTest.cs (5)
37
Assert.Null(state.
Values
);
72
Assert.Same(values, state.
Values
);
102
Assert.Null(state.
Values
);
362
Assert.NotNull(state.
Values
);
363
Assert.Equal(i, state.
Values
["i"]);
Matching\DfaMatcherTest.cs (6)
656
Assert.Null(cs[0].
Values
);
661
Assert.Null(cs[1].
Values
);
702
Assert.Empty(cs[0].
Values
);
707
Assert.Empty(cs[1].
Values
);
749
Assert.Empty(cs[0].
Values
);
754
Assert.Empty(cs[1].
Values
);