I have a parent viewmodel which has list of person which is the domain object
public class ParentViewModel
{
public List<Person> Persons{get;set;}
}
I have another viewmodels in different window which uses the person collection.
I am communicating changes by raising Prism Events. The code is bloated with if any changes are in single person or the list, the child viewmodels in different window have to bunch of stuffs.
Is there a way in WPF/.NET to track changes on person which is domain object so that I can raise prism events without going through specific code in which the person (domain object) are changed.