Multiple (and different) child properties in a parent object. #3074
Unanswered
Chicagoan2016
asked this question in
Questions
Replies: 1 comment 6 replies
-
I wonder if you could create an interface for these child types: public interface IAmAChild
{
IPropertyInfo ParentProperty { get; }
} Then the child types would implement that interface, using the Just a thought, but it might make your |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
We are developing a parent object in one of our projects (Csla 4.xx).
We have four children objects, each one of different type in the parent object.
We have been using something like this
We are thinking of using the code below but it just doesn't look elegant : )
King Regards
Beta Was this translation helpful? Give feedback.
All reactions