public virtual void Handle(MessageBodyLoaded @event)
        {
            ClearHeaderValues();
            SelectedMessage = @event.Message;

            if (SelectedMessage != null)
            {
                Headers = DecodeHeader(SelectedMessage);
                OnItemsLoaded();
            }
        }
        public async void Handle(MessageBodyLoaded @event)
        {
            var storedMessage = @event.Message as StoredMessage;
            if (storedMessage != null)
            {
                var conversationId = storedMessage.ConversationId;
                if (conversationId == null) return;

                _eventAggregator.Publish(new WorkStarted("Loading conversation data..."));

                var relatedMessagesTask = await _managementService.GetConversationById(conversationId);
                var nodes = relatedMessagesTask.ConvertAll(x => new DiagramNode(x));

                CreateConversationNodes(storedMessage.Id, nodes);
                LinkConversationNodes(nodes);

                _eventAggregator.Publish(new WorkFinished());
            }
        }
        public void Handle(MessageBodyLoaded @event)
        {
            HexParts.Clear();

            CurrentContent = null;
            CurrentContent = @event.Message != null ? @event.Message.BodyRaw : null;
        }
 public void Handle(MessageBodyLoaded @event)
 {
     SelectedMessage = @event.Message;
 }