System.Web.Mvc.LocalizableWebViewPage.___s C# (CSharp) Method

___s() public static method

@Alias GetPluralRaw and FormatRawPlural

Translates the given singular or plural HTML applying string.Format(html, arguments) to the current culture language.

Warning! Neither the html nor the htmlArguments will be encoded whatsoever

public static ___s ( string singularHTML, string pluralHTML, int count ) : System.Web.Mvc.MvcHtmlString
singularHTML string The HTML to be translated when count is 1
pluralHTML string The HTML to be translated when count is NOT 1
count int If count is 1 the singular HTML will be used, otherwise the plural HTML
return System.Web.Mvc.MvcHtmlString
        public static MvcHtmlString ___s(string singularHTML, string pluralHTML, int count, params object[] htmlArguments)
        {
            return CultureInfo.CurrentUICulture.___s(singularHTML, pluralHTML, count, htmlArguments);
        }

Same methods

LocalizableWebViewPage::___s ( string singularHTML, string pluralHTML, int count, string>.Func escapeArgumentFunc ) : System.Web.Mvc.MvcHtmlString