Exemplo n.º 1
0
        protected override void Initialize()
        {
            // Initialize shared components
            DTE = GetService(typeof(DTE)) as DTE2;
            Logger.Initialize(this, Constants.VSIX_NAME);
            Settings.Initialize(this);
            SolutionHandler.Initialize(DTE);
            SuggestionHandler.Initialize();

            // Initialize other components
            var repository = (IVsExtensionRepository)GetService(typeof(SVsExtensionRepository));
            var manager    = (IVsExtensionManager)GetService(typeof(SVsExtensionManager));

            ExtensionInstalledChecker.Initialize(repository, manager);
            ShowMissingCommand.Initialize(this);
            ModifyMissingCommand.Initialize(this);
            ShowSuggestionsCommand.Initialize(this, repository, manager);
            InfoBarService.Initialize(this, repository, manager);

            base.Initialize();
        }
 public static void Initialize(IServiceProvider serviceProvider, IVsExtensionRepository repository, IVsExtensionManager manager)
 {
     Instance = new ExtensionInstalledChecker(serviceProvider, repository, manager);
 }
 public static void Initialize(IServiceProvider serviceProvider, IVsExtensionRepository repository, IVsExtensionManager manager)
 {
     Instance = new ExtensionInstalledChecker(serviceProvider, repository, manager);
 }
 public static void Initialize(IVsExtensionRepository repository, IVsExtensionManager manager)
 {
     Instance = new ExtensionInstalledChecker(repository, manager);
 }
Exemplo n.º 5
0
 public static void Initialize(IVsExtensionRepository repository, IVsExtensionManager manager)
 {
     Instance = new ExtensionInstalledChecker(repository, manager);
 }