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

Renders the inner content and stores it in the IViewEngineContext #blockcomponent(CaptureFor with "id=someId" ["append=before"]) content to be captured #end ${someId} id - the key to be used to retrieve the captured contents append - when present will append component content into the current content, if append = "before" will append before the current content
Inheritance: ViewComponent
Show file Open project: nats/castle-1.0.3-mono

Public Methods

Method Description
Render ( ) : void

Render component's content and stores it in the view engine ContextVars so it can be reference and included in other places

Method Details

Render() public method

Render component's content and stores it in the view engine ContextVars so it can be reference and included in other places
public Render ( ) : void
return void