Свойство | Type | Description | |
---|---|---|---|
IngredientList | List |
Méthode | Description | |
---|---|---|
ListPrice ( ) : double |
Calculates the price for the ingredients used in the product.
|
|
Product ( int amountOfIngredient, string productName, string variety, double size, string containerType, double productPrice, |
Full-args constructor, that adds the ingredients given to the ingredient list.
|
|
ToString ( ) : string |
public Product ( int amountOfIngredient, string productName, string variety, double size, string containerType, double productPrice, |
||
amountOfIngredient | int | |
productName | string | |
variety | string | |
size | double | |
containerType | string | |
productPrice | double | |
IngredientOne | ||
IngredientTwo | ||
Résultat | System |