DataScript constructor (1 of 2)
namespace: Serenity.Web assembly: Serenity.Net.Web
Creates a new instance of the class
protected DataScript()
See Also
- class DataScript
DataScript constructor (2 of 2)
namespace: Serenity.Web assembly: Serenity.Net.Web
Creates a new instance of the class
public DataScript(string key, Func<object> getData)
parameter | description |
---|---|
key | Data script key |
getData | Get data callback |
Exceptions
exception | condition |
---|---|
ArgumentNullException |
See Also
- class DataScript