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