Update QueueCallerLeaveEvent.cs

Inheritance from LeaveEvent.
This commit is contained in:
Deantwo 2017-12-21 16:03:57 +01:00 committed by GitHub
parent d055641b18
commit 7d06b2cfaf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,13 +1,17 @@
namespace AsterNET.Manager.Event namespace AsterNET.Manager.Event
{ {
/// <summary> /// <summary>
/// A QueueCallerLeaveEvent is triggered when a channel leaves a queue.<br/> /// A QueueCallerLeaveEvent is triggered when a channel leaves a queue.<br/>
/// </summary> /// </summary>
public class QueueCallerLeaveEvent : QueueEvent public class QueueCallerLeaveEvent : LeaveEvent
{ {
public string Position { get; set; } // "Channel" in ManagerEvent.cs
public QueueCallerLeaveEvent(ManagerConnection source) // "Queue" in QueueEvent.cs
// "Count" in QueueEvent.cs
public QueueCallerLeaveEvent(ManagerConnection source)
: base(source) : base(source)
{ {
} }