C# Class Rebel.Cms.Web.Context.DefaultRenderModelFactory

The default IRenderModelFactory
Inheritance: IRenderModelFactory
Show file Open project: RebelCMS/rebelcmsxu5

Public Methods

Method Description
Create ( System.Web.HttpContextBase httpContext, string rawUrl ) : IRebelRenderModel

Creates or returns an existing IRebelRenderModel based on the request data

DefaultRenderModelFactory ( IRebelApplicationContext applicationContext ) : System

Private Methods

Method Description
GetOrCreateRebelRenderModel ( System.Web.HttpContextBase httpContext, string rawUrl, string key ) : IRebelRenderModel
ResolveItem ( System.Web.HttpContextBase httpContext, string requestUrl, bool isPreview ) : Content

Method Details

Create() public method

Creates or returns an existing IRebelRenderModel based on the request data
public Create ( System.Web.HttpContextBase httpContext, string rawUrl ) : IRebelRenderModel
httpContext System.Web.HttpContextBase
rawUrl string
return IRebelRenderModel

DefaultRenderModelFactory() public method

public DefaultRenderModelFactory ( IRebelApplicationContext applicationContext ) : System
applicationContext IRebelApplicationContext
return System