C# Class Parrot.Renderers.HtmlRenderer

Inheritance: BaseRenderer, IRenderer
Datei anzeigen Open project: ParrotFx/Parrot

Public Methods

Method Description
HtmlRenderer ( IHost host ) : System
Render ( IParrotWriter writer, IRendererFactory rendererFactory, Statement statement, object>.IDictionary documentHost, object model ) : void
RenderChildren ( IParrotWriter writer, Statement statement, IRendererFactory rendererFactory, object>.IDictionary documentHost, object model, string defaultTag = null ) : void

Protected Methods

Method Description
CreateTag ( IParrotWriter writer, IRendererFactory rendererFactory, object>.IDictionary documentHost, object model, Statement statement ) : void
RenderAttribute ( Nodes attribute, IRendererFactory rendererFactory, object>.IDictionary documentHost, object model ) : string
RenderAttributes ( IRendererFactory rendererFactory, object>.IDictionary documentHost, object model, Statement statement, TagBuilder builder ) : void
RenderChildren ( IParrotWriter writer, StatementList children, IRendererFactory rendererFactory, object>.IDictionary documentHost, string defaultTag, object model ) : void

Method Details

CreateTag() protected method

protected CreateTag ( IParrotWriter writer, IRendererFactory rendererFactory, object>.IDictionary documentHost, object model, Statement statement ) : void
writer IParrotWriter
rendererFactory IRendererFactory
documentHost object>.IDictionary
model object
statement Parrot.Nodes.Statement
return void

HtmlRenderer() public method

public HtmlRenderer ( IHost host ) : System
host IHost
return System

Render() public method

public Render ( IParrotWriter writer, IRendererFactory rendererFactory, Statement statement, object>.IDictionary documentHost, object model ) : void
writer IParrotWriter
rendererFactory IRendererFactory
statement Parrot.Nodes.Statement
documentHost object>.IDictionary
model object
return void

RenderAttribute() protected method

protected RenderAttribute ( Nodes attribute, IRendererFactory rendererFactory, object>.IDictionary documentHost, object model ) : string
attribute Nodes
rendererFactory IRendererFactory
documentHost object>.IDictionary
model object
return string

RenderAttributes() protected method

protected RenderAttributes ( IRendererFactory rendererFactory, object>.IDictionary documentHost, object model, Statement statement, TagBuilder builder ) : void
rendererFactory IRendererFactory
documentHost object>.IDictionary
model object
statement Parrot.Nodes.Statement
builder TagBuilder
return void

RenderChildren() public method

public RenderChildren ( IParrotWriter writer, Statement statement, IRendererFactory rendererFactory, object>.IDictionary documentHost, object model, string defaultTag = null ) : void
writer IParrotWriter
statement Parrot.Nodes.Statement
rendererFactory IRendererFactory
documentHost object>.IDictionary
model object
defaultTag string
return void

RenderChildren() protected method

protected RenderChildren ( IParrotWriter writer, StatementList children, IRendererFactory rendererFactory, object>.IDictionary documentHost, string defaultTag, object model ) : void
writer IParrotWriter
children StatementList
rendererFactory IRendererFactory
documentHost object>.IDictionary
defaultTag string
model object
return void