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