Skip to content

Consider making ConnectionFactory.HostName a property #217

@nkumars

Description

@nkumars

Hi,

The properties in RabbitMQ.Client.ConnectionFactory such as UserName and Password are actually set as properties (means it has {get;set;}) whereas for HostName does not exist, which actually forces us to use GetField method while the other two can be used with GetProperty.

I dont know the purpose behind this, but I would suggest to have a consistent declaration, i.e., with {get;set;} or without.

Below is the screenshot that describes my explanation.

fieldandpropertyissue

Regards,
Naveen

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions