/// <summary>
 /// Creates a string containing the Twitter card meta tags. <see cref="TwitterCard"/> for more information.
 /// </summary>
 /// <param name="htmlHelper">The HTML helper.</param>
 /// <param name="twitterCard">The Twitter card metadata.</param>
 /// <returns>The meta tags.</returns>
 public static HtmlString TwitterCard(this HtmlHelper htmlHelper, TwitterCard twitterCard)
 {
     return new HtmlString(twitterCard.ToString());
 }
Exemple #2
0
 /// <summary>
 /// Creates a string containing the Twitter card meta tags. <see cref="TwitterCard"/> for more information.
 /// </summary>
 /// <param name="htmlHelper">The HTML helper.</param>
 /// <param name="twitterCard">The Twitter card metadata.</param>
 /// <returns>The Twitter card HTML meta tags.</returns>
 public static IHtmlString TwitterCard(this HtmlHelper htmlHelper, TwitterCard twitterCard)
 {
     return(twitterCard);
 }
 /// <summary>
 /// Creates a string containing the Twitter card meta tags. <see cref="TwitterCard"/> for more information.
 /// </summary>
 /// <param name="htmlHelper">The HTML helper.</param>
 /// <param name="twitterCard">The Twitter card metadata.</param>
 /// <returns>The meta tags.</returns>
 public static HtmlString TwitterCard(this IHtmlHelper htmlHelper, TwitterCard twitterCard)
 {
     return(new HtmlString(twitterCard.ToString()));
 }
 /// <summary>
 /// Creates a string containing the Twitter card meta tags. <see cref="TwitterCard"/> for more information.
 /// </summary>
 /// <param name="htmlHelper">The HTML helper.</param>
 /// <param name="twitterCard">The Twitter card metadata.</param>
 /// <returns>The meta tags.</returns>
 public static IHtmlString TwitterCard(this HtmlHelper htmlHelper, TwitterCard twitterCard)
 {
     return twitterCard;
 }