C# Class Rebel.Cms.Web.Templates.TemplateParser

Show file Open project: RebelCMS/rebelcmsxu5 Class Usage Examples

Public Methods

Method Description
Parse ( File templateFile ) : TemplateParserResult

Parses the specified template for a Layout and any RenderSections.

Parse ( string templateFileContents ) : TemplateParserResult

Parses the specified template for a Layout and any RenderSections.

Method Details

Parse() public method

Parses the specified template for a Layout and any RenderSections.
public Parse ( File templateFile ) : TemplateParserResult
templateFile Rebel.Framework.Persistence.Model.IO.File The template file.
return TemplateParserResult

Parse() public method

Parses the specified template for a Layout and any RenderSections.
public Parse ( string templateFileContents ) : TemplateParserResult
templateFileContents string
return TemplateParserResult