Exemplo n.º 1
0
        /// <summary>
        /// Gets the RTE string that represents time limit action.
        /// </summary>
        public static string GetTimeLimitAction(TimeLimitAction action)
        {
            switch (action)
            {
            case TimeLimitAction.ContinueWithMessage:
                return("continue,message");

            case TimeLimitAction.ExitNoMessage:
                return("exit,no message");

            case TimeLimitAction.ExitWithMessage:
                return("exit,message");

            default:
                return("continue,no message");
            }
        }
Exemplo n.º 2
0
        /// <summary>
        /// Gets the RTE string that represents time limit action.
        /// </summary>
        public static string GetTimeLimitAction(TimeLimitAction action)
        {
            switch (action)
            {

                case TimeLimitAction.ContinueWithMessage:
                    return "continue,message";
                case TimeLimitAction.ExitNoMessage:
                    return "exit,no message";
                case TimeLimitAction.ExitWithMessage:
                    return "exit,message";
                default:
                    return "continue,no message";
            }
        }