Class ProxyViewDataFeature
A request feature to allowing proxying viewdata from one controller to another
Inheritance
System.Object
Namespace: Umbraco.Cms.Web.Common.Controllers
Assembly: Umbraco.Web.Common.dll
Syntax
public sealed class ProxyViewDataFeature
Constructors
View SourceProxyViewDataFeature(ViewDataDictionary, ITempDataDictionary)
Initializes a new instance of the ProxyViewDataFeature class.
Declaration
public ProxyViewDataFeature(ViewDataDictionary viewData, ITempDataDictionary tempData)
Parameters
Type | Name | Description |
---|---|---|
Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary | viewData | |
Microsoft.AspNetCore.Mvc.ViewFeatures.ITempDataDictionary | tempData |
Properties
View SourceTempData
Gets the Microsoft.AspNetCore.Mvc.ViewFeatures.ITempDataDictionary
Declaration
public ITempDataDictionary TempData { get; }
Property Value
Type | Description |
---|---|
Microsoft.AspNetCore.Mvc.ViewFeatures.ITempDataDictionary |
ViewData
Gets the Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary
Declaration
public ViewDataDictionary ViewData { get; }
Property Value
Type | Description |
---|---|
Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary |