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

Afficher le fichier Open project: RebelCMS/rebelcmsxu5

Méthodes publiques

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

Private Methods

Méthode 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 méthode

public ContentCacheManager ( IRebelApplicationContext context, Controller controller ) : System
context IRebelApplicationContext
controller Controller
Résultat System

RenderContent() public méthode

public RenderContent ( IRebelRenderModel model ) : string>.KeyValuePair
model IRebelRenderModel
Résultat string>.KeyValuePair