INotification implementation.
More...

Public Member Functions | |
| Notification (string name) | |
| Notification (string name, object body) | |
| Constructs a new notification with the specified name and body, with the default type. | |
| Notification (string name, object body, string type) | |
| Constructs a new notification with the specified name, body and type. | |
| override string | ToString () |
Get the string representation of the Notification instance. | |
Properties | |
| string | Name [get] |
| object | Body [get, set] |
The body of the Notification instance. | |
| string | Type [get, set] |
The type of the Notification instance. | |
INotification implementation.
PureMVC does not rely upon underlying event models
The Observer Pattern as implemented within PureMVC exists to support event-driven communication between the application and the actors of the MVC triad
Notifications are not meant to be a replacement for Events. Generally, IMediator implementors place event handlers on their view components, which they then handle in the usual way. This may lead to the broadcast of Notifications to trigger ICommands or to communicate with other IMediators. IProxy and ICommand instances communicate with each other and IMediators by broadcasting INotifications
| PureMVC.Patterns.Notification.Notification | ( | string | name | ) |
Constructs a new notification with the specified name, default body and type
| name | The name of the Notification instance |
| PureMVC.Patterns.Notification.Notification | ( | string | name, | |
| object | body | |||
| ) |
Constructs a new notification with the specified name and body, with the default type.
| name | The name of the Notification instance | |
| body | The Notifications body |
| PureMVC.Patterns.Notification.Notification | ( | string | name, | |
| object | body, | |||
| string | type | |||
| ) |
Constructs a new notification with the specified name, body and type.
| name | The name of the Notification instance | |
| body | The Notifications body | |
| type | The type of the Notification |
| override string PureMVC.Patterns.Notification.ToString | ( | ) |
Get the string representation of the Notification instance.
Notification instanceImplements PureMVC.Interfaces.INotification.
object PureMVC.Patterns.Notification.Body [get, set] |
The body of the Notification instance.
This accessor is thread safe
Implements PureMVC.Interfaces.INotification.
string PureMVC.Patterns.Notification.Name [get] |
The name of the Notification instance
Implements PureMVC.Interfaces.INotification.
string PureMVC.Patterns.Notification.Type [get, set] |
The type of the Notification instance.
This accessor is thread safe
Implements PureMVC.Interfaces.INotification.
1.5.8