using Microsoft.AspNetCore.Mvc.ViewFeatures; namespace Umbraco.Cms.Web.Common.Controllers { /// /// A request feature to allowing proxying viewdata from one controller to another /// public sealed class ProxyViewDataFeature { /// /// Initializes a new instance of the class. /// public ProxyViewDataFeature(ViewDataDictionary viewData, ITempDataDictionary tempData) { ViewData = viewData; TempData = tempData; } /// /// Gets the /// public ViewDataDictionary ViewData { get; } /// /// Gets the /// public ITempDataDictionary TempData { get; } } }