public override void BuildPartA()
 {
     product.Add("部件X");
 }
示例#2
0
 public void ErstelleBasisGerät()
 {
     product.Add("2 HEadlights are added");
 }
 public void ErstelleBasisGerät()
 {
     product.Add("This is a body of a Motorcycle");
 }
示例#4
0
 public void StartUpOperations()
 {
     product.Add("This is a body of Car");
 }
示例#5
0
 public void BuildBody()
 {
     product.Add("This is a body of a Motorcycle");
 }
示例#6
0
 public override void BuildPartA()
 {
     _product.Add("PartA");
 }
 public void StartUpOperations()
 {   //Starting with brandname
     product.Add(string.Format("Car Model name :{0}", this.brandName));
 }
示例#8
0
 public void StartUpOperation()
 {
     _product.Add(string.Format("Car Model name:{0}", _brandname));
 }
示例#9
0
 public override void AddSavories()
 {
     _product.Add("2 Savories");
 }
示例#10
0
 public override void BuilderPartA()
 {
     product.Add("Part W");
 }
示例#11
0
 public void AddHeadLights()
 {
     product.Add("2 Headlights are added");
 }
示例#12
0
 public IBuilder AddHeadlights(int optionalNumberOfHeadLights = 2)
 {
     product.Add($"Headlights: {optionalNumberOfHeadLights}");
     return(this);
 }
示例#13
0
 public void BuildPartA()
 {
     _product.Add("BuilderB PartA");
 }
示例#14
0
 public void BuildPartA()
 {
     _product.Add("PartA1");
 }