mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-19 17:22:48 -05:00
* Making ep code modular for easy swithcing in and out * Changing to innerText * Fixing renames * Fixing var name in one file
23 lines
905 B
TypeScript
23 lines
905 B
TypeScript
/*---------------------------------------------------------------------------------------------
|
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
* Licensed under the Source EULA. See License.txt in the project root for license information.
|
|
*--------------------------------------------------------------------------------------------*/
|
|
|
|
import { ExecutionPlanFileView } from 'sql/workbench/contrib/executionPlan/browser/executionPlanFileView';
|
|
|
|
export class ExecutionPlanFileViewCache {
|
|
private static instance: ExecutionPlanFileViewCache;
|
|
|
|
public executionPlanFileViewMap: Map<string, ExecutionPlanFileView> = new Map();
|
|
|
|
private constructor() { }
|
|
|
|
public static getInstance(): ExecutionPlanFileViewCache {
|
|
if (!ExecutionPlanFileViewCache.instance) {
|
|
ExecutionPlanFileViewCache.instance = new ExecutionPlanFileViewCache();
|
|
}
|
|
|
|
return ExecutionPlanFileViewCache.instance;
|
|
}
|
|
}
|