/// <summary> /// Shows the connection dialog. /// </summary> /// <param name="connectionInfo">The connection info.</param> /// <param name="isNewConnection">if set to <c>true</c> [is new connection].</param> /// <returns></returns> public override bool ShowConnectionDialog(IConnectionInfo connectionInfo, bool isNewConnection) { if (isNewConnection) { new StorageAccountProperties(connectionInfo).UseLocalStorage = true; } bool?result = new ConnectionDialog(connectionInfo).ShowDialog(); return(result == true); }
/// <summary> /// Shows the connection dialog. /// </summary> /// <param name="connectionInfo">The connection info.</param> /// <param name="isNewConnection">if set to <c>true</c> [is new connection].</param> /// <returns></returns> public override bool ShowConnectionDialog(IConnectionInfo connectionInfo, bool isNewConnection) { if (isNewConnection) { var prop = new StorageAccountProperties(connectionInfo); prop.UseHttps = true; prop.NumberOfRows = 100; } bool?result = new ConnectionDialog(connectionInfo).ShowDialog(); return(result == true); }
/// <summary> /// Shows the connection dialog. /// </summary> /// <param name="connectionInfo">The connection info.</param> /// <param name="isNewConnection">if set to <c>true</c> [is new connection].</param> /// <returns></returns> public override bool ShowConnectionDialog(IConnectionInfo cxInfo, ConnectionDialogOptions dialogOptions) { if (dialogOptions.IsNewConnection) { _ = new StorageAccountProperties(cxInfo) { UseHttps = true, NumberOfRows = 100 }; } bool?result = new ConnectionDialog(cxInfo).ShowDialog(); return(result == true); }
/// <summary> /// Shows the connection dialog. /// </summary> /// <param name="connectionInfo">The connection info.</param> /// <param name="isNewConnection">if set to <c>true</c> [is new connection].</param> /// <returns></returns> public override bool ShowConnectionDialog(IConnectionInfo connectionInfo, bool isNewConnection) { if (isNewConnection) { new StorageAccountProperties(connectionInfo).UseLocalStorage = true; } bool? result = new ConnectionDialog(connectionInfo).ShowDialog(); return result == true; }
/// <summary> /// Shows the connection dialog. /// </summary> /// <param name="connectionInfo">The connection info.</param> /// <param name="isNewConnection">if set to <c>true</c> [is new connection].</param> /// <returns></returns> public override bool ShowConnectionDialog(IConnectionInfo connectionInfo, bool isNewConnection) { if (isNewConnection) { var prop = new StorageAccountProperties(connectionInfo); prop.UseHttps = true; prop.NumberOfRows = 100; } bool? result = new ConnectionDialog(connectionInfo).ShowDialog(); return result == true; }