DefaultLocalTextInitializer constructor
namespace: Serenity.Web assembly: Serenity.Net.Web
Default ILocalTextInitializer that registers base texts and JSON texts from the App_Data/texts folder.
public DefaultLocalTextInitializer(ITypeSource typeSource, IRowTypeRegistry rowTypeRegistry = null,
IWebHostEnvironment webHostEnvironment = null)
| parameter | description |
|---|---|
| typeSource | The type source used to discover text registrations. |
| rowTypeRegistry | The row type registry used to discover row texts. |
| webHostEnvironment | The web host environment used to locate the texts folder. |
See Also
- interface ITypeSource
- interface IRowTypeRegistry
- class DefaultLocalTextInitializer