aspnetcore/src/Microsoft.AspNetCore.Mvc.Vi.../ViewFeatures
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
..
AntiforgeryExtensions.cs
AttributeDictionary.cs
CookieTempDataProvider.cs Updated to use WebEncoders utility's Base64Url encode/decode functionality 2017-08-29 08:37:28 -07:00
DefaultHtmlGenerator.cs Allow `null` or empty `fullName` in one special case 2018-01-09 08:53:37 -08:00
DefaultHtmlGeneratorExtensions.cs
DefaultValidationHtmlAttributeProvider.cs
FormContext.cs
HtmlHelper.cs Allow `null` or empty `fullName` in one special case 2018-01-09 08:53:37 -08:00
HtmlHelperOfT.cs [Fixes #7271] Support covariant casting of ViewDataDictionary<T> 2018-01-23 17:31:03 -08:00
HtmlHelperOptions.cs
IAntiforgeryPolicy.cs
IHtmlGenerator.cs House Cleaning - Spelling and grammar 🚿 2017-08-30 14:58:44 -07:00
IModelExpressionProvider.cs
ITempDataDictionary.cs
ITempDataDictionaryFactory.cs
ITempDataProvider.cs
InputType.cs
JsonHelper.cs Merge tag '2.0.2' into dev 2018-01-10 10:02:54 -08:00
ModelExplorer.cs
ModelExplorerExtensions.cs
ModelExpression.cs
ModelExpressionProvider.cs
ModelMetadataProviderExtensions.cs
PartialViewResultExecutor.cs Design extensibility for executors 2017-09-22 10:32:55 -07:00
SaveTempDataAttribute.cs House Cleaning - Spelling and grammar 🚿 2017-08-30 14:58:44 -07:00
SessionStateTempDataProvider.cs
StringHtmlContent.cs
TempDataDictionary.cs
TempDataDictionaryFactory.cs
TemplateBuilder.cs Support input type "week" (#7045) 2017-11-16 16:00:15 -08:00
TemplateInfo.cs
TemplateRenderer.cs Support input type "week" (#7045) 2017-11-16 16:00:15 -08:00
TryGetValueDelegate.cs
TryGetValueProvider.cs
ValidationHtmlAttributeProvider.cs
ViewComponentResultExecutor.cs Design extensibility for executors 2017-09-22 10:32:55 -07:00
ViewContextAttribute.cs
ViewDataDictionary.cs
ViewDataDictionaryAttribute.cs
ViewDataDictionaryControllerPropertyActivator.cs
ViewDataDictionaryOfT.cs
ViewDataEvaluator.cs
ViewDataInfo.cs House Cleaning - Spelling and grammar 🚿 2017-08-30 14:58:44 -07:00
ViewExecutor.cs Move `IHttpRequestStreamReaderFactory` from `.Internal` to `.Infrastructure` 2018-01-09 10:51:09 -08:00
ViewResultExecutor.cs Design extensibility for executors 2017-09-22 10:32:55 -07:00