/// <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); }
private void InstantiateRestartCommands() { RestartNormalCommand.Instantiate(this); RestartElevatedCommand.Instantiate(this); }
private async Tasks.Task InstantiateRestartCommandsAsync() { await RestartNormalCommand.InstantiateAsync(this); await RestartElevatedCommand.InstantiateAsync(this); }