C# Class SmartFormat.Extensions.PluralLocalizationFormatter

Inheritance: IFormatter
Afficher le fichier Open project: scottrippey/SmartFormat.NET

Méthodes publiques

Méthode Description
PluralLocalizationFormatter ( string defaultTwoLetterISOLanguageName ) : System

Initializes the plugin with rules for many common languages. If no CultureInfo is supplied to the formatter, the default language rules will be used by default.

TryEvaluateFormat ( IFormattingInfo formattingInfo ) : bool

Private Methods

Méthode Description
GetPluralRule ( IFormattingInfo formattingInfo ) : PluralRules.PluralRuleDelegate

Method Details

PluralLocalizationFormatter() public méthode

Initializes the plugin with rules for many common languages. If no CultureInfo is supplied to the formatter, the default language rules will be used by default.
public PluralLocalizationFormatter ( string defaultTwoLetterISOLanguageName ) : System
defaultTwoLetterISOLanguageName string
Résultat System

TryEvaluateFormat() public méthode

public TryEvaluateFormat ( IFormattingInfo formattingInfo ) : bool
formattingInfo IFormattingInfo
Résultat bool