ViewController Methods

HttpServer.dll

The ViewController type exposes the following members.

Methods

  NameDescription
CanHandle
Method that determines if an url should be handled or not by the module
(Inherited from RequestController.)
Clone
Make a clone of this controller
(Inherited from RequestController.)
Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
GetMethod
Determines which method to use.
(Inherited from RequestController.)
GetType
Gets the Type of the current instance.
(Inherited from Object.)
InvokeMethod
Override this method to be able to process result returned by controller method.
(Inherited from RequestController.)
MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
OnUnhandledException
Override this method if you want to be able to handle unhanded exceptions
(Inherited from RequestController.)
Process
Method that process the url
(Inherited from RequestController.)
Render
Render template for the currently invoked method.
RenderAction
Render contents into a template.
RenderErrors
Renders errors from the Errors property into the current method template, or as a javascript alert if the request is ajax.
RenderJavascript
Switches content-type to "text/javascript" and returns content.
RenderJsErrors
Creates a javascript "alert" filled with all errors.
RenderLayout
renders one of the layouts
RenderTemplate
Render a template.
SetupRequest
Invoked each time a new request is about to be invoked.
(Overrides RequestController..::.SetupRequest(HttpRequest, HttpResponse, HttpSession).)
ToString
Returns a String that represents the current Object.
(Inherited from Object.)

See Also