Hi,
I was wondering if there was a way with Reflection to find dynamically
if an object was referencing indirectly another object.
A simple example would be:
Object1
|
--Object2
|
---Object3
|
---Object4
Where the Object1 has a reference to Object2 which in turn has a
reference to Object3 and so on. I would like to determine if Object1
has an indirect reference to the Object4 using Reflection.
Obviously that is a simple example but it could be much more
complicated (list of objects, dictionaries, ...).
Anybody knows a way to do that? Is it possible?
Thanks in advance!
Jonathan
I was wondering if there was a way with Reflection to find dynamically
if an object was referencing indirectly another object.
A simple example would be:
Object1
|
--Object2
|
---Object3
|
---Object4
Where the Object1 has a reference to Object2 which in turn has a
reference to Object3 and so on. I would like to determine if Object1
has an indirect reference to the Object4 using Reflection.
Obviously that is a simple example but it could be much more
complicated (list of objects, dictionaries, ...).
Anybody knows a way to do that? Is it possible?
Thanks in advance!
Jonathan
Comment