Example #1
0
 public PositionListFacade(IPositionList positionList, ISizeList sizeList, IIngredientList ingredientList)
 {
     this.positionList   = positionList;
     this.sizeList       = sizeList;
     this.ingredientList = ingredientList;
     positionList.PositionListChanged     += UpdatePositions;
     sizeList.SizeListChanged             += UpdateSizes;
     ingredientList.IngredientListChanged += UpdateIngredients;
 }
Example #2
0
 public IngredientListValidator(IIngredientList ingredientListFeedBack)
 {
     this.ingredientListFeedBack = ingredientListFeedBack;
     ingredientListFeedBack.IngredientListChanged += OnIngrtedientListChange;
 }
 private MultiIngredientListStrategy(IIngredient[] ingredients, IIngredientList nextStrategy)
 {
     _ingredients  = ingredients;
     _nextStrategy = nextStrategy;
 }