new HttpViewResult(nameopt, dataopt)
Represents a class that is used to render a view.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
name |
string |
<optional> |
The name of the view. |
data |
Array |
<optional> |
The data that are going to be used to render the view. |
- Source:
Extends
- HttpResult
Methods
execute(callback, context)
Parameters:
Name | Type | Description |
---|---|---|
callback |
function | |
context |
HttpContext | The HTTP context |
- Source: