public static ToastArguments MakePlayPlaylistToastArguments(PlaylistItemsSourceOrigin origin, string playlistId)
        {
            var args = new ToastArguments();

            args.Add(ToastArgumentKey_Action, ToastArgumentValue_Action_PlayPlaylist);
            args.Add(ToastArgumentKey_PlaylistOrigin, origin.ToString());
            args.Add(ToastArgumentKey_PlaylistId, playlistId);
            return(args);
        }
 public IPlaylistFactory Resolve(PlaylistItemsSourceOrigin origin)
 {
     return(origin switch
     {
         PlaylistItemsSourceOrigin.Local => _localMylistPlaylistFactory.Value,
         PlaylistItemsSourceOrigin.Mylist => _mylistPlaylistFactory.Value,
         PlaylistItemsSourceOrigin.Series => _seriesVideoPlaylistFactory.Value,
         PlaylistItemsSourceOrigin.ChannelVideos => _channelVideoPlaylistFactory.Value,
         PlaylistItemsSourceOrigin.UserVideos => _userVideoPlaylistFactory.Value,
         PlaylistItemsSourceOrigin.CommunityVideos => _communityVideoPlaylistFactory.Value,
         PlaylistItemsSourceOrigin.SearchWithKeyword => _searchPlaylistFactory.Value,
         PlaylistItemsSourceOrigin.SearchWithTag => _searchPlaylistFactory.Value,
         _ => throw new NotSupportedException(origin.ToString()),
     });