public void RenameFile(ProjectUtils.Project project, string oldFileName, string newFileName) { // Wireup to open files can happen asynchronously in the case we're being notified of changes on background threads. _inProc.RenameFile(project.Name, oldFileName, newFileName); _instance.Workspace.WaitForAsyncOperations( Helper.HangMitigatingTimeout, FeatureAttribute.Workspace ); }
public void RenameFile(ProjectUtils.Project project, string oldFileName, string newFileName) => _inProc.RenameFile(project.Name, oldFileName, newFileName);