C# Класс Castle.MonoRail.Views.Brail.BrailViewComponentContext

Наследование: IViewComponentContext
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Описание методов

BrailViewComponentContext() публичный Метод

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.
Результат System.Collections

HasSection() публичный Метод

public HasSection ( string sectionName ) : bool
sectionName string
Результат bool

RegisterSection() публичный Метод

public RegisterSection ( string name, ICallable section ) : void
name string
section ICallable
Результат void

RenderBody() публичный Метод

public RenderBody ( ) : void
Результат void

RenderBody() публичный Метод

public RenderBody ( TextWriter writer ) : void
writer System.IO.TextWriter
Результат void

RenderSection() публичный Метод

public RenderSection ( string sectionName ) : void
sectionName string
Результат void

RenderSection() публичный Метод

Renders the the specified section
public RenderSection ( string sectionName, TextWriter writer ) : void
sectionName string Name of the section.
writer System.IO.TextWriter The writer.
Результат void

RenderView() публичный Метод

Pendent
public RenderView ( string name, TextWriter writer ) : void
name string
writer System.IO.TextWriter
Результат void