文档

Unity Engine

Unity Engine

CustomPluralRuleProvider

Provides custom plural rules to Smart.Format.
阅读时间1 分钟最后更新于 1 个月前

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.