Method GetInstanceMap
GetInstanceMap(NameType, RuleType, LanguageSet)
Gets rules for a combination of name type, rule type and languages.
since 1.9
Declaration
public static IDictionary<string, IList<Rule>> GetInstanceMap(NameType nameType, RuleType rt, LanguageSet langs)
Parameters
Type | Name | Description |
---|---|---|
NameType | nameType | The NameType to consider. |
RuleType | rt | The RuleType to consider. |
LanguageSet | langs | The set of languages to consider. |
Returns
Type | Description |
---|---|
IDictionary<System.String, IList<Rule>> | A map containing all Rules that apply, grouped by the first character of the rule pattern. |
GetInstanceMap(NameType, RuleType, String)
Gets rules for a combination of name type, rule type and a single language.
since 1.9
Declaration
public static IDictionary<string, IList<Rule>> GetInstanceMap(NameType nameType, RuleType rt, string lang)
Parameters
Type | Name | Description |
---|---|---|
NameType | nameType | The NameType to consider. |
RuleType | rt | The RuleType to consider. |
System.String | lang | The language to consider. |
Returns
Type | Description |
---|---|
IDictionary<System.String, IList<Rule>> | A map containing all Rules that apply, grouped by the first character of the rule pattern. |