C# Class TerrificNet.Controllers.DefaultLayout

Exibir arquivo Open project: namics/TerrificNet Class Usage Examples

Public Methods

Method Description
AddAction ( this viewDefinition, ActionModel actionModel ) : ViewDefinition
IncludeScript ( this viewDefintion, string scriptSource ) : PageViewDefinition
IncludeStyle ( this viewDefinition, string styleSource ) : PageViewDefinition
WithDefaultLayout ( ) : PageViewDefinition

Private Methods

Method Description
EnsureData ( PageViewDefinition viewDefintion ) : void

Method Details

AddAction() public static method

public static AddAction ( this viewDefinition, ActionModel actionModel ) : ViewDefinition
viewDefinition this
actionModel TerrificNet.Models.ActionModel
return TerrificNet.ViewEngine.TemplateHandler.UI.ViewDefinition

IncludeScript() public static method

public static IncludeScript ( this viewDefintion, string scriptSource ) : PageViewDefinition
viewDefintion this
scriptSource string
return PageViewDefinition

IncludeStyle() public static method

public static IncludeStyle ( this viewDefinition, string styleSource ) : PageViewDefinition
viewDefinition this
styleSource string
return PageViewDefinition

WithDefaultLayout() public static method

public static WithDefaultLayout ( ) : PageViewDefinition
return PageViewDefinition