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()));