mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-07 09:35:41 -05:00
Add azcli extension (#16029)
This commit is contained in:
27
extensions/azcli/src/services/azdataToolService.ts
Normal file
27
extensions/azcli/src/services/azdataToolService.ts
Normal file
@@ -0,0 +1,27 @@
|
||||
/*---------------------------------------------------------------------------------------------
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the Source EULA. See License.txt in the project root for license information.
|
||||
*--------------------------------------------------------------------------------------------*/
|
||||
|
||||
import { IAzdataTool } from '../azdata';
|
||||
|
||||
export class AzdataToolService {
|
||||
private _localAzdata: IAzdataTool | undefined;
|
||||
constructor() {
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the localAzdata that was last saved
|
||||
*/
|
||||
get localAzdata(): IAzdataTool | undefined {
|
||||
return this._localAzdata;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the localAzdata object to be used for azdata operations
|
||||
*/
|
||||
set localAzdata(azdata: IAzdataTool | undefined) {
|
||||
this._localAzdata = azdata;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user