public void Construct(IPhoneBuilder phoneBuilder) { phoneBuilder.BuildBattery(); phoneBuilder.BuildOS(); phoneBuilder.BuildScreen(); phoneBuilder.BuildStylus(); }
/// <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(); }
public MobilePhone Construct(IPhoneBuilder phoneBuilder) { phoneBuilder.BuildBattery(); phoneBuilder.BuildOS(); phoneBuilder.BuildScreen(); phoneBuilder.BuildStylus(); return(phoneBuilder.Construct()); }
public void Build(IPhoneBuilder phoneBuilder) { phoneBuilder.BuildBattery(); phoneBuilder.BuildOS(); phoneBuilder.BuildScreen(); phoneBuilder.BuildStylus(); }
public void Construct(IPhoneBuilder phoneBuilder) { phoneBuilder.BuildDispaly(); phoneBuilder.BuildBattery(); }