GetInstance(String, Func<IModel>)

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

Syntax

C#
public static IModel GetInstance(
	string key,
	Func<IModel> modelClassRef
	)

Parameters

keyString
Key of model
modelClassRefFunc<>
the FuncDelegate of the IModel

Returns

the instance for this Multiton key