public override string ToString() { string builder = string.Empty; builder += " Topic Name: " + _message.Topic + " Message ID: " + _message.MessageId + " Remove Reason : " + _reason.ToString(); return(builder); }
public override string ToString() { string builder = string.Empty; foreach (var messageInfo in _messagesTobeRemoved) { builder += " Topic Name: " + messageInfo.Topic + " Message ID: " + messageInfo.MessageId + " Remove Reason : " + _reason.ToString(); } return(builder); }