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); }
public ItemsChangedEventArgs(QueueChangedNotification notification) : this(notification.NewItem, notification.OldItem) { }