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