Skip to content

Commit a91310f

Browse files
Documentation updates
1 parent cbbf99f commit a91310f

File tree

1 file changed

+12
-16
lines changed

1 file changed

+12
-16
lines changed

projects/client/RabbitMQ.Client/src/client/messagepatterns/Subscription.cs

Lines changed: 12 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -162,15 +162,13 @@ public void Ack()
162162
}
163163

164164
///<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>
170169
///<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
174172
///</remarks>
175173
public void Ack(BasicDeliverEventArgs evt)
176174
{
@@ -209,15 +207,13 @@ public void Nack(bool multiple, bool requeue)
209207
}
210208

211209
///<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>
217214
///<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
221217
///</remarks>
222218
public void Nack(BasicDeliverEventArgs evt,
223219
bool multiple,

0 commit comments

Comments
 (0)