예제 #1
0
 public override void Display()
 {
     DecoratedCar.Display()
     Console.WriteLine("Plus I'm a super car.");
 }
예제 #2
0
 public virtual void SetAccesories()
 {
     DecoratedCar.SetAccesories();
 }
예제 #3
0
 public override string ToString()
 {
     return(DecoratedCar.ToString());
 }
예제 #4
0
 public void Assemble(string color, string motorization)
 {
     DecoratedCar.Assemble(color, motorization);
 }