private async void OnItemsChanged(object sender, ItemsChangedEventArgs e)
        {
            QueueChangedNotification notification = new QueueChangedNotification();

            notification.NewItem = e.NewItem;
            notification.OldItem = e.OldItem;
            notification.Type    = NotificationType.ItemsChanged;

            await BroadcastAsync(notification);
        }
Exemplo n.º 2
0
 public ItemsChangedEventArgs(QueueChangedNotification notification)
     : this(notification.NewItem, notification.OldItem)
 {
 }