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