C# Class WebRole.ElmcityController

Inheritance: Controller
Show file Open project: judell/elmcity Class Usage Examples

Public Properties

Property Type Description
UTF8 System.Text.UTF8Encoding
domain_name string
procid int
procname string
settings string>.Dictionary
smartphone_screen_dimensions int>.Dictionary
themes Dictionary>
thread_id int

Public Methods

Method Description
Authenticated ( ) : string
Authenticated ( string id ) : string
ElmcityController ( ) : System
GetObjectFromCacheOrWeb ( AspNetCache cache, string key, string url ) : byte[]
InsertIntoCache ( AspNetCache cache, byte bytes, ElmcityCacheDependency dependency, string key ) : void
MaybeCacheDependentObject ( string url, string base_key ) : void

Protected Methods

Method Description
OnException ( System.Web.Mvc.ExceptionContext filterContext ) : void

Method Details

Authenticated() public method

public Authenticated ( ) : string
return string

Authenticated() public method

public Authenticated ( string id ) : string
id string
return string

ElmcityController() public method

public ElmcityController ( ) : System
return System

GetObjectFromCacheOrWeb() public method

public GetObjectFromCacheOrWeb ( AspNetCache cache, string key, string url ) : byte[]
cache ElmcityUtils.AspNetCache
key string
url string
return byte[]

InsertIntoCache() public method

public InsertIntoCache ( AspNetCache cache, byte bytes, ElmcityCacheDependency dependency, string key ) : void
cache ElmcityUtils.AspNetCache
bytes byte
dependency ElmcityUtils.ElmcityCacheDependency
key string
return void

MaybeCacheDependentObject() public method

public MaybeCacheDependentObject ( string url, string base_key ) : void
url string
base_key string
return void

OnException() protected method

protected OnException ( System.Web.Mvc.ExceptionContext filterContext ) : void
filterContext System.Web.Mvc.ExceptionContext
return void

Property Details

UTF8 public static property

public static UTF8Encoding,System.Text UTF8
return System.Text.UTF8Encoding

domain_name public static property

public static string domain_name
return string

procid public static property

public static int procid
return int

procname public static property

public static string procname
return string

settings public static property

public static Dictionary settings
return string>.Dictionary

smartphone_screen_dimensions public static property

public static Dictionary smartphone_screen_dimensions
return int>.Dictionary

themes public static property

public static Dictionary> themes
return Dictionary>

thread_id public static property

public static int thread_id
return int