LocalTextScript.GetLocalTextPackageScript method (1 of 2)
namespace: Serenity.Web assembly: Serenity.Net.Web
Gets local text package script content
public static string GetLocalTextPackageScript(ILocalTextRegistry registry,
LocalTextPackages packages, string package, string languageId, bool isPending)
parameter | description |
---|---|
registry | Text registry |
packages | Packages setting |
package | Package key |
languageId | Language ID |
isPending | True to include pending texts |
Exceptions
exception | condition |
---|---|
ArgumentNullException | Package key or packages setting is null |
See Also
- interface ILocalTextRegistry
- class LocalTextPackages
- class LocalTextScript
LocalTextScript.GetLocalTextPackageScript method (2 of 2)
namespace: Serenity.Web assembly: Serenity.Net.Web
Gets a local text package script content
public static string GetLocalTextPackageScript(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 LocalTextScript