Пример #1
0
 /// <summary>
 /// How this ingredient should be prepared typically
 /// </summary>
 /// <param name="p"></param>
 /// <returns></returns>
 public Ingredient Prepare(string describePrepared)
 {
     Ingredient i = new Ingredient(this);
     i.SelectedPreparation = Preparations.FindOrAdd(describePrepared);
     return i;
 }
Пример #2
0
 public Ingredient(Ingredient ingredient)
 {
     this.Name = ingredient.Name;
     this.Description = ingredient.Description;
     this.SubType = ingredient.SubType;
 }