C# Class SmartFormat.Extensions.CustomPluralRuleProvider

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

Public Methods

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

Method Details

CustomPluralRuleProvider() public method

public CustomPluralRuleProvider ( SmartFormat.Utilities.PluralRules pluralRule ) : System
pluralRule SmartFormat.Utilities.PluralRules
return System

GetFormat() public method

public GetFormat ( Type formatType ) : object
formatType System.Type
return object

GetPluralRule() public method

public GetPluralRule ( ) : PluralRules.PluralRuleDelegate
return PluralRules.PluralRuleDelegate