public bool IsSystemMessage(out UserCommand command) { command = UserCommand.Conversation; if (MessageContent.StartsWith("*")) { if (UserCommands.ContainsKey(MessageContent.ToLower())) { command = UserCommands[MessageContent.ToLower()]; return(true); } } return(false); }