Esempio n. 1
0
        /// <inheritdoc />
        /// <summary>
        ///     Initializes this instance.
        /// </summary>
        protected override void Initialize()
        {
            base.Initialize();

            _shellProxy = new ShellProxy(this);
            _shellProxy.AdviseDebuggingEvents(this);
            _shellProxy.AdviseSelectionEvents(this);
            _shellProxy.SolutionProxy.AdviseSolutionEvents(this);

            // Shell
            RestartNormalCommand.Initialize(this);
            RestartElevatedCommand.Initialize(this);

            // Environment
            PathVariablesCommand.Initialize(this);

            // Project
            OpenOutputFolderCommand.Initialize(this);
            ShowOutputFileInExplorerCommand.Initialize(this);
            ReloadCommand.Initialize(this);

            // Project Item
            ShowInExplorerCommand.Initialize(this);

            // Refactoring
            MoveToSettingsCommand.Initialize(this);

            // Tools
            ReplaceGuidPlaceholdersCommand.Initialize(this);

            // Package
            ShowOptionPageCommand.Initialize(this);
        }
Esempio n. 2
0
 private void InstantiateRestartCommands()
 {
     RestartNormalCommand.Instantiate(this);
     RestartElevatedCommand.Instantiate(this);
 }
Esempio n. 3
0
        private async Tasks.Task InstantiateRestartCommandsAsync()
        {
            await RestartNormalCommand.InstantiateAsync(this);

            await RestartElevatedCommand.InstantiateAsync(this);
        }