示例#1
0
        public string EnterOrientation()
        {
            utilities.EnterOrientationPrompt("noError");
            string orientationInput = Console.ReadLine();
            string orientation      = StringConverters.Orientation(orientationInput);

            while (orientation == ConstantsHandler.ORIENTATION_INPUT_ERROR)
            {
                utilities.EnterOrientationPrompt("error");
                orientationInput = Console.ReadLine();
                orientation      = StringConverters.Orientation(orientationInput);
            }
            return(orientation);
        }