Esempio n. 1
0
        /// <summary>
        /// This html Helper will render all the Social Tags configured for the current Item
        /// </summary>
        /// <param name="helper"></param>
        /// <returns></returns>
        public static MvcHtmlString GetSocialTags(this HtmlHelper helper)
        {
            SocialTagManager manager = new SocialTagManager();

            return(new MvcHtmlString(manager.GetSocialTags()));
        }
        protected override void RenderContents(HtmlTextWriter output)
        {
            SocialTagManager manager = new SocialTagManager();

            output.Write(manager.GetSocialTags());
        }