RegisterMediator(IMediator)
Register an IMediator instance with the View.
Namespace: PureMVC.CoreAssembly: PureMVC in (PureMVC.dll)
Syntax
C#
public void RegisterMediator( IMediator mediator )
Parameters
mediator
IMediatorthe name to associate with this 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 INotificationnames 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.