aspnetcore/test/Microsoft.AspNetCore.Mvc.Vi...
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
..
DependencyInjection
Internal [Fixes #7115] Update property type check in SaveTempDataPropertyFilterBase to match TempDataSerializer requirements 2018-01-10 15:08:01 -08:00
Model
Properties
Rendering [Fixes #7271] Support covariant casting of ViewDataDictionary<T> 2018-01-23 17:31:03 -08:00
ViewComponents Upgrade to xunit 2.3.0-beta4 2017-08-17 10:45:03 -07:00
ViewEngines Remove TestOptionsManager 2017-10-30 17:49:15 -07:00
ViewFeatures Merge tag '2.0.2' into dev 2018-01-10 10:02:54 -08:00
ControllerTest.cs Remove TestOptionsManager 2017-10-30 17:49:15 -07:00
ControllerUnitTestabilityTests.cs House Cleaning - Spelling and grammar 🚿 2017-08-30 14:58:44 -07:00
Microsoft.AspNetCore.Mvc.ViewFeatures.Test.csproj Update samples and tests to target netcoreapp2.1 2017-11-13 14:58:40 -08:00
ModelStateDictionaryExtensionsTest.cs
PartialViewResultTest.cs Remove TestOptionsManager 2017-10-30 17:49:15 -07:00
RemoteAttributeTest.cs
Resources.resx
SkipStatusCodePagesAttributeTest.cs
TestApplicationPart.cs
ViewComponentResultTest.cs Remove TestOptionsManager 2017-10-30 17:49:15 -07:00
ViewComponentTests.cs
ViewResultTest.cs Remove TestOptionsManager 2017-10-30 17:49:15 -07:00