IModel

The interface definition for a PureMVC Model.
Namespace: PureMVC.InterfacesAssembly: PureMVC in (PureMVC.dll)

Syntax

C#
public interface IModel 

Remarks

In PureMVC, IModel implementors provide access to IProxy objects by named lookup.

An IModel assumes these responsibilities:

  • Maintain a cache of IProxy instances
  • Provide methods for registering, retrieving, and removing IProxy instances

Methods

Check if a Proxy is registered
Register an IProxy instance with the Model.
Remove an IProxy instance from the Model.
Retrieve an IProxy instance from the Model.