Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


CustomPluralRuleProvider

Provides custom plural rules to Smart.Format.
Read time 1 minuteLast updated 12 days ago

Definition

public class CustomPluralRuleProvider : IFormatProvider

Constructors

Constructor

Description

CustomPluralRuleProvider(Unity.SmartStrings.Utilities.PluralRules.PluralRuleDelegate)Creates a new custom plural rule provider.

Methods

Method

Description

GetFormatGets the format Object for a CustomPluralRuleProvider.
GetPluralRuleGets the PluralRules.PluralRuleDelegate of the current CustomPluralRuleProvider instance.