Ejemplo n.º 1
0
        public List<SolutionFile> GetSolutionFiles(IVsSolution solution, Settings settings)
        {
            this.settings = settings;

            traversalState.Clear();
            solutionFiles.Clear();

            // Get the solution service so we can traverse each project hierarchy contained within.
            if (null != solution)
            {
                IVsHierarchy solutionHierarchy = solution as IVsHierarchy;
                if (null != solutionHierarchy)
                {
                    EnumHierarchyItems(solutionHierarchy, VSConstants.VSITEMID_ROOT, 0, true, false);
                }
            }
            return solutionFiles;
        }
Ejemplo n.º 2
0
 public void SetPackage(QuickOpenFilePackage package)
 {
     this.package = package;
     this.settings = package.Settings;
     searchEngine.SetPackage(package);
 }