1 write to WriterSettings
Microsoft.AspNetCore.Mvc.Formatters.Xml (1)
XmlDataContractSerializerOutputFormatter.cs (1)
75
WriterSettings
= writerSettings;
5 references to WriterSettings
Microsoft.AspNetCore.Mvc.Formatters.Xml (1)
XmlDataContractSerializerOutputFormatter.cs (1)
218
var writerSettings =
WriterSettings
.Clone();
Microsoft.AspNetCore.Mvc.Formatters.Xml.Test (4)
XmlDataContractSerializerOutputFormatterTest.cs (4)
144
var writerSettings = formatter.
WriterSettings
;
170
Assert.Same(writerSettings, formatter.
WriterSettings
);
285
formatter.
WriterSettings
.OmitXmlDeclaration = false;
312
formatter.
WriterSettings
.Indent = true;