System.Web.Mvc.LocalizableWebViewPage.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 ( string html ) : System.Web.Mvc.MvcHtmlString
html string The html to be translated
return System.Web.Mvc.MvcHtmlString
        public static MvcHtmlString GetHtml(string html, params object[] arguments)
        {
            return CultureInfo.CurrentUICulture.__(html, arguments);
        }