Пример #1
0
 public Recipe(Ingredients inputs, Ingredient output)
     : this(output)
 {
     this.Inputs = inputs;
 }
Пример #2
0
 public void AddChild(Ingredient ingredient)
 {
     ingredient.Parent = this;
     this.Children.AddIngredient(ingredient);
 }
Пример #3
0
 public Recipe(Ingredient output)
 {
     this.Output = output;
 }