C# Class Castle.MonoRail.Views.Brail.BrailViewComponentContext

Inheritance: IViewComponentContext
Mostrar archivo Open project: nats/castle-1.0.3-mono Class Usage Examples

Public Methods

Method Description
BrailViewComponentContext ( BrailBase parent, ICallable body, string name, TextWriter text, IDictionary parameters ) : System.Collections

Initializes a new instance of the BrailViewComponentContext class.

HasSection ( string sectionName ) : bool
RegisterSection ( string name, ICallable section ) : void
RenderBody ( ) : void
RenderBody ( TextWriter writer ) : void
RenderSection ( string sectionName ) : void
RenderSection ( string sectionName, TextWriter writer ) : void

Renders the the specified section

RenderView ( string name, TextWriter writer ) : void

Pendent

Method Details

BrailViewComponentContext() public method

Initializes a new instance of the BrailViewComponentContext class.
public BrailViewComponentContext ( BrailBase parent, ICallable body, string name, TextWriter text, IDictionary parameters ) : System.Collections
parent BrailBase The parent.
body ICallable The body.
name string The name.
text System.IO.TextWriter The text.
parameters IDictionary The parameters.
return System.Collections

HasSection() public method

public HasSection ( string sectionName ) : bool
sectionName string
return bool

RegisterSection() public method

public RegisterSection ( string name, ICallable section ) : void
name string
section ICallable
return void

RenderBody() public method

public RenderBody ( ) : void
return void

RenderBody() public method

public RenderBody ( TextWriter writer ) : void
writer System.IO.TextWriter
return void

RenderSection() public method

public RenderSection ( string sectionName ) : void
sectionName string
return void

RenderSection() public method

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

RenderView() public method

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