Interface IPluralForm
Defines the computation method of the plural form.
Namespace: MGR.PortableObject
Assembly: MGR.PortableObject.dll
Syntax
public interface IPluralForm
Properties
| Edit this page View SourceNumberOfPluralForms
Gets the number of plural forms.
Declaration
int NumberOfPluralForms { get; }
Property Value
| Type | Description |
|---|---|
| int |
Methods
| Edit this page View SourceGetPluralFormForQuantity(int)
Get the plural form for the specified quantity.
Declaration
int GetPluralFormForQuantity(int quantity)
Parameters
| Type | Name | Description |
|---|---|---|
| int | quantity | The quantity. |
Returns
| Type | Description |
|---|---|
| int | The plural form. |