语言

IInputFormatter 接口

定义

从请求正文中读取对象。

public interface class IInputFormatter
public interface IInputFormatter
type IInputFormatter = interface
Public Interface IInputFormatter
派生

方法

名称 说明
CanRead(InputFormatterContext)

确定这IInputFormatter是否可以反序列化 的 ModelType对象context。

ReadAsync(InputFormatterContext)

从请求正文中读取对象。

适用于