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