C# 클래스 PsmFramework.Engines.Messaging.NotificationMessageAction

Provides a message class with a built-in callback. When the recipient is done processing the message, it can execute the callback to notify the sender that it is done. Use the Execute method to execute the callback.
상속: NotificationMessageWithCallback
파일 보기 프로젝트 열기: artwallace/PsmFramework

공개 메소드들

메소드 설명
Execute ( ) : void

Executes the callback that was provided with the message.

NotificationMessageAction ( object sender, object target, string notification, System.Action callback ) : System

Initializes a new instance of the NotificationMessageAction class.

NotificationMessageAction ( object sender, string notification, System.Action callback ) : System

Initializes a new instance of the NotificationMessageAction class.

NotificationMessageAction ( string notification, System.Action callback ) : System

Initializes a new instance of the NotificationMessageAction class.

메소드 상세

Execute() 공개 메소드

Executes the callback that was provided with the message.
public Execute ( ) : void
리턴 void

NotificationMessageAction() 공개 메소드

Initializes a new instance of the NotificationMessageAction class.
public NotificationMessageAction ( object sender, object target, string notification, System.Action callback ) : System
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 An arbitrary string that will be /// carried by the message.
callback System.Action The callback method that can be executed /// by the recipient to notify the sender that the message has been /// processed.
리턴 System

NotificationMessageAction() 공개 메소드

Initializes a new instance of the NotificationMessageAction class.
public NotificationMessageAction ( object sender, string notification, System.Action callback ) : System
sender object The message's sender.
notification string An arbitrary string that will be /// carried by the message.
callback System.Action The callback method that can be executed /// by the recipient to notify the sender that the message has been /// processed.
리턴 System

NotificationMessageAction() 공개 메소드

Initializes a new instance of the NotificationMessageAction class.
public NotificationMessageAction ( string notification, System.Action callback ) : System
notification string An arbitrary string that will be /// carried by the message.
callback System.Action The callback method that can be executed /// by the recipient to notify the sender that the message has been /// processed.
리턴 System