import { Uri } from "vscode" ; import { IParameterValuesSource } from "./IParameterValuesSource" ; import { IParameterValuesSourceProvider } from "./IParameterValuesSourceProvider" ; /**
 * Represents a parameter values source provider that is known at construction time.  For instance, a nested
 * deployment inside a template file.
 */ export class SynchronousParameterValuesSourceProvider implements IParameterValuesSourceProvider { public constructor ( private valuesSource ) { } public readonly parameterFileUri : Uri | undefined ; public getValuesSource ( ) { return Promise . resolve ( this . valuesSource ) ; } }