Interface: IConfigurationService
Application configuration
Extends
Properties
reviewMode
readonly
reviewMode: ReviewMode
The review mode of the coding card
workspaceId
readonly
workspaceId: number
Application Workspace ID
Methods
off()
off(eventType
, handler
?, once
?): void
Unregisters an event handler
Parameters
• eventType: ConfigurationChanged
Event to unregister from
• handler?: EventHandler
Event handler function. If not passed in, it removes all event handlers.
• once?: boolean
Boolean indicating if the event handler was registered as a one-time event handler (Defaults to false)
Returns
void
Inherited from
IEventEmitter
.off
on()
on(eventType
, handler
): void
Registers an event handler
Parameters
• eventType: ConfigurationChanged
Event to listen for
• handler: EventHandler
Event handler function
Returns
void
Inherited from
IEventEmitter
.on
once()
once(eventType
, handler
): void
Registers an event handler that is only run once
Parameters
• eventType: ConfigurationChanged
Event to listen for
• handler: EventHandler
Event handler function
Returns
void
Inherited from
IEventEmitter
.once
updateSetting()
updateSetting(settingName
, value
): any
Updates the specified configuration setting to the value passed in
Parameters
• settingName: ConfigurationSettingName
• value: any
Returns
any