Esempio n. 1
0
        private void ReadObjectsAndPublishMessage()
        {
            var objects = _objectReader.ReadObjects();
            var message = JsonConvert.SerializeObject(objects, Formatting.Indented);

            _messagePublisher.PublishMessage(message);
            ResultsPublished?.Invoke(this, new EventArgs());
        }
Esempio n. 2
0
 public ICollection <JObject> ReadObjects()
 {
     return(_reader.ReadObjects());
 }