Beispiel #1
0
 /// <summary>
 /// Assign plurality rules as
 /// <list type="bullet">
 /// <item>Assign assembly qualified type name of <see cref="IPluralRules"/>, e.g. "Unicode.CLDR35"</item>
 /// <item>Plural rules expression (starts with '['), e.g. "[Category=cardinal,Case=One,Optional=1]n=0[Category=cardinal,Case=One]n=1[Category=cardinal,Case=Other]true"</item>
 /// </list>
 /// </summary>
 /// <param name="lineFactory"></param>
 /// <param name="ruleSet"></param>
 /// <returns>new key with rules</returns>
 public static ILine PluralRules(this ILineFactory lineFactory, string ruleSet)
 => lineFactory.Parameter("PluralRules", ruleSet);