Options
All
  • Public
  • Public/Protected
  • All
Menu

Class MockPreferenceService

Hierarchy

  • MockPreferenceService

Implements

Index

Constructors

Properties

onPreferenceChanged: Event<PreferenceChange> = ...
onPreferencesChanged: Event<PreferenceChanges> = ...
ready: Promise<void> = ...

Methods

  • dispose(): void
  • get<T>(preferenceName: string): undefined | T
  • get<T>(preferenceName: string, defaultValue: T): T
  • get<T>(preferenceName: string, defaultValue: T, resourceUri: string): T
  • resolve<T>(preferenceName: string, defaultValue?: T, resourceUri?: string): { configUri?: URI; value?: T }
  • set(preferenceName: string, value: any): Promise<void>
  • updateValue(): Promise<void>
  • validate(name: string, value: any): boolean