C# Class Phun.Templating.TemplateHandler

Template handler.
Inheritance: ITemplateHandler
Show file Open project: noogen/phuncms Class Usage Examples

Protected Properties

Property Type Description
Utility Phun.Routing.ResourcePathUtility

Public Methods

Method Description
CanRender ( Data model ) : bool

Determines whether this instance can render the specified model.

Render ( Data model, IContentConnector connector, System.Web.HttpContextBase httpContext ) : void

Executes the specified model.

TemplateHandler ( ) : System

Initializes a new instance of the TemplateHandler class.

Method Details

CanRender() public method

Determines whether this instance can render the specified model.
public CanRender ( Data model ) : bool
model Data The model.
return bool

Render() public method

Executes the specified model.
public Render ( Data model, IContentConnector connector, System.Web.HttpContextBase httpContext ) : void
model Data The model.
connector IContentConnector The connector.
httpContext System.Web.HttpContextBase The HTTP context.
return void

TemplateHandler() public method

Initializes a new instance of the TemplateHandler class.
public TemplateHandler ( ) : System
return System

Property Details

Utility protected property

The utility
protected ResourcePathUtility,Phun.Routing Utility
return Phun.Routing.ResourcePathUtility