private string GetQueueItemContent(QueueItem itm) { var content = string.Empty; if (itm.Content == null || itm.Content.StartsWith("**")) { content = _mgr.LoadMessageContent(itm); } else { content = itm.Content; } if (content != null && !itm.Content.StartsWith("**")) { if (itm.Queue.ContentFormat == MessageContentFormat.Unknown) { itm.Queue.SetContentFormat(content); } } return(content); }
private string GetQueueItemContent(QueueItem itm) { return(itm.Content == null || itm.Content.StartsWith("**") ? _mgr.LoadMessageContent(itm) : itm.Content); }