C# Class Phun.Templating.TemplateCache

Template cache
Show file Open project: noogen/phuncms

Protected Properties

Property Type Description
api IPhunApi
config ICmsConfiguration
context System.Web.HttpContextBase

Public Methods

Method Description
Get ( string key ) : string

Gets the specified key.

TemplateCache ( IPhunApi api, System.Web.HttpContextBase context ) : System

Initializes a new instance of the TemplateCache class.

set ( string key, string value ) : string

Sets the specified key.

Method Details

Get() public method

Gets the specified key.
public Get ( string key ) : string
key string The key.
return string

TemplateCache() public method

Initializes a new instance of the TemplateCache class.
public TemplateCache ( IPhunApi api, System.Web.HttpContextBase context ) : System
api IPhunApi The API.
context System.Web.HttpContextBase The context.
return System

set() public method

Sets the specified key.
public set ( string key, string value ) : string
key string The key.
value string The value.
return string

Property Details

api protected property

The API
protected IPhunApi api
return IPhunApi

config protected property

The config
protected ICmsConfiguration config
return ICmsConfiguration

context protected property

The context
protected HttpContextBase,System.Web context
return System.Web.HttpContextBase