C# Класс Marmalade_Global.G3Controller

Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
ListOfIngredients List
OrdersList List
ProductList List
WeeklyProductlist List

Открытые методы

Метод Описание
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

Описание методов

AddIngredient() публичный статический Метод

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
Результат void

AddOrder() публичный статический Метод

public static AddOrder ( double weeklyBudget ) : void
weeklyBudget double
Результат void

AddProduct() публичный статический Метод

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
Результат void

ReturnIngredientListAsString() публичный статический Метод

public static ReturnIngredientListAsString ( ) : string
Результат string

Описание свойств

ListOfIngredients публичное статическое свойство

Static ListOfIngredients which is to be loaded at the beginning of the program, to fill it with information from database
public static List ListOfIngredients
Результат List

OrdersList публичное статическое свойство

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
Результат List

ProductList публичное статическое свойство

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
Результат List

WeeklyProductlist публичное статическое свойство

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
Результат List