Example #1
0
        private static void DisplayAvailableActions()
        {
            IEnumerable <ActionEnum> commands = _interpreter.GetAvailableActions();

            _dialogConsole.DisplayUser($"{Environment.NewLine}Which operation do you want to proceed ?");
            foreach (ActionEnum actionEnum in commands)
            {
                _dialogConsole.DisplayUser($"{Convert.ToInt32(actionEnum)} - {actionEnum.ToString()}");
            }
        }