Method LoadFromResource
LoadFromResource(String, Languages)
Loads language rules from a resource.
In normal use, you will obtain instances of Lang through the GetInstance(NameType) method. You will only need to call this yourself if you are developing custom language mapping rules.
Declaration
public static Lang LoadFromResource(string languageRulesResourceName, Languages languages)
Parameters
Type | Name | Description |
---|---|---|
System.String | languageRulesResourceName | The fully-qualified or partially-qualified resource name to load. |
Languages | languages | The languages that these rules will support. |
Returns
Type | Description |
---|---|
Lang | A Lang encapsulating the loaded language-guessing rules. |