Observer(Action<INotification>, Object)

Constructor.
Namespace: PureMVC.Patterns.ObserverAssembly: PureMVC in (PureMVC.dll)

Syntax

C#
public Observer(
	Action<INotification> notifyMethod,
	object notifyContext
	)

Parameters

notifyMethodAction<>
the notification method of the interested object
notifyContextObject
the notification context of the interested object

Remarks

The notification method on the interested object should take one parameter of type INotification