Exemplo n.º 1
0
		/// <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);
		}
Exemplo n.º 2
0
		/// <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);
		}
Exemplo n.º 3
0
		/// <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);
		}
Exemplo n.º 4
0
		/// <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;
		}
Exemplo n.º 5
0
		/// <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);
		}