get
Returns a single service instance by ID, if registered.
get(id: string): Service | undefined
Related
- class ServiceContextA container of named services, part of the global application context.
Returns a single service instance by ID, if registered.
get(id: string): Service | undefined