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

___() public static method

@Alias GetRaw and FormatRaw

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

For each argument the escape func will be called before applying the format

public static ___ ( this culture, string html, string>.Func escapeArgumentFunc ) : System.Web.Mvc.MvcHtmlString
culture this The culture being extended
html string The text to be translated
escapeArgumentFunc string>.Func The func to be applied for each argument .i.e. a => HttpUtility.HtmlAttributeEncode(a)
return System.Web.Mvc.MvcHtmlString
        public static MvcHtmlString ___(this CultureInfo culture, string html, Func<object, string> escapeArgumentFunc, params object[] htmlArguments)
        {
            var result = new MvcHtmlString(string.Format(I18NComplete.GetText(html, lcid: culture.LCID), htmlArguments
                .Select(a => escapeArgumentFunc(a)).ToArray()));
            return
            #if DEBUG
             I18NComplete.OnGetting___(result, CultureInfo.CurrentCulture, html, escapeArgumentFunc, htmlArguments) ??
            #endif
             result;
        }

Same methods

I18N::___ ( this culture, string html ) : System.Web.Mvc.MvcHtmlString