DataScript constructor (1 of 2)

namespace: Serenity.Web   assemblySerenity.Net.Web

Creates a new instance of the class

protected DataScript()

See Also


DataScript constructor (2 of 2)

namespace: Serenity.Web   assemblySerenity.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