The ViewController type exposes the following members.
Properties
Name | Description | |
---|---|---|
Arguments |
Arguments that are being used in the templates.
| |
AuthenticationTag |
object that was attached during http authentication process.
(Inherited from RequestController.) | |
ControllerName |
Name of this controller (class name without the "Controller" part)
(Inherited from RequestController.) | |
DefaultMethod |
Specifies the method to use if no action have been specified.
(Inherited from RequestController.) | |
Errors |
A set of errors that occured during request processing.
Key should be argument name (if argument error, otherwise Empty()()()), value should be
the error message.
| |
Id |
Id is the third part of the uri path.
(Inherited from RequestController.) | |
IncludeLayoutInAjaxRequests |
True if we always should render contents inside page layouts when request is ajax.
| |
Layout |
Which page layout to use (without file extension)
| |
MethodName |
Method currently being invoked.
Always in lower case.
(Inherited from RequestController.) | |
Request |
Request information (like Url, form, querystring etc)
(Inherited from RequestController.) | |
RequestedExtension |
Extension if a filename was specified.
(Inherited from RequestController.) | |
Response |
Response information (that is going to be sent back to the browser/client)
(Inherited from RequestController.) | |
Session |
Session information, is stored between requests as long as the session cookie is valid.
(Inherited from RequestController.) | |
Title |
Page title (are added as a paramter to the layout template, use it in <title> html tag.
|