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)
89formatter.WriteAsync(formatterContext); 114formatter.WriteAsync(formatterContext); 119formatter.WriteAsync(formatterContext); 145formatter.WriteAsync(formatterContext); 171formatter.WriteAsync(formatterContext); 228await formatter.WriteAsync(context);
Microsoft.AspNetCore.Mvc.Formatters.Xml.Test (26)
XmlDataContractSerializerOutputFormatterTest.cs (15)
105await formatter.WriteAsync(outputFormatterContext); 167await formatter.WriteAsync(formatterContext); 194await formatter.WriteAsync(outputFormatterContext); 229await formatter.WriteAsync(outputFormatterContext); 260await formatter.WriteAsync(outputFormatterContext); 288await formatter.WriteAsync(outputFormatterContext); 316await formatter.WriteAsync(outputFormatterContext); 337await formatter.WriteAsync(outputFormatterContext); 358await formatter.WriteAsync(outputFormatterContext); 473await Assert.ThrowsAsync<SerializationException>(async () => await formatter.WriteAsync(outputFormatterContext)); 490await Assert.ThrowsAsync<SerializationException>(async () => await formatter.WriteAsync(outputFormatterContext)); 527await formatter.WriteAsync(outputFormatterContext); 574await formatter.WriteAsync(outputFormatterContext); 621await formatter.WriteAsync(outputFormatterContext); 711await formatter.WriteAsync(outputFormatterContext);
XmlSerializerOutputFormatterTest.cs (11)
59await formatter.WriteAsync(outputFormatterContext); 95await formatter.WriteAsync(outputFormatterContext); 115await formatter.WriteAsync(outputFormatterContext); 171await formatter.WriteAsync(formatterContext); 194await formatter.WriteAsync(outputFormatterContext); 227await formatter.WriteAsync(outputFormatterContext); 256await formatter.WriteAsync(outputFormatterContext); 282await formatter.WriteAsync(outputFormatterContext); 307await formatter.WriteAsync(outputFormatterContext); 326await formatter.WriteAsync(outputFormatterContext); 412await formatter.WriteAsync(outputFormatterContext);