Exemplo n.º 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)));
 }
Exemplo n.º 2
0
 public override string GetCode()
 {
     Console.WriteLine("Glass door");
     return(attribute + this.height + WidthMapper.MapDoorWidth(this.width) + "VE");
 }