Parse() static private method

static private Parse ( ITwitchFactory factory, string chatEventCommand ) : TwitchChatEvent
factory ITwitchFactory
chatEventCommand string
return TwitchChatEvent
        private TwitchChatEvent GetNextChatEvent()
        {
            string chatEventCommand = ircClient.ReadNextLine_BLOCKING();

            if (chatEventCommand == null)
            {
                if (Reconnect())
                {
                    return(GetNextChatEvent());
                }
                else
                {
                    throw new Exception();
                }
            }
            else
            {
                return(TwitchChatEvent.Parse(factory, chatEventCommand));
            }
        }