aspnet/Mvc — pull request #1453 by dougbu (2014-10-24 06:51:45+00:00)
Title: Rework `ViewDataDictionary` constructors to ensure `ModelMetadata` is ne...

...ver `null`

- `ViewDataDictionary` constructors now pass `typeof(TModel)` to base constructors
- remove `ViewDataDictionary.ModelMetadata` override
- add more doc comments

nits:
- change `RazorPageActivator` to pass current `ModelStateDictionary`
- change 2 other `ViewDataDictionary` copy constructor calls to avoid
uselessly copying `Model` and related information from source
- make a few `ViewDataDictionary` properties get-only