System.Globalization.I18N.GetHtml C# (CSharp) Method

GetHtml() public static method

@Alias __ and FormatHtml

Translates the given html applying string.Format(html, arguments.Select(a => HttpUtility.HtmlEncode(a))) to the current culture language.

The html will be kept as it is, while arguments will be automatically HTML Encoded

public static GetHtml ( this culture, string html ) : System.Web.Mvc.MvcHtmlString
culture this The culture being extended
html string The html to be translated
return System.Web.Mvc.MvcHtmlString
        public static MvcHtmlString GetHtml(this CultureInfo culture, string html, params object[] arguments)
        {
            return __(culture, html, arguments);
        }