RegisterMediator(IMediator)
Register an IMediator instance with the View.
Namespace: PureMVC.InterfacesAssembly: PureMVC in (PureMVC.dll)
Syntax
C#
public abstract void RegisterMediator( IMediator mediator )
Parameters
mediator
IMediatora reference to the IMediator instance
Remarks
Registers the IMediator so that it can be retrieved by name, and further interrogates the IMediator for its INotification interests.
If the IMediator returns any INotification names to be notified about, an Observer is created encapsulating the IMediator instance's handleNotification method and registering it as an Observer for all INotifications the IMediator is interested in.