C# Class Marmalade_Global.G3Controller

Afficher le fichier Open project: DMOE15C/project-marmelade

Méthodes publiques

Свойство Type Description
ListOfIngredients List
OrdersList List
ProductList List
WeeklyProductlist List

Méthodes publiques

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

Method Details

AddIngredient() public static méthode

Method called in AddIngredient window, to create and add an ingredient to the ListOfIngredients
public static AddIngredient ( string type, double weight, double price ) : void
type string
weight double
price double
Résultat void

AddOrder() public static méthode

public static AddOrder ( double weeklyBudget ) : void
weeklyBudget double
Résultat void

AddProduct() public static méthode

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

ReturnIngredientListAsString() public static méthode

public static ReturnIngredientListAsString ( ) : string
Résultat string

Property Details

ListOfIngredients public_oe static_oe property

Static ListOfIngredients which is to be loaded at the beginning of the program, to fill it with information from database
public static List ListOfIngredients
Résultat List

OrdersList public_oe static_oe property

Static OrderList which is to be loaded at the beginning of the program, to fill it with information from the database.
public static List OrdersList
Résultat List

ProductList public_oe static_oe property

Static productList which is to be loaded at the beginning of the program, to fill it with information from the database.
public static List ProductList
Résultat List

WeeklyProductlist public_oe static_oe property

Static weeklyProductlist which is to be loaded at the beginning of the program, to fill it with information from the database.
public static List WeeklyProductlist
Résultat List