Base:
method
WriteAsync
Microsoft.AspNetCore.Mvc.Formatters.OutputFormatter.WriteAsync(Microsoft.AspNetCore.Mvc.Formatters.OutputFormatterWriteContext)
32 references to WriteAsync
Microsoft.AspNetCore.Mvc.Core.Test (6)
Formatters\TextOutputFormatterTests.cs (6)
89
formatter.
WriteAsync
(formatterContext);
114
formatter.
WriteAsync
(formatterContext);
119
formatter.
WriteAsync
(formatterContext);
145
formatter.
WriteAsync
(formatterContext);
171
formatter.
WriteAsync
(formatterContext);
228
await formatter.
WriteAsync
(context);
Microsoft.AspNetCore.Mvc.Formatters.Xml.Test (26)
XmlDataContractSerializerOutputFormatterTest.cs (15)
105
await formatter.
WriteAsync
(outputFormatterContext);
167
await formatter.
WriteAsync
(formatterContext);
194
await formatter.
WriteAsync
(outputFormatterContext);
229
await formatter.
WriteAsync
(outputFormatterContext);
260
await formatter.
WriteAsync
(outputFormatterContext);
288
await formatter.
WriteAsync
(outputFormatterContext);
316
await formatter.
WriteAsync
(outputFormatterContext);
337
await formatter.
WriteAsync
(outputFormatterContext);
358
await formatter.
WriteAsync
(outputFormatterContext);
473
await Assert.ThrowsAsync<SerializationException>(async () => await formatter.
WriteAsync
(outputFormatterContext));
490
await Assert.ThrowsAsync<SerializationException>(async () => await formatter.
WriteAsync
(outputFormatterContext));
527
await formatter.
WriteAsync
(outputFormatterContext);
574
await formatter.
WriteAsync
(outputFormatterContext);
621
await formatter.
WriteAsync
(outputFormatterContext);
711
await formatter.
WriteAsync
(outputFormatterContext);
XmlSerializerOutputFormatterTest.cs (11)
59
await formatter.
WriteAsync
(outputFormatterContext);
95
await formatter.
WriteAsync
(outputFormatterContext);
115
await formatter.
WriteAsync
(outputFormatterContext);
171
await formatter.
WriteAsync
(formatterContext);
194
await formatter.
WriteAsync
(outputFormatterContext);
227
await formatter.
WriteAsync
(outputFormatterContext);
256
await formatter.
WriteAsync
(outputFormatterContext);
282
await formatter.
WriteAsync
(outputFormatterContext);
307
await formatter.
WriteAsync
(outputFormatterContext);
326
await formatter.
WriteAsync
(outputFormatterContext);
412
await formatter.
WriteAsync
(outputFormatterContext);