2 implementations of CreateWriter
Microsoft.AspNetCore.Mvc.Core (1)
Infrastructure\MemoryPoolHttpResponseStreamWriterFactory.cs (1)
54public TextWriter CreateWriter(Stream stream, Encoding encoding)
Microsoft.AspNetCore.Mvc.Core.TestCommon (1)
TestHttpResponseStreamWriterFactory.cs (1)
14public TextWriter CreateWriter(Stream stream, Encoding encoding)
7 references to CreateWriter
Microsoft.AspNetCore.Mvc.Core (3)
Infrastructure\ContentResultExecutor.cs (1)
62await using (var textWriter = _httpResponseStreamWriterFactory.CreateWriter(response.Body, resolvedContentTypeEncoding))
Infrastructure\DefaultApiProblemDetailsWriter.cs (1)
74_writerFactory.CreateWriter,
Infrastructure\ObjectResultExecutor.cs (1)
38WriterFactory = writerFactory.CreateWriter;
Microsoft.AspNetCore.Mvc.NewtonsoftJson (1)
NewtonsoftJsonResultExecutor.cs (1)
119await using (var writer = _writerFactory.CreateWriter(responseStream, resolvedContentTypeEncoding))
Microsoft.AspNetCore.Mvc.ViewFeatures (3)
ViewComponentResultExecutor.cs (2)
101await using var writer = _writerFactory.CreateWriter(response.Body, resolvedContentTypeEncoding); 127await using (var intermediateWriter = _writerFactory.CreateWriter(bufferingStream, resolvedContentTypeEncoding))
ViewExecutor.cs (1)
206await using (var writer = WriterFactory.CreateWriter(response.Body, resolvedContentTypeEncoding))