C# Class Manos.Mvc.View

Exibir arquivo Open project: toptensoftware/manos Class Usage Examples

Private Properties

Property Type Description
FindSection System.Action

Public Methods

Method Description
DefineSection ( string name, System.Action action ) : void
Execute ( ) : void
IsSectionDefined ( string name ) : bool
OnExecute ( ) : void
RenderBody ( ) : string
RenderSection ( string name, bool optional = false ) : string
Write ( object o ) : void
WriteLiteral ( string literal ) : void
WriteLiteralTo ( TextWriter writer, object content ) : void
WriteTo ( TextWriter writer, object content ) : void

Private Methods

Method Description
FindSection ( View view, string name ) : System.Action

Method Details

DefineSection() public method

public DefineSection ( string name, System.Action action ) : void
name string
action System.Action
return void

Execute() public method

public Execute ( ) : void
return void

IsSectionDefined() public method

public IsSectionDefined ( string name ) : bool
name string
return bool

OnExecute() public abstract method

public abstract OnExecute ( ) : void
return void

RenderBody() public method

public RenderBody ( ) : string
return string

RenderSection() public method

public RenderSection ( string name, bool optional = false ) : string
name string
optional bool
return string

Write() public method

public Write ( object o ) : void
o object
return void

WriteLiteral() public method

public WriteLiteral ( string literal ) : void
literal string
return void

WriteLiteralTo() public static method

public static WriteLiteralTo ( TextWriter writer, object content ) : void
writer System.IO.TextWriter
content object
return void

WriteTo() public static method

public static WriteTo ( TextWriter writer, object content ) : void
writer System.IO.TextWriter
content object
return void