JsonPatchInputFormatter.CanRead(InputFormatterContext) Metoda

Definice

Určuje, zda to IInputFormatter může deserializovat objekt context's ModelType.

public:
 override bool CanRead(Microsoft::AspNetCore::Mvc::Formatters::InputFormatterContext ^ context);
public override bool CanRead (Microsoft.AspNetCore.Mvc.Formatters.InputFormatterContext context);
override this.CanRead : Microsoft.AspNetCore.Mvc.Formatters.InputFormatterContext -> bool
Public Overrides Function CanRead (context As InputFormatterContext) As Boolean

Parametry

Návraty

Boolean

true , pokud to IInputFormatter může deserializovat objekt context's ModelType. jinak nepravda .

Platí pro