Ejemplo n.º 1
0
 public SmartHouse Construct(SmartHouseBuilder Builder)
 {
     this.Builder = Builder;
     Builder.BuildSensors();
     Builder.BuildExecutives();
     Builder.BuildPanels();
     Builder.BuildMultimedia();
     Builder.BuildControllers();
     Builder.BuildNetworks();
     return(Builder.GetResult());
 }
Ejemplo n.º 2
0
 // Конструирование объекта
 public void Construct()
 {
     if (this.Builder != null)
     {
         Builder.BuildSensors();
         Builder.BuildExecutives();
         Builder.BuildPanels();
         Builder.BuildMultimedia();
         Builder.BuildControllers();
         Builder.BuildNetworks();
     }
 }