Skip to content

Commit 5ab37c7

Browse files
Merge pull request #1084 from GitHubPang/main
Fix comments in ConnectionFactory
2 parents 003620f + 8b9b2f6 commit 5ab37c7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

projects/RabbitMQ.Client/client/api/ConnectionFactory.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ namespace RabbitMQ.Client
5151
/// <example><code>
5252
/// ConnectionFactory factory = new ConnectionFactory();
5353
/// //
54-
/// // The next six lines are optional:
54+
/// // The next five lines are optional:
5555
/// factory.UserName = ConnectionFactory.DefaultUser;
5656
/// factory.Password = ConnectionFactory.DefaultPass;
5757
/// factory.VirtualHost = ConnectionFactory.DefaultVHost;
@@ -72,7 +72,7 @@ namespace RabbitMQ.Client
7272
/// </para>
7373
/// <example><code>
7474
/// ConnectionFactory factory = new ConnectionFactory();
75-
/// factory.SetUri("amqp://localhost");
75+
/// factory.Uri = new Uri("amqp://localhost");
7676
/// IConnection conn = factory.CreateConnection();
7777
/// ...
7878
/// </code></example>

0 commit comments

Comments
 (0)