Ejemplo n.º 1
0
 //调用直接父类的指定构造函数
 public EquipmentStrengthenDecorator(AbstractEquipment equipment)
     : base(equipment)
 {
 }
Ejemplo n.º 2
0
 public BaseEquipmentDecorator(AbstractEquipment equipment)
 {
     _equipment = equipment;
 }