Design question, I have three library projects, A, B and C.
Project A - error logging class
Project B - properties class with static methods
Project C - eventing class with static methods
Unfortunately, I want project A to use the properties class B, B to use the eventing class C, and C to contain an error logger object, resulting in a circular dependancy:
A <
How can I get around / redesign this? I'm a bit of a novice and might be missing the obvious but I don't see how I can use an interface, as C contains an error logging object, it is not passed an error logger as a method parameter.
Thanks in advance, am so confused!
Kirtan PatelPosted Dec 15, 2009, 3:28 PM
if my answer helps you then check "Do you like this answer" check box please :)
Project A
Public Class A Implements C.IA
End Class
Project B
Public Class B Implements C.IB
End Class
Project C
Project D