(
moduleRef: Module,
token: InjectionToken,
dependencyContext: InjectorDependencyContext,
wrapper: InstanceWrapper<T>,
resolutionContext: ResolutionContext = { contextId: STATIC_CONTEXT },
keyOrIndex?: symbol | string | number,
)
| 523 | } |
| 524 | |
| 525 | public async resolveComponentWrapper<T>( |
| 526 | moduleRef: Module, |
| 527 | token: InjectionToken, |
| 528 | dependencyContext: InjectorDependencyContext, |
| 529 | wrapper: InstanceWrapper<T>, |
| 530 | resolutionContext: ResolutionContext = { contextId: STATIC_CONTEXT }, |
| 531 | keyOrIndex?: symbol | string | number, |
| 532 | ): Promise<InstanceWrapper> { |
| 533 | this.printResolvingDependenciesLog(token, resolutionContext.inquirer); |
| 534 | this.printLookingForProviderLog(token, moduleRef); |
| 535 | const providers = moduleRef.providers; |
| 536 | return this.lookupComponent( |
| 537 | providers, |
| 538 | moduleRef, |
| 539 | { ...dependencyContext, name: token }, |
| 540 | wrapper, |
| 541 | resolutionContext, |
| 542 | keyOrIndex, |
| 543 | ); |
| 544 | } |
| 545 | |
| 546 | public async resolveComponentHost<T>( |
| 547 | moduleRef: Module, |
no test coverage detected