- Preparing search index...
- The search index is not available
TESSA Web API
Properties
id
id: number
options
parent
Methods
applyCustomMetadataReader
- applyCustomMetadataReader(metadataReader: MetadataReader): void
-
Returns void
applyMiddleware
- applyMiddleware(...middleware: Middleware[]): void
-
Returns void
createChild
- createChild(): Container
-
get
- get<T>(serviceIdentifier: ServiceIdentifier<T>): T
-
Returns T
getAll
- getAll<T>(serviceIdentifier: ServiceIdentifier<T>): T[]
-
Returns T[]
getAllAsync
- getAllAsync<T>(serviceIdentifier: ServiceIdentifier<T>): Promise<T[]>
-
Returns Promise<T[]>
getAllNamed
- getAllNamed<T>(serviceIdentifier: ServiceIdentifier<T>, named: string | number | symbol): T[]
-
Parameters
-
-
named: string | number | symbol
Returns T[]
getAllNamedAsync
- getAllNamedAsync<T>(serviceIdentifier: ServiceIdentifier<T>, named: string | number | symbol): Promise<T[]>
-
Parameters
-
-
named: string | number | symbol
Returns Promise<T[]>
getAllTagged
- getAllTagged<T>(serviceIdentifier: ServiceIdentifier<T>, key: string | number | symbol, value: unknown): T[]
-
Parameters
-
-
key: string | number | symbol
-
value: unknown
Returns T[]
getAllTaggedAsync
- getAllTaggedAsync<T>(serviceIdentifier: ServiceIdentifier<T>, key: string | number | symbol, value: unknown): Promise<T[]>
-
Parameters
-
-
key: string | number | symbol
-
value: unknown
Returns Promise<T[]>
getAsync
- getAsync<T>(serviceIdentifier: ServiceIdentifier<T>): Promise<T>
-
Returns Promise<T>
getNamed
- getNamed<T>(serviceIdentifier: ServiceIdentifier<T>, named: string | number | symbol): T
-
Parameters
-
-
named: string | number | symbol
Returns T
getNamedAsync
- getNamedAsync<T>(serviceIdentifier: ServiceIdentifier<T>, named: string | number | symbol): Promise<T>
-
Parameters
-
-
named: string | number | symbol
Returns Promise<T>
getTagged
- getTagged<T>(serviceIdentifier: ServiceIdentifier<T>, key: string | number | symbol, value: unknown): T
-
Parameters
-
-
key: string | number | symbol
-
value: unknown
Returns T
getTaggedAsync
- getTaggedAsync<T>(serviceIdentifier: ServiceIdentifier<T>, key: string | number | symbol, value: unknown): Promise<T>
-
Parameters
-
-
key: string | number | symbol
-
value: unknown
Returns Promise<T>
isBound
- isBound(serviceIdentifier: ServiceIdentifier<unknown>): boolean
-
Returns boolean
isBoundNamed
- isBoundNamed(serviceIdentifier: ServiceIdentifier<unknown>, named: string | number | symbol): boolean
-
Parameters
-
-
named: string | number | symbol
Returns boolean
isBoundTagged
- isBoundTagged(serviceIdentifier: ServiceIdentifier<unknown>, key: string | number | symbol, value: unknown): boolean
-
Parameters
-
-
key: string | number | symbol
-
value: unknown
Returns boolean
isCurrentBound
- isCurrentBound<T>(serviceIdentifier: ServiceIdentifier<T>): boolean
-
Returns boolean
load
- load(...modules: ContainerModule[]): void
-
Returns void
loadAsync
- loadAsync(...modules: AsyncContainerModule[]): Promise<void>
-
Returns Promise<void>
onActivation
- onActivation<T>(serviceIdentifier: ServiceIdentifier<T>, onActivation: BindingActivation<T>): void
-
Returns void
onDeactivation
- onDeactivation<T>(serviceIdentifier: ServiceIdentifier<T>, onDeactivation: BindingDeactivation<T>): void
-
Returns void
rebindAsync
- rebindAsync<T>(serviceIdentifier: ServiceIdentifier<T>): Promise<BindingToSyntax<T>>
-
resolve
- resolve<T>(constructorFunction: Newable<T>): T
-
Returns T
restore
- restore(): void
-
Returns void
snapshot
- snapshot(): void
-
Returns void
unbind
- unbind(serviceIdentifier: ServiceIdentifier<unknown>): void
-
Returns void
unbindAll
- unbindAll(): void
-
Returns void
unbindAllAsync
- unbindAllAsync(): Promise<void>
-
Returns Promise<void>
unbindAsync
- unbindAsync(serviceIdentifier: ServiceIdentifier<unknown>): Promise<void>
-
Returns Promise<void>
unload
- unload(...modules: ContainerModuleBase[]): void
-
Returns void
unloadAsync
- unloadAsync(...modules: ContainerModuleBase[]): Promise<void>
-
Returns Promise<void>