예제 #1
0
        private void ChangeYeast(Yeast yeastInfo)
        {
            if (CurrentRecipe.YeastIngredient == null)
                CurrentRecipe.YeastIngredient = YeastUtility.CreateYeastIngredient();

            CurrentRecipe.YeastIngredient.YeastInfo = yeastInfo;
            CurrentRecipe.UpdateRecipeOutcome();
        }
 public YeastIngredientDataModel(Yeast yeastInfo, int yeastIngredientId)
 {
     m_yeastInfo = yeastInfo;
     m_yeastIngredientId = yeastIngredientId;
 }