1 write to Constraints
Microsoft.AspNetCore.Mvc.Abstractions (1)
ActionConstraints\ActionSelectorCandidate.cs (1)
25
Constraints
= constraints;
13 references to Constraints
Microsoft.AspNetCore.Mvc.Core (13)
ConsumesAttribute.cs (5)
169
candidate => candidate.
Constraints
== null ||
170
!candidate.
Constraints
.Any(constraint => constraint is IConsumesActionConstraint));
210
if (candidate.
Constraints
== null || candidate.
Constraints
.Count == 0 ||
211
candidate.
Constraints
.Any(constraint => constraint is IConsumesActionConstraint &&
Infrastructure\ActionSelector.cs (6)
157
if (candidate.
Constraints
!= null)
159
for (var j = 0; j < candidate.
Constraints
.Count; j++)
161
var constraint = candidate.
Constraints
[j];
195
if (candidate.
Constraints
!= null)
198
for (var j = 0; j < candidate.
Constraints
.Count; j++)
200
var constraint = candidate.
Constraints
[j];
Routing\ActionConstraintMatcherPolicy.cs (2)
168
var constraints = item.candidate.
Constraints
;
206
var constraints = item.candidate.
Constraints
;