DataScript class
namespace: Serenity.Web assembly: Serenity.Net.Services
Dynamic script that contains remote data.
public class DataScript : DynamicScript, IGetScriptData, INamedDynamicScript
Public Members
| name | description |
|---|---|
| DataScript(…) | Creates a new instance of the class. |
| ScriptName { get; } | |
| override GetScript() | |
| GetScriptData() | |
| const SetScriptDataFormat | Format string for Serenity.setScriptData({0}, {1}). |
Protected Members
| name | description |
|---|---|
| DataScript() | Creates a new instance of the class. |
| getData | Callback to get the data. |
| key | Key for the data script. |
See Also
- class DynamicScript
- interface IGetScriptData
- interface INamedDynamicScript
- Source: DataScript.cs