LocalTextDataScript constructor
namespace: Serenity.Web assembly: Serenity.Net.Web
Local text data script to access local texts from an external app like mobile
public LocalTextDataScript(ILocalTextRegistry localTextRegistry,
IOptions<LocalTextPackages> localTextPackages, IHttpContextAccessor httpContextAccessor)
| parameter | description |
|---|---|
| localTextRegistry | Local text registry |
| localTextPackages | Package list |
| httpContextAccessor | HTTP context accessor |
Exceptions
| exception | condition |
|---|---|
| ArgumentNullException | One of arguments is null |
Remarks
Creates an instance of the class
See Also
- interface ILocalTextRegistry
- class LocalTextPackages
- class LocalTextDataScript