Пример #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)));
 }
Пример #2
0
 public override string GetCode()
 {
     return(attribute + secAttribute + this.Depth.ToString() + this.Height.ToString() + ColorMapper.MapPrefix(this.color));
 }