DestroyableInjector
interface
An Injector that the owner can destroy and trigger the DestroyRef.destroy hooks.
destroy
void
@returns
void
get
4 overloadsRetrieves an instance from the injector based on the provided token.
@paramnotFoundValue
undefined
@returns
T
Retrieves an instance from the injector based on the provided token.
@paramnotFoundValue
null | undefined
@returns
T | null
Retrieves an instance from the injector based on the provided token.
@paramnotFoundValue
T | undefined
@returns
T
Jump to details