private void OnMessageReceived(object sender, IMessageEventArgs e) { var message = e.Message; var jObject = JObject.Parse(message); _objectCreator.CreateObject(jObject); EntryCreated?.Invoke(this, new EventArgs()); }
public void CreateObject(JObject jObject) { _creator.CreateObject(jObject); }