C# Class Junior.Route.ViewEngines.Razor.TemplateRunContext

Exibir arquivo Open project: nathan-alden/junior-route Class Usage Examples

Private Properties

Property Type Description
PopBody TemplateWriter
PushBody void

Public Methods

Method Description
DefineSection ( string name, System.Action @writeDelegate ) : void
GetSectionWriteDelegate ( string name ) : System.Action
TemplateRunContext ( ViewBag viewBag = null ) : System

Private Methods

Method Description
PopBody ( ) : TemplateWriter
PushBody ( TemplateWriter writer ) : void

Method Details

DefineSection() public method

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

GetSectionWriteDelegate() public method

public GetSectionWriteDelegate ( string name ) : System.Action
name string
return System.Action

TemplateRunContext() public method

public TemplateRunContext ( ViewBag viewBag = null ) : System
viewBag ViewBag
return System