Skip to content

Commit 8b9b2f6

Browse files
committed
Fix code example in comment for ConnectionFactory
See #331
1 parent 37156e5 commit 8b9b2f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -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)