Exemplo n.º 1
0
        public void SetSecondaryTypePositionAndPrice(string i_Name)
        {
            eMainDishTypes mainDishTypes = ((eMainDishTypes)Enum.Parse(typeof(eMainDishTypes), i_Name));

            SecondaryTypePosition = mainDishesTypeDictionary[mainDishTypes];
            Price = mainDishesPriceDictionary[mainDishTypes];
        }
Exemplo n.º 2
0
 public MainDish(string name, int quantity, int dinerSerialNumber, eMainDishTypes mainDishType) : base(name, quantity, dinerSerialNumber)
 {
     Type = mainDishType;
 }