/// <summary> /// Create a new function call: /// new className(args) /// </summary> /// <param name="className"></param> /// <param name="args"></param> public JsNew(string className, JsArguments args) { _Call = new JsCall(className, args); }
/// <summary> /// Create a new function call: /// new className(args) /// </summary> /// <param name="className"></param> /// <param name="args"></param> public JsNew(object className, params object[] args) { _Call = new JsCall(className, args); }
/// <summary> /// Create a new function call: /// new className(args) /// </summary> /// <param name="layout"></param> /// <param name="className"></param> /// <param name="args"></param> public JsNew(ScriptLayout layout, object className, JsArguments args) : base(layout) { _Call = new JsCall(className, args); }
/// <summary> /// Create a new function call based on an existing function call /// new call /// </summary> /// <param name="call"></param> public JsNew(JsCall call) { _Call = call; }
/// <summary> /// Create a new function call: /// new className(args) /// </summary> /// <param name="layout"></param> /// <param name="className"></param> /// <param name="args"></param> public JsNew(ScriptLayout layout, object className, params object[] args) : base(layout) { _Call = new JsCall(className, args); }