예제 #1
0
        void updater_Tick(object sender, EventArgs e)
        {
            if (Updating)
            {
                return;
            }
            updater.Stop();

            if (IsVirtual)
            {
                WasExplored = false;
                Owner.ExploreVirtualPath(this);
            }
            else
            {
                lock (lockObject)
                {
                    DoScheduledOperations();

                    foreach (FileModel file in files.Values)
                    {
                        if (file != null)
                        {
                            file.Check();
                        }
                    }
                }
            }
            if (Owner != null)
            {
                Owner.RefreshContextCache(Path);
            }
        }