Table of Contents

Class ConcreteDependable

Namespace
Amazon.CDK
Assembly
Amazon.CDK.dll

A set of constructs to be used as a dependable.

public class ConcreteDependable : DeputyBase, IDependable
Inheritance
ConcreteDependable
Implements

Examples

// Declare the dependable object
             var bAndC = new ConcreteDependable();
             bAndC.Add(constructB);
             bAndC.Add(constructC);

             // Take the dependency
             constructA.Node.AddDependency(bAndC);

Remarks

This class can be used when a set of constructs which are disjoint in the construct tree needs to be combined to be used as a single dependable.

ExampleMetadata: infused

Constructors

ConcreteDependable()

public ConcreteDependable()

Methods

Add(IConstruct)

Add a construct to the dependency roots.

public virtual void Add(IConstruct construct)

Parameters

construct IConstruct