Implemented interface member:
method
Accept
Microsoft.AspNetCore.Mvc.ActionConstraints.IActionConstraint.Accept(Microsoft.AspNetCore.Mvc.ActionConstraints.ActionConstraintContext)
9 references to Accept
Microsoft.AspNetCore.Mvc.Core.Test (9)
ConsumesAttributeTests.cs (9)
101
Assert.True(constraint.
Accept
(context));
136
Assert.False(constraint1.
Accept
(context));
174
Assert.True(constraint1.
Accept
(context));
211
Assert.False(constraint1.
Accept
(context));
213
Assert.False(constraint2.
Accept
(context));
250
Assert.False(constraint1.
Accept
(context));
253
Assert.False(constraint2.
Accept
(context));
289
Assert.True(constraint1.
Accept
(context));
291
Assert.True(constraint2.
Accept
(context));