4 writes to Constraint
Microsoft.AspNetCore.Mvc.Core (3)
ActionConstraints\ActionConstraintCache.cs (1)
75
item.
Constraint
= null;
ActionConstraints\DefaultActionConstraintProvider.cs (2)
45
item.
Constraint
= constraint;
52
item.
Constraint
= factory.CreateInstance(services);
Microsoft.AspNetCore.Mvc.Core.Test (1)
Infrastructure\ActionSelectorTest.cs (1)
1183
item.
Constraint
= new BooleanConstraint() { Pass = marker.Pass };
5 references to Constraint
Microsoft.AspNetCore.Mvc.Abstractions (1)
ActionConstraints\ActionConstraintItem.cs (1)
34
/// Gets or sets a value indicating whether or not <see cref="
Constraint
"/> can be reused across requests.
Microsoft.AspNetCore.Mvc.Core (3)
ActionConstraints\ActionConstraintCache.cs (2)
141
if (items[i].
Constraint
!= null)
156
var actionConstraint = items[i].
Constraint
;
ActionConstraints\DefaultActionConstraintProvider.cs (1)
38
if (item.
Constraint
!= null)
Microsoft.AspNetCore.Mvc.Core.Test (1)
Infrastructure\ActionSelectorTest.cs (1)
1182
Assert.Null(item.
Constraint
);