GetInstance(String, Func<IController>)

Controller Multiton Factory method.
Namespace: PureMVC.CoreAssembly: PureMVC in (PureMVC.dll)

Syntax

C#
public static IController GetInstance(
	string key,
	Func<IController> controllerClassRef
	)

Parameters

keyString
Key of controller
controllerClassRefFunc<>
the FuncDelegate of the IController

Returns

the Multiton instance of Controller