Esempio n. 1
0
        public void ExecuteAction(string actionName, string[] voiceInput = null)
        {
            switch (actionName)
            {
            case "AddToShoppingList": mShoppingList.Add(voiceInput); break;

            case "AddLasagnaIngredients": mShoppingList.AddLasagnaIngredients(); break;

            case "SpeakShoppingList": mShoppingList.SpeakShoppingList(); break;
            }
        }