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
HtmlHelperCheckboxTest.cs Allow `null` or empty `fullName` in one special case 2018-01-09 08:53:37 -08:00
HtmlHelperDisplayExtensionsTest.cs
HtmlHelperDisplayNameExtensionsTest.cs
HtmlHelperDisplayTextTest.cs
HtmlHelperDropDownListExtensionsTest.cs
HtmlHelperEditorExtensionsTest.cs
HtmlHelperFormExtensionsTest.cs
HtmlHelperFormTest.cs
HtmlHelperHiddenTest.cs Allow `null` or empty `fullName` in one special case 2018-01-09 08:53:37 -08:00
HtmlHelperLabelExtensionsTest.cs
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
TestResources.cs
ViewContextTests.cs