/// <summary>
        ///   <para>Creates nwe Share42 Panel widget.</para>
        /// </summary>
        /// <param name="html">Helper object to call method on.</param>
        /// <param name="builder">Delegate that performs configuration of the widget.</param>
        /// <returns>HTML contents of configured and rendered widget.</returns>
        /// <exception cref="ArgumentNullException">If either <paramref name="html"/> or <paramref name="builder"/> is a <c>null</c> reference.</exception>
        /// <seealso cref="IShare42HtmlHelper.Panel()"/>
        public static string Panel(this IShare42HtmlHelper html, Action <IShare42PanelWidget> builder)
        {
            Assertion.NotNull(html);
            Assertion.NotNull(builder);

            var widget = html.Panel();

            builder(widget);
            return(widget.ToHtmlString());
        }
    /// <summary>
    ///   <para>Initializes HTML helper object for rendering of Share42 widgets.</para>
    /// </summary>
    /// <param name="html">Helper object to call method on.</param>
    /// <returns>Widgets factory helper.</returns>
    /// <exception cref="ArgumentNullException">If <paramref name="html"/> is a <c>null</c> reference.</exception>
    public static IShare42HtmlHelper Share42(this HtmlHelper html)
    {
      Assertion.NotNull(html);

      return share42 ?? (share42 = new Share42HtmlHelper());
    }
        /// <summary>
        ///   <para>Initializes HTML helper object for rendering of Share42 widgets.</para>
        /// </summary>
        /// <param name="html">Helper object to call method on.</param>
        /// <returns>Widgets factory helper.</returns>
        /// <exception cref="ArgumentNullException">If <paramref name="html"/> is a <c>null</c> reference.</exception>
        public static IShare42HtmlHelper Share42(this HtmlHelper html)
        {
            Assertion.NotNull(html);

            return(share42 ?? (share42 = new Share42HtmlHelper()));
        }