DebugRegistryImpl
Defined in: DebugRegistryImpl.ts:4
Concrete implementation of the DebugRegistry interface.
Implements
Section titled “Implements”DebugRegistry
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new DebugRegistryImpl():
DebugRegistryImpl
Returns
Section titled “Returns”DebugRegistryImpl
Properties
Section titled “Properties”contributors
Section titled “contributors”
readonlycontributors:Map<string,DebugContributor>
Defined in: DebugRegistryImpl.ts:5
enabled
Section titled “enabled”enabled:
boolean=false
Defined in: DebugRegistryImpl.ts:6
Methods
Section titled “Methods”isEnabled()
Section titled “isEnabled()”isEnabled():
boolean
Defined in: DebugRegistryImpl.ts:17
Returns
Section titled “Returns”boolean
Implementation of
Section titled “Implementation of”DebugRegistry.isEnabled
isFlagEnabled()
Section titled “isFlagEnabled()”isFlagEnabled(
contributorName,flag):boolean
Defined in: DebugRegistryImpl.ts:21
Parameters
Section titled “Parameters”contributorName
Section titled “contributorName”string
string
Returns
Section titled “Returns”boolean
Implementation of
Section titled “Implementation of”DebugRegistry.isFlagEnabled
register()
Section titled “register()”register(
contributor):void
Defined in: DebugRegistryImpl.ts:9
Parameters
Section titled “Parameters”contributor
Section titled “contributor”DebugContributor
Returns
Section titled “Returns”void
Implementation of
Section titled “Implementation of”DebugRegistry.register
setFlag()
Section titled “setFlag()”setFlag(
contributorName,flag,value):void
Defined in: DebugRegistryImpl.ts:34
Parameters
Section titled “Parameters”contributorName
Section titled “contributorName”string
string
boolean
Returns
Section titled “Returns”void
toggle()
Section titled “toggle()”toggle():
void
Defined in: DebugRegistryImpl.ts:25
Returns
Section titled “Returns”void
toggleFlag()
Section titled “toggleFlag()”toggleFlag(
contributorName,flag):void
Defined in: DebugRegistryImpl.ts:29
Parameters
Section titled “Parameters”contributorName
Section titled “contributorName”string
string
Returns
Section titled “Returns”void