Свойство | Type | Description | |
---|---|---|---|
ListOfIngredients | List |
||
OrdersList | List |
||
ProductList | List |
||
WeeklyProductlist | List |
Méthode | Description | |
---|---|---|
AddIngredient ( string type, double weight, double price ) : void |
Method called in AddIngredient window, to create and add an ingredient to the ListOfIngredients
|
|
AddOrder ( double weeklyBudget ) : void | ||
AddProduct ( int amountOfIngredeints, string productName, string veriety, double size, string containerType, double productPrice, string ingredOne, string ingredTwo ) : void | ||
ReturnIngredientListAsString ( ) : string |
public static AddIngredient ( string type, double weight, double price ) : void | ||
type | string | |
weight | double | |
price | double | |
Résultat | void |
public static AddOrder ( double weeklyBudget ) : void | ||
weeklyBudget | double | |
Résultat | void |
public static AddProduct ( int amountOfIngredeints, string productName, string veriety, double size, string containerType, double productPrice, string ingredOne, string ingredTwo ) : void | ||
amountOfIngredeints | int | |
productName | string | |
veriety | string | |
size | double | |
containerType | string | |
productPrice | double | |
ingredOne | string | |
ingredTwo | string | |
Résultat | void |
public static ReturnIngredientListAsString ( ) : string | ||
Résultat | string |