- Notifications
You must be signed in to change notification settings - Fork615
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
-
I was trying to inject an IConnectionFactory and then use it to create a connection. Reproduction stepsThis code leads to the compilation error Expected behaviorThe property HostName of the ConnectionFactory is available on the IConnectionFactory interface. Additional contextNo response |
BetaWas this translation helpful?Give feedback.
All reactions
Replies: 2 comments 2 replies
-
We cannot suggest much since you haven't shared what version you use. We do not guess in this community. In |
BetaWas this translation helpful?Give feedback.
All reactions
-
I'm using version 6.8.1, sorry for not including that information. Actually I don't even need a suggestion what to do, because in the end I had to use the CreateConnection overload with IEnumerable for totally different reasons anyway. The HostName property is used in many examples, although not on the interface but on the class. So for the sake of correctness I wanted to let you know about the missing property. Should be an easy fix after all. But feel free to reject this issue if you don't think it is relevant. |
BetaWas this translation helpful?Give feedback.
All reactions
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
-
If you must use Note that version 7 will ship soon and it's too late to change these interfaces. Version 8 will probably do away with most or all interfaces in this library, and use .NET types as much as possible (like |
BetaWas this translation helpful?Give feedback.
All reactions
-
Thank you for that information. I'll keep that in mind. |
BetaWas this translation helpful?Give feedback.
All reactions
This discussion was converted from issue #1605 on June 18, 2024 15:08.