* Constructs that this construct depends on directly * * This expands the sets of `Dependables` to the set of `Constructs` that they * represent.
()
| 411 | * represent. |
| 412 | */ |
| 413 | public get dependencies(): IConstruct[] { |
| 414 | const result = new Array<IConstruct>(); |
| 415 | if (this._dependencies) { |
| 416 | for (const dep of this._dependencies) { |
| 417 | for (const root of Dependable.of(dep).dependencyRoots) { |
| 418 | result.push(root); |
| 419 | } |
| 420 | } |
| 421 | } |
| 422 | return result; |
| 423 | } |
| 424 | |
| 425 | /** |
| 426 | * Remove the child with the given name, if present. |