3 types derived from XmlSerializerOutputFormatter
Microsoft.AspNetCore.Mvc.Formatters.Xml.Test (3)
XmlSerializerOutputFormatterTest.cs (3)
595private class TestXmlSerializerOutputFormatter : XmlSerializerOutputFormatter 614private class IndentingXmlSerializerOutputFormatter : XmlSerializerOutputFormatter 631private class IgnoreAmbientNamespacesXmlSerializerOutputFormatter : XmlSerializerOutputFormatter
21 instantiations of XmlSerializerOutputFormatter
FormatterWebSite (2)
Controllers\DataContractSerializerController.cs (1)
20result.Formatters.Add(new XmlSerializerOutputFormatter());
Controllers\XmlSerializerController.cs (1)
17result.Formatters.Add(new XmlSerializerOutputFormatter());
Microsoft.AspNetCore.Mvc.Formatters.Xml (1)
DependencyInjection\XmlSerializerMvcOptionsSetup.cs (1)
49var outputFormatter = new XmlSerializerOutputFormatter(_loggerFactory);
Microsoft.AspNetCore.Mvc.Formatters.Xml.Test (18)
XmlSerializerOutputFormatterTest.cs (18)
55var formatter = new XmlSerializerOutputFormatter(); 147var formatter = new XmlSerializerOutputFormatter(); 165var formatter = new XmlSerializerOutputFormatter(writerSettings); 190var formatter = new XmlSerializerOutputFormatter(); 223var formatter = new XmlSerializerOutputFormatter(); 248var formatter = new XmlSerializerOutputFormatter( 278var formatter = new XmlSerializerOutputFormatter(); 302var formatter = new XmlSerializerOutputFormatter(); 322var formatter = new XmlSerializerOutputFormatter(); 355var formatter = new XmlSerializerOutputFormatter(); 386var formatter = new XmlSerializerOutputFormatter(); 405var formatter = new XmlSerializerOutputFormatter(); 432var formatter = new XmlSerializerOutputFormatter(); 453var formatter1 = new XmlSerializerOutputFormatter(new TestLoggerFactory(sink1, enabled: true)); 456var formatter2 = new XmlSerializerOutputFormatter( 493var formatter = new XmlSerializerOutputFormatter(); // no logger is being supplied here on purpose 507var formatter = new XmlSerializerOutputFormatter(); 547var formatter = new XmlSerializerOutputFormatter();
31 references to XmlSerializerOutputFormatter
Microsoft.AspNetCore.Mvc.Formatters.Xml (5)
DependencyInjection\XmlSerializerMvcOptionsSetup.cs (1)
49var outputFormatter = new XmlSerializerOutputFormatter(_loggerFactory);
XmlSerializerOutputFormatter.cs (4)
31/// Initializes a new instance of <see cref="XmlSerializerOutputFormatter"/> 40/// Initializes a new instance of <see cref="XmlSerializerOutputFormatter"/> 50/// Initializes a new instance of <see cref="XmlSerializerOutputFormatter"/>. 59/// Initializes a new instance of <see cref="XmlSerializerOutputFormatter"/>
Microsoft.AspNetCore.Mvc.Formatters.Xml.Test (22)
DependencyInjection\XmlSerializerMvcOptionsSetupTest.cs (1)
68Assert.IsType<XmlSerializerOutputFormatter>(Assert.Single(options.OutputFormatters));
XmlSerializerOutputFormatterTest.cs (21)
55var formatter = new XmlSerializerOutputFormatter(); 147var formatter = new XmlSerializerOutputFormatter(); 165var formatter = new XmlSerializerOutputFormatter(writerSettings); 190var formatter = new XmlSerializerOutputFormatter(); 223var formatter = new XmlSerializerOutputFormatter(); 248var formatter = new XmlSerializerOutputFormatter( 278var formatter = new XmlSerializerOutputFormatter(); 302var formatter = new XmlSerializerOutputFormatter(); 322var formatter = new XmlSerializerOutputFormatter(); 355var formatter = new XmlSerializerOutputFormatter(); 386var formatter = new XmlSerializerOutputFormatter(); 405var formatter = new XmlSerializerOutputFormatter(); 432var formatter = new XmlSerializerOutputFormatter(); 448public static TheoryData<XmlSerializerOutputFormatter, TestSink> LogsWhenUnableToCreateSerializerForTypeData 453var formatter1 = new XmlSerializerOutputFormatter(new TestLoggerFactory(sink1, enabled: true)); 456var formatter2 = new XmlSerializerOutputFormatter( 460return new TheoryData<XmlSerializerOutputFormatter, TestSink>() 471XmlSerializerOutputFormatter formatter, 493var formatter = new XmlSerializerOutputFormatter(); // no logger is being supplied here on purpose 507var formatter = new XmlSerializerOutputFormatter(); 547var formatter = new XmlSerializerOutputFormatter();
XmlFormattersWebSite (4)
Controllers\XmlSerializedApiController.cs (2)
27var xmlFormatter = mvcOptions.Value.OutputFormatters.OfType<XmlSerializerOutputFormatter>().First();
Startup.cs (2)
29XmlSerializerOutputFormatter xmlSerializerOutputFormatter = null; 55case XmlSerializerOutputFormatter formatter: