Ejemplo n.º 1
0
 /// <summary>
 /// Attach List Playlist Commands
 /// </summary>
 /// <param name="client">Spotify Sdk Client</param>
 /// <param name="responses">Playlist Responses</param>
 public static void AttachListPlaylistsCommands(
     this ISpotifySdkClient client,
     NavigationResponse <PlaylistResponse> responses)
 {
     if (client.Config.IsAttachListPlaylistsCommands && responses?.Items != null)
     {
         responses.Items.ForEach(item => client.AttachGetPlaylistCommands(item, client.Config.IsAttachListPlaylistsCommands));
     }
 }