Example #1
0
        /// <returns>Null if the command is legal, otherwise the error message.</returns>
        private string VerifyCommand(string command)
        {
            bool isLegal = Verification.IsMatch(command);

            return(!isLegal?String.Concat("Error command! Please see reference below:\r\n", Illustration) : null);
        }