Re: how to detect object reference between objects?
- From: "Peter Duniho" <NpOeStPeAdM@xxxxxxxxxxxxxxxx>
- Date: Thu, 11 Dec 2008 20:57:21 -0800
On Thu, 11 Dec 2008 20:48:08 -0800, fairyvoice <fairyvoice@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
I mean from the outside, where I can not get the A reference of b through
some method or property of B.
You'll have to use reflection.
And in general, if you find yourself wanting to do something that requires reflection, it's usually the wrong thing to do.
If you can be more specific about _why_ you feel you need to do this, then perhaps someone can suggest a better design that doesn't break encapsulation of classes.
Pete
.
- References:
- how to detect object reference between objects?
- From: fairyvoice
- Re: how to detect object reference between objects?
- From: Family Tree Mike
- Re: how to detect object reference between objects?
- From: fairyvoice
- how to detect object reference between objects?
- Prev by Date: Re: how to detect object reference between objects?
- Next by Date: Re: Accessing SSL remote web service
- Previous by thread: Re: how to detect object reference between objects?
- Next by thread: LINQ add more where statements
- Index(es):
Relevant Pages
|