/// <summary>
 /// Registers custom event handler for solution events
 /// </summary>
 private void AdviseSolutionEvents()
 {
     IVsSolution solution = ServiceProvider.GetService(typeof(SVsSolution)) as IVsSolution;
     var solutionEvents = new DexterAnalysisCommandSolutionEvents(this);
     uint cookie = 0;
     solution.AdviseSolutionEvents(solutionEvents, out cookie);
 }
Beispiel #2
0
        /// <summary>
        /// Registers custom event handler for solution events
        /// </summary>
        private void AdviseSolutionEvents()
        {
            IVsSolution solution       = ServiceProvider.GetService(typeof(SVsSolution)) as IVsSolution;
            var         solutionEvents = new DexterAnalysisCommandSolutionEvents(this);
            uint        cookie         = 0;

            solution.AdviseSolutionEvents(solutionEvents, out cookie);
        }