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

Inheritance: IViewComponentContext
Afficher le fichier Open project: nats/castle-1.0.3-mono Class Usage Examples

Méthodes publiques

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

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.
Résultat System.Collections

HasSection() public méthode

public HasSection ( string sectionName ) : bool
sectionName string
Résultat bool

RegisterSection() public méthode

public RegisterSection ( string name, ICallable section ) : void
name string
section ICallable
Résultat void

RenderBody() public méthode

public RenderBody ( ) : void
Résultat void

RenderBody() public méthode

public RenderBody ( TextWriter writer ) : void
writer System.IO.TextWriter
Résultat void

RenderSection() public méthode

public RenderSection ( string sectionName ) : void
sectionName string
Résultat void

RenderSection() public méthode

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

RenderView() public méthode

Pendent
public RenderView ( string name, TextWriter writer ) : void
name string
writer System.IO.TextWriter
Résultat void