Example #1
0
 public override string GetCode()
 {
     Console.WriteLine("classic door");
     return(string.Concat(attribute, this.height.ToString(), WidthMapper.MapDoorWidth(this.width), ColorMapper.MapPrefix(this.color)));
 }
Example #2
0
 public override string GetCode()
 {
     Console.WriteLine("Glass door");
     return(attribute + this.height + WidthMapper.MapDoorWidth(this.width) + "VE");
 }