示例#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;
 }