protected override async System.Threading.Tasks.Task InitializeAsync(System.Threading.CancellationToken cancellationToken, IProgress <ServiceProgressData> progress) { EnvDteHelper.ComponentModel = await GetServiceAsync(typeof(SComponentModel)) as IComponentModel; EnvDteHelper.Dte = await GetServiceAsync(typeof(DTE)) as DTE; StackTraceExplorerToolWindowCommand.Initialize(this); await base.InitializeAsync(cancellationToken, progress); }
/// <summary> /// Initializes the singleton instance of the command. /// </summary> /// <param name="package">Owner package, not null.</param> public static void Initialize(Package package) { Instance = new StackTraceExplorerToolWindowCommand(package); }
protected override void Initialize() { StackTraceExplorerToolWindowCommand.Initialize(this); base.Initialize(); }