21 references to XmlDataContractSerializerOutputFormatter
ApiExplorerWebSite (1)
Startup.cs (1)
28options.OutputFormatters.Add(new XmlDataContractSerializerOutputFormatter());
FormatterWebSite (1)
Controllers\DataContractSerializerController.cs (1)
21result.Formatters.Add(new XmlDataContractSerializerOutputFormatter());
Microsoft.AspNetCore.Mvc.Formatters.Xml.Test (19)
XmlDataContractSerializerOutputFormatterTest.cs (19)
101var formatter = new XmlDataContractSerializerOutputFormatter(); 141var formatter = new XmlDataContractSerializerOutputFormatter(); 190var formatter = new XmlDataContractSerializerOutputFormatter(); 225var formatter = new XmlDataContractSerializerOutputFormatter(); 284var formatter = new XmlDataContractSerializerOutputFormatter(); 311var formatter = new XmlDataContractSerializerOutputFormatter(); 333var formatter = new XmlDataContractSerializerOutputFormatter(); 351var formatter = new XmlDataContractSerializerOutputFormatter(); 382var formatter = new XmlDataContractSerializerOutputFormatter(); 415var formatter = new XmlDataContractSerializerOutputFormatter(); 446var formatter = new XmlDataContractSerializerOutputFormatter(); 469var formatter = new XmlDataContractSerializerOutputFormatter(); 486var formatter = new XmlDataContractSerializerOutputFormatter(); 520var formatter = new XmlDataContractSerializerOutputFormatter 567var formatter = new XmlDataContractSerializerOutputFormatter 614var formatter = new XmlDataContractSerializerOutputFormatter 675var formatter = new XmlDataContractSerializerOutputFormatter(); // no logger is being supplied here on purpose 725var formatter = new XmlDataContractSerializerOutputFormatter(); 765var formatter = new XmlDataContractSerializerOutputFormatter();