public SmartHouse Construct(SmartHouseBuilder Builder) { this.Builder = Builder; Builder.BuildSensors(); Builder.BuildExecutives(); Builder.BuildPanels(); Builder.BuildMultimedia(); Builder.BuildControllers(); Builder.BuildNetworks(); return(Builder.GetResult()); }
// Конструктор public Director(SmartHouseBuilder Builder) { this.Builder = Builder; }