C# Class GettextMvcLib.MvcHtmlHelper.GettextExtensions

These methods get the gettext context from the helper's ViewData.
Afficher le fichier Open project: while-true/gettext

Méthodes publiques

Méthode Description
PGettext ( this helper, string msgctxt, string msgid ) : GettextMvcTranslatedString
PNGettext ( this helper, string msgctxt, string msgid, string msgidPlural, int n ) : GettextMvcTranslatedString
_ ( this helper, string msgid ) : GettextMvcTranslatedString
_ ( this helper, string msgid, string msgidPlural, int n ) : GettextMvcTranslatedString

Private Methods

Méthode Description
GetContext ( HtmlHelper helper ) : GettextTranslationContext

Method Details

PGettext() public static méthode

public static PGettext ( this helper, string msgctxt, string msgid ) : GettextMvcTranslatedString
helper this
msgctxt string
msgid string
Résultat GettextMvcTranslatedString

PNGettext() public static méthode

public static PNGettext ( this helper, string msgctxt, string msgid, string msgidPlural, int n ) : GettextMvcTranslatedString
helper this
msgctxt string
msgid string
msgidPlural string
n int
Résultat GettextMvcTranslatedString

_() public static méthode

public static _ ( this helper, string msgid ) : GettextMvcTranslatedString
helper this
msgid string
Résultat GettextMvcTranslatedString

_() public static méthode

public static _ ( this helper, string msgid, string msgidPlural, int n ) : GettextMvcTranslatedString
helper this
msgid string
msgidPlural string
n int
Résultat GettextMvcTranslatedString