C# 클래스 NGettext.PluralCompile.MoCompilingPluralLoader

A catalog loader that loads data from files in the GNU/Gettext MO file format and generates a plural form rule using CompiledPluralRuleGenerator.
상속: NGettext.Loaders.MoLoader
파일 보기 프로젝트 열기: neris/NGettext

공개 메소드들

메소드 설명
MoCompilingPluralLoader ( Stream moStream ) : System

Initializes a new instance of the MoLoader class which will try to load a MO file from the specified stream. CompiledPluralRuleGenerator will be used to generate a plural form rule.

MoCompilingPluralLoader ( Stream moStream, MoFileParser parser ) : System

Initializes a new instance of the MoLoader class which will try to load a MO file from the specified stream. CompiledPluralRuleGenerator will be used to generate a plural form rule.

MoCompilingPluralLoader ( string filePath ) : System

Initializes a new instance of the MoLoader class which will try to load a MO file from the specified path. CompiledPluralRuleGenerator will be used to generate a plural form rule.

MoCompilingPluralLoader ( string filePath, MoFileParser parser ) : System

Initializes a new instance of the MoLoader class which will try to load a MO file from the specified path. CompiledPluralRuleGenerator will be used to generate a plural form rule.

MoCompilingPluralLoader ( string domain, string localeDir ) : System

Initializes a new instance of the MoLoader class which will try to load a MO file that will be located in the localeDir using the domain name and catalog's culture info. CompiledPluralRuleGenerator will be used to generate a plural form rule.

MoCompilingPluralLoader ( string domain, string localeDir, MoFileParser parser ) : System

Initializes a new instance of the MoLoader class which will try to load a MO file that will be located in the localeDir using the domain name and catalog's culture info. CompiledPluralRuleGenerator will be used to generate a plural form rule.

메소드 상세

MoCompilingPluralLoader() 공개 메소드

Initializes a new instance of the MoLoader class which will try to load a MO file from the specified stream. CompiledPluralRuleGenerator will be used to generate a plural form rule.
public MoCompilingPluralLoader ( Stream moStream ) : System
moStream Stream
리턴 System

MoCompilingPluralLoader() 공개 메소드

Initializes a new instance of the MoLoader class which will try to load a MO file from the specified stream. CompiledPluralRuleGenerator will be used to generate a plural form rule.
public MoCompilingPluralLoader ( Stream moStream, MoFileParser parser ) : System
moStream Stream
parser NGettext.Loaders.MoFileParser
리턴 System

MoCompilingPluralLoader() 공개 메소드

Initializes a new instance of the MoLoader class which will try to load a MO file from the specified path. CompiledPluralRuleGenerator will be used to generate a plural form rule.
public MoCompilingPluralLoader ( string filePath ) : System
filePath string
리턴 System

MoCompilingPluralLoader() 공개 메소드

Initializes a new instance of the MoLoader class which will try to load a MO file from the specified path. CompiledPluralRuleGenerator will be used to generate a plural form rule.
public MoCompilingPluralLoader ( string filePath, MoFileParser parser ) : System
filePath string
parser NGettext.Loaders.MoFileParser
리턴 System

MoCompilingPluralLoader() 공개 메소드

Initializes a new instance of the MoLoader class which will try to load a MO file that will be located in the localeDir using the domain name and catalog's culture info. CompiledPluralRuleGenerator will be used to generate a plural form rule.
public MoCompilingPluralLoader ( string domain, string localeDir ) : System
domain string
localeDir string
리턴 System

MoCompilingPluralLoader() 공개 메소드

Initializes a new instance of the MoLoader class which will try to load a MO file that will be located in the localeDir using the domain name and catalog's culture info. CompiledPluralRuleGenerator will be used to generate a plural form rule.
public MoCompilingPluralLoader ( string domain, string localeDir, MoFileParser parser ) : System
domain string
localeDir string
parser NGettext.Loaders.MoFileParser
리턴 System