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
Afficher le fichier Open project: nats/castle-1.0.3-mono

Méthodes publiques

Méthode 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 méthode

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
Résultat void