C# Class TerrificNet.Controllers.DefaultLayout

Afficher le fichier Open project: namics/TerrificNet Class Usage Examples

Méthodes publiques

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

Private Methods

Méthode Description
EnsureData ( PageViewDefinition viewDefintion ) : void

Method Details

AddAction() public static méthode

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

IncludeScript() public static méthode

public static IncludeScript ( this viewDefintion, string scriptSource ) : PageViewDefinition
viewDefintion this
scriptSource string
Résultat PageViewDefinition

IncludeStyle() public static méthode

public static IncludeStyle ( this viewDefinition, string styleSource ) : PageViewDefinition
viewDefinition this
styleSource string
Résultat PageViewDefinition

WithDefaultLayout() public static méthode

public static WithDefaultLayout ( ) : PageViewDefinition
Résultat PageViewDefinition