/// <summary> /// Create a parameter list /// (param, param, param) /// </summary> /// <param name="layout"></param> /// <param name="items"></param> public JsParameters(ScriptLayout layout, IEnumerable<object> items) : base(layout) { List = new JsList(items); }
/// <summary> /// Renders argument syntax: /// (arg, arg, arg) /// </summary> /// <param name="args"></param> /// <returns></returns> public static JsArguments Arguments(JsList args) { return new JsArguments(args); }
/// <summary> /// Create an empty parameter list /// () /// </summary> /// <param name="layout"></param> public JsParameters(ScriptLayout layout) : base(layout) { List = new JsList(); }
/// <summary> /// Create a set of arguments /// (arg, arg, arg) /// </summary> /// <param name="layout"></param> /// <param name="items"></param> public JsArguments(ScriptLayout layout, params object[] items) : base(layout) { List = new JsList(ScriptLayout.Inline, items); }
/// <summary> /// Renders argument syntax: /// (arg, arg, arg) /// </summary> /// <param name="layout"></param> /// <param name="args"></param> /// <returns></returns> public static JsArguments Arguments(ScriptLayout layout, JsList args) { return new JsArguments(layout, args); }
/// <summary> /// Create a parameter list /// (param, param, param) /// </summary> /// <param name="items"></param> public JsParameters(IEnumerable<object> items) { List = new JsList(items); }
/// <summary> /// Create a parameter list /// (param, param, param) /// </summary> /// <param name="list"></param> public JsParameters(JsList list) { List = list; }
/// <summary> /// Create a set of arguments /// (arg, arg, arg) /// </summary> /// <param name="layout"></param> public JsArguments(ScriptLayout layout) : base(layout) { List = new JsList(ScriptLayout.Inline); }
/// <summary> /// Renders array syntax: /// [item, item, item] /// </summary> /// <param name="layout"></param> /// <param name="list"></param> /// <returns></returns> public static JsArray Array(ScriptLayout layout, JsList list) { return new JsArray(layout, list); }
/// <summary> /// Create a set of arguments /// (arg, arg, arg) /// </summary> /// <param name="list"></param> public JsArguments(JsList list) { List = list; }
/// <summary> /// Create a set of arguments /// (arg, arg, arg) /// </summary> /// <param name="layout"></param> /// <param name="list"></param> public JsArguments(ScriptLayout layout, JsList list) : base(layout) { List = list; }
/// <summary> /// Create a set of arguments /// (arg, arg, arg) /// </summary> /// <param name="items"></param> public JsArguments(params object[] items) { List = new JsList(ScriptLayout.Inline, items); }
/// <summary> /// Create a set of arguments /// (arg, arg, arg) /// </summary> /// <param name="args"></param> public JsArguments(IEnumerable<object> args) { List = new JsList(ScriptLayout.Inline, args); }
/// <summary> /// Create an empty set of arguments /// () /// </summary> public JsArguments() { List = new JsList(ScriptLayout.Inline); }
/// <summary> /// Create a parameter list /// (param, param, param) /// </summary> /// <param name="layout"></param> /// <param name="items"></param> public JsParameters(ScriptLayout layout, params object[] items) : base(layout) { List = new JsList(items); }
/// <summary> /// Renders array syntax: /// [item, item, item] /// </summary> /// <param name="list"></param> /// <returns></returns> public static JsArray Array(JsList list) { return new JsArray(list); }
/// <summary> /// Create an empty parameter list /// () /// </summary> public JsParameters() { List = new JsList(); }
/// <summary> /// Renders parameter syntax: /// (param, param, param) /// </summary> /// <param name="layout"></param> /// <param name="parameters"></param> /// <returns></returns> public static JsParameters Parameters(ScriptLayout layout, JsList parameters) { return new JsParameters(layout, parameters); }
/// <summary> /// Create a parameter list /// (param, param, param) /// </summary> /// <param name="items"></param> public JsParameters(params object[] items) { List = new JsList(items); }
/// <summary> /// Renders parameter syntax: /// (param, param, param) /// </summary> /// <param name="parameters"></param> /// <returns></returns> public static JsParameters Parameters(JsList parameters) { return new JsParameters(parameters); }
/// <summary> /// Create a parameter list /// (param, param, param) /// </summary> /// <param name="layout"></param> /// <param name="list"></param> public JsParameters(ScriptLayout layout, JsList list) : base(layout) { List = list; }
/// <summary> /// Create a set of arguments /// (arg, arg, arg) /// </summary> /// <param name="layout"></param> /// <param name="items"></param> public JsArguments(ScriptLayout layout, IEnumerable<object> items) : base(layout) { List = new JsList(ScriptLayout.Inline, items); }