TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
L M
NA
4
0
C# Circular Dependancy
Dec 15 2009 3:19 PM
Hi all,
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 <<uses>> B <<uses>> C <<contains>> 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!
Reply
Answers (
1
)
C# GUI with Java Business Logic
how to do Net Limiter?