예제 #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()
 {
     Console.WriteLine("Glass door");
     return(attribute + this.height + WidthMapper.MapDoorWidth(this.width) + "VE");
 }