Link to home
Start Free TrialLog in
Avatar of Skale
Skale

asked on

Comparing two object's properties with each other in vb.net

Hello,

I have a third part COM interface to get some information. In here there's special classes for that objects which i bring from COM interface.

These classes have some properties and these properties are also in type of different classes. I'd like to list two object differences but don't know how to do that programmatically because this is only one class type there's also more than 30 classes with different type of property classes.

Is there anyway to do that? I'd like to recursively check properties and if its output class has properties i'd like to get them also.

Any help really really helpful, i'm needing guidance of experts.

Regards.

User generated image
ASKER CERTIFIED SOLUTION
Avatar of ste5an
ste5an
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Skale
Skale

ASKER

Hi ste5an,

I just heard proxy pattern and really dont understand when and where it can be usable ?

But seems it can be useful.
For comparing to objects of different classes, you need to map the properties for comparing them. Here using a two proxy objects can do the mapping to a common interface for comparing your values.