12 instantiations of StringOutputFormatter
Microsoft.AspNetCore.Mvc.Core (1)
Infrastructure\MvcCoreMvcOptionsSetup.cs (1)
78options.OutputFormatters.Add(new StringOutputFormatter());
Microsoft.AspNetCore.Mvc.Core.Test (11)
CreatedAtActionResultTests.cs (1)
87options.Value.OutputFormatters.Add(new StringOutputFormatter());
CreatedAtRouteResultTests.cs (1)
101options.Value.OutputFormatters.Add(new StringOutputFormatter());
CreatedResultTests.cs (1)
124options.Value.OutputFormatters.Add(new StringOutputFormatter());
Formatters\FormatFilterTest.cs (1)
464MvcOptions.OutputFormatters.Add(new StringOutputFormatter());
Formatters\StringOutputFormatterTests.cs (5)
42var formatter = new StringOutputFormatter(); 64var formatter = new StringOutputFormatter(); 88var formatter = new StringOutputFormatter(); 112var formatter = new StringOutputFormatter(); 140var formatter = new StringOutputFormatter();
HttpNotFoundObjectResultTest.cs (1)
67options.Value.OutputFormatters.Add(new StringOutputFormatter());
HttpOkObjectResultTest.cs (1)
69options.Value.OutputFormatters.Add(new StringOutputFormatter());
7 references to StringOutputFormatter
Microsoft.AspNetCore.Mvc.Core (1)
Formatters\StringOutputFormatter.cs (1)
15/// Creates a new <see cref="StringOutputFormatter"/> that only supports plain text encoded as <see cref="P:System.Text.Encoding.UTF8" />
Microsoft.AspNetCore.Mvc.Core.Test (5)
Formatters\StringOutputFormatterTests.cs (5)
42var formatter = new StringOutputFormatter(); 64var formatter = new StringOutputFormatter(); 88var formatter = new StringOutputFormatter(); 112var formatter = new StringOutputFormatter(); 140var formatter = new StringOutputFormatter();
Microsoft.AspNetCore.Mvc.Test (1)
MvcOptionsSetupTest.cs (1)
93formatter => Assert.IsType<StringOutputFormatter>(formatter),