C# Class Fu.Results.HamlResultBase

Inheritance: ResultBase
Show file Open project: chakrit/fu-sharp

Public Methods

Method Description
HamlResultBase ( ) : System
Render ( IFuContext c, Stream output ) : long

Protected Methods

Method Description
GetTemplate ( IFuContext context, IEnumerable templateNames, Type templateType ) : NHaml.Template
GetTemplateNames ( IFuContext context ) : IEnumerable
GetTemplateType ( IFuContext context ) : Type
OnBeforeRender ( IFuContext context, NHaml.Template template ) : void

Method Details

GetTemplate() protected method

protected GetTemplate ( IFuContext context, IEnumerable templateNames, Type templateType ) : NHaml.Template
context IFuContext
templateNames IEnumerable
templateType System.Type
return NHaml.Template

GetTemplateNames() protected abstract method

protected abstract GetTemplateNames ( IFuContext context ) : IEnumerable
context IFuContext
return IEnumerable

GetTemplateType() protected abstract method

protected abstract GetTemplateType ( IFuContext context ) : Type
context IFuContext
return System.Type

HamlResultBase() public method

public HamlResultBase ( ) : System
return System

OnBeforeRender() protected method

protected OnBeforeRender ( IFuContext context, NHaml.Template template ) : void
context IFuContext
template NHaml.Template
return void

Render() public method

public Render ( IFuContext c, Stream output ) : long
c IFuContext
output Stream
return long