C# Class Rebel.Cms.Web.Caching.ContentCacheManager

Mostra file Open project: RebelCMS/rebelcmsxu5

Public Methods

Method Description
ContentCacheManager ( IRebelApplicationContext context, Controller controller ) : System
RenderContent ( IRebelRenderModel model ) : string>.KeyValuePair

Private Methods

Method Description
Cache ( string key, Func value ) : string
EnsureCacheWarmed ( ) : void
GetViewHtml ( IRebelRenderModel model ) : string
IsJsonRequest ( ) : bool
RenderAsJson ( IRebelRenderModel model ) : string
RenderRazorViewToString ( Rebel.Framework.Persistence.Model.IO.File templateFile, object model ) : string

Method Details

ContentCacheManager() public method

public ContentCacheManager ( IRebelApplicationContext context, Controller controller ) : System
context IRebelApplicationContext
controller Controller
return System

RenderContent() public method

public RenderContent ( IRebelRenderModel model ) : string>.KeyValuePair
model IRebelRenderModel
return string>.KeyValuePair