C# Class Castle.MonoRail.Framework.ViewComponents.ChildContentComponent

Renders the contents of the block component into the $childContent context variable, and then renders the components view file.
Inheritance: ViewComponent
Show file Open project: nats/castle-1.0.3-mono

Public Methods

Method Description
Render ( ) : void

Called by the framework so the component can render its content

Protected Methods

Method Description
ObtainChildContent ( ) : void

Obtains the content of the child.

PopulateContext ( ) : void

Populates the context.

RenderView ( string name ) : void

Specifies the view to be processed after the component has finished its processing.

RenderView ( string component, string name ) : void

Specifies the view to be processed after the component has finished its processing.

Method Details

ObtainChildContent() protected method

Obtains the content of the child.
protected ObtainChildContent ( ) : void
return void

PopulateContext() protected method

Populates the context.
protected PopulateContext ( ) : void
return void

Render() public method

Called by the framework so the component can render its content
public Render ( ) : void
return void

RenderView() protected method

Specifies the view to be processed after the component has finished its processing.
protected RenderView ( string name ) : void
name string
return void

RenderView() protected method

Specifies the view to be processed after the component has finished its processing.
protected RenderView ( string component, string name ) : void
component string
name string
return void