Exemplo n.º 1
0
        /// <summary>
        /// Called when a directory is added to a project
        /// </summary>
        /// <param name="project">The project.</param>
        /// <param name="directoryname">The directoryname.</param>
        /// <param name="origin">The origin or null.</param>
        protected override void OnProjectDirectoryAdded(SccProjectData project, string directoryname, string origin)
        {
            base.OnProjectDirectoryAdded(project, directoryname, origin);

            if (!IsActive)
            {
                return;
            }

            if (!project.WebLikeFileHandling)
            {
                // Do nothing
            }
            else
            {
                // Websites don't contain a real file mapping; reload to load new files
                // and directories recursively
                project.Reload();
            }
        }
Exemplo n.º 2
0
 protected virtual void OnProjectRenamed(SccProjectData data)
 {
     data.Reload(); // Reload project name, etc.
 }
Exemplo n.º 3
0
        protected virtual void OnProjectRenamed(SccProjectData data)
        {
            ThreadHelper.ThrowIfNotOnUIThread();

            data.Reload(); // Reload project name, etc.
        }