@@ -162,15 +162,13 @@ public void Ack()
162
162
}
163
163
164
164
///<summary>If we are not in "noAck" mode, calls
165
- ///IModel.BasicAck with the delivery-tag from the passed in
166
- ///event; otherwise, sends nothing to the server. In both
167
- ///cases, if the passed-in event is the same as LatestEvent
168
- ///(by pointer comparison), sets LatestEvent to
169
- ///null.</summary>
165
+ ///IModel.BasicAck with the delivery-tag from <paramref name="evt"/>;
166
+ ///otherwise, sends nothing to the server. if <paramref name="evt"/> is the same as LatestEvent
167
+ ///by pointer comparison, sets LatestEvent to null.
168
+ ///</summary>
170
169
///<remarks>
171
- /// Make sure that this method is only called with events that
172
- /// originated from this Subscription - other usage will have
173
- /// unpredictable results.
170
+ ///Passing an event that did not originate with this Subscription's
171
+ /// channel, will lead to unpredictable behaviour
174
172
///</remarks>
175
173
public void Ack ( BasicDeliverEventArgs evt )
176
174
{
@@ -209,15 +207,13 @@ public void Nack(bool multiple, bool requeue)
209
207
}
210
208
211
209
///<summary>If we are not in "noAck" mode, calls
212
- ///IModel.BasicNack with the delivery-tag from the passed in
213
- ///event; otherwise, sends nothing to the server. In both
214
- ///cases, if the passed-in event is the same as LatestEvent
215
- ///(by pointer comparison), sets LatestEvent to
216
- ///null.</summary>
210
+ ///IModel.BasicNack with the delivery-tag from <paramref name="evt"/>;
211
+ ///otherwise, sends nothing to the server. if <paramref name="evt"/> is the same as LatestEvent
212
+ ///by pointer comparison, sets LatestEvent to null.
213
+ ///</summary>
217
214
///<remarks>
218
- /// Make sure that this method is only called with events that
219
- /// originated from this Subscription - other usage will have
220
- /// unpredictable results.
215
+ ///Passing an event that did not originate with this Subscription's
216
+ /// channel, will lead to unpredictable behaviour
221
217
///</remarks>
222
218
public void Nack ( BasicDeliverEventArgs evt ,
223
219
bool multiple ,
0 commit comments