Skip to content

Commit 68054f8

Browse files
author
David R. MacIver
committed
correct API comments for ConnectionFactory
1 parent 7514bfc commit 68054f8

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

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

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,9 +75,12 @@ namespace RabbitMQ.Client
7575
/// ConnectionFactory factory = new ConnectionFactory();
7676
/// //
7777
/// // The next three lines are optional:
78-
/// factory.Parameters.UserName = ConnectionFactory.DefaultUser;
79-
/// factory.Parameters.Password = ConnectionFactory.DefaultPass;
80-
/// factory.Parameters.VirtualHost = ConnectionFactory.DefaultVHost;
78+
/// factory.UserName = ConnectionFactory.DefaultUser;
79+
/// factory.Password = ConnectionFactory.DefaultPass;
80+
/// factory.VirtualHost = ConnectionFactory.DefaultVHost;
81+
/// factory.Protocol = Protocols.DefaultProtocol;
82+
/// factory.HostName = hostName;
83+
// factory.PortNumber = portNumber;
8184
/// //
8285
/// IProtocol protocol = Protocols.DefaultProtocol;
8386
/// IConnection conn = factory.CreateConnection(protocol, hostName, portNumber);

0 commit comments

Comments
 (0)