PropertyItemsLocalTextRegistration.AddPropertyItemsTexts method
namespace: Serenity.Localization assembly: Serenity.Net.Core
Adds local text translations defined implicitly by DisplayName, Tab, Placeholder, Hint etc. attributes used in Column/Form etc. definitions.
public static void AddPropertyItemsTexts(this ILocalTextRegistry registry, ITypeSource typeSource,
string languageID = "")
| parameter | description |
|---|---|
| typeSource | Type source to search for enumeration classes in |
| languageID | Language ID texts will be added (default is invariant language) |
| registry | Registry |
See Also
- interface ILocalTextRegistry
- interface ITypeSource
- class PropertyItemsLocalTextRegistration