예제 #1
0
 public OverflowShelf(int capacity, IDecayStrategy strategy) : base(capacity, strategy)
 {
     Type = "Overflow";
 }
예제 #2
0
 public FrozenShelf(int capacity, IDecayStrategy strategy) : base(capacity, strategy)
 {
     Type = "Frozen";
 }
예제 #3
0
 public Shelf(int capacity, IDecayStrategy strategy)
 {
     Capacity  = capacity;
     _orders   = new List <Order>();
     _strategy = strategy;
 }
예제 #4
0
 public HotShelf(int capacity, IDecayStrategy strategy) : base(capacity, strategy)
 {
     Type = "Hot";
 }
예제 #5
0
 public ColdShelf(int capacity, IDecayStrategy strategy) : base(capacity, strategy)
 {
     Type = "Cold";
 }