PNotificationCenter Class

PNotificationCenter provides a way for objects that don’t know about each other to communicate.

For a list of all members of this type, see PNotificationCenter Members.


public class PNotificationCenter

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.


This class receives PNotification objects and broadcasts them to all interested listeners. Unlike standard C# events, the event handlers don't need to know about the event source, and the event source doesn't need to maintain event delegates.

Listeners of the notfications center are held by weak references. So the notfication center will not create garbage collection problems as standard event listeners do.


Namespace: UMD.HCIL.PiccoloX.Events

Assembly: UMD.HCIL.PiccoloX (in UMD.HCIL.PiccoloX.dll)

See Also

PNotificationCenter Members | UMD.HCIL.PiccoloX.Events Namespace