import { AzureWizardPromptStep } from 'vscode-azureextensionui' ; import { localize } from '../../../localize' ; import { IBindingWizardContext } from '../IBindingWizardContext' ; export class LocalAppSettingValueStep extends AzureWizardPromptStep < IBindingWizardContext > { private readonly _key : string ; public constructor ( key ) { super ( ) ; this . _key = key ; } public async prompt ( context ) { context [ this . _key ] = await context . ui . showInputBox ( { placeHolder : localize ( 'appSettingValuePlaceholder' , 'App setting value' ) , prompt : localize ( 'appSettingValuePrompt' , 'Provide a connection string' ) } ) ; } public shouldPrompt ( context ) { return ! context [ this . _key ] ; } }