protected override void DoExecute(object parameter) { ProjectContext projectContext = parameter as ProjectContext; if (projectContext == null) { return; } openedProjects.CloseProject(projectContext); }
protected override void DoExecute(object parameter) { ProjectContext currentProject = openedProjects.CurrentProject; openedProjects.CloseProject(currentProject); }