C# Class NCldr.Types.PluralRule

Exibir arquivo Open project: GuySmithFerrier/NCLDR Class Usage Examples

Public Methods

Method Description
IsMatch ( int value ) : bool

IsMatch returns true if an integer matches this rule

Private Methods

Method Description
NisEvaluator ( Match match ) : string

NisEvaluator evaluates "n is" clauses

NmodEvaluator ( Match match ) : string

NmodEvaluator evaluates "n mod" clauses

Method Details

IsMatch() public method

IsMatch returns true if an integer matches this rule
public IsMatch ( int value ) : bool
value int The integer to compare against this rule
return bool