Ejemplo n.º 1
0
        /// <summary>
        /// Initializes a new instance of the <see cref="ClientConstructor"/> class.
        /// </summary>
        /// <param name="runner">The runner.</param>
        public ClientConstructor(ScriptRunner runner)
            : base(runner.Engine.Function.Prototype, "IrcClient", runner.Construct<JsEventObject>())
        {
            this.runner = runner;

            PopulateFunctions();
        }
Ejemplo n.º 2
0
 public EventsTestsObject(ScriptRunner runner)
     : base(runner.Construct<JsEventObject>(), runner)
 {
     PopulateFunctions();
 }
Ejemplo n.º 3
0
 public EventsTest2Constructor(ScriptRunner runner)
     : base(runner.Engine.Function.InstancePrototype, "EventTest2", runner.Construct<JsEventObject>())
 {
     this.runner = runner;
     PopulateFunctions();
 }