JsonPatchInputFormatter.CanRead(InputFormatterContext) Method

Definition

Determines whether this IInputFormatter can deserialize an object of the 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

Parameters

Returns

true if this IInputFormatter can deserialize an object of the context's ModelType. false otherwise.

Applies to