C# 클래스 Nustache.Core.RenderContext

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

공개 메소드들

메소드 설명
Enter ( Nustache.Core.Section section ) : void
Exit ( ) : void
GetValue ( string path ) : object
GetValues ( string path ) : IEnumerable
Include ( string templateName, string indent ) : void
IsTruthy ( object value ) : bool
IsTruthy ( string path ) : bool
Pop ( ) : void
Push ( object data ) : void
RenderContext ( RenderContext baseContext, TextWriter writer ) : System
RenderContext ( Nustache.Core.Section section, object data, TextWriter writer, TemplateLocator templateLocator, RenderContextBehaviour renderContextBehaviour = null ) : System
Write ( string text ) : void
WriteLiteral ( string text ) : void

비공개 메소드들

메소드 설명
GetTemplateDefinition ( string name ) : Nustache.Core.TemplateDefinition
GetValueFromPath ( object data, string path, bool &partialMatch ) : object

메소드 상세

Enter() 공개 메소드

public Enter ( Nustache.Core.Section section ) : void
section Nustache.Core.Section
리턴 void

Exit() 공개 메소드

public Exit ( ) : void
리턴 void

GetValue() 공개 메소드

public GetValue ( string path ) : object
path string
리턴 object

GetValues() 공개 메소드

public GetValues ( string path ) : IEnumerable
path string
리턴 IEnumerable

Include() 공개 메소드

public Include ( string templateName, string indent ) : void
templateName string
indent string
리턴 void

IsTruthy() 공개 메소드

public IsTruthy ( object value ) : bool
value object
리턴 bool

IsTruthy() 공개 메소드

public IsTruthy ( string path ) : bool
path string
리턴 bool

Pop() 공개 메소드

public Pop ( ) : void
리턴 void

Push() 공개 메소드

public Push ( object data ) : void
data object
리턴 void

RenderContext() 공개 메소드

public RenderContext ( RenderContext baseContext, TextWriter writer ) : System
baseContext RenderContext
writer System.IO.TextWriter
리턴 System

RenderContext() 공개 메소드

public RenderContext ( Nustache.Core.Section section, object data, TextWriter writer, TemplateLocator templateLocator, RenderContextBehaviour renderContextBehaviour = null ) : System
section Nustache.Core.Section
data object
writer System.IO.TextWriter
templateLocator TemplateLocator
renderContextBehaviour RenderContextBehaviour
리턴 System

Write() 공개 메소드

public Write ( string text ) : void
text string
리턴 void

WriteLiteral() 공개 메소드

public WriteLiteral ( string text ) : void
text string
리턴 void