/// <summary> /// Gets the absolute url for a media file Url. /// </summary> /// <param name="mediaFile"> /// The media file. /// </param> /// <returns> /// The absolute url. /// </returns> public static string AbsoluteUrl(this IMediaFile mediaFile) { return mediaFile.AbsoluteUrl(string.Empty); }
/// <summary> /// Gets the absolute url for a link Url. /// </summary> /// <param name="link"> /// The link. /// </param> /// <returns> /// The absolute url. /// </returns> public static string AbsoluteUrl(this ILink link) { return link.AbsoluteUrl(string.Empty); }