Hi Viral,
Thanks for your suggestion. However, I think going as far as using reflection to simply choose which implementation of the ISomeComponent to be instantiated is too complex for a simple task. If ever a new mode is needed, like Mode6 as you were saying, it is possible for the consumer of the service to implement a new ISomeComponent and pass it to the 3rd constructor that takes this type as a parameter.
No, it is not a windows service or a web service. It is a component that I created from scratch. I just suffixed the name with 'Service', because it provides a service. It is just my preference to use this name.
No comments:
Post a Comment