IView

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

Syntax

C#
public interface IView 

Remarks

In PureMVC, the View class assumes these responsibilities:

  • Maintain a cache of IMediator instances
  • Provide methods for registering, retrieving, and removing IMediators
  • Managing the observer lists for each INotification in the application
  • Providing a method for attaching IObservers to an INotification's observer list
  • Providing a method for broadcasting an INotification
  • Notifying the IObservers of a given INotification when it broadcast

Methods

Check if a Mediator is registered or not
Notify the IObservers for a particular INotification.
Register an IMediator instance with the View.
Register an IObserver to be notified of INotifications with a given name.
Remove an IMediator from the View.
Remove a group of observers from the observer list for a given Notification name.
Retrieve an IMediator from the View.

See also