public IEnumerable <KeyValuePair <string, object> > GetAll()
        {
            yield return(new KeyValuePair <string, object>("MessageId", _message.NMSMessageId));

            yield return(new KeyValuePair <string, object>("CorrelationId", _message.NMSCorrelationID));

            foreach (var header in _adapter.GetAll())
            {
                yield return(header);
            }
        }
        public IEnumerable <KeyValuePair <string, object> > GetAll()
        {
            yield return(new KeyValuePair <string, object>(MessageHeaders.TransportMessageId, _message.NMSMessageId));

            yield return(new KeyValuePair <string, object>(nameof(MessageContext.CorrelationId), _message.NMSCorrelationID));

            foreach (var header in _adapter.GetAll())
            {
                yield return(header);
            }
        }
Esempio n. 3
0
 public IEnumerable <KeyValuePair <string, object> > GetAll()
 {
     return(_adapter.GetAll());
 }