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