Exemple #1
0
        public override void RenameFolder(string newName)
        {
            string oldName = Url;

            _project.SuppressFileChangeNotifications();
            try {
                base.RenameFolder(newName);
            } finally {
                _project.RestoreFileChangeNotifications();
            }

            if (ProjectMgr.TryDeactivateSymLinkWatcher(this))
            {
                ProjectMgr.CreateSymLinkWatcher(Url);
            }
        }