DefaultLocalTextInitializer class
namespace: Serenity.Web assembly: Serenity.Net.Web
Default ILocalTextInitializer that registers base texts and JSON texts from the App_Data/texts folder.
public class DefaultLocalTextInitializer : ILocalTextInitializer
| 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. |
Public Members
Protected Members
| name |
description |
| virtual AddJsonTexts(…) |
Adds JSON texts to the local text registry. |
See Also