3 implementations of ReadAsync
Microsoft.AspNetCore.Mvc.Core (1)
Formatters\InputFormatter.cs (1)
92public virtual Task<InputFormatterResult> ReadAsync(InputFormatterContext context)
Microsoft.AspNetCore.Mvc.Core.Test (2)
ModelBinding\Binders\BodyModelBinderProviderTest.cs (1)
156public Task<InputFormatterResult> ReadAsync(InputFormatterContext context)
ModelBinding\Binders\BodyModelBinderTests.cs (1)
761public Task<InputFormatterResult> ReadAsync(InputFormatterContext context)
20 references to ReadAsync
Microsoft.AspNetCore.Mvc.Abstractions (14)
Formatters\InputFormatterResult.cs (14)
7/// Result of a <see cref="IInputFormatter.ReadAsync"/> operation. 28/// Gets an indication whether the <see cref="IInputFormatter.ReadAsync"/> operation had an error. 46/// Returns an <see cref="InputFormatterResult"/> indicating the <see cref="IInputFormatter.ReadAsync"/> 50/// An <see cref="InputFormatterResult"/> indicating the <see cref="IInputFormatter.ReadAsync"/> 60/// the <see cref="IInputFormatter.ReadAsync"/> operation failed. 64/// <see cref="IInputFormatter.ReadAsync"/> operation failed i.e. with <see cref="HasError"/> <c>true</c>. 72/// Returns an <see cref="InputFormatterResult"/> indicating the <see cref="IInputFormatter.ReadAsync"/> 77/// An <see cref="InputFormatterResult"/> indicating the <see cref="IInputFormatter.ReadAsync"/> 87/// the <see cref="IInputFormatter.ReadAsync"/> operation was successful. 92/// <see cref="IInputFormatter.ReadAsync"/> operation succeeded i.e. with <see cref="HasError"/> <c>false</c>. 100/// Returns an <see cref="InputFormatterResult"/> indicating the <see cref="IInputFormatter.ReadAsync"/> 104/// An <see cref="InputFormatterResult"/> indicating the <see cref="IInputFormatter.ReadAsync"/> 114/// the <see cref="IInputFormatter.ReadAsync"/> operation produced no value. 118/// <see cref="IInputFormatter.ReadAsync"/> operation produced no value.
Microsoft.AspNetCore.Mvc.Core (1)
ModelBinding\Binders\BodyModelBinder.cs (1)
155var result = await formatter.ReadAsync(formatterContext);
Microsoft.AspNetCore.Mvc.Core.Test (5)
ModelBinding\Binders\BodyModelBinderTests.cs (5)
28mockInputFormatter.Setup(o => o.ReadAsync(It.IsAny<InputFormatterContext>())) 47mockInputFormatter.Verify(v => v.ReadAsync(It.IsAny<InputFormatterContext>()), Times.Once); 125mockInputFormatter.Setup(o => o.ReadAsync(It.IsAny<InputFormatterContext>())) 167mockInputFormatter.Setup(o => o.ReadAsync(It.IsAny<InputFormatterContext>())) 186mockInputFormatter.Verify(formatter => formatter.ReadAsync(