/// <summary> /// Creates a new instance of the JsonFunction class. /// </summary> public JsonFunction() : base() { this.scriptText = new List <string>(); this.parameters = new List <string>(); this.prependScript = new List <string>(); this.appendScript = new List <string>(); this.FileNotFoundAction = FileNotFoundAction.UseEmptyString; this.functionBody = string.Empty; this.executionMode = JavascriptExecutionTypes.OnParse; this.appendToBody = new List <string>(); this.IncludeScriptTags = true; //this.AddRequiredScript("naizari.javascript.jsoncontrols.jsonfunction.js"); this.AddRequiredScript(typeof(JsonFunction)); }
/// <summary> /// Creates a new instance of the JsonFunction class. /// </summary> public JsonFunction() : base() { this.scriptText = new List<string>(); this.parameters = new List<string>(); this.prependScript = new List<string>(); this.appendScript = new List<string>(); this.FileNotFoundAction = FileNotFoundAction.UseEmptyString; this.functionBody = string.Empty; this.executionMode = JavascriptExecutionTypes.OnParse; this.appendToBody = new List<string>(); this.IncludeScriptTags = true; //this.AddRequiredScript("naizari.javascript.jsoncontrols.jsonfunction.js"); this.AddRequiredScript(typeof(JsonFunction)); }