292 instantiations of MvcOptions
BasicWebSite (1)
FormatterWebSite (1)
Microsoft.AspNetCore.Mvc.Abstractions.Test (1)
Microsoft.AspNetCore.Mvc.ApiExplorer.Test (11)
Microsoft.AspNetCore.Mvc.Core (1)
Microsoft.AspNetCore.Mvc.Core.Test (134)
ModelBinding\Binders\BodyModelBinderTests.cs (17)
265var binder = CreateBinder(new[] { formatter }, new MvcOptions());
288{ new XmlSerializerInputFormatter(new MvcOptions()) },
289{ new XmlDataContractSerializerInputFormatter(new MvcOptions()) },
308var binder = CreateBinder(new[] { formatter }, new MvcOptions());
339new MvcOptions());
379var binder = CreateBinder(new[] { formatter }, new MvcOptions());
410new MvcOptions());
455var binder = CreateBinder(new[] { formatter }, new MvcOptions());
490var binder = CreateBinder(new[] { formatter }, new MvcOptions());
523var binder = CreateBinder(new[] { formatter }, new MvcOptions());
709var options = new MvcOptions();
772: base(GetLogger(), new JsonSerializerSettings(), ArrayPool<char>.Shared, new DefaultObjectPoolProvider(), new MvcOptions(), new MvcNewtonsoftJsonOptions()
798: base(new MvcOptions())
820: base(new MvcOptions())
842: base(GetLogger(), new JsonSerializerSettings(), ArrayPool<char>.Shared, new DefaultObjectPoolProvider(), new MvcOptions(), new MvcNewtonsoftJsonOptions()
868: base(new MvcOptions())
890: base(new MvcOptions())
ModelBinding\ModelBindingHelperTest.cs (7)
80new DefaultObjectValidator(metadataProvider, new[] { validator }, new MvcOptions()));
120new DefaultObjectValidator(metadataProvider, new[] { validator }, new MvcOptions()));
198new DefaultObjectValidator(metadataProvider, new[] { validator }, new MvcOptions()),
274new DefaultObjectValidator(metadataProvider, new[] { validator }, new MvcOptions()),
325new DefaultObjectValidator(metadataProvider, new[] { validator }, new MvcOptions()));
529new DefaultObjectValidator(metadataProvider, new[] { validator }, new MvcOptions()),
597new DefaultObjectValidator(metadataProvider, new[] { validator }, new MvcOptions()));
Microsoft.AspNetCore.Mvc.Core.TestCommon (9)
Microsoft.AspNetCore.Mvc.Cors.Test (2)
Microsoft.AspNetCore.Mvc.DataAnnotations.Test (4)
Microsoft.AspNetCore.Mvc.Formatters.Xml.Test (57)
Microsoft.AspNetCore.Mvc.IntegrationTests (7)
Microsoft.AspNetCore.Mvc.NewtonsoftJson.Test (36)
NewtonsoftJsonInputFormatterTest.cs (12)
34new MvcOptions(),
61var mvcOptions = new MvcOptions()
97var mvcOptions = new MvcOptions()
319new MvcOptions(),
354new MvcOptions(),
385new MvcOptions(),
416new MvcOptions(),
445new MvcOptions(),
493new MvcOptions(),
541new MvcOptions(),
566: base(GetLogger(), settings, ArrayPool<char>.Shared, objectPoolProvider, new MvcOptions(), new MvcNewtonsoftJsonOptions())
590new MvcOptions(),
NewtonsoftJsonOutputFormatterTest.cs (7)
22return new NewtonsoftJsonOutputFormatter(new JsonSerializerSettings(), ArrayPool<char>.Shared, new MvcOptions(), new MvcNewtonsoftJsonOptions());
76var jsonFormatter = new NewtonsoftJsonOutputFormatter(settings, ArrayPool<char>.Shared, new MvcOptions());
106var jsonFormatter = new NewtonsoftJsonOutputFormatter(settings, ArrayPool<char>.Shared, new MvcOptions(), new MvcNewtonsoftJsonOptions()
133var jsonFormatter = new NewtonsoftJsonOutputFormatter(settings, ArrayPool<char>.Shared, new MvcOptions(), new MvcNewtonsoftJsonOptions());
351var formatter = new NewtonsoftJsonOutputFormatter(new JsonSerializerSettings(), ArrayPool<char>.Shared, new MvcOptions(), new MvcNewtonsoftJsonOptions());
382var formatter = new NewtonsoftJsonOutputFormatter(new JsonSerializerSettings(), ArrayPool<char>.Shared, new MvcOptions(), new MvcNewtonsoftJsonOptions());
555: base(serializerSettings, ArrayPool<char>.Shared, new MvcOptions(), new MvcNewtonsoftJsonOptions())
Microsoft.AspNetCore.Mvc.RazorPages.Test (18)
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (9)
Microsoft.AspNetCore.OpenApi.Tests (1)
441 references to MvcOptions
BasicWebSite (3)
CorsWebSite (2)
HtmlGenerationWebSite (2)
Microsoft.AspNetCore.Mvc (7)
Microsoft.AspNetCore.Mvc.Abstractions.Test (2)
Microsoft.AspNetCore.Mvc.ApiExplorer (6)
Microsoft.AspNetCore.Mvc.ApiExplorer.Test (2)
Microsoft.AspNetCore.Mvc.Core (116)
Microsoft.AspNetCore.Mvc.Core.Test (65)
Microsoft.AspNetCore.Mvc.Core.TestCommon (4)
Microsoft.AspNetCore.Mvc.Cors (2)
Microsoft.AspNetCore.Mvc.Cors.Test (1)
Microsoft.AspNetCore.Mvc.DataAnnotations (6)
Microsoft.AspNetCore.Mvc.DataAnnotations.Test (3)
Microsoft.AspNetCore.Mvc.Formatters.Xml (24)
Microsoft.AspNetCore.Mvc.Formatters.Xml.Test (10)
Microsoft.AspNetCore.Mvc.FunctionalTests (5)
Microsoft.AspNetCore.Mvc.IntegrationTests (79)
Microsoft.AspNetCore.Mvc.NewtonsoftJson (22)
Microsoft.AspNetCore.Mvc.NewtonsoftJson.Test (15)
Microsoft.AspNetCore.Mvc.RazorPages (17)
Microsoft.AspNetCore.Mvc.RazorPages.Test (14)
Microsoft.AspNetCore.Mvc.Test (19)
Microsoft.AspNetCore.Mvc.ViewFeatures (6)
Microsoft.AspNetCore.OpenApi.Tests (1)
Mvc.RoutingWebSite (3)
VersioningWebSite (2)
XmlFormattersWebSite (3)