示例#1
0
        public static void DispatchDelayedUri()
        {
            global::System.EventHandler <string> handler = CoreApp._receivedURI;

            if (handler != null)
            {
                if (CoreApp._delayedURIS.Count > 0)
                {
                    global::System.Collections.Generic.List <string> .Enumerator enum13 = CoreApp._delayedURIS.GetEnumerator();

                    try
                    {
                        while (enum13.MoveNext())
                        {
                            string u = enum13.Current;
                            handler(null, u);
                        }
                    }
                    finally
                    {
                        enum13.Dispose();
                    }

                    CoreApp._delayedURIS.Clear();
                }
            }
        }
示例#2
0
        public static void TickAll(TimerEventArgs args)
        {
            global::System.Collections.Generic.List <Display> .Enumerator enum1 = Displays.All.GetEnumerator();

            try
            {
                while (enum1.MoveNext())
                {
                    Display d = enum1.Current;
                    d.OnTick(args);
                }
            }
            finally
            {
                enum1.Dispose();
            }
        }