Пример #1
0
		private static bool IsQuit(CommandDescriptor parsedCmd)
		{
			var cmd = parsedCmd.Name.ToLower();
			return cmd == "quit" || cmd == "q";

		}
Пример #2
0
        private static bool IsQuit(CommandDescriptor parsedCmd)
        {
            var cmd = parsedCmd.Name.ToLower();

            return(cmd == "quit" || cmd == "q");
        }