Update QueueCallerJoinEvent.cs
Inheritance from JoinEvent.
This commit is contained in:
parent
b3cd107043
commit
d055641b18
|
@ -1,13 +1,25 @@
|
||||||
namespace AsterNET.Manager.Event
|
namespace AsterNET.Manager.Event
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// A QueueCallerJoinEvent is triggered when a channel joins a queue.<br/>
|
/// A QueueCallerJoinEvent is triggered when a channel joins a queue.<br/>
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public class QueueCallerJoinEvent : QueueEvent
|
public class QueueCallerJoinEvent : JoinEvent
|
||||||
{
|
{
|
||||||
public string Position { get; set; }
|
// "Channel" in ManagerEvent.cs
|
||||||
|
|
||||||
public QueueCallerJoinEvent(ManagerConnection source)
|
// "Queue" in QueueEvent.cs
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Get/Set the Caller*ID number of the channel that joined the queue if set.
|
||||||
|
/// If the channel has no caller id set "unknown" is returned.
|
||||||
|
/// </summary>
|
||||||
|
public string CallerIDNum { get; set; }
|
||||||
|
|
||||||
|
// "CallerIdName" in JoinEvent.cs
|
||||||
|
|
||||||
|
// "Position" in JoinEvent.cs
|
||||||
|
|
||||||
|
public QueueCallerJoinEvent(ManagerConnection source)
|
||||||
: base(source)
|
: base(source)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue