Skip to content

LocalTextDataScript class

namespace: Serenity.Web   assembly: Serenity.Net.Web

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

public class LocalTextDataScript : DataScript<IDictionary<string, string>>, ICacheSuffix
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.

Public Members

name description
LocalTextDataScript(…) Local text data script to access local texts from an external app like mobile.
CacheSuffix { get; }
static GetPackageData(…) Gets a local text package as a dictionary.

Protected Members

name description
override GetData()

Exceptions

exception condition
ArgumentNullException One of the arguments is null.

Remarks

Initializes a new instance of the LocalTextDataScript class.

See Also