InitializeNotifier(String)

Initialize this INotifier instance.
Namespace: PureMVC.Patterns.ObserverAssembly: PureMVC in (PureMVC.dll)

Syntax

C#
public void InitializeNotifier(
	string key
	)

Parameters

keyString
the multitonKey for this INotifier to use

Remarks

This is how a Notifier gets its multitonKey. Calls to sendNotification or to access the facade will fail until after this method has been called.

Mediators, Commands or Proxies may override this method in order to send notifications or access the Multiton Facade instance as soon as possible. They CANNOT access the facade in their constructors, since this method will not yet have been called.