ITempDataProvider Interface¶
Summary¶
Defines the contract for temporary-data providers that store data that is viewed on the next request.
Methods¶
-
LoadTempData
(HttpContext)¶ Loads the temporary data.
Arguments: - context (HttpContext) – The @!:HttpContext-.
Return type: System.Collections.Generic.IDictionary{System.String,System.Object}
Returns: The temporary data.
IDictionary<string, object> LoadTempData(HttpContext context)
-
SaveTempData
(HttpContext, System.Collections.Generic.IDictionary<System.String, System.Object>)¶ Saves the temporary data.
Arguments: - context (HttpContext) – The @!:HttpContext-.
- values (System.Collections.Generic.IDictionary{System.String,System.Object}) – The values to save.
void SaveTempData(HttpContext context, IDictionary<string, object> values)
-