aspnetcore/test/Microsoft.AspNet.Mvc.ModelB.../Binders
Ryan Nowak f77493dffe Part 1 of #1712 - Remove reflection in MutableObjectModelBinder
This change introduces a new property to ModelMetadata called
IsBindingRequired, which specifies whether or not a model value must be
present on the wire during model binding.

[DataMember(IsRequired = true)] is currently the only thing that will set
this property.

Updated tests and documentation for clarity on the difference in meaning
between MM.IsRequired and MM.IsBindingRequired. Moved setting for
IsRequired to ValidationMetadata which is a better fit.

Also added functional tests for [BindingBehavior] and [DataMember] in
model binding because they were totally missing.
2015-04-16 12:07:33 -07:00
..
ArrayModelBinderTest.cs
BinderTypeBasedModelBinderModelBinderTest.cs * Simplify MvcOptions 2015-04-07 14:45:53 -07:00
BindingSourceModelBinderTest.cs Removing ModelMetadataProvider.GetModelMetadataForParameters 2015-03-19 16:42:54 -07:00
BindingSourceValueProviderTest.cs
ByteArrayModelBinderTests.cs
CancellationTokenModelBinderTests.cs
CollectionModelBinderTest.cs
ComplexModelDtoTest.cs
CompositeModelBinderTest.cs Updates to the extensibility for validator providers 2015-03-20 15:19:25 -07:00
DictionaryModelBinderTest.cs
FormCollectionModelBinderTest.cs
FormFileModelBinderTest.cs
HeaderModelBinderTests.cs Removing ModelMetadataProvider.GetModelMetadataForParameters 2015-03-19 16:42:54 -07:00
KeyValuePairModelBinderTest.cs Updates to the extensibility for validator providers 2015-03-20 15:19:25 -07:00
ModelBindingContextTest.cs Removing ModelMetadataProvider.GetModelMetadataForParameters 2015-03-19 16:42:54 -07:00
ModelBindingResultTest.cs
MutableObjectModelBinderTest.cs Part 1 of #1712 - Remove reflection in MutableObjectModelBinder 2015-04-16 12:07:33 -07:00
TypeConverterModelBinderTest.cs