()
| 455 | } |
| 456 | |
| 457 | override toString() { |
| 458 | if (ngDevMode) { |
| 459 | const tokens: string[] = []; |
| 460 | const records = this.records; |
| 461 | for (const token of records.keys()) { |
| 462 | tokens.push(stringify(token)); |
| 463 | } |
| 464 | return `R3Injector[${tokens.join(', ')}]`; |
| 465 | } |
| 466 | |
| 467 | return 'R3Injector[...]'; |
| 468 | } |
| 469 | |
| 470 | /** |
| 471 | * Process a `SingleProvider` and add it. |