Skip to content

Update IModel Documentation #958

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 22, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion projects/RabbitMQ.Client/client/api/IModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -369,13 +369,23 @@ string BasicConsume(
/// </remarks>
void QueueBindNoWait(string queue, string exchange, string routingKey, IDictionary<string, object> arguments);

/// <summary> Declare a queue.</summary>
/// <summary> Declare a queue.</summary>
/// <param name="queue">The name of the queue</param>
/// <param name="durable">The queue will survive a broker restart</param>
/// <param name="exclusive">Used by only one connection and the queue will be deleted when that connection closes</param>
/// <param name="autoDelete">Queue that has had at least one consumer is deleted when last consumer unsubscribes</param>
/// <param name="arguments">Optional; used by plugins and broker-specific features such as message TTL, queue length limit, etc</param>
QueueDeclareOk QueueDeclare(string queue, bool durable, bool exclusive, bool autoDelete, IDictionary<string, object> arguments);

/// <summary>
/// Same as QueueDeclare but sets nowait to true and returns void (as there
/// will be no response from the server).
/// </summary>
/// <param name="queue">The name of the queue</param>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

indentation

/// <param name="durable">The queue will survive a broker restart</param>
/// <param name="exclusive">Used by only one connection and the queue will be deleted when that connection closes</param>
/// <param name="autoDelete">Queue that has had at least one consumer is deleted when last consumer unsubscribes</param>
/// <param name="arguments">Optional; used by plugins and broker-specific features such as message TTL, queue length limit, etc</param>
void QueueDeclareNoWait(string queue, bool durable, bool exclusive, bool autoDelete, IDictionary<string, object> arguments);

/// <summary>Declare a queue passively.</summary>
Expand Down