LocalTextDataScript.GetPackageData method
namespace: SerenityIs.Administration assembly: Serenity.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 | Text registry |
| includes | Includes regex |
| languageId | Language ID |
| isPending | True to include pending text |
| packageId | Package ID |
Exceptions
| exception | condition |
|---|---|
| ArgumentNullException | Registry is null |
See Also
- interface ILocalTextRegistry
- class LocalTextDataScript