2 references to SetMediaTypeMappingForFormat
Microsoft.AspNetCore.Mvc.Formatters.Xml.Test (2)
DependencyInjection\XmlDataContractSerializerMvcOptionsSetupTest.cs (1)
33
options.FormatterMappings.
SetMediaTypeMappingForFormat
("xml", "text/xml");
DependencyInjection\XmlSerializerMvcOptionsSetupTest.cs (1)
33
options.FormatterMappings.
SetMediaTypeMappingForFormat
("xml", "text/xml");