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