public void RaiseItemOpened(T item) { if (item != null) { ItemOpened?.Invoke(this, item); } }
private async void SubscribedPlaybackList_ItemOpened(MediaPlaybackList sender, MediaPlaybackItemOpenedEventArgs args) { var cur = args.Item; #if (DEBUG) System.Diagnostics.Debug.WriteLine("SubscribedPlaybackList_ItemOpened " + args.Item.ToString()); #endif loadProperties(cur); ItemOpened?.Invoke(sender, args); }
protected virtual void OnItemOpened(OpenedItemEventArgs e) { ItemOpened?.Invoke(this, e); }