I'm not even sure that this is possible, but I thought that it would be smart to ask if anyone has ever done it before
I'm writing an interface in WPF using MVVM where an end user will be updating data which is collected using different user controls. The goal is to save all of the updates at the same time with an update button on the main window.
Using a Mediator, I can collect all of the information from all of the controls and then retrieve it for the update, but what would simplify everything is to just take the type that provided all of the data and store updates to IT, and then retrieve it when it's time to move these updates to the database.
I can do THAT with a generic class, but then I have to store the initial class by name to the generic class. What I'd like to do is to store whatever class I decide to use to a generic list. I can envision it, but I've never constructed that sort of relationship before.
I'm I way out to lunch here or is this something someone has done?