private void ShowMessageBody()
 {
     if (SelectedMessage == null)
     {
         return;
     }
     _messageView.Display(GetMessageBody());
 }
        public void OnSelectedMessageChanged()
        {
            if (messageView == null)
            {
                return;
            }

            messageView.Clear();

            if (SelectedMessage == null || SelectedMessage.Body == null)
            {
                return;
            }

            messageView.Display(GetFormatted(SelectedMessage.Body.Text));
        }
Esempio n. 3
0
        public void OnSelectedMessageChanged()
        {
            if (_messageView == null)
            {
                return;
            }

            _messageView.Clear();

            if (SelectedMessage != null)
            {
                var xml = _xmlDecoder.Decode(SelectedMessage.BodyRaw);
                if (xml.IsParsed)
                {
                    _messageView.Display(xml.Value.GetFormatted());
                }
            }
        }