Copy from: - some `static` `ModelMetadata` methods -> `ExpressionMetadataProvider` - `TryGetValueDelegate` -> `TryGetValueDelegate` - `TypeHelpers.CreateTryGetValueDelegate()`, related bits -> `TryGetValueProvider` - `ViewDataDictionary.ViewDataEvaluator` inner class -> `ViewDataEvaluator` - `ViewDataInfo` -> `ViewDataInfo` - `ViewDataDictionary.Eval()`, related bits -> add to `ViewDataDictionary` Change to fit in new world: - usual stuff: `var`, `[NotNull]`, String -> string, namespaces, etc. - PropertyDescriptor -> PropertyInfo - update Reflection use - no `IModelMetadata.Container` property - improve a couple of variable and parameter names - make `ViewDataInfo` immutable - make `ViewDataDictionary.FormatValueInternal` `public` and -> `FormatValue` - remove `[SuppressMessage]` attributes |
||
|---|---|---|
| .. | ||
| Common | ||
| Microsoft.AspNet.Mvc | ||
| Microsoft.AspNet.Mvc.Core | ||
| Microsoft.AspNet.Mvc.ModelBinding | ||
| Microsoft.AspNet.Mvc.Razor | ||
| Microsoft.AspNet.Mvc.Rendering | ||