InitializeController()

Initialize the Multiton Controller instance
Namespace: PureMVC.CoreAssembly: PureMVC in (PureMVC.dll)

Syntax

C#
protected void InitializeController()

Remarks

Called automatically by the constructor

Please aware that if you are using a subclass of Viewin your application, you should also subclass Controllerand override the initializeController method in the following way:

// ensure that the Controller is talking to my IView implementation
public override void initializeController()
{
    view = MyView.getInstance(multitonKey, () => new MyView(multitonKey));
}