private void ControllerStarted(object sender, ProgressEventArgs e) { // Show can be modal and block, so begin invoke it VsThreadingHelper.BeginTask(this.serviceProvider, VsTaskRunContext.UIThreadNormalPriority, this.host.Show); // Flag that handled to assist with the verification, otherwise the controller will assert e.Handled(); }
private void OnStarted(object sender, ProgressEventArgs e) { AssertEventHandlerArgsNotNull(sender, e); this.started = true; // Satisfy the sequential controller verification code e.Handled(); }