コード例 #1
0
 public void Construct(IPhoneBuilder phoneBuilder)
 {
     phoneBuilder.BuildBattery();
     phoneBuilder.BuildOS();
     phoneBuilder.BuildScreen();
     phoneBuilder.BuildStylus();
 }
コード例 #2
0
 /// <summary>
 /// Constrct phone.
 /// </summary>
 /// <param name="phoneBuilder"></param>
 public void Construct(IPhoneBuilder phoneBuilder)
 {
     phoneBuilder.BuildBattery();
     phoneBuilder.BuildOperatingSystem();
     phoneBuilder.BuildScreen();
     phoneBuilder.BuildStylus();
 }
コード例 #3
0
 public void ConstructInSequence(IPhoneBuilder phoneBuilder)
 {
     phoneBuilder.BuildBattery();
     phoneBuilder.BuildOs();
     phoneBuilder.BuildScreen();
     phoneBuilder.BuildStylus();
 }
コード例 #4
0
 public MobilePhone Construct(IPhoneBuilder phoneBuilder)
 {
     phoneBuilder.BuildBattery();
     phoneBuilder.BuildOS();
     phoneBuilder.BuildScreen();
     phoneBuilder.BuildStylus();
     return(phoneBuilder.Construct());
 }
コード例 #5
0
ファイル: Program.cs プロジェクト: kalinikoleg/Helper
 public void Build(IPhoneBuilder phoneBuilder)
 {
     phoneBuilder.BuildBattery();
     phoneBuilder.BuildOS();
     phoneBuilder.BuildScreen();
     phoneBuilder.BuildStylus();
 }
コード例 #6
0
ファイル: builder.cs プロジェクト: toshimaru/DesignPattern
 public void Construct(IPhoneBuilder phoneBuilder)
 {
     phoneBuilder.BuildOS ();
     phoneBuilder.BuildScreen ();
     phoneBuilder.BuildStylus ();
 }