private void RebuildJob() { IProject project = PluginBase.CurrentProject; foreach (string file in GetProjectFiles()) { if (IsFileHidden(file)) { continue; } if (SearchUtil.IsFileOpened(file)) { openedFiles.Add(project.GetRelativePath(file)); } else { projectFiles.Add(project.GetRelativePath(file)); } } }
private bool FileModelDelegate(FileModel model) { foreach (ClassModel classModel in model.Classes) { if (dictionary.ContainsKey(classModel.QualifiedName)) { continue; } if (SearchUtil.IsFileOpened(classModel.InFile.FileName)) { openedTypes.Add(classModel.QualifiedName); } else { projectTypes.Add(classModel.QualifiedName); } dictionary.Add(classModel.QualifiedName, classModel); } return(true); }