CluedIn-io / CluedIn.Enricher.VatLayer

0 stars 0 forks source link

chore: Hide constructors which confuse container #27

Closed zvirja closed 1 year ago

zvirja commented 1 year ago

Description

Castle.Windsor will pick up the first constructor which is suitable. So now it mistakenly picks VatLayerExternalSearchProvider(IEnumerable<string> tokens) and provides it with empty token. That's definitely not the intention and instead we want DI to use empty constructor.

I made all other constructors private, so it will for sure pick up the correct one.