C# Class PsmFramework.Engines.Messaging.NotificationMessage

Passes a string message (Notification) to a recipient.

Typically, notifications are defined as unique strings in a static class. To define a unique string, you can use Guid.NewGuid().ToString() or any other unique identifier.

Inheritance: MessageBase
Afficher le fichier Open project: artwallace/PsmFramework

Méthodes publiques

Méthode Description
NotificationMessage ( object sender, object target, string notification )

Initializes a new instance of the NotificationMessage class.

NotificationMessage ( object sender, string notification )

Initializes a new instance of the NotificationMessage class.

NotificationMessage ( string notification )

Initializes a new instance of the NotificationMessage class.

Method Details

NotificationMessage() public méthode

Initializes a new instance of the NotificationMessage class.
public NotificationMessage ( object sender, object target, string notification )
sender object The message's sender.
target object The message's intended target. This parameter can be used /// to give an indication as to whom the message was intended for. Of course /// this is only an indication, amd may be null.
notification string A string containing any arbitrary message to be /// passed to recipient(s)

NotificationMessage() public méthode

Initializes a new instance of the NotificationMessage class.
public NotificationMessage ( object sender, string notification )
sender object The message's sender.
notification string A string containing any arbitrary message to be /// passed to recipient(s)

NotificationMessage() public méthode

Initializes a new instance of the NotificationMessage class.
public NotificationMessage ( string notification )
notification string A string containing any arbitrary message to be /// passed to recipient(s)