Example #1
0
        private void OnMessageReceived(object sender, IMessageEventArgs e)
        {
            var message = e.Message;
            var jObject = JObject.Parse(message);

            _objectCreator.CreateObject(jObject);
            EntryCreated?.Invoke(this, new EventArgs());
        }
Example #2
0
 public void CreateObject(JObject jObject)
 {
     _creator.CreateObject(jObject);
 }