aspnetcore/test/Microsoft.AspNet.Mvc.ModelB.../Metadata
Doug Bunting 90e41b905a Add `ModelMetadata.HtmlEncode` property
- use new `ModelMetadata.HtmlEncode` property in HTML helpers
 - specifically in default HTML display and editor object templates (e.g.
   `@Html.DisplayFor()`) when value is non-`null` and the template is invoked
   with template depth greater than 1
- similar to MVC 5.2 commit [2b12791aee4f](https://aspnetwebstack.codeplex.com/SourceControl/changeset/2b12791aee4ffc56c7928b623bb45ee425813021)

nits:
- remove dupe `null` check in `DefaultDisplayTemplates.ObjectTemplate()`
- move backing fields initialized with constants together in `ModelMetadata`
2014-11-03 12:23:33 -08:00
..
AssociatedMetadataProviderTest.cs
CachedDataAnnotationsMetadataAttributesTest.cs
CachedDataAnnotationsModelMetadataProviderTest.cs
CachedDataAnnotationsModelMetadataTest.cs Add `ModelMetadata.HtmlEncode` property 2014-11-03 12:23:33 -08:00
ModelMetadataTest.cs Add `ModelMetadata.HtmlEncode` property 2014-11-03 12:23:33 -08:00