SessionStateTempDataProvider Class¶
Provides session-state data to the current Microsoft.AspNetCore.Mvc.ViewFeatures.ITempDataDictionary
object.
- Namespace
Microsoft.AspNetCore.Mvc.ViewFeatures
- Assemblies
- Microsoft.AspNetCore.Mvc.ViewFeatures
Syntax¶
public class SessionStateTempDataProvider : ITempDataProvider
-
class
Microsoft.AspNetCore.Mvc.ViewFeatures.
SessionStateTempDataProvider
Methods¶
-
LoadTempData
(Microsoft.AspNetCore.Http.HttpContext)¶ Return type: System.Collections.Generic.IDictionary<System.String> public virtual IDictionary<string, object> LoadTempData(HttpContext context)
-
SaveTempData
(Microsoft.AspNetCore.Http.HttpContext, System.Collections.Generic.IDictionary<System.String, System.Object>)¶ public virtual void SaveTempData(HttpContext context, IDictionary<string, object> values)
-