Exemple #1
0
 public void Construct(IPhoneBuilder phoneBuilder)
 {
     phoneBuilder.BuildBattery();
     phoneBuilder.BuildOS();
     phoneBuilder.BuildScreen();
     phoneBuilder.BuildStylus();
 }
Exemple #2
0
 public MobilePhone Construct(IPhoneBuilder phoneBuilder)
 {
     phoneBuilder.BuildBattery();
     phoneBuilder.BuildOS();
     phoneBuilder.BuildScreen();
     phoneBuilder.BuildStylus();
     return(phoneBuilder.Construct());
 }
Exemple #3
0
 public void Build(IPhoneBuilder phoneBuilder)
 {
     phoneBuilder.BuildBattery();
     phoneBuilder.BuildOS();
     phoneBuilder.BuildScreen();
     phoneBuilder.BuildStylus();
 }
Exemple #4
0
 public void Construct(IPhoneBuilder phoneBuilder)
 {
     phoneBuilder.BuildOS ();
     phoneBuilder.BuildScreen ();
     phoneBuilder.BuildStylus ();
 }