LocalTextScript class
namespace: Serenity.Web assembly: Serenity.Net.Web
Local text dynamic script.
public class LocalTextScript : DynamicScript, INamedDynamicScript
| parameter | description |
|---|---|
| registry | The text registry. |
| package | The package key. |
| includes | The includes regex. |
| languageId | The language ID. |
| isPending | true to include pending texts. |
Public Members
| name | description |
|---|---|
| LocalTextScript(…) | Local text dynamic script. |
| ScriptName { get; } | |
| override GetScript() | |
| static GetLocalTextPackageScript(…) | Gets the local text package script content. (2 methods) |
| static GetScriptName(…) | Gets the script registration name for a local text package. |
Exceptions
| exception | condition |
|---|---|
| ArgumentNullException | registry or package is null. |
Remarks
Initializes a new instance of the LocalTextScript class.
See Also
- class DynamicScript
- interface INamedDynamicScript
- Source: LocalTextScript.cs