Пример #1
0
        public void Make(IRecipe recipe)
        {
            if (recipe == null)
            {
                throw new ArgumentNullException(nameof(recipe));
            }

            recipe.GatherIngredients(_fridge);
            recipe.Cook();
            recipe.Serve();
        }