Method GetInstance
GetInstance(NameType, RuleType, LanguageSet)
Gets rules for a combination of name type, rule type and languages.
Declaration
public static IList<Rule> GetInstance(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 |
---|---|
IList<Rule> | A list of Rules that apply. |
GetInstance(NameType, RuleType, String)
Gets rules for a combination of name type, rule type and a single language.
Declaration
public static IList<Rule> GetInstance(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 |
---|---|
IList<Rule> | A list of Rules that apply. |