Skip to content

LocalTextDataScript constructor

Local text data script to access local texts from an external app like mobile.

public LocalTextDataScript(ILocalTextRegistry localTextRegistry, 
    IOptions<LocalTextPackages> localTextPackages, IHttpContextAccessor httpContextAccessor, 
    ILocalTextPermissionFilter? permissionFilter = null)
parameter description
localTextRegistry The local text registry.
localTextPackages The package list.
httpContextAccessor The HTTP context accessor.
permissionFilter Optional filter for texts by the permissions of the current user.

Exceptions

exception condition
ArgumentNullException One of the arguments is null.

Remarks

Initializes a new instance of the LocalTextDataScript class.

See Also