* Constructs that this construct depends on directly * * This expands the sets of `Dependables` to the set of `Constructs` that they * represent.
()
| 421 | * represent. |
| 422 | */ |
| 423 | public get dependencies(): IConstruct[] { |
| 424 | const result = new Array<IConstruct>(); |
| 425 | if (this._dependencies) { |
| 426 | for (const dep of this._dependencies) { |
| 427 | for (const root of Dependable.of(dep).dependencyRoots) { |
| 428 | result.push(root); |
| 429 | } |
| 430 | } |
| 431 | } |
| 432 | return result; |
| 433 | } |
| 434 | |
| 435 | /** |
| 436 | * Remove the child with the given name, if present. |