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. |
||
|---|---|---|
| .. | ||
| Microsoft.AspNet.Mvc.Common.Test | ||
| Microsoft.AspNet.Mvc.Core.Test | ||
| Microsoft.AspNet.Mvc.FunctionalTests | ||
| Microsoft.AspNet.Mvc.ModelBinding.Test | ||
| Microsoft.AspNet.Mvc.Razor.Host.Test | ||
| Microsoft.AspNet.Mvc.Razor.Test | ||
| Microsoft.AspNet.Mvc.TagHelpers.Test | ||
| Microsoft.AspNet.Mvc.Test | ||
| Microsoft.AspNet.Mvc.WebApiCompatShimTest | ||
| WebSites | ||