This is a cleanup PR to improve the common usage of ModelMetadata.Properties. We found placed in code where both .Count and the ability to index by property name would be useful. I was able to cascade this and simplify the ModelBindingContext as well. |
||
|---|---|---|
| .. | ||
| AssociatedMetadataProviderTest.cs | ||
| CachedDataAnnotationsMetadataAttributesTest.cs | ||
| CachedDataAnnotationsModelMetadataProviderTest.cs | ||
| CachedDataAnnotationsModelMetadataTest.cs | ||
| ModelBinderAttributeTest.cs | ||
| ModelMetadataAttributesTest.cs | ||
| ModelMetadataTest.cs | ||
| TestBinderMetadata.cs | ||
| TestModelNameProvider.cs | ||