IInputFormatter Interface

Definition

Reads an object from the request body.

C#
public interface IInputFormatter
Derived

Methods

CanRead(InputFormatterContext)

Determines whether this IInputFormatter can deserialize an object of the context's ModelType.

ReadAsync(InputFormatterContext)

Reads an object from the request body.

Applies to

Product Versions
ASP.NET Core 1.0, 1.1, 2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0