@@ -91,22 +91,22 @@ public BasicGetResult(ulong deliveryTag, bool redelivered, string exchange, stri
9191 /// <summary>
9292 /// Retrieves the Basic-class content header properties for this message.
9393 /// </summary>
94- public IBasicProperties BasicProperties { get ; private set ; }
94+ public IBasicProperties BasicProperties { get ; }
9595
9696 /// <summary>
9797 /// Retrieves the body of this message.
9898 /// </summary>
99- public ReadOnlyMemory < byte > Body { get ; private set ; }
99+ public ReadOnlyMemory < byte > Body { get ; }
100100
101101 /// <summary>
102102 /// Retrieve the delivery tag for this message. See also <see cref="IModel.BasicAck"/>.
103103 /// </summary>
104- public ulong DeliveryTag { get ; private set ; }
104+ public ulong DeliveryTag { get ; }
105105
106106 /// <summary>
107107 /// Retrieve the exchange this message was published to.
108108 /// </summary>
109- public string Exchange { get ; private set ; }
109+ public string Exchange { get ; }
110110
111111 /// <summary>
112112 /// Retrieve the number of messages pending on the queue, excluding the message being delivered.
@@ -115,17 +115,17 @@ public BasicGetResult(ulong deliveryTag, bool redelivered, string exchange, stri
115115 /// Note that this figure is indicative, not reliable, and can
116116 /// change arbitrarily as messages are added to the queue and removed by other clients.
117117 /// </remarks>
118- public uint MessageCount { get ; private set ; }
118+ public uint MessageCount { get ; }
119119
120120 /// <summary>
121121 /// Retrieve the redelivered flag for this message.
122122 /// </summary>
123- public bool Redelivered { get ; private set ; }
123+ public bool Redelivered { get ; }
124124
125125 /// <summary>
126126 /// Retrieve the routing key with which this message was published.
127127 /// </summary>
128- public string RoutingKey { get ; private set ; }
128+ public string RoutingKey { get ; }
129129
130130 /// <inheritdoc />
131131 public void Dispose ( )
0 commit comments