Beispiel #1
0
        public static void Do(ScriptCoreLib.JavaScript.DOM.IArray<System.Action> dx, int duetime, int interval)
        {
            new Timer(
                delegate(Timer timer)
                {
                    if (dx.length > 0)
                    {
                        var h = dx.shift();

                        if (h != null)
                            h();

                    }
                    else
                        timer.Stop();

                }, duetime, interval);
        }