DefaultLocalTextInitializer class

namespace: Serenity.Web   assemblySerenity.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

name description
DefaultLocalTextInitializer(…) Default ILocalTextInitializer that registers base texts and JSON texts from the App_Data/texts folder.
virtual Initialize(…)

Protected Members

name description
virtual AddJsonTexts(…) Adds JSON texts to the local text registry.

See Also