C# Class SchoStack.Web.CookieTempDataProvider

Inheritance: ITempDataProvider
Show file Open project: schotime/SchoStack

Public Methods

Method Description
CookieTempDataProvider ( System.Web.HttpContextBase httpContext ) : System
DeserializeTempData ( string base64EncodedSerializedTempData ) : object>.IDictionary
SerializeToBase64EncodedString ( object>.IDictionary values ) : string

Protected Methods

Method Description
LoadTempData ( ControllerContext controllerContext ) : object>.IDictionary
SaveTempData ( ControllerContext controllerContext, object>.IDictionary values ) : void

Private Methods

Method Description
ITempDataProvider ( ControllerContext controllerContext ) : object>.IDictionary
ITempDataProvider ( ControllerContext controllerContext, object>.IDictionary values ) : void

Method Details

CookieTempDataProvider() public method

public CookieTempDataProvider ( System.Web.HttpContextBase httpContext ) : System
httpContext System.Web.HttpContextBase
return System

DeserializeTempData() public static method

public static DeserializeTempData ( string base64EncodedSerializedTempData ) : object>.IDictionary
base64EncodedSerializedTempData string
return object>.IDictionary

LoadTempData() protected method

protected LoadTempData ( ControllerContext controllerContext ) : object>.IDictionary
controllerContext ControllerContext
return object>.IDictionary

SaveTempData() protected method

protected SaveTempData ( ControllerContext controllerContext, object>.IDictionary values ) : void
controllerContext ControllerContext
values object>.IDictionary
return void

SerializeToBase64EncodedString() public static method

public static SerializeToBase64EncodedString ( object>.IDictionary values ) : string
values object>.IDictionary
return string