C# 클래스 RazorClientTemplates.RazorClientTemplateEngine

파일 보기 프로젝트 열기: jchadwick/RazorClientTemplates 1 사용 예제들

공개 메소드들

메소드 설명
RenderClientTemplate ( string razorTemplate ) : string
RenderClientTemplate ( System.Web.Razor.Parser.SyntaxTree.Block document, TextWriter output ) : void
RenderClientTemplate ( TextReader razorTemplate, TextWriter output ) : void

보호된 메소드들

메소드 설명
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

메소드 상세

ParseSyntaxTreeNode() 보호된 메소드

protected ParseSyntaxTreeNode ( System.Web.Razor.Parser.SyntaxTree.SyntaxTreeNode node, TextWriter output ) : void
node System.Web.Razor.Parser.SyntaxTree.SyntaxTreeNode
output System.IO.TextWriter
리턴 void

RenderClientTemplate() 공개 메소드

public RenderClientTemplate ( string razorTemplate ) : string
razorTemplate string
리턴 string

RenderClientTemplate() 공개 메소드

public RenderClientTemplate ( System.Web.Razor.Parser.SyntaxTree.Block document, TextWriter output ) : void
document System.Web.Razor.Parser.SyntaxTree.Block
output System.IO.TextWriter
리턴 void

RenderClientTemplate() 공개 메소드

public RenderClientTemplate ( TextReader razorTemplate, TextWriter output ) : void
razorTemplate TextReader
output System.IO.TextWriter
리턴 void

TranslateCodeBlock() 보호된 메소드

protected TranslateCodeBlock ( string code ) : string
code string
리턴 string

VisitBlock() 보호된 메소드

protected VisitBlock ( System.Web.Razor.Parser.SyntaxTree.Block block, TextWriter output ) : bool
block System.Web.Razor.Parser.SyntaxTree.Block
output System.IO.TextWriter
리턴 bool

VisitCodeSpan() 보호된 메소드

protected VisitCodeSpan ( System.Web.Razor.Parser.SyntaxTree.CodeSpan code, TextWriter output ) : bool
code System.Web.Razor.Parser.SyntaxTree.CodeSpan
output System.IO.TextWriter
리턴 bool

VisitMarkupSpan() 보호된 메소드

protected VisitMarkupSpan ( System.Web.Razor.Parser.SyntaxTree.MarkupSpan markup, TextWriter output ) : bool
markup System.Web.Razor.Parser.SyntaxTree.MarkupSpan
output System.IO.TextWriter
리턴 bool