/// <summary> /// for a given umbraco Id, attempt to get the appropriate IPublishedContent (be that a typed content / media or member) /// </summary> /// <param name="umbracoHelper">The <see cref="UmbracoHelper"/> class on which this extension method is associated</param> /// <param name="id">The Umbraco string id (expected to be a guid) to get IPublishedContent for</param> /// <returns>null or IPublishedContent</returns> internal static IPublishedContent GetPublishedContent(this UmbracoHelper umbracoHelper, int id) { return(umbracoHelper.GetPublishedContent(id.ToString())); }