How to propagate the notification for a collection of item that implements INotifyPropetyChanged? #890
-
I have a class that implements INotifyPropertyChange. Then i need a correct type of collection to holds these class items. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Not really sure what you mean by this. Are you saying you want to derive a tree structure, based on properties of the items? Like each item has its |
Beta Was this translation helpful? Give feedback.
-
I'm not familiar with the details of how the tree transforms work, myself, but everything you've described laid out sounds and looks correct, logically, I don't think you're missing anything fundamental about proper usage of DD. What I'm failing to see here is the connection between If it were me, my next step would be to toss |
Beta Was this translation helpful? Give feedback.
I'm not familiar with the details of how the tree transforms work, myself, but everything you've described laid out sounds and looks correct, logically, I don't think you're missing anything fundamental about proper usage of DD.
What I'm failing to see here is the connection between
ShapeModel
andShapeViewModel
. Or are you saying thatShapeViewModel
is from your smaller demo app, and that version works, but it's not working withShapeModel
in the full app? I'd also want to see whatBOMTreeItemViewModel
has in it.If it were me, my next step would be to toss
.Do(x => {})
into the stream, both before.TransformToTree()
and after.Transform()
and set breakpoints in them, in order to inspect…