Beispiel #1
0
        public void Handle(MessageBodyLoadedEvent @event)
        {
            HexParts.Clear();

            CurrentContent = null;
            CurrentContent = @event.Message != null ? @event.Message.BodyRaw : null;
        }
Beispiel #2
0
 public void Handle(MessageBodyLoadedEvent @event)
 {
     SelectedMessage = @event.Message;
 }
        public virtual void Handle(MessageBodyLoadedEvent @event)
        {
            Items.Clear();

            SelectedMessage = @event.Message;

            if (SelectedMessage != null)
            {
                var headers = SelectedMessage.Headers;
                var decodeResult = _decoder.Decode(headers);

                if (decodeResult.IsParsed)
                {
                    OnItemsLoaded(decodeResult.Value);
                }
            }
        }