Esempio n. 1
0
 public Menu_Items(string ID, string Name, string Toppings, string Price, Menu_Item_Type Type)
 {
     this.ID      = ID;
     this.Name    = Name;
     this.Topping = Toppings;
     this.Price   = Price;
     this.Type    = Type;
 }
Esempio n. 2
0
 public Menu_Items(int ID, string Name, Menu_Item_Type Type)
 {
     this.ID   = ID.ToString();
     this.Name = Name;
     this.Type = Type;
 }
Esempio n. 3
0
 public Page(string title = "")
 {
     this.type  = Menu_Item_Type.Page;
     this.Title = title;
 }
Esempio n. 4
0
 public Item(Menu_Item_Type t, string name)
 {
     this.type = t;
     this.Name = name;
 }
Esempio n. 5
0
 public Function(Menu_Item_Type t, Func f, string name)
 {
     this.function = f;
     this.type     = t;
     this.Name     = name;
 }