Tuesday, March 15, 2016

When it comes across circular-dependency

Refer to Circular Dependency in constructors and Dependency Injection
I have to quote this:
To find out which one it is, list all of the methods in your class B used by class A, and all the methods in your class B used by class A. The shorter of the two lists is your hidden Class C.

No comments:

Post a Comment