Пример #1
0
 private void LoadContent()
 {
     RecipeName.Text = _recipe.Title;
     Instructions.AppendText(_recipe.Instructions);
     foreach (IingredientLine ingredientLine in _recipe.Ingredients)
     {
         IngredientContainer.Children.Add(new IngredientInput(ingredientLine.Ingredient.Name,
                                                              ingredientLine.Quantity.ToString(), ingredientLine.Unit));
     }
 }