Model(String)

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

Syntax

C#
public Model(
	string key
	)

Parameters

keyString
Key of model

Remarks

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

Exceptions

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