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