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
Показать файл Открыть проект

Открытые методы

Метод Описание
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