Example #1
0
 public void Construct(IPhoneBuilder phoneBuilder)
 {
     phoneBuilder.BuildBattery();
     phoneBuilder.BuildOS();
     phoneBuilder.BuildScreen();
     phoneBuilder.BuildStylus();
 }
Example #2
0
 /// <summary>
 /// Constrct phone.
 /// </summary>
 /// <param name="phoneBuilder"></param>
 public void Construct(IPhoneBuilder phoneBuilder)
 {
     phoneBuilder.BuildBattery();
     phoneBuilder.BuildOperatingSystem();
     phoneBuilder.BuildScreen();
     phoneBuilder.BuildStylus();
 }
 public void ConstructInSequence(IPhoneBuilder phoneBuilder)
 {
     phoneBuilder.BuildBattery();
     phoneBuilder.BuildOs();
     phoneBuilder.BuildScreen();
     phoneBuilder.BuildStylus();
 }
Example #4
0
 public MobilePhone Construct(IPhoneBuilder phoneBuilder)
 {
     phoneBuilder.BuildBattery();
     phoneBuilder.BuildOS();
     phoneBuilder.BuildScreen();
     phoneBuilder.BuildStylus();
     return(phoneBuilder.Construct());
 }
Example #5
0
 public void Build(IPhoneBuilder phoneBuilder)
 {
     phoneBuilder.BuildBattery();
     phoneBuilder.BuildOS();
     phoneBuilder.BuildScreen();
     phoneBuilder.BuildStylus();
 }
Example #6
0
 public void Construct(IPhoneBuilder phoneBuilder)
 {
     phoneBuilder.BuildOS ();
     phoneBuilder.BuildScreen ();
     phoneBuilder.BuildStylus ();
 }