A special identifier which can be used to get the container the service is currently being executed under. Optionally, combined with resolution contraints such as SkipSelf, this could be used to attain a reference to parent containers.
An example of this can be found below:
@Service([ HostContainer()])export class MyService { constructor (private container: ContainerInstance) { }} Copy
@Service([ HostContainer()])export class MyService { constructor (private container: ContainerInstance) { }}
Generated using TypeDoc
A special identifier which can be used to get the container the service is currently being executed under. Optionally, combined with resolution contraints such as SkipSelf, this could be used to attain a reference to parent containers.