C# 클래스 i18n.Helpers.TextLocalizerExtensions

파일 보기 프로젝트 열기: turquoiseowl/i18n

공개 메소드들

메소드 설명
GetText ( this textLocalizer, bool allowLookupWithHtmlDecodedMsgId, string msgid, string msgcomment, LanguageItem languages, LanguageTag &o_langtag, int maxPasses = -1 ) : string

Wrapper around ITextLocalizer.GetText which is more resilient where the msgid passed may have been HtmlDecoded. Ref Issue #105 and #202.

메소드 상세

GetText() 공개 정적인 메소드

Wrapper around ITextLocalizer.GetText which is more resilient where the msgid passed may have been HtmlDecoded. Ref Issue #105 and #202.
public static GetText ( this textLocalizer, bool allowLookupWithHtmlDecodedMsgId, string msgid, string msgcomment, LanguageItem languages, LanguageTag &o_langtag, int maxPasses = -1 ) : string
textLocalizer this Interface on text localizer object.
allowLookupWithHtmlDecodedMsgId bool /// Controls whether a lookup will be attempted with HtmlDecoded-msgid should the first lookup with raw msgid fail. ///
msgid string
msgcomment string
languages LanguageItem
o_langtag LanguageTag
maxPasses int
리턴 string