aspnetcore/test
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
..
Microsoft.AspNet.Mvc.Core.Test Add `ModelMetadata.HtmlEncode` property 2014-11-03 12:23:33 -08:00
Microsoft.AspNet.Mvc.FunctionalTests Fix #1370 - Always use the provided formatter in JsonResult 2014-10-31 14:30:31 -07:00
Microsoft.AspNet.Mvc.HeaderValueAbstractions.Test
…
Microsoft.AspNet.Mvc.ModelBinding.Test Add `ModelMetadata.HtmlEncode` property 2014-11-03 12:23:33 -08:00
Microsoft.AspNet.Mvc.Razor.Host.Test Remove enableInstrumentation from CompilerCache and IMvcRazorHost 2014-11-02 18:15:39 -08:00
Microsoft.AspNet.Mvc.Razor.Test Adding arg null or empty checks to RazorViewEngine.FindView & 2014-11-02 18:33:56 -08:00
Microsoft.AspNet.Mvc.TagHelpers.Test
…
Microsoft.AspNet.Mvc.Test
…
Microsoft.AspNet.Mvc.WebApiCompatShimTest Follow up to JsonResult changes 2014-10-31 18:33:15 -07:00
WebSites Fix #1370 - Always use the provided formatter in JsonResult 2014-10-31 14:30:31 -07:00