Controller(String)

Constructs and initializes a new controller
Namespace: PureMVC.CoreAssembly: PureMVC in (PureMVC.dll)

Syntax

C#
public Controller(
	string key
	)

Parameters

keyString
Key of controller

Remarks

This IController implementation is a Multiton, so you should not call the constructor directly, but instead call the static Multiton Factory method Controller.getInstance(multitonKey, () => new Controller(multitonKey))

Exceptions

System.Exception
Thrown if instance for this Multiton key has already been constructed