protected override async Task InitializeAsync(CancellationToken cancellationToken, IProgress <ServiceProgressData> progress) { OutputWindowTraceListener.Register(Vsix.Name, nameof(DevNews)); await JoinableTaskFactory.SwitchToMainThreadAsync(cancellationToken); await NewsWindowCommand.InitializeAsync(this); }
/// <summary> /// The entry point for the extension. This is executed when the tool window is activated. /// </summary> protected override async Task InitializeAsync(CancellationToken cancellationToken, IProgress <ServiceProgressData> progress) { await JoinableTaskFactory.SwitchToMainThreadAsync(cancellationToken); await NewsWindowCommand.InitializeAsync(this); }