Implemented interface member:
method
CreateWriter
Microsoft.AspNetCore.Mvc.Infrastructure.IHttpResponseStreamWriterFactory.CreateWriter(System.IO.Stream, System.Text.Encoding)
54 references to CreateWriter
Microsoft.AspNetCore.Mvc.Core.Test (45)
Formatters\JsonOutputFormatterTestBase.cs (4)
42new TestHttpResponseStreamWriterFactory().CreateWriter, 93new TestHttpResponseStreamWriterFactory().CreateWriter, 125new TestHttpResponseStreamWriterFactory().CreateWriter, 186writerFactory ?? new TestHttpResponseStreamWriterFactory().CreateWriter,
Formatters\NoContentFormatterTests.cs (6)
43new TestHttpResponseStreamWriterFactory().CreateWriter, 67new TestHttpResponseStreamWriterFactory().CreateWriter, 95new TestHttpResponseStreamWriterFactory().CreateWriter, 120new TestHttpResponseStreamWriterFactory().CreateWriter, 139new TestHttpResponseStreamWriterFactory().CreateWriter, 162new TestHttpResponseStreamWriterFactory().CreateWriter,
Formatters\OutputFormatterTests.cs (3)
18new TestHttpResponseStreamWriterFactory().CreateWriter, 59new TestHttpResponseStreamWriterFactory().CreateWriter, 88new TestHttpResponseStreamWriterFactory().CreateWriter,
Formatters\StreamOutputFormatterTest.cs (3)
22new TestHttpResponseStreamWriterFactory().CreateWriter, 47new TestHttpResponseStreamWriterFactory().CreateWriter, 73new TestHttpResponseStreamWriterFactory().CreateWriter,
Formatters\StringOutputFormatterTests.cs (5)
47new TestHttpResponseStreamWriterFactory().CreateWriter, 67new TestHttpResponseStreamWriterFactory().CreateWriter, 93new TestHttpResponseStreamWriterFactory().CreateWriter, 115new TestHttpResponseStreamWriterFactory().CreateWriter, 143new TestHttpResponseStreamWriterFactory().CreateWriter,
Formatters\SystemTextJsonOutputFormatterTest.cs (6)
47new TestHttpResponseStreamWriterFactory().CreateWriter, 75new TestHttpResponseStreamWriterFactory().CreateWriter, 102new TestHttpResponseStreamWriterFactory().CreateWriter, 131new TestHttpResponseStreamWriterFactory().CreateWriter, 193new TestHttpResponseStreamWriterFactory().CreateWriter, 233new TestHttpResponseStreamWriterFactory().CreateWriter,
Formatters\TextOutputFormatterTests.cs (8)
55new TestHttpResponseStreamWriterFactory().CreateWriter, 81new TestHttpResponseStreamWriterFactory().CreateWriter, 103new TestHttpResponseStreamWriterFactory().CreateWriter, 134new TestHttpResponseStreamWriterFactory().CreateWriter, 160new TestHttpResponseStreamWriterFactory().CreateWriter, 191new TestHttpResponseStreamWriterFactory().CreateWriter, 220new TestHttpResponseStreamWriterFactory().CreateWriter, 246new TestHttpResponseStreamWriterFactory().CreateWriter,
Infrastructure\DefaultOutputFormatterSelectorTest.cs (10)
29new TestHttpResponseStreamWriterFactory().CreateWriter, 59new TestHttpResponseStreamWriterFactory().CreateWriter, 88new TestHttpResponseStreamWriterFactory().CreateWriter, 159new TestHttpResponseStreamWriterFactory().CreateWriter, 190new TestHttpResponseStreamWriterFactory().CreateWriter, 218new TestHttpResponseStreamWriterFactory().CreateWriter, 253new TestHttpResponseStreamWriterFactory().CreateWriter, 282new TestHttpResponseStreamWriterFactory().CreateWriter, 311new TestHttpResponseStreamWriterFactory().CreateWriter, 345new TestHttpResponseStreamWriterFactory().CreateWriter,
Microsoft.AspNetCore.Mvc.Formatters.Xml.Test (2)
XmlDataContractSerializerOutputFormatterTest.cs (1)
795new TestHttpResponseStreamWriterFactory().CreateWriter,
XmlSerializerOutputFormatterTest.cs (1)
577new TestHttpResponseStreamWriterFactory().CreateWriter,
Microsoft.AspNetCore.Mvc.NewtonsoftJson.Test (7)
NewtonsoftJsonOutputFormatterTest.cs (3)
450new TestHttpResponseStreamWriterFactory().CreateWriter, 495new TestHttpResponseStreamWriterFactory().CreateWriter, 529new TestHttpResponseStreamWriterFactory().CreateWriter,
src\Mvc\Mvc.Core\test\Formatters\JsonOutputFormatterTestBase.cs (4)
42new TestHttpResponseStreamWriterFactory().CreateWriter, 93new TestHttpResponseStreamWriterFactory().CreateWriter, 125new TestHttpResponseStreamWriterFactory().CreateWriter, 186writerFactory ?? new TestHttpResponseStreamWriterFactory().CreateWriter,