public static Task WaitForCommandAvailabilityAsync(this DTE dte, string command) => IntegrationHelper.WaitForResultAsync(() => IntegrationHelper.RetryRpcCall(() => dte.Commands.Item(command).IsAvailable), expectedResult: true);
public Task WaitForReplPromptAsync() => IntegrationHelper.WaitForResultAsync(() => ReplText.EndsWith(ReplPromptText), expectedResult: true);
private void CloseHostProcess() { _inProc.Quit(); IntegrationHelper.KillProcess(_hostProcess); }