/// <summary> /// Returns a string containing a comma separated list of the different urls. /// </summary> /// <param name="imageSizes"></param> /// <param name="baseMediaUrlOptions"></param> /// <returns></returns> private static string GetUrlsString(MediaItem mediaItem, ImageSizeList imageSizes, MediaUrlOptions baseMediaUrlOptions = null) { return string.Join(", ", imageSizes.Select(imgSize => GetUrl(mediaItem, imgSize.GetMediaUrlOptions(baseMediaUrlOptions)))); }