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