Inheritance: ScriptEngine, IVsaSite
        public static string CreateMonitor(VsaScriptEngine engine, ISvgWindow window, object scriptOrClosure, ulong delay, bool isInterval)
        {
            ScriptTimerMonitor stm = new ScriptTimerMonitor(engine, window, scriptOrClosure, delay, isInterval);

            timerMonitors.Add(stm);
            return("" + stm.timer.GetHashCode());
        }
 public ScriptTimerMonitor(VsaScriptEngine engine, ISvgWindow window, object scriptOrClosure, ulong delay, bool isInterval)
 {
     if (delay == 0)
     delay = 1;
       this.engine = engine;
       this.window = window;
       this.scriptOrClosure = scriptOrClosure;
       this.timer = new Timer(delay);
       this.timer.AutoReset = isInterval;
       this.timer.Elapsed += new ElapsedEventHandler(this.EventHandler);
       this.timer.Enabled = true;
 }
 public ScriptTimerMonitor(VsaScriptEngine engine, ISvgWindow window, object scriptOrClosure, ulong delay, bool isInterval)
 {
     if (delay == 0)
     {
         delay = 1;
     }
     this.engine          = engine;
     this.window          = window;
     this.scriptOrClosure = scriptOrClosure;
     this.timer           = new Timer(delay);
     this.timer.AutoReset = isInterval;
     this.timer.Elapsed  += new ElapsedEventHandler(this.EventHandler);
     this.timer.Enabled   = true;
 }
 public ScriptEventMonitor(VsaScriptEngine engine, IAttribute att, ISvgWindow window)
 {
     this.att = att;
       this.engine = engine;
       this.window = window;
 }
 public static string CreateMonitor(VsaScriptEngine engine, ISvgWindow window, object scriptOrClosure, ulong delay, bool isInterval)
 {
     ScriptTimerMonitor stm = new ScriptTimerMonitor(engine, window, scriptOrClosure, delay, isInterval);
       timerMonitors.Add(stm);
       return ""+stm.timer.GetHashCode();
 }
 public ScriptEventMonitor(VsaScriptEngine engine, IAttribute att, ISvgWindow window)
 {
     this.att    = att;
     this.engine = engine;
     this.window = window;
 }