LocalTextLanguages.ForAssembly method
Gets the language that the texts of the code of an assembly are registered for in a registry: the invariant language when the assembly has no LocalTextLanguageAttribute, or its language is the base one, else its language, which is then added to the source languages of the registry.
public static string ForAssembly(ILocalTextRegistry registry, Assembly? assembly,
string languageID = "")
| parameter | description |
|---|---|
| registry | The registry. |
| assembly | The assembly. |
| languageID | The language that the caller asked for; the one of the assembly is used only when this is the invariant language. |
See Also
- interface ILocalTextRegistry
- class LocalTextLanguages