C# Class NGettext.Loaders.MoAstPluralLoader

A catalog loader that loads data from files in the GNU/Gettext MO file format and generates a plural form rule using AstPluralRuleGenerator.
Inheritance: MoLoader
Afficher le fichier Open project: neris/NGettext

Méthodes publiques

Méthode Description
MoAstPluralLoader ( Stream moStream ) : System

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

MoAstPluralLoader ( 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. AstPluralRuleGenerator will be used to generate a plural form rule.

MoAstPluralLoader ( string filePath ) : System

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

MoAstPluralLoader ( 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. AstPluralRuleGenerator will be used to generate a plural form rule.

MoAstPluralLoader ( 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. AstPluralRuleGenerator will be used to generate a plural form rule.

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

Initializes a new instance of the MoAstPluralLoader 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. AstPluralRuleGenerator will be used to generate a plural form rule.

Method Details

MoAstPluralLoader() public méthode

Initializes a new instance of the MoLoader class which will try to load a MO file from the specified stream. AstPluralRuleGenerator will be used to generate a plural form rule.
public MoAstPluralLoader ( Stream moStream ) : System
moStream Stream
Résultat System

MoAstPluralLoader() public méthode

Initializes a new instance of the MoLoader class which will try to load a MO file from the specified stream. AstPluralRuleGenerator will be used to generate a plural form rule.
public MoAstPluralLoader ( Stream moStream, MoFileParser parser ) : System
moStream Stream
parser MoFileParser
Résultat System

MoAstPluralLoader() public méthode

Initializes a new instance of the MoLoader class which will try to load a MO file from the specified path. AstPluralRuleGenerator will be used to generate a plural form rule.
public MoAstPluralLoader ( string filePath ) : System
filePath string
Résultat System

MoAstPluralLoader() public méthode

Initializes a new instance of the MoLoader class which will try to load a MO file from the specified path. AstPluralRuleGenerator will be used to generate a plural form rule.
public MoAstPluralLoader ( string filePath, MoFileParser parser ) : System
filePath string
parser MoFileParser
Résultat System

MoAstPluralLoader() public méthode

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. AstPluralRuleGenerator will be used to generate a plural form rule.
public MoAstPluralLoader ( string domain, string localeDir ) : System
domain string
localeDir string
Résultat System

MoAstPluralLoader() public méthode

Initializes a new instance of the MoAstPluralLoader 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. AstPluralRuleGenerator will be used to generate a plural form rule.
public MoAstPluralLoader ( string domain, string localeDir, MoFileParser parser ) : System
domain string
localeDir string
parser MoFileParser
Résultat System