3 implementations of CanRead
Microsoft.AspNetCore.Mvc.Core (1)
Formatters\InputFormatter.cs (1)
39
public virtual bool
CanRead
(InputFormatterContext context)
Microsoft.AspNetCore.Mvc.Core.Test (2)
ModelBinding\Binders\BodyModelBinderProviderTest.cs (1)
151
public bool
CanRead
(InputFormatterContext context)
ModelBinding\Binders\BodyModelBinderTests.cs (1)
756
public bool
CanRead
(InputFormatterContext context)
7 references to CanRead
Microsoft.AspNetCore.Mvc.Core (1)
ModelBinding\Binders\BodyModelBinder.cs (1)
119
if (_formatters[i].
CanRead
(formatterContext))
Microsoft.AspNetCore.Mvc.Core.Test (6)
ModelBinding\Binders\BodyModelBinderTests.cs (6)
25
mockInputFormatter.Setup(f => f.
CanRead
(It.IsAny<InputFormatterContext>()))
46
mockInputFormatter.Verify(v => v.
CanRead
(It.IsAny<InputFormatterContext>()), Times.Once);
123
mockInputFormatter.Setup(f => f.
CanRead
(It.IsAny<InputFormatterContext>()))
165
mockInputFormatter.Setup(f => f.
CanRead
(It.IsAny<InputFormatterContext>()))
196
mockInputFormatter.Setup(f => f.
CanRead
(It.IsAny<InputFormatterContext>()))
224
mockInputFormatter.Setup(f => f.
CanRead
(It.IsAny<InputFormatterContext>()))