ShowDialog() public method

Opens a window and returns only when the dialog is closed.
public ShowDialog ( ConnectionInformation currentConnection ) : ConnectionInformation
currentConnection SonarLint.VisualStudio.Integration.Service.ConnectionInformation Optional, the current connection information to show in the dialog
return SonarLint.VisualStudio.Integration.Service.ConnectionInformation
 ConnectionInformation IConnectionInformationProvider.GetConnectionInformation(ConnectionInformation currentConnection)
 {
     var dialog = new ConnectionInformationDialog();
     return dialog.ShowDialog(currentConnection);
 }
        ConnectionInformation IConnectionInformationProvider.GetConnectionInformation(ConnectionInformation currentConnection)
        {
            var dialog = new ConnectionInformationDialog();

            return(dialog.ShowDialog(currentConnection));
        }