Skip to content

Commit

Permalink
Update params of management functions.
Browse files Browse the repository at this point in the history
  • Loading branch information
ifgris committed Sep 25, 2024
1 parent 9a7f966 commit 7b6b246
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Src/NanoRabbit/IRabbitHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ public interface IRabbitHelper
/// <param name="exchangeName"></param>
/// <param name="routingKey"></param>
/// <param name="arguments"></param>
public void QueueBind(string queueName, string exchangeName, string routingKey, IDictionary<string, object> arguments);
public void QueueBind(string queueName, string exchangeName, string routingKey, IDictionary<string, object>? arguments = null);
/// <summary>
/// Delete a queue.
/// </summary>
Expand Down
2 changes: 1 addition & 1 deletion Src/NanoRabbit/RabbitHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ public void QueueDeclare(string queueName, bool durable = true, bool exclusive =
/// <param name="exchangeName"></param>
/// <param name="routingKey"></param>
/// <param name="arguments"></param>
public void QueueBind(string queueName, string exchangeName, string routingKey, IDictionary<string, object> arguments)
public void QueueBind(string queueName, string exchangeName, string routingKey, IDictionary<string, object>? arguments = null)
{
_channel.QueueBind(queueName, exchangeName, routingKey, arguments);
}
Expand Down

0 comments on commit 7b6b246

Please sign in to comment.