diamond ~master (2020-03-31T19:16:28Z)
Home
Dub
Repo
View.renderModel
diamond
views
view
View
Will render another view into this one.
class
View
final
void
renderModel
(
string
name
TModel
)
(
TModel
model
,
string
sectionName
= ""
)
Parameters
name
The name of the view to render.
Meta
Source
See Implementation
diamond
views
view
View
constructors
this
enums
FlashMessageType
functions
action
actionParams
addPlaceholder
append
appendCSRFTokenField
asView
asyncScript
clearCSRFToken
clearView
copyViewData
deferScript
escape
flashMessage
generate
getPlaceholder
googleMeta
meta
openGraphGeneralMeta
prepare
render
renderModel
retrieve
retrieveModel
schema
script
twitterMeta
view
viewRaw
mixins
__anonymous
properties
cacheTime
cached
client
delayRender
httpMethod
isDefaultRoute
layoutName
name
rawGenerate
renderView
route
staticCache
testing
Will render another view into this one.