Implemented interface member:
method
ReadAsync
Microsoft.AspNetCore.Mvc.Formatters.IInputFormatter.ReadAsync(Microsoft.AspNetCore.Mvc.Formatters.InputFormatterContext)
112 references to ReadAsync
Microsoft.AspNetCore.Mvc.Core.Test (29)
Formatters\InputFormatterTest.cs (1)
424
var result = await formatter.
ReadAsync
(context);
Formatters\JsonInputFormatterTestBase.cs (22)
76
var result = await formatter.
ReadAsync
(formatterContext);
97
var result = await formatter.
ReadAsync
(formatterContext);
118
var result = await formatter.
ReadAsync
(formatterContext);
143
var result = await formatter.
ReadAsync
(formatterContext);
170
var result = await formatter.
ReadAsync
(formatterContext);
198
var result = await formatter.
ReadAsync
(formatterContext);
224
var result = await formatter.
ReadAsync
(formatterContext);
245
var result = await formatter.
ReadAsync
(formatterContext);
267
var result = await formatter.
ReadAsync
(formatterContext);
299
var result = await formatter.
ReadAsync
(formatterContext);
322
var result = await formatter.
ReadAsync
(formatterContext);
348
var result = await formatter.
ReadAsync
(formatterContext);
375
var result = await formatter.
ReadAsync
(formatterContext);
400
var result = await formatter.
ReadAsync
(formatterContext);
429
var result = await formatter.
ReadAsync
(formatterContext);
459
var result = await formatter.
ReadAsync
(formatterContext);
482
var result = await formatter.
ReadAsync
(formatterContext);
506
var result = await formatter.
ReadAsync
(formatterContext);
530
var result = await formatter.
ReadAsync
(formatterContext);
552
var result = await formatter.
ReadAsync
(formatterContext);
574
var result = await formatter.
ReadAsync
(formatterContext);
600
var result = await formatter.
ReadAsync
(formatterContext);
Formatters\SystemTextJsonInputFormatterTest.cs (5)
77
await formatter.
ReadAsync
(formatterContext);
101
await formatter.
ReadAsync
(formatterContext);
122
await formatter.
ReadAsync
(formatterContext);
150
var result = await formatter.
ReadAsync
(formatterContext);
172
var result = await formatter.
ReadAsync
(formatterContext);
Formatters\TextInputFormatterTest.cs (1)
30
var result = await formatter.
ReadAsync
(context);
Microsoft.AspNetCore.Mvc.Formatters.Xml.Test (40)
XmlDataContractSerializerInputFormatterTest.cs (22)
154
var result = await formatter.
ReadAsync
(context);
185
var result = await formatter.
ReadAsync
(context);
218
var result = await formatter.
ReadAsync
(context);
229
await Assert.ThrowsAsync<XmlException>(() => formatter.
ReadAsync
(context));
253
var result = await formatter.
ReadAsync
(context);
285
var result = await formatter.
ReadAsync
(context);
312
var result = await formatter.
ReadAsync
(context);
346
var result = await formatter.
ReadAsync
(context);
357
await Assert.ThrowsAsync<XmlException>(() => formatter.
ReadAsync
(context));
378
var result = await formatter.
ReadAsync
(context);
404
var result = await formatter.
ReadAsync
(context);
426
await Assert.ThrowsAsync<InputFormatterException>(async () => await formatter.
ReadAsync
(context));
442
await Assert.ThrowsAsync<InputFormatterException>(async () => await formatter.
ReadAsync
(context));
466
var result = await formatter.
ReadAsync
(context);
494
var ex = await Assert.ThrowsAsync(expectedException, () => formatter.
ReadAsync
(context));
523
var ex = await Assert.ThrowsAsync(expectedException, () => formatter.
ReadAsync
(context));
549
var result = await formatter.
ReadAsync
(context);
587
var result = await formatter.
ReadAsync
(context);
615
await Assert.ThrowsAsync<InputFormatterException>(async () => await formatter.
ReadAsync
(context));
647
var result = await formatter.
ReadAsync
(context);
674
await Assert.ThrowsAsync<InputFormatterException>(async () => await formatter.
ReadAsync
(context));
706
var result = await formatter.
ReadAsync
(context);
XmlSerializerInputFormatterTest.cs (18)
59
var result = await formatter.
ReadAsync
(context);
96
var result = await formatter.
ReadAsync
(context);
132
var result = await formatter.
ReadAsync
(context);
168
var result = await formatter.
ReadAsync
(context);
182
await Assert.ThrowsAsync<XmlException>(() => formatter.
ReadAsync
(context));
212
var result = await formatter.
ReadAsync
(context);
226
await Assert.ThrowsAsync<XmlException>(() => formatter.
ReadAsync
(context));
348
var result = await formatter.
ReadAsync
(context);
382
var result = await formatter.
ReadAsync
(context);
411
var result = await formatter.
ReadAsync
(context);
438
await Assert.ThrowsAsync<InputFormatterException>(() => formatter.
ReadAsync
(context));
459
await Assert.ThrowsAsync<InputFormatterException>(() => formatter.
ReadAsync
(context));
483
var result = await formatter.
ReadAsync
(context);
514
var ex = await Assert.ThrowsAsync(expectedException, () => formatter.
ReadAsync
(context));
544
var ex = await Assert.ThrowsAsync(expectedException, () => formatter.
ReadAsync
(context));
569
var result = await formatter.
ReadAsync
(context);
608
var result = await formatter.
ReadAsync
(context);
640
var result = await formatter.
ReadAsync
(context);
Microsoft.AspNetCore.Mvc.NewtonsoftJson.Test (43)
NewtonsoftJsonInputFormatterTest.cs (15)
47
var result = await formatter.
ReadAsync
(formatterContext);
83
var result = await formatter.
ReadAsync
(formatterContext);
121
var result = await formatter.
ReadAsync
(formatterContext);
131
result = await formatter.
ReadAsync
(formatterContext);
166
var result = await formatter.
ReadAsync
(formatterContext);
243
var result = await formatter.
ReadAsync
(formatterContext);
268
var result = await formatter.
ReadAsync
(formatterContext);
298
var result = await formatter.
ReadAsync
(formatterContext);
331
var result = await formatter.
ReadAsync
(formatterContext);
363
var result = await formatter.
ReadAsync
(formatterContext);
394
var result = await formatter.
ReadAsync
(formatterContext);
425
var result = await formatter.
ReadAsync
(formatterContext);
463
var result = await formatter.
ReadAsync
(formatterContext);
511
var result = await formatter.
ReadAsync
(formatterContext);
554
var result = await formatter.
ReadAsync
(formatterContext);
NewtonsoftJsonPatchInputFormatterTest.cs (6)
46
var result = await formatter.
ReadAsync
(formatterContext);
85
var result = await formatter.
ReadAsync
(formatterContext);
96
result = await formatter.
ReadAsync
(formatterContext);
116
var result = await formatter.
ReadAsync
(formatterContext);
140
var result = await formatter.
ReadAsync
(formatterContext);
215
var result = await formatter.
ReadAsync
(formatterContext);
src\Mvc\Mvc.Core\test\Formatters\JsonInputFormatterTestBase.cs (22)
76
var result = await formatter.
ReadAsync
(formatterContext);
97
var result = await formatter.
ReadAsync
(formatterContext);
118
var result = await formatter.
ReadAsync
(formatterContext);
143
var result = await formatter.
ReadAsync
(formatterContext);
170
var result = await formatter.
ReadAsync
(formatterContext);
198
var result = await formatter.
ReadAsync
(formatterContext);
224
var result = await formatter.
ReadAsync
(formatterContext);
245
var result = await formatter.
ReadAsync
(formatterContext);
267
var result = await formatter.
ReadAsync
(formatterContext);
299
var result = await formatter.
ReadAsync
(formatterContext);
322
var result = await formatter.
ReadAsync
(formatterContext);
348
var result = await formatter.
ReadAsync
(formatterContext);
375
var result = await formatter.
ReadAsync
(formatterContext);
400
var result = await formatter.
ReadAsync
(formatterContext);
429
var result = await formatter.
ReadAsync
(formatterContext);
459
var result = await formatter.
ReadAsync
(formatterContext);
482
var result = await formatter.
ReadAsync
(formatterContext);
506
var result = await formatter.
ReadAsync
(formatterContext);
530
var result = await formatter.
ReadAsync
(formatterContext);
552
var result = await formatter.
ReadAsync
(formatterContext);
574
var result = await formatter.
ReadAsync
(formatterContext);
600
var result = await formatter.
ReadAsync
(formatterContext);