C# 클래스 Castle.MonoRail.Framework.Views.NVelocity.NVelocityViewContextAdapter

IViewComponentContext's implementation for NVelocity
상속: IViewComponentContext
파일 보기 프로젝트 열기: nats/castle-1.0.3-mono

Private Properties

프로퍼티 타입 설명
RegisterSection void

공개 메소드들

메소드 설명
HasSection ( String sectionName ) : bool

Determines whether the current component declaration on the view has the specified section.

NVelocityViewContextAdapter ( String componentName, NVelocity.Runtime.Parser.Node.INode parentNode, IViewEngine viewEngine, IViewRenderer renderer )

Initializes a new instance of the NVelocityViewContextAdapter class.

RenderBody ( ) : void

Renders the component body.

RenderBody ( TextWriter writer ) : void

Renders the body into the specified TextWriter

RenderSection ( String sectionName ) : void

Renders the the specified section

RenderSection ( string sectionName, TextWriter writer ) : void

Renders the the specified section

RenderView ( string name, TextWriter writer ) : void

Pendent

비공개 메소드들

메소드 설명
RegisterSection ( SubSectionDirective section ) : void

메소드 상세

HasSection() 공개 메소드

Determines whether the current component declaration on the view has the specified section.
public HasSection ( String sectionName ) : bool
sectionName String Name of the section.
리턴 bool

NVelocityViewContextAdapter() 공개 메소드

Initializes a new instance of the NVelocityViewContextAdapter class.
public NVelocityViewContextAdapter ( String componentName, NVelocity.Runtime.Parser.Node.INode parentNode, IViewEngine viewEngine, IViewRenderer renderer )
componentName String Name of the component.
parentNode NVelocity.Runtime.Parser.Node.INode The parent node.
viewEngine IViewEngine The view engine.
renderer IViewRenderer The view renderer.

RenderBody() 공개 메소드

Renders the component body.
public RenderBody ( ) : void
리턴 void

RenderBody() 공개 메소드

Renders the body into the specified TextWriter
public RenderBody ( TextWriter writer ) : void
writer System.IO.TextWriter The writer.
리턴 void

RenderSection() 공개 메소드

Renders the the specified section
public RenderSection ( String sectionName ) : void
sectionName String Name of the section.
리턴 void

RenderSection() 공개 메소드

Renders the the specified section
public RenderSection ( string sectionName, TextWriter writer ) : void
sectionName string Name of the section.
writer System.IO.TextWriter The writer.
리턴 void

RenderView() 공개 메소드

Pendent
public RenderView ( string name, TextWriter writer ) : void
name string
writer System.IO.TextWriter
리턴 void