C# 클래스 GettextLib.GettextFilesystemFactory

Automatically loads files from a dedicated po directory in your project. Name of the file should specify the culture, like en-US.po for American English. Monitors when files are changed, added or removed. Thread safe.
상속: GettextFactoryBase, IDisposable
파일 보기 프로젝트 열기: while-true/gettext 1 사용 예제들

공개 메소드들

메소드 설명
Dispose ( ) : void
GetContext ( string langId ) : GettextTranslationContext
GettextFilesystemFactory ( string poDirectory, LocaleFileOrganizationEnum fileOrganization ) : System

비공개 메소드들

메소드 설명
FileSystemWatcherEventHandler ( object source, FileSystemEventArgs e ) : void
GettextFilesystemFactory ( ) : System
LoadAllLanguages ( DirectoryInfo d, LocaleFileOrganizationEnum fileOrganization ) : List
LoadCatalog ( FileInfo f, LocaleFileOrganizationEnum fileOrganization ) : LanguageTranslation
LoadIntoCatalogs ( IEnumerable l, LanguageTranslation>.Dictionary d ) : void

메소드 상세

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

GetContext() 공개 메소드

public GetContext ( string langId ) : GettextTranslationContext
langId string
리턴 GettextTranslationContext

GettextFilesystemFactory() 공개 메소드

public GettextFilesystemFactory ( string poDirectory, LocaleFileOrganizationEnum fileOrganization ) : System
poDirectory string
fileOrganization LocaleFileOrganizationEnum
리턴 System