CustomPluralRuleProvider
Provides custom plural rules to Smart.Format.
Read time 1 minuteLast updated 12 days ago
Definition
- Type: Class
- Namespace: Unity.SmartStrings.Extensions
- Assembly: UnityEngine.SmartStringsModule
- Implements: IFormatProvider
public class CustomPluralRuleProvider : IFormatProvider
Constructors
Constructor | Description |
|---|---|
| CustomPluralRuleProvider(Unity.SmartStrings.Utilities.PluralRules.PluralRuleDelegate) | Creates a new custom plural rule provider. |
Methods
Method | Description |
|---|---|
| GetFormat | Gets the format Object for a CustomPluralRuleProvider. |
| GetPluralRule | Gets the PluralRules.PluralRuleDelegate of the current CustomPluralRuleProvider instance. |