System.Web.Mvc.LocalizableWebViewPage.__ C# (CSharp) Méthode

__() public static méthode

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