/// <summary> /// Adds some segments to the title and returns all segments. /// </summary> /// <param name="segments">The segments to add to the title.</param> /// <param name="position">Optional. The position of the segments in the title.</param> /// <returns>And <see cref="IHtmlContent"/> instance representing the full title.</returns> public IHtmlContent RenderTitleSegments(IEnumerable <IHtmlContent> segments, string position = "0", IHtmlContent separator = null) { Title.AddSegments(segments, position); return(Title.GenerateTitle(separator)); }
/// <summary> /// Adds some segments to the title and returns all segments. /// </summary> /// <param name="segments">The segments to add to the title.</param> /// <param name="position">Optional. The position of the segments in the title.</param> /// <returns>And <see cref="IHtmlContent"/> instance representing the full title.</returns> public IHtmlContent RenderTitleSegments(IEnumerable <IHtmlContent> segments, string position = "0") { Title.AddSegments(segments); return(RenderTitleSegments()); }