コード例 #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);
		}
コード例 #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);
		}
コード例 #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);
		}
コード例 #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;
		}
コード例 #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);
		}