Options
All
  • Public
  • Public/Protected
  • All
Menu

Class EnvironmentVariableCollection

Hierarchy

  • EnvironmentVariableCollection

Implements

  • EnvironmentVariableCollection

Index

Constructors

Properties

_persistent: boolean = true
map: Map<string, EnvironmentVariableMutator> = ...
onDidChangeCollection: Event<void> = ...
onDidChangeCollectionEmitter: Emitter<void> = ...

Accessors

  • get persistent(): boolean
  • set persistent(value: boolean): void
  • get size(): number

Methods

  • _setIfDiffers(variable: string, mutator: EnvironmentVariableMutator): void
  • append(variable: string, value: string): void
  • clear(): void
  • delete(variable: string): void
  • forEach(callback: ((variable: string, mutator: EnvironmentVariableMutator, collection: EnvironmentVariableCollection) => any), thisArg?: any): void
  • Parameters

    • callback: ((variable: string, mutator: EnvironmentVariableMutator, collection: EnvironmentVariableCollection) => any)
        • (variable: string, mutator: EnvironmentVariableMutator, collection: EnvironmentVariableCollection): any
        • Parameters

          • variable: string
          • mutator: EnvironmentVariableMutator
          • collection: EnvironmentVariableCollection

          Returns any

    • Optional thisArg: any

    Returns void

  • get(variable: string): undefined | EnvironmentVariableMutator
  • prepend(variable: string, value: string): void
  • replace(variable: string, value: string): void