Пример #1
0
 public PowderContainer(IPowder powder, int max) : base(max)
 {
     this.powder = powder;
 }
Пример #2
0
 public Filter(IPowder powder, int max)
 {
     container = new PowderContainer(powder, max);
 }
Пример #3
0
 // method to add coffee beans to the filter
 public void AddContent(IPowder content)
 {
     Content = content;
 }