jeudi 26 février 2015

Derive properties as per the requirement...?

So, I have 3 fields/properties. Say, they are, paramA, paramB, paramC. And I’ve three classes as Class A, Class B, Class C.

Requirement is to use:



• paramA, paramB in Class A
• paramA, paramC in Class B
• paramB, paramC in Class D


Is there any way to declare all these 3 properties in a common place and derive in the A,B,C classes as per the requirement....?


Thank you,


Aucun commentaire:

Enregistrer un commentaire