LocalTextDataScript class

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

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