1 instantiation of InputFormatterContext
Microsoft.AspNetCore.Mvc.Core (1)
ModelBinding\Binders\BodyModelBinder.cs (1)
108
var formatterContext = new
InputFormatterContext
(
24 references to InputFormatterContext
Microsoft.AspNetCore.Mvc.Abstractions (8)
Formatters\IInputFormatter.cs (6)
13
/// <paramref name="context"/>'s <see cref="
InputFormatterContext
.ModelType"/>.
15
/// <param name="context">The <see cref="
InputFormatterContext
"/>.</param>
18
/// <paramref name="context"/>'s <see cref="
InputFormatterContext
.ModelType"/>. <c>false</c> otherwise.
20
bool CanRead(
InputFormatterContext
context);
25
/// <param name="context">The <see cref="
InputFormatterContext
"/>.</param>
27
Task<InputFormatterResult> ReadAsync(
InputFormatterContext
context);
Formatters\InputFormatterContext.cs (2)
16
/// Creates a new instance of <see cref="
InputFormatterContext
"/>.
42
/// Creates a new instance of <see cref="
InputFormatterContext
"/>.
Microsoft.AspNetCore.Mvc.Core (14)
Formatters\InputFormatter.cs (4)
39
public virtual bool CanRead(
InputFormatterContext
context)
92
public virtual Task<InputFormatterResult> ReadAsync(
InputFormatterContext
context)
116
/// <param name="context">The <see cref="
InputFormatterContext
"/>.</param>
118
public abstract Task<InputFormatterResult> ReadRequestBodyAsync(
InputFormatterContext
context);
Formatters\SystemTextJsonInputFormatter.cs (1)
59
InputFormatterContext
context,
Formatters\TextInputFormatter.cs (5)
35
public override Task<InputFormatterResult> ReadRequestBodyAsync(
InputFormatterContext
context)
57
/// <param name="context">The <see cref="
InputFormatterContext
"/>.</param>
61
InputFormatterContext
context,
68
/// <param name="context">The <see cref="
InputFormatterContext
"/>.</param>
73
protected Encoding? SelectCharacterEncoding(
InputFormatterContext
context)
ModelBinding\Binders\BodyModelBinder.cs (4)
108
var
formatterContext = new InputFormatterContext(
202
public static void InputFormatterSelected(ILogger logger, IInputFormatter inputFormatter,
InputFormatterContext
formatterContext)
214
public static void InputFormatterRejected(ILogger logger, IInputFormatter inputFormatter,
InputFormatterContext
formatterContext)
226
public static void NoInputFormatterSelected(ILogger logger,
InputFormatterContext
formatterContext)
Microsoft.AspNetCore.Mvc.Formatters.Xml (2)
XmlDataContractSerializerInputFormatter.cs (1)
99
public override async Task<InputFormatterResult> ReadRequestBodyAsync(
InputFormatterContext
context, Encoding encoding)
XmlSerializerInputFormatter.cs (1)
82
InputFormatterContext
context,