mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-18 17:22:45 -05:00
check-param-names (#18189)
This commit is contained in:
@@ -172,6 +172,13 @@ export abstract class Modal extends Disposable implements IThemable {
|
||||
* Constructor for modal
|
||||
* @param _title Title of the modal, if undefined, the title section is not rendered
|
||||
* @param _name Name of the modal, used for telemetry
|
||||
* @param _telemetryService
|
||||
* @param layoutService
|
||||
* @param _clipboardService
|
||||
* @param _themeService
|
||||
* @param logService
|
||||
* @param textResourcePropertiesService
|
||||
* @param _contextKeyService
|
||||
* @param options Modal options
|
||||
*/
|
||||
constructor(
|
||||
@@ -530,7 +537,6 @@ export abstract class Modal extends Disposable implements IThemable {
|
||||
/**
|
||||
* Returns a footer button matching the provided label
|
||||
* @param label Label to show on the button
|
||||
* @param onSelect The callback to call when the button is selected
|
||||
*/
|
||||
protected findFooterButton(label: string): Button | undefined {
|
||||
return this._footerButtons.find(e => {
|
||||
|
||||
@@ -14,6 +14,9 @@ import { DashboardInput } from 'sql/workbench/browser/editor/profiler/dashboardI
|
||||
* is focused or there is no such editor, in which case it comes from the OE selection. Returns
|
||||
* undefined when there is no such connection.
|
||||
*
|
||||
* @param objectExplorerService
|
||||
* @param connectionManagementService
|
||||
* @param workbenchEditorService
|
||||
* @param topLevelOnly If true, only return top-level (i.e. connected) Object Explorer connections instead of database connections when appropriate
|
||||
*/
|
||||
export function getCurrentGlobalConnection(objectExplorerService: IObjectExplorerService, connectionManagementService: IConnectionManagementService, workbenchEditorService: IEditorService, topLevelOnly: boolean = false): IConnectionProfile | undefined {
|
||||
|
||||
Reference in New Issue
Block a user