C# Class Rebel.Cms.Web.Model.RebelRenderModel

The model supplied to the controller to render the content to the front-end. This model wraps the 'Content' model which is returned by the controller action to the view and returns the 'ContentNode' as Lazy loaded data.
Inheritance: DisposableObject, IRebelRenderModel
Show file Open project: RebelCMS/rebelcmsxu5

Public Methods

Method Description
RebelRenderModel ( IRebelApplicationContext baseContext, Content renderItem ) : System
RebelRenderModel ( IRebelApplicationContext baseContext, Func renderItemDeferred ) : System

Protected Methods

Method Description
DisposeResources ( ) : void

Method Details

DisposeResources() protected method

protected DisposeResources ( ) : void
return void

RebelRenderModel() public method

public RebelRenderModel ( IRebelApplicationContext baseContext, Content renderItem ) : System
baseContext IRebelApplicationContext
renderItem Content
return System

RebelRenderModel() public method

public RebelRenderModel ( IRebelApplicationContext baseContext, Func renderItemDeferred ) : System
baseContext IRebelApplicationContext
renderItemDeferred Func
return System