GetInstance(Func<IModel>)

Model Singleton Factory method.
Namespace: PureMVC.CoreAssembly: PureMVC in (PureMVC.dll)

Syntax

C#
public static IModel GetInstance(
	Func<IModel> modelFunc
	)

Parameters

modelFuncFunc<>
the FuncDelegate of the IModel

Returns

the instance for this Singleton key