35 lines
937 B
C#
35 lines
937 B
C#
namespace AsterNET.Manager.Event
|
|
{
|
|
/// <summary>
|
|
/// Abstract base class for events triggered in response to a ManagerAction.<br/>
|
|
/// All ResponseEvents contain an additional action id property that links the
|
|
/// event to the action that caused it.
|
|
/// </summary>
|
|
public abstract class ResponseEvent : ManagerEvent
|
|
{
|
|
private string actionId;
|
|
private string internalActionId;
|
|
|
|
/// <summary>
|
|
/// Get/Set the action id of the ManagerAction that caused this event.
|
|
/// </summary>
|
|
public string ActionId
|
|
{
|
|
get { return actionId; }
|
|
set { this.actionId = value; }
|
|
}
|
|
/// <summary>
|
|
/// Get/Set the internal action id of the ManagerAction that caused this event.
|
|
/// </summary>
|
|
public string InternalActionId
|
|
{
|
|
get { return internalActionId; }
|
|
set { this.internalActionId = value; }
|
|
}
|
|
|
|
public ResponseEvent(ManagerConnection source)
|
|
: base(source)
|
|
{
|
|
}
|
|
}
|
|
} |