int IVsSolutionLoadEvents.OnQueryBackgroundLoadProjectBatch(out bool pfShouldDelayLoadToNextIdle) { IVsSolutionLoadEvents hostService = (IVsSolutionLoadEvents)GetService(typeof(IHostService)); return(hostService.OnQueryBackgroundLoadProjectBatch(out pfShouldDelayLoadToNextIdle)); }
int IVsSolutionLoadEvents.OnBeforeOpenSolution(string pszSolutionFilename) { IVsSolutionLoadEvents hostService = (IVsSolutionLoadEvents)GetService(typeof(IHostService)); return(hostService.OnBeforeOpenSolution(pszSolutionFilename)); }
int IVsSolutionLoadEvents.OnBeforeBackgroundSolutionLoadBegins() { IVsSolutionLoadEvents hostService = (IVsSolutionLoadEvents)GetService(typeof(IHostService)); return(hostService.OnBeforeBackgroundSolutionLoadBegins()); }
int IVsSolutionLoadEvents.OnBeforeLoadProjectBatch(bool fIsBackgroundIdleBatch) { IVsSolutionLoadEvents hostService = (IVsSolutionLoadEvents)GetService(typeof(IHostService)); return(hostService.OnBeforeLoadProjectBatch(fIsBackgroundIdleBatch)); }
int IVsSolutionLoadEvents.OnAfterBackgroundSolutionLoadComplete() { if (guidanceNavigatorManager == null) { guidanceNavigatorManager = new GuidanceNavigatorManager(this as System.IServiceProvider); } IRecipeManagerService rms = (IRecipeManagerService)GetService(typeof(IRecipeManagerService)); rms.EnabledPackage += new PackageEventHandler(OnEnabledPackage); IVsSolutionLoadEvents hostService = (IVsSolutionLoadEvents)GetService(typeof(IHostService)); int result = hostService.OnAfterBackgroundSolutionLoadComplete(); isOpeningSolution = false; return(result); }