Action AfterCommand(string nodeFileName, AbstractProjectBrowserTreeNode node) { return(delegate { WorkbenchSingleton.AssertMainThread(); // and then refresh the project browser: GitStatusCache.ClearCachedStatus(nodeFileName); OverlayIconManager.EnqueueRecursive(node); OverlayIconManager.EnqueueParents(node); }); }