LocalTextDataScript.GetPackageData method

namespace: Serenity.Web   assemblySerenity.Net.Web

Gets a local text package as a dictionary.

public static IDictionary<string, string> GetPackageData(ILocalTextRegistry registry, 
    string includes, string languageId, bool isPending, string packageId = null)
parameter description
registry The text registry.
includes The includes regex.
languageId The language ID.
isPending true to include pending texts.
packageId The package ID.

Return Value

A dictionary of local text keys and values.

Exceptions

exception condition
ArgumentNullException registry is null.

See Also