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

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