C# 클래스 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.

상속: MessageBase
파일 보기 프로젝트 열기: artwallace/PsmFramework

공개 메소드들

메소드 설명
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.

메소드 상세

NotificationMessage() 공개 메소드

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() 공개 메소드

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() 공개 메소드

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)