예제 #1
0
 public RedShapeDecorator(IDecoratorShape shape) : base(shape)
 {
 }
예제 #2
0
 private void SetRedBorder(IDecoratorShape shape)
 {
     Console.WriteLine("Red border color");
 }
예제 #3
0
 public ShapeDecorator(IDecoratorShape shape)
 {
     this.shape = shape;
 }