Exemple #1
0
 public PlaceholderIngredient(Product product, IngredientCollection ingredientCollection, Type ingredientType, string name)
 {
     this.product = product;
     this.ingredientCollection = ingredientCollection;
     this.ingredientType       = ingredientType;
     this.name = name;
 }
Exemple #2
0
 public IngredientCollectionEnumerator(IngredientCollection collection)
 {
     this.collection = collection ?? throw new ArgumentNullException(nameof(collection));
     Reset();
 }