in src/eventSubscription/registerEventSubscriptionCommands.ts [19:34]
export function registerEventSubscriptionCommands(): void {
ext.eventSubscriptionTree = new AzureTreeDataProvider(EventSubscriptionProvider, 'azureEventGridSubscription.loadMore');
ext.context.subscriptions.push(ext.eventSubscriptionTree);
ext.context.subscriptions.push(vscode.window.registerTreeDataProvider('azureEventGridSubscriptionExplorer', ext.eventSubscriptionTree));
ext.context.subscriptions.push(vscode.languages.registerCodeLensProvider({ pattern: '**/*.[eE][vV][eE][nN][tT][gG][eE][nN][eE][rR][aA][tT][oO][rR].[jJ][sS][oO]{[nN],[nN][cC]}' }, new MockCodeLensProvider()));
registerCommand('azureEventGridSubscription.refresh', async (node?: AzureTreeItem) => await ext.eventSubscriptionTree.refresh(node));
registerCommand('azureEventGridSubscription.loadMore', async (node: AzureTreeItem) => await ext.eventSubscriptionTree.loadMore(node));
registerCommand('azureEventGridSubscription.openInPortal', async (node?: AzureTreeItem) => await openInPortal(ext.eventSubscriptionTree, EventSubscriptionTreeItem.contextValue, node));
registerCommand('azureEventGridSubscription.deleteEventSubscription', async (node?: AzureTreeItem) => await deleteNode(ext.eventSubscriptionTree, EventSubscriptionTreeItem.contextValue, node));
registerCommand('azureEventGridSubscription.createEventSubscription', async function (this: IActionContext, node?: AzureParentTreeItem): Promise<void> { await createChildNode(this, ext.eventSubscriptionTree, SubscriptionTreeItem.contextValue, node); });
registerCommand('azureEventGridSubscription.createMockEventGenerator', async function (this: IActionContext, node?: EventSubscriptionTreeItem): Promise<void> { await createMockEventGenerator(this, node); });
registerCommand('azureEventGridSubscription.sendEvents', async (uri: vscode.Uri) => await sendEvents(uri));
registerCommand('azureEventGridSubscription.previewEvents', async (uri: vscode.Uri) => await previewEvents(uri));
}