1 write to MvcOptions
Microsoft.AspNetCore.Mvc.Core.Test (1)
Formatters\FormatFilterTest.cs (1)
460MvcOptions = OptionsManager.Value;
8 references to MvcOptions
Microsoft.AspNetCore.Mvc.Core.Test (8)
Formatters\FormatFilterTest.cs (8)
117mockObjects.MvcOptions.FormatterMappings.SetMediaTypeMappingForFormat( 200mockObjects.MvcOptions.FormatterMappings.SetMediaTypeMappingForFormat( 221mockObjects.MvcOptions.FormatterMappings.SetMediaTypeMappingForFormat( 247mockObjects.MvcOptions.FormatterMappings.SetMediaTypeMappingForFormat( 463MvcOptions.OutputFormatters.Add(new HttpNoContentOutputFormatter()); 464MvcOptions.OutputFormatters.Add(new StringOutputFormatter()); 465MvcOptions.OutputFormatters.Add(SystemTextJsonOutputFormatter.CreateFormatter(new JsonOptions())); 468MvcOptions.FormatterMappings.SetMediaTypeMappingForFormat(