C# Class RazorClientTemplates.RazorClientTemplateEngine

Afficher le fichier Open project: jchadwick/RazorClientTemplates Class Usage Examples

Méthodes publiques

Méthode Description
RenderClientTemplate ( string razorTemplate ) : string
RenderClientTemplate ( System.Web.Razor.Parser.SyntaxTree.Block document, TextWriter output ) : void
RenderClientTemplate ( TextReader razorTemplate, TextWriter output ) : void

Méthodes protégées

Méthode Description
ParseSyntaxTreeNode ( System.Web.Razor.Parser.SyntaxTree.SyntaxTreeNode node, TextWriter output ) : void
TranslateCodeBlock ( string code ) : string
VisitBlock ( System.Web.Razor.Parser.SyntaxTree.Block block, TextWriter output ) : bool
VisitCodeSpan ( System.Web.Razor.Parser.SyntaxTree.CodeSpan code, TextWriter output ) : bool
VisitMarkupSpan ( System.Web.Razor.Parser.SyntaxTree.MarkupSpan markup, TextWriter output ) : bool

Method Details

ParseSyntaxTreeNode() protected méthode

protected ParseSyntaxTreeNode ( System.Web.Razor.Parser.SyntaxTree.SyntaxTreeNode node, TextWriter output ) : void
node System.Web.Razor.Parser.SyntaxTree.SyntaxTreeNode
output System.IO.TextWriter
Résultat void

RenderClientTemplate() public méthode

public RenderClientTemplate ( string razorTemplate ) : string
razorTemplate string
Résultat string

RenderClientTemplate() public méthode

public RenderClientTemplate ( System.Web.Razor.Parser.SyntaxTree.Block document, TextWriter output ) : void
document System.Web.Razor.Parser.SyntaxTree.Block
output System.IO.TextWriter
Résultat void

RenderClientTemplate() public méthode

public RenderClientTemplate ( TextReader razorTemplate, TextWriter output ) : void
razorTemplate TextReader
output System.IO.TextWriter
Résultat void

TranslateCodeBlock() protected méthode

protected TranslateCodeBlock ( string code ) : string
code string
Résultat string

VisitBlock() protected méthode

protected VisitBlock ( System.Web.Razor.Parser.SyntaxTree.Block block, TextWriter output ) : bool
block System.Web.Razor.Parser.SyntaxTree.Block
output System.IO.TextWriter
Résultat bool

VisitCodeSpan() protected méthode

protected VisitCodeSpan ( System.Web.Razor.Parser.SyntaxTree.CodeSpan code, TextWriter output ) : bool
code System.Web.Razor.Parser.SyntaxTree.CodeSpan
output System.IO.TextWriter
Résultat bool

VisitMarkupSpan() protected méthode

protected VisitMarkupSpan ( System.Web.Razor.Parser.SyntaxTree.MarkupSpan markup, TextWriter output ) : bool
markup System.Web.Razor.Parser.SyntaxTree.MarkupSpan
output System.IO.TextWriter
Résultat bool