LocalTextDataScript constructor

namespace: Serenity.Web   assemblySerenity.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 The local text registry.
localTextPackages The package list.
httpContextAccessor The HTTP context accessor.

Exceptions

exception condition
ArgumentNullException One of the arguments is null.

Remarks

Initializes a new instance of the LocalTextDataScript class.

See Also