diamond ~master (2020-03-31T19:16:28Z)
Home
Dub
Repo
modelGenerateFormat
diamond
views
viewformats
The format for generating the view using a model.
static if
(
isWebServer || !isWeb
)
enum
modelGenerateFormat
=
q{
string
generateModel
(%
s
newModel
,
string
sectionName
=
""
) {
model
=
newModel
;
return
generate
(
sectionName
); }
}
;
Meta
Source
See Source File
diamond
views
viewformats
manifest constants
appendFormat
controllerConstructorFormat
controllerHandleFormat
controllerMemberFormat
endFormat
escapedFormat
layoutConstructorFormat
modelGenerateFormat
modelMemberFormat
placeholderFormat
updateModelFromRenderViewFormat
viewClassFormat
The format for generating the view using a model.