using System.Collections.Generic; namespace Chernobyl.Creation { /// /// A that allows multiple to behave as one. /// /// The type getting built. public class BuilderComposite : Builder { /// The instances that are to behave as one. public BuilderComposite(IEnumerable> builders) { foreach (var builder in builders) builder.Created += (sender, e) => ReportCreation(e); } } }