aspnetcore/test/Microsoft.AspNetCore.Mvc.Vi.../Rendering
Javier Calvarro Nelson 17a407bba2 [Fixes #7271] Support covariant casting of ViewDataDictionary<T>
On HtmlHelper<T> we now support contextualizing an instance of
HtmlHelper<TBase> with a ViewDataDictionary<TDerived> in
ViewContext.ViewData.

This can happen in some situations when the model for a RazorPage has
been changed using a page application model convention.

In these cases we just build a new ViewDataDictionary<TBase> and pass in
the TDerived model as an instance.
2018-01-23 17:31:03 -08:00
..
DefaultTemplatesUtilities.cs Support input type "week" (#7045) 2017-11-16 16:00:15 -08:00
HtmlHelperCheckboxTest.cs Allow `null` or empty `fullName` in one special case 2018-01-09 08:53:37 -08:00
HtmlHelperDisplayExtensionsTest.cs Support input type "week" (#7045) 2017-11-16 16:00:15 -08:00
HtmlHelperDisplayNameExtensionsTest.cs
HtmlHelperDisplayTextTest.cs
HtmlHelperDropDownListExtensionsTest.cs
HtmlHelperEditorExtensionsTest.cs Seperate view and model for enum display 2016-11-30 11:13:38 -08:00
HtmlHelperFormExtensionsTest.cs
HtmlHelperFormTest.cs House Cleaning - Spelling and grammar 🚿 2017-08-30 14:58:44 -07:00
HtmlHelperHiddenTest.cs Allow `null` or empty `fullName` in one special case 2018-01-09 08:53:37 -08:00
HtmlHelperLabelExtensionsTest.cs Remove no-op behaviour for no-content `<label></label>` elements 2017-08-31 09:21:44 -07:00
HtmlHelperLinkGenerationTest.cs
HtmlHelperListBoxExtensionsTest.cs
HtmlHelperNameExtensionsTest.cs
HtmlHelperPartialExtensionsTest.cs Add missing `RenderPartial(...)` overload 2018-01-05 11:27:54 -08:00
HtmlHelperPasswordTest.cs Allow `null` or empty `fullName` in one special case 2018-01-09 08:53:37 -08:00
HtmlHelperRadioButtonExtensionsTest.cs Allow `null` or empty `fullName` in one special case 2018-01-09 08:53:37 -08:00
HtmlHelperSelectTest.cs
HtmlHelperTest.cs [Fixes #7271] Support covariant casting of ViewDataDictionary<T> 2018-01-23 17:31:03 -08:00
HtmlHelperTextAreaExtensionsTest.cs
HtmlHelperTextAreaTest.cs
HtmlHelperTextBoxExtensionsTest.cs Allow `null` or empty `fullName` in one special case 2018-01-09 08:53:37 -08:00
HtmlHelperTextBoxTest.cs
HtmlHelperValidationMessageExtensionsTest.cs
HtmlHelperValidationSummaryTest.cs
HtmlHelperValueExtensionsTest.cs
HtmlHelperValueTest.cs
HtmlStringTest.cs
TagBuilderTest.cs Add methods to TagBuilder (#6287) 2017-05-19 12:23:16 -07:00
TestResources.cs
ViewContextTests.cs