Skip to content

Commit d5e1802

Browse files
Make consumer state fields accessible to sub-classes
1 parent d4429c4 commit d5e1802

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

projects/client/RabbitMQ.Client/src/client/api/DefaultBasicConsumer.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,10 +58,10 @@ namespace RabbitMQ.Client
5858
///</remarks>
5959
public class DefaultBasicConsumer : IBasicConsumer
6060
{
61-
private IModel m_model = null;
62-
private string m_consumerTag = null;
63-
private bool m_running = false;
64-
private ShutdownEventArgs m_shutdownReason = null;
61+
protected IModel m_model = null;
62+
protected string m_consumerTag = null;
63+
protected bool m_running = false;
64+
protected ShutdownEventArgs m_shutdownReason = null;
6565
public readonly object m_eventLock = new object();
6666
public ConsumerCancelledEventHandler m_consumerCancelled;
6767

0 commit comments

Comments
 (0)