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 Use C# 7 features 2017-06-11 22:11:51 -07:00
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 Code clean up 2017-06-09 22:38:46 -07:00
DefaultValidationHtmlAttributeProvider.cs Add `ValidationHtmlAttributeProvider` to make `AddValidationAttributes()` available 2016-09-13 21:07:18 -07:00
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 Use C# 7 features 2017-06-11 22:11:51 -07:00
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 Munch on less memory when handling property metadata 2016-12-05 20:47:45 -08:00
ModelExplorerExtensions.cs Munch on less memory when handling property metadata 2016-12-05 20:47:45 -08:00
ModelExpression.cs Use C# 7 features 2017-06-11 22:11:51 -07:00
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 [Fixes #5212] Added a cookie based ITempDataProvider 2016-10-03 14:04:57 -07:00
StringHtmlContent.cs
…
TempDataDictionary.cs Use C# 7 features 2017-06-11 22:11:51 -07:00
TempDataDictionaryFactory.cs
…
TemplateBuilder.cs Support input type "week" (#7045) 2017-11-16 16:00:15 -08:00
TemplateInfo.cs Store `GetFullHtmlFieldName()` and `CreateSanitizedId()` values 2016-10-17 21:50:56 -07:00
TemplateRenderer.cs Support input type "week" (#7045) 2017-11-16 16:00:15 -08:00
TryGetValueDelegate.cs
…
TryGetValueProvider.cs Code clean up 2017-06-09 22:38:46 -07:00
ValidationHtmlAttributeProvider.cs Add `ValidationHtmlAttributeProvider` to make `AddValidationAttributes()` available 2016-09-13 21:07:18 -07:00
ViewComponentResultExecutor.cs Design extensibility for executors 2017-09-22 10:32:55 -07:00
ViewContextAttribute.cs
…
ViewDataDictionary.cs Use C# 7 features 2017-06-11 22:11:51 -07:00
ViewDataDictionaryAttribute.cs
…
ViewDataDictionaryControllerPropertyActivator.cs Use factory pattern for caching in ControllerActionInvoker 2017-05-22 13:05:55 -07:00
ViewDataDictionaryOfT.cs
…
ViewDataEvaluator.cs Reduce allocations during HTML generation 2016-10-03 12:17:47 -07:00
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