London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!
AI OnAI Off
London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!
I have indexed YouTubeChannelInfo objects which contains many YouTube Channel information.
YouTubeChannelInfo has a Dictionary attribute called 'Playlists' which contains Playlist Title as the key and the ID as the value. Thus, there could be many playlists for a given channel.
public class YouTubeChannelInfo { public string Name { get; set; } // Channel Name public Dictionary<string, string> Playlists { get; set; } // Key - Playlist Title, Value - Playlist ID }
What I need to get is the count of videos for every playlist. Anyway in the Episerver Find Documentation, it does not state about Dictionary attributes.
Below is an example values for the above model,
YouTubeChannelInfoObj1.Playlists --> has --> {"Animation","xxxx"},{"Comedy","xxxx"},{"Thriller","xxxx"}
YouTubeChannelInfoObj2.Playlists --> has --> {"Animation","xxxx"}
YouTubeChannelInfoObj3.Playlists --> has --> {"Animation","xxxx"},{"Thriller","xxxx"}
The output for the above should be,
Animation --> 3
Comedy --> 1
Thriller --> 2
Anyway to get this output?