parseViewParts

Parses the view parts into a view class.

static if(isWebServer || !isWeb)
string
parseViewParts
(
Part[][string] allParts
,
string viewName
,
out string route
)

Parameters

allParts Part[][string]

All the parsed parts of the view template.

viewName string

The name of the view.

route string

The route of the view. (This is null if no route is specified or if using stand-alone)

Return Value

Type: string

A string equivalent to the generated view class.

Meta