Пример #1
0
 public static MvcHtmlString Image(this HtmlHelper helper, IComponent image, object htmlAttributes)
 {
     return MvcHtmlString.Create(image.GetImageTag(htmlAttributes));
 }
Пример #2
0
 public static MvcHtmlString Image(this HtmlHelper helper, IComponent image)
 {
     return MvcHtmlString.Create(image.GetImageTag(string.Empty));
 }