InitializeController()

Initialize the Controller.
Namespace: PureMVC.Patterns.FacadeAssembly: PureMVC in (PureMVC.dll)

Syntax

C#
protected void InitializeController()

Remarks

Called by the initializeFacade method. Override this method in your subclass of Facade if one or both of the following are true:

  • You wish to initialize a different IController.
  • You have Commands to register with the Controller at startup.

If you don't want to initialize a different IController, call super.initializeController() at the beginning of your method, then register Commands.