C# Class SmartFormat.Extensions.CustomPluralRuleProvider

Use this class to provide custom plural rules to Smart.Format
Inheritance: IFormatProvider
Afficher le fichier Open project: scottrippey/SmartFormat.NET

Méthodes publiques

Méthode Description
CustomPluralRuleProvider ( SmartFormat.Utilities.PluralRules pluralRule ) : System
GetFormat ( Type formatType ) : object
GetPluralRule ( ) : PluralRules.PluralRuleDelegate

Method Details

CustomPluralRuleProvider() public méthode

public CustomPluralRuleProvider ( SmartFormat.Utilities.PluralRules pluralRule ) : System
pluralRule SmartFormat.Utilities.PluralRules
Résultat System

GetFormat() public méthode

public GetFormat ( Type formatType ) : object
formatType System.Type
Résultat object

GetPluralRule() public méthode

public GetPluralRule ( ) : PluralRules.PluralRuleDelegate
Résultat PluralRules.PluralRuleDelegate