public void Setup()
 {
     _qualityAdjustment = new DefaultQualityAdjustment();
 }
 public void Setup()
 {
     _qualityAdjustment = new ConjurationQualityAdjustment(new DefaultQualityAdjustment());
 }
Beispiel #3
0
 public Product(IQualityAdjustmentStrategy qualityAdjustmentStrategy, Item item)
 {
     _qualityAdjustmentStrategy = qualityAdjustmentStrategy;
     _item = item;
 }
Beispiel #4
0
 public AgedItemQualityAdjustment(IQualityAdjustmentStrategy nextQualityAdjustmentStrategy)
 {
     _nextQualityAdjustmentStrategy = nextQualityAdjustmentStrategy;
 }
Beispiel #5
0
 public void Setup()
 {
     _qualityAdjustment = new AgedItemQualityAdjustment(new DefaultQualityAdjustment());
 }
Beispiel #6
0
 public CommonQualityAdjustment(IQualityAdjustmentStrategy nextQualityAdjustmentStrategy)
 {
     _nextQualityAdjustmentStrategy = nextQualityAdjustmentStrategy;
 }
 public void Setup()
 {
     _qualityAdjustment = new EventPassQualityAdjustment(new DefaultQualityAdjustment());
 }
 public EventPassQualityAdjustment(IQualityAdjustmentStrategy nextQualityAdjustmentStrategy)
 {
     _nextQualityAdjustmentStrategy = nextQualityAdjustmentStrategy;
 }