mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-19 09:35:36 -05:00
check-param-names (#18189)
This commit is contained in:
@@ -182,7 +182,6 @@ export class ConnectionStatusManager {
|
||||
* Only if the db name in the original uri is different when connection is complete, we need to use the original uri
|
||||
* Returns the generated ownerUri for the connection profile if not existing connection found
|
||||
* @param ownerUri connection owner uri to find an existing connection
|
||||
* @param purpose purpose for the connection
|
||||
*/
|
||||
public getOriginalOwnerUri(ownerUri: string): string {
|
||||
let ownerUriToReturn: string = ownerUri;
|
||||
|
||||
@@ -106,7 +106,7 @@ export class ConnectionStore {
|
||||
* Password values are stored to a separate credential store if the "savePassword" option is true
|
||||
*
|
||||
* @param profile the profile to save
|
||||
* @param whether the plaintext password should be written to the settings file
|
||||
* @param forceWritePlaintextPassword whether the plaintext password should be written to the settings file
|
||||
* @returns a Promise that returns the original profile, for help in chaining calls
|
||||
*/
|
||||
public async saveProfile(profile: IConnectionProfile, forceWritePlaintextPassword?: boolean, matcher?: ProfileMatcher): Promise<IConnectionProfile> {
|
||||
@@ -192,7 +192,6 @@ export class ConnectionStore {
|
||||
* Password values are stored to a separate credential store if the "savePassword" option is true
|
||||
*
|
||||
* @param conn the connection to add
|
||||
* @param addToMru Whether to add this connection to the MRU
|
||||
* @returns a Promise that returns when the connection was saved
|
||||
*/
|
||||
public addRecentConnection(conn: IConnectionProfile): Promise<void> {
|
||||
|
||||
@@ -157,7 +157,8 @@ export class AdsTelemetryService implements IAdsTelemetryService {
|
||||
|
||||
/**
|
||||
* Sends a Metrics event. This is used to log measurements taken.
|
||||
* @param measurements The metrics to send
|
||||
* @param metrics The metrics to send
|
||||
* @param groupName The name of the group these metrics belong to
|
||||
*/
|
||||
public sendMetricsEvent(metrics: ITelemetryEventMeasures, groupName: string = ''): void {
|
||||
this.createMetricsEvent(metrics, groupName).send();
|
||||
@@ -169,7 +170,6 @@ export class AdsTelemetryService implements IAdsTelemetryService {
|
||||
* @param name The friendly name of the error
|
||||
* @param errorCode The error code returned
|
||||
* @param errorType The specific type of error
|
||||
* @param properties Optional additional properties
|
||||
*/
|
||||
public createErrorEvent(view: string, name: string, errorCode: string = '', errorType: string = ''): ITelemetryEvent {
|
||||
return new TelemetryEventImpl(this.telemetryService, this.logService, EventName.Error, {
|
||||
|
||||
Reference in New Issue
Block a user