public void BasicCancel(string consumerTag) { RecordedConsumer cons = _connection.DeleteRecordedConsumer(consumerTag); if (cons != null) { _connection.MaybeDeleteRecordedAutoDeleteQueue(cons.Queue); } _delegate.BasicCancel(consumerTag); }
public Task BasicCancel(string consumerTag) { RecordedConsumer cons = m_connection.DeleteRecordedConsumer(consumerTag); if (cons != null) { m_connection.MaybeDeleteRecordedAutoDeleteQueue(cons.Queue); } return(m_delegate.BasicCancel(consumerTag)); }